*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #17231f;
  --muted: #5f6e68;
  --green: #173f35;
  --green-2: #285d4e;
  --gold: #b58b47;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --line: #ddd6c9;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(23, 63, 53, 0.13);
  --radius: 22px;
  --container: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--green);
  color: white;
  border-radius: 8px;
}

.skip-link:focus {
  top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(221, 214, 201, 0.72);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: var(--green);
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 1.45rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:not(.button):hover {
  color: var(--green-2);
}

.nav-toggle {
  display: none;
  padding: 7px;
  border: 0;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  width: 24px;
  height: 2px;
  margin: 5px 0;
  display: block;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: white;
  background: var(--green);
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(23, 63, 53, 0.15);
  background: var(--green-2);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.button-secondary {
  color: var(--green);
  background: transparent;
}

.button-secondary:hover {
  color: white;
}

.button-light {
  color: var(--green);
  background: white;
  border-color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background:
    radial-gradient(circle at 75% 20%, rgba(181, 139, 71, 0.18), transparent 32%),
    linear-gradient(180deg, #fffdf8 0%, #f7f2e8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(30deg, var(--gold) 1px, transparent 1px),
    linear-gradient(150deg, var(--gold) 1px, transparent 1px);
  background-size: 48px 84px;
  mask-image: linear-gradient(to right, transparent 0%, black 70%, black 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d6c4a4;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.12rem;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-note span:first-child {
  color: var(--green);
  font-weight: 800;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.manuscript-card {
  width: min(100%, 490px);
  position: relative;
  padding: 42px 38px 34px;
  border: 1px solid #d6c7ac;
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.manuscript-card::before,
.manuscript-card::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-color: rgba(181, 139, 71, 0.52);
}

.manuscript-card::before {
  top: 14px;
  left: 14px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.manuscript-card::after {
  right: 14px;
  bottom: 14px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.ornament {
  color: var(--gold);
  text-align: center;
  font-size: 1.2rem;
}

.urdu-line {
  margin: 22px 0;
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 2.2;
  text-align: center;
}

.scansion-panel {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  padding: 18px;
  border-radius: 16px;
  color: white;
  background: var(--green);
}

.panel-label {
  display: block;
  margin-bottom: 3px;
  color: #c4d7d0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meter-bars {
  display: flex;
  gap: 7px;
  margin: 16px 0 10px;
}

.meter-bars span {
  height: 5px;
  flex: 1;
  border-radius: 99px;
  background: #d6c4a4;
}

.meter-bars span:nth-child(even) {
  flex: 0.58;
  opacity: 0.75;
}

.meter-pattern {
  color: #dce7e3;
  font-size: 0.82rem;
}

.trust-strip {
  padding: 26px 0;
  color: white;
  background: var(--green);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.trust-grid div {
  display: grid;
  gap: 3px;
}

.trust-grid span {
  color: #c4d7d0;
  font-size: 0.88rem;
}

.section {
  padding: 96px 0;
}

.section-tinted {
  background: var(--cream);
}

.section-dark {
  color: white;
  background: var(--green);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 44px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 235px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(23, 63, 53, 0.08);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--cream);
  font-size: 0.75rem;
  font-weight: 800;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.steps {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.steps li {
  position: relative;
  padding: 30px 30px 20px 0;
  display: flex;
  gap: 18px;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 49px;
  right: 18px;
  width: calc(100% - 78px);
  height: 1px;
  background: #cabfae;
  transform: translateX(50%);
}

.step-number {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.large-copy {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.1rem;
}

.audience-list {
  border-top: 1px solid var(--line);
}

.audience-list div {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.audience-list span {
  color: var(--muted);
}

.quote-section {
  padding: 72px 0;
  color: white;
  background: #6a2f35;
}

blockquote {
  margin: 0;
  text-align: center;
}

blockquote p {
  margin: 0 0 12px;
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.8;
}

blockquote span {
  color: #ecdfe0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 72px;
  align-items: center;
}

.cta-grid > div:first-child p:last-child {
  max-width: 640px;
  color: #c4d7d0;
}

.cta-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
}

.status-pill {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--green);
  background: #d8c59f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-card p {
  color: #c4d7d0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: 80px;
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 110px;
}

.legal-summary p {
  color: var(--muted);
}

.text-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.privacy-notice {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.privacy-notice h2 {
  font-size: 2.2rem;
}

.privacy-notice h3 {
  margin-top: 32px;
}

.privacy-notice p {
  color: #43534d;
}

.effective-date {
  margin-top: -8px;
  font-size: 0.88rem;
}

.privacy-notice a {
  color: var(--green);
  font-weight: 700;
}

.faq-list {
  max-width: 850px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 22px 0;
  cursor: pointer;
  font-weight: 700;
}

details p {
  max-width: 700px;
  margin-top: -4px;
  padding-bottom: 22px;
  color: var(--muted);
}

.site-footer {
  padding: 62px 0 26px;
  color: #dbe5e1;
  background: #102d26;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.65fr;
  gap: 70px;
}

.brand-footer {
  color: white;
}

.site-footer h3 {
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: #b8cbc4;
  font-size: 0.9rem;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #93aaa2;
  font-size: 0.8rem;
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .steps li::after {
    display: none;
  }

  .hero-grid,
  .split-layout,
  .cta-grid,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.button) {
    padding: 8px 4px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid {
    gap: 48px;
  }

  .trust-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .audience-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .privacy-notice {
    padding: 28px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


.brand-logo-frame {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.brand-logo {
  width: 68px;
  height: 102px;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center 48%;
  transform: translateY(-9px) scale(1.85);
  transform-origin: center 48%;
}
