    :root {
      --teal: #065C6F;
      --deep: #043E4D;
      --deepest: #032F3B;
      --mint: #E8F3EF;
      --paper: #FBFAF6;
      --cream: #F5F1E8;
      --ink: #173038;
      --muted: #60747A;
      --gold: #D0AA75;
      --line: rgba(6, 92, 111, .12);
      --shadow: 0 24px 70px rgba(9, 54, 58, .10);
      --serif: 'Playfair Display', Georgia, serif;
      --sans: 'DM Sans', 'Manrope', Arial, sans-serif;
    }

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

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 104px
    }

    body {
      margin: 0;
      font-family: var(--sans);
      color: var(--ink);
      background: var(--paper);
      -webkit-font-smoothing: antialiased
    }

    body.menu-open {
      overflow: hidden
    }

    a {
      color: inherit;
      text-decoration: none
    }

    button {
      font: inherit
    }

    img {
      display: block;
      max-width: 100%
    }

    svg {
      display: block
    }

    ::selection {
      background: var(--teal);
      color: #fff
    }

    :focus-visible {
      outline: 3px solid var(--gold);
      outline-offset: 5px
    }

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

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 30px
    }

    .eyebrow {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .19em;
      text-transform: uppercase;
      color: var(--teal);
      display: flex;
      align-items: center;
      gap: 12px
    }

    .eyebrow::before {
      content: '';
      width: 27px;
      height: 1px;
      background: currentColor;
      opacity: .6
    }

    .eyebrow--light {
      color: #BEE6DC
    }

    .section {
      padding: 112px 0
    }

    .section-header {
      max-width: 730px;
      margin: 0 auto 54px;
      text-align: center
    }

    .section-header .eyebrow {
      justify-content: center
    }

    .section-header h2,
    .split-copy h2,
    .privacy-copy h2,
    .plans-heading h2,
    .language-copy h2,
    .download-copy h2 {
      font-family: var(--serif);
      font-weight: 500;
      letter-spacing: -.046em;
      line-height: 1.17;
      font-size: clamp(37px, 4.4vw, 57px);
      margin: 20px 0
    }

    .section-header p,
    .split-copy p,
    .privacy-copy p,
    .plans-heading p,
    .language-copy p,
    .download-copy p {
      font-size: 16px;
      line-height: 1.85;
      color: var(--muted)
    }

    .serif-em {
      font-style: italic;
      color: var(--teal)
    }

    .announcement {
      background: var(--deepest);
      color: #E2F5EE;
      text-align: center;
      padding: 10px 20px;
      font-size: 11px;
      letter-spacing: .11em;
      font-weight: 700;
      text-transform: uppercase
    }

    .announcement .star {
      color: var(--gold);
      font-size: 14px;
      padding: 0 11px
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(251, 250, 246, .94);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(6, 92, 111, .08)
    }

    .nav-wrap {
      height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 25px
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex: none;
      white-space: nowrap
    }

    .brand-icon {
      height: 38px;
      width: 40px;
      object-fit: contain
    }

     .brand-name {
          font-family: 'Montserrat', var(--sans);
          font-size: 21px;
          font-weight: 500;
          letter-spacing: -.035em;
          color: var(--deep);
        }

    .brand-name span {
      font-weight: inherit;
      font-size: inherit
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 31px
    }

    .nav-links a {
      font-size: 13px;
      font-weight: 700;
      color: #435B62;
      transition: color .2s
    }

    .nav-links a:hover {
      color: var(--teal)
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--teal);
      border-radius: 100px;
      padding: 14px 22px;
      color: white;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .025em;
      transition: background .2s, transform .2s;
      white-space: nowrap
    }

    .nav-cta:hover,
    .btn-primary:hover {
      background: var(--deepest);
      transform: translateY(-2px)
    }

    .mobile-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      background: white;
      border-radius: 12px;
      color: var(--deep);
      cursor: pointer
    }

    .mobile-toggle svg {
      width: 23px;
      height: 23px
    }

    .hero {
      position: relative;
      overflow: hidden;
      background: linear-gradient(112deg, #FBFAF6 0%, #F9F8F1 46%, #E9F1EC 100%);
      border-bottom: 1px solid var(--line)
    }

    .hero::before {
      content: '';
      position: absolute;
      width: 500px;
      height: 500px;
      border: 1px solid rgba(6, 92, 111, .10);
      border-radius: 50%;
      top: -265px;
      right: -190px;
      box-shadow: 0 0 0 72px rgba(6, 92, 111, .022), 0 0 0 144px rgba(6, 92, 111, .022);
      pointer-events: none
    }

    .hero-layout {
      display: grid;
      grid-template-columns: 1.06fr .94fr;
      gap: 35px;
      align-items: center;
      min-height: 710px;
      padding-top: 67px;
      padding-bottom: 86px
    }

    .hero-copy {
      position: relative;
      z-index: 2
    }

    .pill-label {
      display: inline-flex;
      gap: 10px;
      align-items: center;
      border: 1px solid rgba(6, 92, 111, .17);
      background: rgba(255, 255, 255, .68);
      border-radius: 100px;
      padding: 11px 17px;
      color: var(--teal);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .17em;
      text-transform: uppercase
    }

    .pill-label .dot {
      width: 7px;
      height: 7px;
      border-radius: 100%;
      background: #B89961;
      box-shadow: 0 0 0 4px rgba(184, 153, 97, .13)
    }

    .hero h1 {
      font-family: var(--serif);
      font-weight: 500;
      font-size: clamp(58px, 5.8vw, 86px);
      letter-spacing: -.064em;
      line-height: 1.075;
      max-width: 680px;
      margin: 27px 0 25px;
      color: #143944
    }

    .hero h1 em {
      font-weight: 500;
      color: var(--teal);
      font-style: italic
    }

    .hero-copy>p {
      font-size: 16px;
      line-height: 1.95;
      max-width: 515px;
      color: #62777A;
      margin: 0 0 35px
    }

    .hero-actions {
      display: flex;
      gap: 18px;
      align-items: center;
      flex-wrap: wrap
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 15px;
      background: var(--teal);
      color: #fff;
      padding: 17px 25px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 800;
      box-shadow: 0 12px 25px rgba(6, 92, 111, .18);
      transition: background .2s, transform .2s
    }

    .btn-primary svg,
    .nav-cta svg,
    .text-link svg {
      width: 16px;
      height: 16px
    }

    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--teal);
      font-size: 13px;
      font-weight: 800;
      padding: 14px 2px;
      transition: gap .2s
    }

    .text-link:hover {
      gap: 17px
    }

    .hero-footnote {
      display: flex;
      align-items: center;
      gap: 11px;
      color: #698083;
      font-size: 11px;
      letter-spacing: .015em;
      margin-top: 46px
    }

    .hero-footnote svg {
      width: 16px;
      height: 16px;
      color: var(--teal)
    }

    .hero-visual {
      height: 600px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      isolation: isolate
    }

    .visual-halo {
      position: absolute;
      width: 510px;
      height: 510px;
      border-radius: 50%;
      background: radial-gradient(circle, #D2E9E1 0%, #DCECE5 46%, rgba(220, 236, 229, 0) 70%);
      top: 45px;
      left: 50%;
      transform: translateX(-50%);
      z-index: -2
    }

    .visual-ring {
      position: absolute;
      border: 1px solid rgba(6, 92, 111, .16);
      width: 435px;
      height: 435px;
      border-radius: 50%;
      top: 80px;
      left: 50%;
      transform: translateX(-50%);
      z-index: -1
    }

    .visual-ring::after {
      content: '';
      position: absolute;
      inset: -33px;
      border: 1px dashed rgba(6, 92, 111, .12);
      border-radius: 50%
    }

    .phone {
      width: 316px;
      height: 570px;
      padding: 11px;
      background: #0A333F;
      border-radius: 43px;
      box-shadow: 0 36px 70px rgba(3, 45, 53, .24), 0 10px 25px rgba(3, 45, 53, .14);
      position: relative;
      transform: rotate(5deg);
      flex: none
    }

    .phone::before {
      content: '';
      height: 25px;
      width: 92px;
      position: absolute;
      top: 12px;
      left: 50%;
      transform: translateX(-50%);
      background: #0A333F;
      border-radius: 0 0 18px 18px;
      z-index: 5
    }

    .phone-content {
      height: 100%;
      background: #FBFCF8;
      border-radius: 34px;
      overflow: hidden;
      position: relative
    }

    .phone-top {
      height: 83px;
      padding: 38px 21px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #E7EFEB
    }

    .phone-brand {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: -.04em;
      color: var(--deep)
    }

    .phone-brand img {
      height: 22px;
      width: 24px;
      object-fit: contain
    }

    .phone-top .line-dot {
      width: 26px;
      height: 7px;
      border-radius: 9px;
      background: linear-gradient(90deg, #B6D7CD 0 33%, transparent 33% 47%, #B6D7CD 47% 80%, transparent 80%)
    }

    .phone-main {
      text-align: center;
      padding: 25px 18px 0
    }

    .phone-kicker {
      color: #6F9293;
      font-size: 9px;
      font-weight: 800;
      letter-spacing: .17em;
      text-transform: uppercase
    }

    .phone-title {
      font-family: var(--serif);
      font-size: 24px;
      line-height: 1.25;
      color: #184756;
      letter-spacing: -.04em;
      margin: 8px 0 0
    }

    .symbol-stage {
      height: 202px;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 4px auto 0
    }

    .symbol-stage::before {
      content: '';
      position: absolute;
      width: 173px;
      height: 173px;
      border: 1px solid rgba(6, 92, 111, .19);
      border-radius: 50%;
      box-shadow: 0 0 0 21px rgba(6, 92, 111, .04), 0 0 0 44px rgba(6, 92, 111, .025)
    }

    .symbol-stage img {
      height: 110px;
      position: relative;
      object-fit: contain;
      z-index: 2;
      opacity: .95
    }

    .symbol-gleam {
      position: absolute;
      color: var(--gold);
      font-size: 24px;
      top: 30px;
      right: 25px
    }

    .phone-compat {
      margin: -3px 15px 0;
      padding: 18px 15px;
      background: #E9F3EF;
      border: 1px solid #D6E9E1;
      border-radius: 17px;
      text-align: left
    }

    .phone-compat .cap {
      font-size: 9px;
      font-weight: 800;
      color: var(--teal);
      letter-spacing: .13em;
      text-transform: uppercase
    }

    .phone-compat h4 {
      font-size: 16px;
      color: var(--deep);
      letter-spacing: -.03em;
      margin: 6px 0 12px
    }

    .phone-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px
    }

    .phone-chips span {
      padding: 7px 9px;
      background: #fff;
      border-radius: 100px;
      font-size: 9px;
      font-weight: 700;
      color: #407179;
      border: 1px solid #D3E5E0
    }

    .phone-caption {
      font-size: 9px;
      color: #91A3A4;
      text-align: center;
      margin-top: 18px
    }

    .phone-home {
      width: 90px;
      height: 4px;
      background: #BDD1CC;
      border-radius: 5px;
      position: absolute;
      bottom: 9px;
      left: calc(50% - 45px)
    }

    .float-card {
      position: absolute;
      z-index: 3;
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 15px 40px rgba(16, 72, 72, .13);
      border: 1px solid rgba(6, 92, 111, .08);
      border-radius: 17px;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 15px 17px
    }

    .float-card strong {
      display: block;
      color: #214752;
      font-size: 12px;
      letter-spacing: -.02em
    }

    .float-card small {
      display: block;
      color: #839696;
      font-size: 10px;
      margin-top: 4px
    }

    .float-icon {
      width: 38px;
      height: 38px;
      border-radius: 13px;
      background: #E4F3EB;
      display: grid;
      place-items: center;
      color: var(--teal);
      flex: none
    }

    .float-icon svg {
      width: 19px;
      height: 19px
    }

    .float-left {
      top: 114px;
      left: -6px;
      transform: rotate(-6deg)
    }

    .float-right {
      bottom: 90px;
      right: -15px;
      transform: rotate(7deg)
    }

    .trustline {
      background: #fff;
      border-bottom: 1px solid var(--line)
    }

    .trustline .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
      padding-top: 24px;
      padding-bottom: 24px
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      font-weight: 800;
      color: #496269;
      white-space: nowrap
    }

    .trust-item svg {
      width: 19px;
      height: 19px;
      color: var(--teal)
    }

    .trustline-sep {
      height: 24px;
      width: 1px;
      background: var(--line)
    }

    .intro-grid {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 85px;
      align-items: center
    }

    .intro-art {
      min-height: 437px;
      border-radius: 26px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(150deg, #0B6675, #034453);
      box-shadow: var(--shadow);
      display: flex;
      align-items: center;
      justify-content: center
    }

    .intro-art::before {
      content: '';
      position: absolute;
      width: 530px;
      height: 530px;
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: 50%;
      box-shadow: 0 0 0 55px rgba(255, 255, 255, .035), 0 0 0 110px rgba(255, 255, 255, .025);
      bottom: -370px;
      left: 50%;
      transform: translateX(-50%)
    }

    .intro-art::after {
      content: '';
      position: absolute;
      top: 24px;
      left: 23px;
      bottom: 24px;
      right: 23px;
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 18px;
      pointer-events: none
    }

    .intro-art img {
      width: 172px;
      opacity: .93;
      filter: drop-shadow(0 15px 25px rgba(0, 0, 0, .08));
      z-index: 1
    }

    .intro-art .art-top,
    .intro-art .art-bottom {
      position: absolute;
      color: #CEE4D9;
      font-size: 9px;
      letter-spacing: .2em;
      text-transform: uppercase;
      font-weight: 800
    }

    .intro-art .art-top {
      top: 55px
    }

    .intro-art .art-bottom {
      bottom: 52px
    }

    .split-copy h2 {
      max-width: 600px
    }

    .split-copy p {
      max-width: 535px
    }

    .mini-highlights {
      margin-top: 31px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 21px
    }

    .mini-h {
      display: flex;
      align-items: flex-start;
      gap: 11px
    }

    .mini-h svg {
      width: 19px;
      height: 19px;
      flex: none;
      color: var(--teal);
      margin-top: 2px
    }

    .mini-h span {
      font-size: 13px;
      color: #4E686C;
      line-height: 1.55;
      font-weight: 700
    }

    .features {
      background: #F1F5F0
    }

    .feature-grid {
      display: grid;
      grid-template-columns: 1.12fr .88fr .88fr;
      gap: 17px;
      align-items: stretch
    }

    .feature-card {
      min-height: 272px;
      border-radius: 23px;
      background: #fff;
      padding: 30px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(6, 92, 111, .07);
      transition: transform .25s, box-shadow .25s
    }

    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 34px rgba(6, 57, 61, .08)
    }

    .feature-card.large {
      grid-row: span 2;
      min-height: 564px;
      background: linear-gradient(160deg, #086B7D, #034353);
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border: none
    }

    .feature-card.large::after {
      content: '';
      position: absolute;
      width: 340px;
      height: 340px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 50%;
      bottom: -135px;
      right: -128px;
      box-shadow: 0 0 0 44px rgba(255, 255, 255, .055), 0 0 0 90px rgba(255, 255, 255, .035)
    }

    .feature-card.large img {
      width: 160px;
      align-self: center;
      margin: 35px auto 10px;
      opacity: .9
    }

    .feature-card.large .feature-number {
      color: #B9E5DC
    }

    .feature-card.large h3 {
      font-size: 32px;
      color: #fff
    }

    .feature-card.large p {
      color: #C9DFDF
    }

    .feature-number {
      font-size: 10px;
      letter-spacing: .18em;
      font-weight: 800;
      color: #8BA0A2
    }

    .feature-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: #E7F3ED;
      color: var(--teal);
      display: grid;
      place-items: center;
      margin: 19px 0 25px
    }

    .feature-icon svg {
      width: 22px;
      height: 22px
    }

    .feature-card h3 {
      font-family: var(--serif);
      font-size: 23px;
      font-weight: 600;
      line-height: 1.3;
      letter-spacing: -.037em;
      margin: 0 0 12px;
      color: var(--deep)
    }

    .feature-card p {
      font-size: 12px;
      line-height: 1.85;
      color: #718184;
      margin: 0;
      max-width: 250px
    }

    .feature-card.wide {
      grid-column: span 2;
      min-height: 217px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 26px
    }

    .feature-card.wide .feature-copy {
      max-width: 440px
    }

    .feature-card.wide .feature-icon {
      margin: 0;
      width: 80px;
      height: 80px;
      border-radius: 22px;
      flex: none
    }

    .feature-card.wide .feature-icon svg {
      width: 35px;
      height: 35px
    }

    .feature-card.wide p {
      max-width: 390px
    }

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

    .steps::before {
      content: '';
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--line), transparent);
      position: absolute;
      top: 40px;
      left: 15%;
      right: 15%
    }

    .step {
      text-align: center;
      position: relative
    }

    .step-index {
      height: 80px;
      width: 80px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #F0F7F3;
      border: 1px solid #D8E9E2;
      box-shadow: 0 0 0 12px var(--paper);
      color: var(--teal);
      font-family: var(--serif);
      font-size: 31px;
      margin: 0 auto 27px;
      position: relative;
      z-index: 1
    }

    .step h3 {
      font-family: var(--serif);
      font-size: 22px;
      letter-spacing: -.035em;
      margin: 0 0 11px
    }

    .step p {
      font-size: 13px;
      line-height: 1.85;
      color: #75888B;
      max-width: 284px;
      margin: 0 auto
    }

    .privacy {
      background: #EAF2EE;
      overflow: hidden
    }

    .privacy-grid {
      display: grid;
      grid-template-columns: 1.03fr .97fr;
      gap: 75px;
      align-items: center
    }

    .privacy-copy p {
      max-width: 510px
    }

    .privacy-list {
      display: grid;
      gap: 16px;
      margin-top: 28px
    }

    .privacy-point {
      display: flex;
      align-items: flex-start;
      gap: 13px;
      color: #526C70;
      font-size: 13px;
      line-height: 1.7
    }

    .privacy-point svg {
      width: 18px;
      height: 18px;
      color: var(--teal);
      flex: none;
      margin-top: 3px
    }

    .privacy-point strong {
      color: #274951
    }

    .privacy-stack {
      min-height: 440px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 12px;
      position: relative
    }

    .privacy-stack::before {
      content: '';
      height: 450px;
      width: 450px;
      border: 1px solid rgba(6, 92, 111, .14);
      border-radius: 50%;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      box-shadow: 0 0 0 47px rgba(6, 92, 111, .035), 0 0 0 94px rgba(6, 92, 111, .024)
    }

    .privacy-widget {
      display: flex;
      align-items: center;
      gap: 17px;
      background: #fff;
      position: relative;
      z-index: 1;
      padding: 21px 22px;
      border-radius: 17px;
      box-shadow: 0 15px 35px rgba(6, 78, 75, .08);
      border: 1px solid rgba(6, 92, 111, .075)
    }

    .privacy-widget:nth-child(2) {
      transform: translateX(28px)
    }

    .privacy-widget:nth-child(3) {
      transform: translateX(11px)
    }

    .privacy-widget-icon {
      width: 43px;
      height: 43px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: #E5F3ED;
      color: var(--teal);
      flex: none
    }

    .privacy-widget-icon svg {
      width: 20px;
      height: 20px
    }

    .privacy-widget-body {
      min-width: 0;
      flex: 1
    }

    .privacy-widget-body strong {
      font-size: 12px;
      color: #244852
    }

    .privacy-widget-body small {
      display: block;
      font-size: 10px;
      color: #8A9B9B;
      margin-top: 5px;
      line-height: 1.4
    }

    .widget-status {
      font-size: 9px;
      font-weight: 800;
      letter-spacing: .03em;
      background: #EDF5F0;
      color: #367768;
      border-radius: 100px;
      padding: 8px 10px;
      white-space: nowrap
    }

    .plans {
      background: #fff
    }

    .plans-heading {
      text-align: center;
      margin-bottom: 46px
    }

    .plans-heading p {
      max-width: 600px;
      margin: 0 auto
    }

    .plan-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      align-items: stretch
    }

    /* Match the membership colors used in the Nikah Book Flutter app. */
    .plan {
      --plan-text: var(--ink);
      --plan-detail: #526C71;
      --plan-subtitle: #94A8A7;
      --plan-divider: #E7EFEC;
      --plan-icon: var(--teal);
      border-radius: 24px;
      border: 1px solid #E2EBE7;
      padding: 33px 29px 31px;
      position: relative;
      background: #fff;
      color: var(--plan-text)
    }

    .plan.basic {
      background: #6F7074;
      border-color: #6F7074;
      --plan-text: #fff;
      --plan-detail: #fff;
      --plan-subtitle: #fff;
      --plan-divider: rgba(255, 255, 255, .42);
      --plan-icon: #fff
    }

    .plan.standard {
      background: #1DA1F2;
      border-color: #1DA1F2;
      --plan-text: #082E40;
      --plan-detail: #082E40;
      --plan-subtitle: #082E40;
      --plan-divider: rgba(8, 46, 64, .36);
      --plan-icon: #082E40
    }

    .plan.premium {
      background: #5C2AA6;
      border-color: #5C2AA6;
      --plan-text: #fff;
      --plan-detail: #fff;
      --plan-subtitle: #fff;
      --plan-divider: rgba(255, 255, 255, .42);
      --plan-icon: #fff;
      box-shadow: 0 18px 36px rgba(92, 42, 166, .17)
    }

    .plan-subtitle {
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .15em;
      color: var(--plan-subtitle)
    }

    .plan h3 {
      font-family: var(--serif);
      font-size: 34px;
      letter-spacing: -.04em;
      font-weight: 500;
      margin: 18px 0 9px
    }

    .plan p {
      font-size: 12px;
      line-height: 1.7;
      color: var(--plan-detail);
      margin: 0 0 30px;
      min-height: 42px
    }

    .plan-divider {
      height: 1px;
      background: var(--plan-divider);
      margin: 0 0 25px
    }

    .plan ul {
      padding: 0;
      margin: 0;
      list-style: none;
      display: grid;
      gap: 17px
    }

    .plan li {
      font-size: 12px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      line-height: 1.5;
      color: var(--plan-detail)
    }

    .plan li svg {
      width: 15px;
      height: 15px;
      color: var(--plan-icon);
      flex: none;
      margin-top: 2px
    }

    .plan-note {
      text-align: center;
      font-size: 11px;
      line-height: 1.7;
      color: #879896;
      margin: 23px auto 0;
      max-width: 650px
    }

    .language {
      background: #F7F3EA;
      position: relative;
      overflow: hidden
    }

    .language-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center
    }

    .language-copy p {
      max-width: 520px
    }

    .language-art {
      padding: 43px;
      border: 1px solid rgba(6, 92, 111, .12);
      border-radius: 26px;
      background: #FFFCF6;
      position: relative;
      box-shadow: 0 19px 50px rgba(84, 80, 48, .06)
    }

    .language-art::before {
      content: '✳';
      position: absolute;
      top: 17px;
      right: 26px;
      font-size: 35px;
      color: #CCA96C
    }

    .language-art .lang-label {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #A6A99B
    }

    .language-art .lang-line {
      font-family: var(--serif);
      font-size: 30px;
      letter-spacing: -.04em;
      color: var(--deep);
      margin: 19px 0
    }

    .language-art .lang-ml {
      font-family: 'Noto Sans Malayalam', 'Nirmala UI', sans-serif;
      font-size: 19px;
      line-height: 1.75;
      color: var(--teal);
      margin: 0
    }

    .language-art .lang-bottom {
      border-top: 1px solid #EBE8DD;
      padding-top: 22px;
      margin-top: 24px;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      color: #8A9C95;
      font-size: 11px;
      font-weight: 700
    }

    .download {
      background: linear-gradient(132deg, #064D5B, #032E3A);
      position: relative;
      overflow: hidden;
      color: white
    }

    .download::before {
      content: '';
      height: 540px;
      width: 540px;
      border: 1px solid rgba(255, 255, 255, .15);
      position: absolute;
      border-radius: 50%;
      top: -270px;
      right: -100px;
      box-shadow: 0 0 0 85px rgba(255, 255, 255, .018), 0 0 0 170px rgba(255, 255, 255, .016)
    }

    .download::after {
      content: '';
      height: 470px;
      width: 470px;
      border: 1px solid rgba(255, 255, 255, .1);
      position: absolute;
      border-radius: 50%;
      bottom: -300px;
      left: -150px
    }

    .download-grid {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 55px;
      align-items: center;
      position: relative;
      z-index: 1
    }

    .download-copy h2 {
      color: white
    }

    .download-copy h2 em {
      font-style: italic;
      color: #B8DDCB
    }

    .download-copy p {
      color: #BDD9DA;
      max-width: 460px
    }

    .download-signature {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 33px;
      color: #BDDAD7;
      font-size: 12px
    }

    .download-signature img {
      width: 38px;
      height: 38px;
      object-fit: contain
    }

    .store-panel {
      background: rgba(255, 255, 255, .09);
      border: 1px solid rgba(255, 255, 255, .20);
      backdrop-filter: blur(16px);
      border-radius: 26px;
      padding: 37px;
      position: relative
    }

    .store-panel .panel-top {
      color: #C4E1DA;
      font-size: 11px;
      letter-spacing: .15em;
      text-transform: uppercase;
      font-weight: 800;
      margin-bottom: 20px
    }

    .store-options {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 13px
    }

    .store-item {
      min-width: 0;
      background: #F9FBF8;
      border-radius: 18px;
      padding: 24px 12px 19px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 17px;
      min-height: 166px
    }

    .store-badge {
      width: 100%;
      height: 54px;
      object-fit: contain;
      object-position: center;
      max-width: 184px
    }

    .badge-fallback {
      display: none;
      align-items: center;
      justify-content: center;
      background: #111;
      color: #fff;
      min-height: 54px;
      width: 100%;
      max-width: 184px;
      border-radius: 8px;
      text-align: center;
      padding: 8px 11px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.35
    }

    .store-item.badge-missing .badge-fallback {
      display: flex
    }

    .store-item.badge-missing .store-badge {
      display: none
    }

    .coming-soon {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--teal);
      border: 1px solid #D6E6E1;
      background: #EDF6F1;
      padding: 8px 12px;
      border-radius: 100px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .045em
    }

    .coming-soon::before {
      content: '';
      height: 6px;
      width: 6px;
      border-radius: 50%;
      background: #D1AB76
    }

    .store-disclaimer {
      font-size: 10px;
      line-height: 1.7;
      color: #D6E5E2;
      margin: 19px 0 0;
      text-align: center
    }

    .faq {
      background: var(--paper)
    }

    .faq-grid {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      gap: 80px
    }

    .faq-lead h2 {
      font-family: var(--serif);
      font-size: clamp(36px, 4vw, 52px);
      font-weight: 500;
      letter-spacing: -.045em;
      line-height: 1.16;
      margin: 20px 0
    }

    .faq-lead p {
      font-size: 13px;
      line-height: 1.8;
      color: #7C8F91;
      max-width: 300px
    }

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

    .faq-list details {
      border-bottom: 1px solid var(--line)
    }

    .faq-list summary {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 20px;
      justify-content: space-between;
      cursor: pointer;
      padding: 23px 0;
      font-size: 14px;
      font-weight: 800;
      color: #2C4D55
    }

    .faq-list summary::-webkit-details-marker {
      display: none
    }

    .faq-list summary svg {
      width: 18px;
      height: 18px;
      color: var(--teal);
      flex: none;
      transition: transform .2s
    }

    .faq-list details[open] summary svg {
      transform: rotate(45deg)
    }

    .faq-list details p {
      font-size: 13px;
      line-height: 1.8;
      color: #74878A;
      margin: -3px 35px 23px 0
    }

    .footer {
      background: #032F3B;
      color: #D0E3E1;
      padding: 57px 0 27px
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 30px;
      align-items: center;
      padding-bottom: 42px;
      border-bottom: 1px solid rgba(255, 255, 255, .12)
    }

    .footer .brand-name {
      color: white
    }

    .footer .brand-icon {
      height: 34px;
      width: 36px
    }

    .footer-desc {
      font-size: 12px;
      color: #A4C4C5;
      margin: 16px 0 0;
      line-height: 1.7;
      max-width: 320px
    }

    .footer-nav {
      display: flex;
      gap: 25px;
      flex-wrap: wrap
    }

    .footer-nav a {
      font-size: 12px;
      font-weight: 700;
      color: #C7DDDD
    }

    .footer-nav a:hover {
      color: #fff
    }

    .footer-bottom {
      padding-top: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 15px
    }

    .footer-bottom p {
      font-size: 10px;
      color: #91B4BA;
      margin: 0;
      line-height: 1.7
    }

    .trademark {
      max-width: 700px;
      font-size: 9px;
      color: #8EAEB2;
      line-height: 1.7;
      margin: 19px auto 0;
      text-align: center
    }

    [data-reveal] {
      transition: opacity .7s ease, transform .7s ease
    }

    .js [data-reveal] {
      opacity: 0;
      transform: translateY(21px)
    }

    .js [data-reveal].revealed {
      opacity: 1;
      transform: none
    }

    @media(min-width:1400px) {
      .hero-layout {
        min-height: 760px
      }
    }

    @media(max-width:1120px) {
      .nav-links {
        gap: 18px
      }

      .nav-links a {
        font-size: 12px
      }

      .nav-cta {
        padding: 13px 17px
      }

      .hero-layout {
        grid-template-columns: 1fr 1fr;
        gap: 0
      }

      .hero h1 {
        font-size: clamp(50px, 5.5vw, 75px)
      }

      .hero-visual {
        transform: scale(.87);
        transform-origin: center
      }

      .float-left {
        left: -24px
      }

      .float-right {
        right: -25px
      }

      .intro-grid {
        gap: 55px
      }

      .privacy-grid {
        gap: 50px
      }

      .feature-card {
        padding: 24px
      }
    }

    @media(max-width:900px) {
      .container {
        padding: 0 24px
      }

      .section {
        padding: 84px 0
      }

      .nav-links {
        gap: 17px
      }

      .nav-links a:nth-child(3),
      .nav-links a:nth-child(4) {
        display: none
      }

      .hero-layout {
        grid-template-columns: 1.04fr .96fr;
        padding-top: 48px;
        padding-bottom: 60px;
        min-height: 650px
      }

      .hero h1 {
        font-size: clamp(49px, 6vw, 66px)
      }

      .hero-visual {
        transform: scale(.76);
        transform-origin: center
      }

      .float-left {
        left: -42px
      }

      .float-right {
        right: -53px
      }

      .trustline .container {
        flex-wrap: wrap;
        justify-content: center
      }

      .trustline-sep {
        display: none
      }

      .trust-item {
        white-space: normal
      }

      .intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px
      }

      .intro-art {
        min-height: 380px
      }

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

      .feature-card.large {
        grid-row: span 2;
        min-height: 570px
      }

      .feature-card.wide {
        grid-column: span 1;
        min-height: 272px
      }

      .feature-card.wide .feature-icon {
        display: none
      }

      .privacy-grid,
      .language-grid {
        gap: 36px
      }

      .privacy-widget {
        padding: 16px
      }

      .privacy-widget:nth-child(2) {
        transform: translateX(10px)
      }

      .download-grid {
        gap: 30px
      }

      .store-panel {
        padding: 25px
      }

      .store-options {
        grid-template-columns: 1fr
      }

      .store-item {
        min-height: 140px;
        padding: 15px
      }

      .faq-grid {
        gap: 38px
      }
    }

    @media(max-width:700px) {
      .announcement {
        font-size: 9px;
        letter-spacing: .06em;
        padding: 9px 12px
      }

      .nav-wrap {
        height: 70px
      }

      .brand-icon {
        height: 34px;
        width: 35px
      }

      .brand-name {
        font-size: 19px
      }

      .nav-cta {
        margin-left: auto;
        font-size: 11px;
        padding: 12px 15px
      }

      .mobile-toggle {
        display: flex
      }

      .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 20px 24px 28px;
        background: #FBFAF6;
        border-top: 1px solid var(--line);
        box-shadow: 0 20px 30px rgba(10, 61, 65, .1);
        flex-direction: column;
        align-items: stretch;
        gap: 0
      }

      .nav-links.is-open {
        display: flex
      }

      .nav-links a,
      .nav-links a:nth-child(3),
      .nav-links a:nth-child(4) {
        display: block;
        padding: 13px 0;
        font-size: 14px
      }

      .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 69px;
        padding-bottom: 30px;
        gap: 0
      }

      .hero h1 {
        font-size: clamp(49px, 9.5vw, 76px);
        max-width: 610px
      }

      .hero-copy>p {
        font-size: 15px;
        line-height: 1.8;
        max-width: 560px
      }

      .hero-footnote {
        margin-top: 28px
      }

      .hero-visual {
        height: 505px;
        transform: scale(.77);
        margin: -42px 0 -48px
      }

      .float-left {
        left: 0
      }

      .float-right {
        right: 0
      }

      .trustline .container {
        justify-content: center;
        gap: 15px 25px
      }

      .trust-item {
        font-size: 11px
      }

      .intro-grid,
      .privacy-grid,
      .language-grid,
      .download-grid,
      .faq-grid {
        grid-template-columns: 1fr;
        gap: 38px
      }

      .intro-art {
        max-width: 540px;
        width: 100%;
        min-height: 350px;
        margin: 0 auto
      }

      .split-copy {
        max-width: 620px
      }

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

      .feature-card.large {
        min-height: 470px;
        grid-column: span 2;
        grid-row: auto
      }

      .feature-card.large img {
        width: 110px;
        margin: 0 auto
      }

      .feature-card.wide {
        grid-column: span 2;
        min-height: 190px;
        display: flex
      }

      .feature-card.wide .feature-icon {
        display: grid
      }

      .steps {
        gap: 15px
      }

      .step p {
        font-size: 12px
      }

      .step h3 {
        font-size: 20px
      }

      .privacy-stack {
        min-height: 360px;
        width: calc(100% - 24px);
        margin: 0 auto
      }

      .privacy-widget {
        max-width: 550px;
        width: 100%
      }

      .language-art {
        max-width: 600px
      }

      .download-copy h2 {
        max-width: 600px
      }

      .store-panel {
        max-width: 620px;
        width: 100%;
        margin: 0 auto
      }

      .store-options {
        grid-template-columns: 1fr 1fr
      }

      .plan-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto
      }

      .faq-lead p {
        max-width: 570px
      }

      .faq-list {
        width: 100%
      }

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

      .footer-nav {
        gap: 15px 25px
      }
    }

    @media(max-width:470px) {
      .container {
        padding: 0 20px
      }

      .section {
        padding: 72px 0
      }

      .nav-cta {
        display: none
      }

      .brand {
        margin-right: auto
      }

      .nav-wrap {
        gap: 10px
      }

      .hero-layout {
        padding-top: 57px;
        padding-bottom: 95px
      }

      .hero h1 {
        font-size: clamp(46px, 12.8vw, 62px)
      }

      .pill-label {
        font-size: 9px;
        letter-spacing: .11em
      }

      .hero-actions {
        gap: 6px 17px
      }

      .btn-primary {
        padding: 16px 21px
      }

      .hero-visual {
        height: 460px;
        transform: scale(.67);
        margin: -15px -32px -40px
      }

      .float-left {
        left: -23px
      }

      .float-right {
        right: -16px
      }

      .trustline .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 14px
      }

      .trust-item {
        font-size: 10px;
        gap: 8px
      }

      .section-header {
        margin-bottom: 34px
      }

      .section-header h2,
      .split-copy h2,
      .privacy-copy h2,
      .plans-heading h2,
      .language-copy h2,
      .download-copy h2 {
        font-size: clamp(34px, 9vw, 44px)
      }

      .intro-art {
        min-height: 325px
      }

      .intro-art img {
        width: 130px
      }

      .intro-art .art-top {
        top: 36px
      }

      .intro-art .art-bottom {
        bottom: 34px
      }

      .mini-highlights {
        gap: 15px;
        grid-template-columns: 1fr 1fr
      }

      .mini-h span {
        font-size: 11px
      }

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

      .feature-card,
      .feature-card.wide {
        grid-column: span 1;
        min-height: 226px
      }

      .feature-card.large {
        grid-column: span 1;
        min-height: 440px
      }

      .feature-card.wide .feature-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px
      }

      .feature-card.wide .feature-icon svg {
        width: 25px;
        height: 25px
      }

      .feature-card.wide h3 {
        font-size: 20px
      }

      .steps {
        grid-template-columns: 1fr;
        gap: 36px
      }

      .steps::before {
        display: none
      }

      .step-index {
        height: 63px;
        width: 63px;
        font-size: 27px;
        margin-bottom: 16px
      }

      .privacy-widget {
        gap: 10px;
        padding: 14px 12px
      }

      .privacy-widget-icon {
        height: 36px;
        width: 36px
      }

      .widget-status {
        font-size: 8px;
        padding: 7px 8px
      }

      .privacy-widget-body strong {
        font-size: 11px
      }

      .privacy-widget:nth-child(2) {
        transform: translateX(8px)
      }

      .plan-grid {
        grid-template-columns: 1fr
      }

      .plan {
        padding: 30px
      }

      .plan p {
        min-height: auto;
        margin-bottom: 20px
      }

      .plan-grid {
        gap: 13px
      }

      .language-art {
        padding: 27px
      }

      .language-art .lang-line {
        font-size: 25px
      }

      .language-art .lang-ml {
        font-size: 17px
      }

      .store-panel {
        padding: 23px 16px
      }

      .store-options {
        grid-template-columns: 1fr;
        gap: 11px
      }

      .store-item {
        min-height: 140px
      }

      .store-badge {
        max-width: 205px
      }

      .store-disclaimer {
        font-size: 10px
      }

      .footer-bottom {
        align-items: center;
        flex-direction: column;
        gap: 6px
      }
    }

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

      *,
      *::before,
      *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
      }

      .js [data-reveal] {
        opacity: 1;
        transform: none
      }
    }

    /* CSP-compatible replacements for the original inline styles. */
    .svg-sprite {
      display: none
    }

    .skip-link {
      clip: auto;
      width: auto;
      height: auto;
      top: -100px;
      left: 20px;
      z-index: 200;
      background: white;
      padding: 12px
    }

    .skip-link:focus {
      top: 10px
    }

    .eyebrow-center {
      justify-content: center
    }

    /* Reachable contact details, styled to match the existing footer. */
    .footer-contact {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      padding: 27px 0 29px;
      border-bottom: 1px solid rgba(255, 255, 255, .12)
    }

    .footer-contact-item {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-self: start;
      text-align: left;
      gap: 7px;
      min-width: 0
    }

    .footer-contact-item:nth-child(2) {
      justify-self: center;
      align-items: center;
      text-align: center
    }

    .footer-contact-item:nth-child(3) {
      justify-self: end;
      align-items: flex-end;
      text-align: right
    }

    .footer-contact-label {
      font-size: 10px;
      color: #91B4BA;
      letter-spacing: .10em;
      font-weight: 800;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      line-height: 1.5
    }

    .footer-contact-icon {
      display: block;
      flex: 0 0 17px;
      width: 17px;
      height: 17px;
      color: #C5E3DE
    }

    .footer-contact-icon--whatsapp {
      flex-basis: 18px;
      width: 18px;
      height: 18px
    }

    .footer-contact-item a {
      font-size: 13px;
      font-weight: 700;
      color: #D0E3E1;
      line-height: 1.65;
      overflow-wrap: anywhere;
      text-underline-offset: 4px
    }

    .footer-contact-item a:hover {
      color: #fff;
      text-decoration: underline
    }

    @media(max-width:700px) {
      .footer-contact {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 23px 0
      }

      .footer-contact-item,
      .footer-contact-item:nth-child(2),
      .footer-contact-item:nth-child(3) {
        justify-self: stretch;
        align-items: center;
        text-align: center
      }
    }



    /* Nikah Book — responsive refinements & accessible appearance controls (Oct 2026).
   Keep badges from their official providers. Brand colors and membership cards unchanged. */
    .theme-toggle {
      width: 44px;
      height: 44px;
      flex: 0 0 44px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      color: #065C6F;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background .2s, border-color .2s, transform .2s
    }

    .theme-toggle:hover {
      transform: translateY(-1px);
      border-color: rgba(6, 92, 111, .35)
    }

    .theme-toggle svg {
      width: 21px;
      height: 21px
    }

    .theme-icon-sun {
      display: none
    }

    :root[data-theme="dark"] .theme-icon-sun {
      display: block
    }

    :root[data-theme="dark"] .theme-icon-moon {
      display: none
    }

    /* Preserve the original mark's proportions at all sizes. */
    .brand-icon {
      width: auto;
      height: 38px;
      max-width: none;
      flex-shrink: 0;
      object-fit: contain
    }

    .footer .brand-icon {
      width: auto;
      height: 34px;
      max-width: none
    }

    .intro-art img {
      width: min(43%, 190px);
      max-height: 190px;
      height: auto;
      object-fit: contain;
      aspect-ratio: auto
    }

    .feature-card.large img {
      width: clamp(138px, 18vw, 176px);
      height: auto;
      max-width: 50%;
      object-fit: contain
    }

    /* Original Apple and Google artwork remains intact; backgrounds now branded. */
    .store-item {
      background: #065C6F;
      border: 1px solid rgba(255, 255, 255, .26);
      padding: 18px 12px;
      gap: 13px;
      min-height: 150px
    }

    .store-badge {
      width: auto;
      height: 54px;
      max-width: 100%;
      max-height: 54px;
      object-fit: contain;
      object-position: center
    }

    .store-item--apple .store-badge {
      width: 155px
    }

    .store-item--google .store-badge {
      width: 207px
    }

    .coming-soon {
      background: rgba(255, 255, 255, .10);
      border-color: rgba(255, 255, 255, .28);
      color: #fff
    }

    .badge-fallback {
      border: 1px solid rgba(255, 255, 255, .15)
    }

    /* Official social accounts from Nikah Book Flutter LikeShareScreen. */
    .footer-social {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 15px;
      padding: 25px 0 5px;
      text-align: center
    }

    .footer-social-title {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .11em;
      text-transform: uppercase;
      color: #B5D3D3
    }

    .social-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px
    }

    .social-link {
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .24);
      background: rgba(255, 255, 255, .07);
      color: #E3F4F2;
      transition: background .2s, transform .2s, border-color .2s
    }

    .social-link:hover {
      background: rgba(255, 255, 255, .18);
      border-color: rgba(255, 255, 255, .45);
      transform: translateY(-2px)
    }

    .social-link svg {
      width: 21px;
      height: 21px
    }

    @media(max-width:700px) {

      /* Retain the original left-aligned mobile header and footer positions. */
      .nav-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        height: 70px
      }

      .nav-wrap .brand {
        margin-right: auto;
        min-width: 0;
        gap: 8px
      }

      .nav-wrap .brand-icon {
        height: 34px;
        width: auto;
        max-height: 34px
      }

      .nav-wrap .brand-name {
        font-size: clamp(16px, 4.6vw, 19px);
        flex-shrink: 0
      }

      .nav-wrap .theme-toggle {
        order: 2;
        width: 40px;
        height: 40px;
        flex: 0 0 40px
      }

      .nav-wrap .mobile-toggle {
        order: 3;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: flex
      }

      .nav-wrap .nav-cta {
        display: none
      }

      .nav-links {
        background: var(--paper)
      }
    }

    @media(max-width:360px) {
      .nav-wrap {
        gap: 7px
      }

      .nav-wrap .brand {
        gap: 6px
      }

      .nav-wrap .brand-icon {
        height: 31px;
        max-height: 31px
      }

      .nav-wrap .brand-name {
        font-size: 16px
      }
    }

    /* Accessible dark mode: system preference by default, visitor can override. */
    :root[data-theme="dark"] {
      color-scheme: dark;
      --paper: #111D24;
      --cream: #18272D;
      --ink: #E9F4F1;
      --muted: #B5CBCA;
      --deep: #E4F7F1;
      --line: rgba(198, 230, 226, .16);
      --shadow: 0 24px 70px rgba(0, 0, 0, .22)
    }

    :root[data-theme="dark"] .site-header {
      background: rgba(17, 29, 36, .96);
      border-bottom-color: rgba(205, 237, 233, .12)
    }

    :root[data-theme="dark"] .brand-name {
      color: #EAF9F5
    }

    :root[data-theme="dark"] .site-header .brand-icon {
      filter: brightness(0) invert(1)
    }

    :root[data-theme="dark"] .nav-links a {
      color: #C9E3DF
    }

    :root[data-theme="dark"] .nav-links a:hover {
      color: #A2E9E4
    }

    :root[data-theme="dark"] .theme-toggle,
    :root[data-theme="dark"] .mobile-toggle {
      background: #1D333C;
      color: #D9F7F3;
      border-color: rgba(201, 236, 230, .23)
    }

    :root[data-theme="dark"] .hero {
      background: linear-gradient(115deg, #121E25, #192D32 60%, #193A3C)
    }

    :root[data-theme="dark"] .hero h1 {
      color: #EAF9F5
    }

    :root[data-theme="dark"] .hero h1 em,
    :root[data-theme="dark"] .serif-em {
      color: #89DCD8
    }

    :root[data-theme="dark"] .hero-copy>p,
    :root[data-theme="dark"] .hero-footnote {
      color: #B8CDCB
    }

    :root[data-theme="dark"] .pill-label {
      color: #BCF1E8;
      border-color: rgba(189, 236, 224, .27);
      background: rgba(255, 255, 255, .05)
    }

    :root[data-theme="dark"] .eyebrow {
      color: #8FDCD4
    }

    :root[data-theme="dark"] .download .eyebrow {
      color: #BEE6DC
    }

    :root[data-theme="dark"] .text-link {
      color: #91E3DA
    }

    :root[data-theme="dark"] .hero-visual .float-card {
      background: #233C43;
      border-color: rgba(207, 239, 233, .12)
    }

    :root[data-theme="dark"] .hero-visual .float-card strong {
      color: #E4F5F2
    }

    :root[data-theme="dark"] .hero-visual .float-card small {
      color: #BDD4D3
    }

    :root[data-theme="dark"] .trustline {
      background: #16262D
    }

    :root[data-theme="dark"] .trust-item {
      color: #CDE0DF
    }

    :root[data-theme="dark"] .trust-item svg,
    :root[data-theme="dark"] .mini-h svg {
      color: #8BE1D9
    }

    :root[data-theme="dark"] .mini-h span {
      color: #D0E5E1
    }

    :root[data-theme="dark"] .features {
      background: #15282E
    }

    :root[data-theme="dark"] .feature-card:not(.large) {
      background: #20353D;
      border-color: rgba(199, 236, 230, .11)
    }

    :root[data-theme="dark"] .feature-card:not(.large) h3 {
      color: #EAF8F3
    }

    :root[data-theme="dark"] .feature-card:not(.large) p {
      color: #BAD1CE
    }

    :root[data-theme="dark"] .feature-number {
      color: #AFCAC7
    }

    :root[data-theme="dark"] .step-index {
      color: #A7ECE5;
      background: #20383D;
      border-color: #355756
    }

    :root[data-theme="dark"] .step p {
      color: #B3CECB
    }

    :root[data-theme="dark"] .privacy {
      background: #152B30
    }

    :root[data-theme="dark"] .privacy-point {
      color: #BED6D2
    }

    :root[data-theme="dark"] .privacy-point strong {
      color: #E2F6F1
    }

    :root[data-theme="dark"] .privacy-point svg {
      color: #92E0D8
    }

    :root[data-theme="dark"] .privacy-widget {
      background: #203940;
      border-color: rgba(207, 239, 233, .12)
    }

    :root[data-theme="dark"] .privacy-widget-body strong {
      color: #F1FBF8
    }

    :root[data-theme="dark"] .privacy-widget-body small {
      color: #B5D0CB
    }

    :root[data-theme="dark"] .plans {
      background: #131F26
    }

    :root[data-theme="dark"] .plan-note {
      color: #B3CAC6
    }

    :root[data-theme="dark"] .language {
      background: #20282B
    }

    :root[data-theme="dark"] .language-art {
      background: #27393C;
      border-color: rgba(217, 238, 232, .16)
    }

    :root[data-theme="dark"] .language-art .lang-line {
      color: #E9F8F4
    }

    :root[data-theme="dark"] .language-art .lang-ml {
      color: #96E2D9
    }

    :root[data-theme="dark"] .language-art .lang-bottom {
      border-top-color: rgba(220, 240, 234, .13);
      color: #C9DDDA
    }

    :root[data-theme="dark"] .language-art .lang-label {
      color: #C4D7D3
    }

    :root[data-theme="dark"] .faq-list summary {
      color: #E5F7F3
    }

    :root[data-theme="dark"] .faq-list details p,
    :root[data-theme="dark"] .faq-lead p {
      color: #B8D0CB
    }

    :root[data-theme="dark"] .faq-list summary svg {
      color: #95E2DA
    }

    :root[data-theme="dark"] .section-header p,
    :root[data-theme="dark"] .split-copy p,
    :root[data-theme="dark"] .privacy-copy p,
    :root[data-theme="dark"] .plans-heading p,
    :root[data-theme="dark"] .language-copy p {
      color: #B8CECC
    }

    :root[data-theme="dark"] .footer .brand-name {
      color: #fff
    }

    :root[data-theme="dark"] .phone-content {
      color-scheme: light
    }

    @media(max-width:700px) {
      :root[data-theme="dark"] .nav-links {
        background: #16272E;
        border-top-color: rgba(201, 236, 230, .15)
      }
    }

    /* Official brand-icon SVGs (Font Awesome Free); locally hosted to keep the existing strict CSP. */
    .social-links {
      flex-wrap: wrap;
      row-gap: 10px
    }

    .social-link {
      flex: 0 0 42px;
      overflow: hidden
    }

    .social-link img {
      display: block;
      width: 21px;
      height: 21px;
      max-width: 21px;
      max-height: 21px;
      object-fit: contain
    }

    .social-link--instagram {
      background: rgba(225, 48, 108, .13);
      border-color: rgba(225, 48, 108, .35)
    }

    .social-link--facebook {
      background: rgba(24, 119, 242, .12);
      border-color: rgba(24, 119, 242, .32)
    }

    .social-link--threads,
    .social-link--x {
      background: rgba(255, 255, 255, .08);
      border-color: rgba(255, 255, 255, .25)
    }

    .social-link--youtube {
      background: rgba(255, 0, 0, .10);
      border-color: rgba(255, 70, 70, .29)
    }

    .social-link--whatsapp {
      background: rgba(37, 211, 102, .10);
      border-color: rgba(37, 211, 102, .32)
    }

    .social-link:focus-visible {
      outline: 3px solid #D0AA75;
      outline-offset: 3px
    }

    @media(max-width:360px) {
      .social-links {
        max-width: 160px;
        justify-content: center;
        margin-inline: auto
      }
    }


    /* Nikah Book: mobile centered branding and optically balanced official store badges. */
    /* The Google Play PNG contains more clear padding than the Apple SVG.
   Scale it uniformly so the visible *badge*, rather than the file box, matches. */
    .store-item--google .store-badge {
      transform: scale(1.28);
      transform-origin: center
    }

    @media(max-width:700px) {

      /* Mobile header: menu | centered brand | theme, all on one row. */
      .nav-wrap {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        column-gap: 8px;
        row-gap: 0;
        height: 70px;
        min-height: 70px;
        padding-top: 0;
        padding-bottom: 0;
        align-items: center;
        justify-content: initial;
      }

      .nav-wrap .brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        margin: 0;
        width: max-content;
        max-width: 100%;
      }

      .nav-wrap .mobile-toggle {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        order: 0
      }

      .nav-wrap .theme-toggle {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        order: 0
      }

      /* Navigation expands immediately beneath the single-row header. */
      .nav-links {
        top: 100%
      }

      /* Preserve mobile footer centering. */
      .footer-top {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center
      }

      .footer-top .brand {
        margin-inline: auto;
        justify-content: center
      }

      .footer-nav {
        justify-content: center;
        text-align: center
      }
    }

        /* ======================================================
       NIKAH BOOK — OFFICIAL STYLIZED WORDMARK
       Light mode: #065C6F
       Dark mode:  #FFFFFF
       Wordmark size reduced by 20%
       ====================================================== */
    
        /* Wordmark container */
        .brand-wordmark {
          display: inline-flex;
          align-items: center;
          flex-shrink: 0;
          line-height: 1;
        }
    
        /* Wordmark size — Desktop */
        .brand-wordmark img {
          display: block;
          width: auto;
          height: 20px;
          max-width: none;
          object-fit: contain;
        }
    
        /* ==========================================
       LIGHT MODE — HEADER
       ========================================== */
    
        /* Show brand teal wordmark */
        .site-header .brand-wordmark .brand-wordmark-teal {
          display: block;
        }
    
        /* Hide white wordmark */
        .site-header .brand-wordmark .brand-wordmark-white {
          display: none;
        }
    
        /* ==========================================
       DARK MODE — HEADER
       ========================================== */
    
        /* Hide teal wordmark */
        :root[data-theme="dark"] .site-header .brand-wordmark .brand-wordmark-teal {
          display: none;
        }
    
        /* Show white wordmark */
        :root[data-theme="dark"] .site-header .brand-wordmark .brand-wordmark-white {
          display: block;
        }
    
        /* ==========================================
       FOOTER — ALWAYS WHITE
       ========================================== */
    
        .footer .footer-wordmark .brand-wordmark-white {
          display: block;
          height: 20px;
        }
    
        /* ==========================================
       MOBILE — 20% SMALLER
       ========================================== */
    
        @media (max-width: 700px) {
    
          .site-header .brand-wordmark img {
            height: 18.4px;
          }
    
          .footer .footer-wordmark .brand-wordmark-white {
            height: 18.4px;
          }
    
        }
    
      /*==========================================
       VERY SMALL MOBILE
       ========================================== */
    
        @media (max-width: 360px) {
    
          .site-header .brand-wordmark img {
            height: 16px;
          }
    
        }