@import url("/assets/fonts/vazir.css");

:root {
      --navy: #0b2430;
      --navy-2: #123744;
      --navy-3: #1a4652;
      --mint: #55d6b0;
      --mint-dark: #17836a;
      --mint-pale: #e9f8f3;
      --amber: #f5b84b;
      --coral: #f29b7e;
      --purple: #8f87d8;
      --ink: #14252c;
      --muted: #687b80;
      --soft: #f4f7f5;
      --paper: #fbfcfa;
      --line: #dce5e1;
      --white: #ffffff;
      --danger: #b8524b;
      --success: #13755e;
      --shadow: 0 24px 70px rgba(13, 43, 51, .11);
      --shadow-soft: 0 12px 40px rgba(13, 43, 51, .07);
      --radius-lg: 28px;
      --radius-md: 18px;
      --radius-sm: 12px;
      --container: min(1180px, calc(100% - 40px));
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; background: var(--paper); }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: "Vazir", Tahoma, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    body.modal-open { overflow: hidden; }
    button, input, select, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { cursor: pointer; }
    a { color: inherit; text-decoration: none; }
    img, svg { display: block; max-width: 100%; }
    input, select, textarea { color: var(--ink); }
    :focus-visible { outline: 3px solid rgba(85, 214, 176, .55); outline-offset: 3px; }
    .container { width: var(--container); margin-inline: auto; }
    .muted { color: var(--muted); }
    .ltr { direction: ltr; unicode-bidi: embed; }
    .only-mobile { display: none; }
    .sr-only {
      position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }

    /* Shared header */
    .site-header {
      position: sticky; top: 0; z-index: 80;
      border-bottom: 1px solid rgba(220, 229, 225, .84);
      background: rgba(251, 252, 250, .92);
      backdrop-filter: blur(18px);
    }
    .site-nav {
      min-height: 76px; display: flex; align-items: center; gap: 26px;
    }
    .brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
    .brand-mark {
      width: 34px; height: 34px; display: flex; align-items: flex-end;
      justify-content: center; gap: 3px; padding: 7px;
      border-radius: 10px; background: var(--navy); transform: rotate(-3deg);
    }
    .brand-mark i { width: 4px; display: block; border-radius: 5px; background: var(--mint); }
    .brand-mark i:nth-child(1) { height: 9px; }
    .brand-mark i:nth-child(2) { height: 15px; }
    .brand-mark i:nth-child(3) { height: 21px; }
    .brand-copy { display: grid; gap: 2px; }
    .brand-copy strong { font-size: 23px; letter-spacing: -.055em; }
    .brand-copy small { color: var(--muted); font-size: 9px; }
    .brand-logo {
      position: relative;
      width: 126px;
      height: 58px;
      display: block;
      overflow: hidden;
      flex: 0 0 auto;
      border-radius: 0;
      background: transparent;
    }
    .brand-logo::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url('holda-logo-transparent-v2.png');
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
    }
    .brand:has(.brand-logo) .brand-mark,
    .brand:has(.brand-logo) .brand-copy { display: none; }
    .app-sidebar .brand-logo { width: 154px; height: 85px; }
    footer .brand-logo { width: 154px; height: 85px; }
    .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 5px; margin-inline: auto; }
    .nav-link {
      position: relative; padding: 11px 12px; border: 0; border-radius: 10px;
      color: #4f6469; background: transparent; font-size: 11px; font-weight: 700;
    }
    .nav-link::after {
      content: ""; position: absolute; right: 12px; left: 12px; bottom: 3px;
      height: 2px; border-radius: 9px; background: var(--mint-dark);
      transform: scaleX(0); transition: transform .2s ease;
    }
    .nav-link:hover, .nav-link.active { color: var(--navy); background: #eff5f2; }
    .nav-link.active::after { transform: scaleX(1); }
    .nav-actions { display: flex; align-items: center; gap: 9px; }
    .btn {
      min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
      gap: 9px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px;
      font-size: 10px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { color: #fff; background: var(--navy); box-shadow: 0 9px 22px rgba(11, 36, 48, .17); }
    .btn-primary:hover { background: var(--navy-2); }
    .btn-secondary { border-color: var(--line); color: var(--navy); background: #fff; }
    .btn-mint { color: var(--navy); background: var(--mint); }
    .btn-ghost { min-height: 38px; padding-inline: 11px; color: #567076; background: transparent; }
    .btn-icon { width: 44px; padding: 0; }
    .menu-button { display: none; }

    /* Router */
    main { min-height: 70vh; }
    .site-page { display: none; }
    .site-page.active { display: block; animation: page-in .32s ease both; }
    @keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

    /* Home */
    .hero {
      position: relative; overflow: hidden; padding: 86px 0 70px;
      background:
        radial-gradient(circle at 12% 23%, rgba(85, 214, 176, .21), transparent 30%),
        linear-gradient(180deg, #f8fbf8 0%, #fbfcfa 100%);
    }
    .hero::before {
      content: ""; position: absolute; width: 470px; height: 470px; left: -250px; bottom: -270px;
      border: 1px solid rgba(23, 131, 106, .14); border-radius: 50%;
      box-shadow: 0 0 0 65px rgba(85, 214, 176, .035), 0 0 0 130px rgba(85, 214, 176, .025);
    }
    .hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
    .eyebrow {
      display: inline-flex; align-items: center; gap: 8px; color: var(--mint-dark);
      font-size: 10px; font-weight: 800; letter-spacing: -.01em;
    }
    .eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
    .eyebrow-pill {
      display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px;
      border: 1px solid #cde9df; border-radius: 999px; color: var(--mint-dark);
      background: rgba(233, 248, 243, .9); font-size: 9px; font-weight: 800;
    }
    .hero-copy h1 {
      max-width: 650px; margin: 19px 0 20px; color: var(--navy);
      font-size: clamp(42px, 5.1vw, 66px); line-height: 1.42; letter-spacing: -.06em;
    }
    .hero-copy > p { max-width: 610px; margin: 0; color: #5f7277; font-size: 14px; line-height: 2.15; }
    .hero-actions { display: flex; align-items: center; gap: 11px; margin-top: 28px; }
    .hero-actions .btn { min-height: 51px; padding-inline: 22px; font-size: 11px; }
    .hero-notes { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 22px; color: #708086; font-size: 9px; }
    .hero-notes span { display: inline-flex; align-items: center; gap: 6px; }
    .hero-notes i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: var(--success); background: var(--mint-pale); font-style: normal; }
    .dashboard-preview {
      position: relative; min-width: 0; padding: 19px; border: 1px solid #d7e3de;
      border-radius: 28px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow);
    }
    .preview-window { overflow: hidden; border: 1px solid #e4ebe8; border-radius: 19px; background: #fff; }
    .preview-bar { height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid #e7ece9; background: #f8faf9; }
    .window-dots { display: flex; gap: 5px; direction: ltr; }
    .window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d0d9d5; }
    .preview-bar small { color: #7a8a8e; font-size: 8px; }
    .preview-content { display: grid; grid-template-columns: 90px 1fr; min-height: 390px; }
    .mini-sidebar { padding: 18px 11px; color: #aec0c4; background: var(--navy); }
    .mini-brand { width: 25px; height: 25px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 8px; color: var(--navy); background: var(--mint); font-weight: 900; }
    .mini-brand.brand-logo { width: 25px; height: 25px; margin-bottom: 28px; border-radius: 8px; }
    .mini-brand.brand-logo::before { background-size: 52px 29px; background-position: center; }
    .mini-nav { display: grid; gap: 8px; }
    .mini-nav i { width: 100%; height: 29px; display: block; border-radius: 8px; background: rgba(255, 255, 255, .07); }
    .mini-nav i.active { background: var(--mint); }
    .mini-main { min-width: 0; padding: 22px; background: #fbfcfb; }
    .mini-heading { display: flex; justify-content: space-between; gap: 12px; }
    .mini-heading p { margin: 0; }
    .mini-heading small { display: block; color: #839095; font-size: 7px; }
    .mini-heading strong { display: block; margin-top: 5px; font-size: 17px; }
    .sample-badge { height: max-content; padding: 5px 8px; border-radius: 99px; color: #64777c; background: #edf3f0; font-size: 7px; }
    .mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 11px; }
    .mini-stat { padding: 12px; border: 1px solid #e4ebe8; border-radius: 11px; background: #fff; }
    .mini-stat span { display: block; color: #819095; font-size: 7px; }
    .mini-stat strong { display: block; margin-top: 6px; font-size: 10px; }
    .mini-chart { padding: 14px; border: 1px solid #e4ebe8; border-radius: 12px; background: #fff; }
    .mini-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
    .mini-chart-head strong { font-size: 9px; }
    .mini-chart-head span { color: var(--success); font-size: 7px; }
    .mini-chart svg { width: 100%; height: 120px; }
    .chart-grid-line { stroke: #e8eeeb; stroke-width: 1; stroke-dasharray: 4 5; }
    .chart-area { fill: url(#heroChartFill); stroke: none; }
    .chart-line { fill: none; stroke: #35b58d; stroke-width: 3; stroke-linecap: round; }
    .preview-float {
      position: absolute; left: -28px; bottom: 55px; width: 195px; padding: 14px 15px;
      border: 1px solid #dce6e2; border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft);
    }
    .preview-float small { color: #7f8e92; font-size: 7px; }
    .preview-float strong { display: block; margin: 5px 0; font-size: 10px; }
    .preview-float span { color: var(--mint-dark); font-size: 8px; }
    .sample-note { margin: 12px 0 0; color: #869397; font-size: 8px; text-align: center; }

    .step-strip { position: relative; z-index: 2; margin-top: -1px; }
    .step-strip-inner {
      display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
      border: 1px solid #dae4df; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft);
    }
    .step-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 22px 24px; border-left: 1px solid #e3e9e6; }
    .step-item:last-child { border-left: 0; }
    .step-item > b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--navy); background: var(--mint); font-size: 12px; }
    .step-item p { margin: 0; }
    .step-item strong { display: block; margin-bottom: 5px; font-size: 11px; }
    .step-item span { display: block; color: var(--muted); font-size: 9px; line-height: 1.75; }

    .section { padding: 100px 0; }
    .section-soft { background: var(--soft); }
    .section-dark { color: #fff; background: var(--navy); }
    .section-head { max-width: 700px; margin-bottom: 43px; }
    .section-head.center { margin-inline: auto; text-align: center; }
    .section-head h2 { margin: 12px 0 10px; font-size: clamp(30px, 3vw, 42px); line-height: 1.55; letter-spacing: -.045em; }
    .section-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 2; }
    .section-dark .section-head p { color: #a9b9bd; }
    .question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
    .question-card {
      position: relative; min-height: 260px; display: flex; flex-direction: column; padding: 26px;
      border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 6px 24px rgba(11, 36, 48, .035);
    }
    .question-card:nth-child(2) { background: #f0faf6; }
    .question-card:nth-child(3) { background: #f3f1ff; }
    .question-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--navy); background: #f3f6f4; font-size: 19px; }
    .question-card h3 { margin: 29px 0 10px; font-size: 18px; line-height: 1.7; }
    .question-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 2; }
    .question-card .card-link { width: max-content; display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding: 20px 0 0; border: 0; color: var(--mint-dark); background: transparent; font-size: 9px; font-weight: 800; }

    .product-story { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
    .story-copy h2 { margin: 14px 0; font-size: 39px; line-height: 1.55; letter-spacing: -.04em; }
    .story-copy > p { margin: 0; color: #b3c1c4; font-size: 11px; line-height: 2.1; }
    .story-points { display: grid; gap: 16px; margin-top: 28px; }
    .story-point { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
    .story-point > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(85, 214, 176, .28); border-radius: 11px; color: var(--mint); background: rgba(85, 214, 176, .08); }
    .story-point p { margin: 0; }
    .story-point strong { display: block; margin-bottom: 5px; font-size: 11px; }
    .story-point small { color: #9eb0b4; font-size: 9px; line-height: 1.8; }
    .entry-demo { padding: 22px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 24px; background: rgba(255, 255, 255, .055); }
    .entry-demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
    .entry-demo-head p { margin: 0; }
    .entry-demo-head strong { display: block; font-size: 13px; }
    .entry-demo-head small { color: #95a9ae; font-size: 8px; }
    .segmented { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(0, 0, 0, .18); }
    .segmented span { padding: 7px 11px; border-radius: 7px; color: #9fb0b4; font-size: 8px; }
    .segmented span.active { color: var(--navy); background: var(--mint); }
    .demo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .demo-field { padding: 11px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(3, 20, 27, .25); }
    .demo-field small { display: block; margin-bottom: 6px; color: #8fa4a9; font-size: 7px; }
    .demo-field strong { font-size: 9px; }
    .demo-submit { margin-top: 12px; padding: 12px; border-radius: 10px; color: var(--navy); background: var(--mint); font-size: 9px; font-weight: 900; text-align: center; }

    .trust-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
    .trust-copy h2 { margin: 13px 0; font-size: 39px; line-height: 1.5; letter-spacing: -.04em; }
    .trust-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 2.1; }
    .trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
    .trust-item { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
    .trust-item > span { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 10px; color: var(--mint-dark); background: var(--mint-pale); font-weight: 900; }
    .trust-item strong { display: block; margin-bottom: 7px; font-size: 11px; }
    .trust-item p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.9; }
    .purchase-section { background: #fff; }
    .purchase-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
    .purchase-copy h2 { margin: 13px 0 12px; font-size: 39px; line-height: 1.5; letter-spacing: -.04em; }
    .purchase-copy > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 2.1; }
    .purchase-points { display: grid; gap: 11px; margin-top: 24px; }
    .purchase-point { display: grid; grid-template-columns: 31px 1fr; gap: 11px; align-items: start; }
    .purchase-point > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--mint-dark); background: var(--mint-pale); font-style: normal; font-weight: 900; }
    .purchase-point strong { display: block; margin-bottom: 3px; font-size: 10px; }
    .purchase-point span { display: block; color: var(--muted); font-size: 8px; line-height: 1.8; }
    .lifetime-card { position: relative; overflow: hidden; padding: 30px; border: 1px solid #cfe1da; border-radius: 24px; background: linear-gradient(145deg, #f7fbf9, #edf8f4); box-shadow: var(--shadow-soft); }
    .lifetime-card::before { content: ''; position: absolute; width: 210px; height: 210px; left: -80px; top: -95px; border-radius: 50%; background: rgba(85, 214, 176, .13); }
    .lifetime-badge { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 99px; color: #1c6658; background: #dff7ef; font-size: 8px; font-weight: 900; }
    .lifetime-card h3 { position: relative; margin: 18px 0 8px; font-size: 24px; }
    .lifetime-card > p { position: relative; margin: 0; color: #61777b; font-size: 9px; line-height: 1.9; }
    .lifetime-price { position: relative; display: flex; align-items: baseline; gap: 7px; margin: 22px 0 18px; padding: 17px 0; border-top: 1px solid #d9e8e2; border-bottom: 1px solid #d9e8e2; }
    .lifetime-price span { color: #71868a; font-size: 8px; }
    .lifetime-price strong { font-size: 17px; }
    .lifetime-card .form-submit { position: relative; margin-top: 17px; }
    .gateway-note { position: relative; display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: #71878b; font-size: 7px; line-height: 1.8; }
    .gateway-note i { color: var(--mint-dark); font-style: normal; }
    .home-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 42px; border-radius: 25px; background: linear-gradient(135deg, #dff7ef, #f1fbf7); }
    .home-cta h2 { margin: 8px 0 7px; font-size: 27px; }
    .home-cta p { margin: 0; color: #61787b; font-size: 10px; line-height: 1.9; }

    /* App pages */
    .app-page { padding: 32px 0 70px; background: #f2f6f4; }
    .app-frame { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 760px; overflow: hidden; border: 1px solid #d8e2de; border-radius: 27px; background: #fff; box-shadow: var(--shadow-soft); }
    .app-sidebar { display: flex; flex-direction: column; padding: 25px 16px; color: #fff; background: var(--navy); }
    .app-sidebar .brand { padding-inline: 8px; }
    .app-sidebar .brand-copy strong { color: #fff; }
    .app-sidebar .brand-copy small { color: #89a1a7; }
    .side-user { display: grid; grid-template-columns: 39px 1fr; gap: 10px; align-items: center; margin: 29px 0 18px; padding: 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; background: rgba(255, 255, 255, .045); }
    .side-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--navy); background: var(--mint); font-weight: 900; }
    .side-user p { margin: 0; }
    .side-user strong { display: block; font-size: 9px; }
    .side-user small { color: #8fa5ab; font-size: 7px; }
    .side-nav { display: grid; gap: 6px; }
    .side-nav button {
      width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px;
      border: 0; border-radius: 11px; color: #a6b9be; background: transparent; text-align: right; font-size: 9px;
    }
    .side-nav button:hover, .side-nav button.active { color: #fff; background: rgba(255, 255, 255, .08); }
    .side-nav button.active { box-shadow: inset -3px 0 var(--mint); }
    .side-nav i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .06); font-style: normal; }
    .side-nav button.active i { color: var(--navy); background: var(--mint); }
    .side-help { margin-top: auto; padding: 15px; border-radius: 13px; background: rgba(85, 214, 176, .09); }
    .side-help strong { display: block; color: var(--mint); font-size: 9px; }
    .side-help p { margin: 6px 0 0; color: #91a6ab; font-size: 7px; line-height: 1.8; }
    .app-content { min-width: 0; padding: 0 28px; background: #f7f9f8; }
    .app-topbar { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid #dfe7e3; }
    .app-title .eyebrow { font-size: 8px; }
    .app-title h1 { margin: 7px 0 5px; font-size: 24px; letter-spacing: -.035em; }
    .app-title p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.8; }
    .app-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
    .sync-state { display: flex; align-items: center; gap: 7px; color: #698086; font-size: 8px; }
    .sync-dot { width: 7px; height: 7px; border-radius: 50%; background: #3bc28f; box-shadow: 0 0 0 4px #dff6ec; }
    .app-note { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0 0; padding: 12px 14px; border: 1px solid #cbe7dc; border-radius: 11px; color: #427268; background: #effaf6; font-size: 8px; line-height: 1.8; }
    .app-note b { color: var(--success); }
    .license-card { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 16px; margin-top: 18px; padding: 17px; border: 1px solid #cce5dc; border-radius: 16px; background: linear-gradient(135deg, #eefaf6, #fff); }
    .license-owner { display: grid; grid-template-columns: 43px 1fr; gap: 11px; align-items: center; min-width: 0; }
    .license-avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: var(--navy); background: var(--mint); font-weight: 900; }
    .license-owner p { min-width: 0; margin: 0; }
    .license-owner strong { display: block; font-size: 11px; }
    .license-owner span { display: block; margin-top: 4px; overflow: hidden; color: #6f8387; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: right; }
    .license-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
    .license-fact { padding: 11px; border: 1px solid #dce9e4; border-radius: 11px; background: rgba(255, 255, 255, .82); }
    .license-fact span { display: block; color: #7a8e91; font-size: 7px; }
    .license-fact strong { display: block; margin: 6px 0 3px; font-size: 10px; }
    .license-fact small { display: block; color: #8a9a9d; font-size: 6.5px; line-height: 1.7; }
    .license-fact.active strong { color: var(--success); }
    .summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
    .summary-card { padding: 17px; border: 1px solid #dfe7e3; border-radius: 14px; background: #fff; }
    .summary-card span { display: block; color: #77898d; font-size: 8px; }
    .summary-card strong { display: block; margin: 8px 0 5px; font-size: 16px; }
    .summary-card small { color: #8a999c; font-size: 7px; }
    .summary-card .positive { color: var(--success); }
    .summary-card .negative { color: var(--danger); }
    .panel-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 15px; padding-bottom: 18px; }
    .panel { min-width: 0; padding: 21px; border: 1px solid #dfe7e3; border-radius: 17px; background: #fff; }
    .panel.full { grid-column: 1 / -1; }
    .panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
    .panel-head h2 { margin: 0 0 6px; font-size: 15px; }
    .panel-head p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.8; }
    .panel-chip { flex: 0 0 auto; padding: 6px 8px; border-radius: 99px; color: #59736f; background: #edf4f1; font-size: 7px; }
    .form-stack { display: grid; gap: 12px; }
    .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .field { display: grid; gap: 6px; }
    .field > span { color: #52686d; font-size: 8px; font-weight: 800; }
    .field small { color: #8c9a9d; font-size: 7px; }
    .field input, .field select, .field textarea {
      width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #dce5e1;
      border-radius: 9px; outline: 0; background: #fbfcfb; font-size: 9px;
    }
    .field textarea { min-height: 80px; padding-top: 10px; resize: vertical; }
    .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(85, 214, 176, .16); }
    .money-input { direction: ltr; text-align: left; }
    .type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border-radius: 10px; background: #edf2f0; }
    .type-switch button { padding: 9px; border: 0; border-radius: 7px; color: #728489; background: transparent; font-size: 8px; font-weight: 800; }
    .type-switch button.active { color: var(--navy); background: #fff; box-shadow: 0 4px 12px rgba(11, 36, 48, .08); }
    .type-switch button.active.expense { color: var(--danger); }
    .form-submit { width: 100%; min-height: 43px; border: 0; border-radius: 10px; color: #fff; background: var(--navy); font-size: 9px; font-weight: 900; }
    .form-submit:hover { background: var(--navy-2); }
    .wallet-layout { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
    .donut-wrap { position: relative; width: 164px; height: 164px; margin: auto; }
    .donut { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--coral) 0 36%, var(--amber) 36% 61%, var(--purple) 61% 79%, var(--mint) 79% 100%); }
    .donut::after { content: ""; position: absolute; inset: 31px; border-radius: 50%; background: #fff; }
    .donut-label { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; }
    .donut-label strong { font-size: 14px; }
    .donut-label small { margin-top: 4px; color: #839196; font-size: 7px; }
    .legend { display: grid; gap: 3px; }
    .legend-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #ecf0ee; font-size: 8px; }
    .legend-row:last-child { border-bottom: 0; }
    .legend-label { display: flex; align-items: center; gap: 7px; color: #61777b; }
    .legend-label i { width: 8px; height: 8px; border-radius: 3px; }
    .data-table { overflow-x: auto; }
    .table-row { min-width: 680px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 12px; align-items: center; padding: 12px 9px; border-top: 1px solid #e9eeec; font-size: 8px; }
    .table-row.head { color: #829195; font-size: 7px; }
    .table-main { display: flex; align-items: center; gap: 9px; }
    .table-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--navy); background: #eef4f1; font-weight: 900; }
    .table-main p { margin: 0; }
    .table-main strong { display: block; margin-bottom: 3px; font-size: 9px; }
    .table-main small, .table-row small { color: #879599; font-size: 7px; }
    .table-action { width: 30px; height: 30px; border: 0; border-radius: 8px; color: #6e8084; background: #f0f4f2; }
    .empty-row { padding: 22px; color: #7c8d91; text-align: center; font-size: 8px; }

    /* Assets */
    .asset-overview { display: grid; grid-template-columns: .68fr 1.32fr; gap: 15px; margin-bottom: 15px; }
    .asset-total { padding: 24px; color: #fff; background: linear-gradient(145deg, var(--navy), var(--navy-3)); }
    .asset-total span { color: #91a7ac; font-size: 8px; }
    .asset-total strong { display: block; margin: 11px 0 7px; color: var(--mint); font-size: 25px; }
    .asset-total p { margin: 0; color: #a7b8bc; font-size: 8px; line-height: 1.8; }
    .asset-total-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
    .asset-total-grid div { padding: 12px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 10px; background: rgba(255, 255, 255, .05); }
    .asset-total-grid small { display: block; color: #8fa6ab; font-size: 7px; }
    .asset-total-grid b { display: block; margin-top: 5px; font-size: 10px; }
    .trend-panel { padding-bottom: 13px; }
    .range-switch { display: flex; gap: 3px; padding: 3px; border-radius: 8px; background: #edf3f0; }
    .range-switch button { padding: 6px 8px; border: 0; border-radius: 6px; color: #78898d; background: transparent; font-size: 7px; }
    .range-switch button.active { color: var(--navy); background: #fff; }
    .trend-svg { width: 100%; height: 210px; }
    .trend-area { fill: url(#assetFill); stroke: none; }
    .trend-line { fill: none; stroke: #32ad85; stroke-width: 3; stroke-linecap: round; }
    .asset-table-row { min-width: 790px; grid-template-columns: 1.35fr .65fr 1fr 1fr .85fr .9fr auto; }
    .price-meta { line-height: 1.7; }
    .source-pill { display: inline-flex; padding: 5px 7px; border-radius: 99px; color: #5b726f; background: #eef4f1; font-size: 7px; }

    /* Capacity */
    .capacity-hero {
      display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px;
      margin: 18px 0 15px; padding: 26px; border-radius: 18px; color: #fff;
      background: linear-gradient(135deg, var(--navy), #173e4b);
    }
    .capacity-hero .eyebrow { color: var(--mint); font-size: 8px; }
    .capacity-hero h2 { margin: 10px 0 7px; font-size: 25px; line-height: 1.55; }
    .capacity-hero p { max-width: 630px; margin: 0; color: #a8b9bd; font-size: 9px; line-height: 1.9; }
    .capacity-result { min-width: 215px; padding: 19px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(255, 255, 255, .055); text-align: center; }
    .capacity-result span, .capacity-result small { display: block; color: #9eb0b4; font-size: 7px; }
    .capacity-result strong { display: block; margin: 7px 0; color: var(--mint); font-size: 22px; }
    .scenario-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
    .scenario-buttons button { padding: 8px 10px; border: 1px solid #dce5e1; border-radius: 9px; color: #5f757a; background: #fff; font-size: 8px; }
    .scenario-buttons button.active { border-color: #8edfc6; color: var(--success); background: var(--mint-pale); }
    .range-field input { width: 100%; accent-color: var(--mint-dark); }
    .range-value { display: flex; justify-content: space-between; color: #7d8e92; font-size: 7px; }
    .capacity-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .capacity-card { padding: 18px; border: 1px solid #dfe7e3; border-radius: 14px; background: #fff; }
    .capacity-card span { color: #77898d; font-size: 8px; }
    .capacity-card strong { display: block; margin: 9px 0 6px; font-size: 17px; }
    .capacity-card p { margin: 0; color: #8a999c; font-size: 7px; line-height: 1.7; }
    .allocation { margin-top: 17px; }
    .allocation-bar { height: 13px; display: flex; overflow: hidden; border-radius: 99px; background: #e8eeeb; }
    .allocation-bar i { display: block; height: 100%; transition: width .25s ease; }
    .allocation-bar .essentials { width: 60%; background: var(--coral); }
    .allocation-bar .reserve { width: 25%; background: var(--amber); }
    .allocation-bar .free { width: 15%; background: var(--mint); }
    .allocation-legend { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 10px; color: #687b80; font-size: 7px; }
    .allocation-legend span { display: inline-flex; align-items: center; gap: 5px; }
    .allocation-legend i { width: 7px; height: 7px; border-radius: 2px; }
    .disclaimer { margin-top: 14px; padding: 12px 14px; border: 1px solid #eadfbf; border-radius: 10px; color: #77643b; background: #fff9e9; font-size: 8px; line-height: 1.8; }

    /* About */
    .about-hero { position: relative; overflow: hidden; padding: 105px 0 90px; color: #fff; background: var(--navy); }
    .about-hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -180px; top: -230px; border: 1px solid rgba(85, 214, 176, .17); border-radius: 50%; box-shadow: 0 0 0 75px rgba(85, 214, 176, .035), 0 0 0 150px rgba(85, 214, 176, .022); }
    .about-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 85px; }
    .about-hero h1 { max-width: 650px; margin: 19px 0; font-size: clamp(42px, 5vw, 65px); line-height: 1.45; letter-spacing: -.055em; }
    .about-hero p { max-width: 620px; margin: 0; color: #b0c0c4; font-size: 13px; line-height: 2.1; }
    .about-manifest { padding: 27px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(255, 255, 255, .05); }
    .manifest-row { display: grid; grid-template-columns: 39px 1fr; gap: 13px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .manifest-row:last-child { border-bottom: 0; }
    .manifest-row > b { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: var(--navy); background: var(--mint); font-size: 11px; }
    .manifest-row p { margin: 0; }
    .manifest-row strong { display: block; margin-bottom: 5px; font-size: 10px; }
    .manifest-row span { color: #93a9ae; font-size: 8px; line-height: 1.8; }
    .narrative-section { padding: 110px 0; }
    .narrative-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 85px; align-items: start; }
    .narrative-title { position: sticky; top: 116px; }
    .narrative-title h2 { margin: 14px 0; font-size: 38px; line-height: 1.55; letter-spacing: -.04em; }
    .narrative-title p { margin: 0; color: var(--muted); font-size: 10px; line-height: 2; }
    .narrative-content { display: grid; gap: 55px; }
    .narrative-block { padding-bottom: 50px; border-bottom: 1px solid var(--line); }
    .narrative-block:last-child { padding-bottom: 0; border-bottom: 0; }
    .block-number { display: block; margin-bottom: 12px; color: var(--mint-dark); font-size: 9px; font-weight: 800; }
    .narrative-block h3 { margin: 0 0 13px; font-size: 24px; line-height: 1.6; }
    .narrative-block p { margin: 0; color: #607479; font-size: 11px; line-height: 2.25; }
    .audience-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
    .audience-list div { padding: 16px; border-radius: 13px; background: #f2f7f4; }
    .audience-list strong { display: block; margin-bottom: 6px; font-size: 9px; }
    .audience-list span { color: #718388; font-size: 8px; line-height: 1.8; }
    .principles { padding: 100px 0; background: #edf6f2; }
    .principle-list { display: grid; gap: 0; border-top: 1px solid #cfddd7; }
    .principle-row { display: grid; grid-template-columns: 70px .75fr 1.25fr; gap: 28px; align-items: center; padding: 25px 0; border-bottom: 1px solid #cfddd7; }
    .principle-row > b { color: var(--mint-dark); font-size: 12px; }
    .principle-row h3 { margin: 0; font-size: 18px; }
    .principle-row p { margin: 0; color: #65797e; font-size: 10px; line-height: 1.95; }
    .vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
    .vision-card { min-height: 320px; padding: 30px; border-radius: 22px; }
    .vision-card:first-child { color: #fff; background: var(--navy); }
    .vision-card:last-child { border: 1px solid #d6e3de; background: #fff; }
    .vision-card span { color: var(--mint); font-size: 9px; font-weight: 800; }
    .vision-card:last-child span { color: var(--mint-dark); }
    .vision-card h3 { margin: 17px 0 12px; font-size: 28px; line-height: 1.55; }
    .vision-card p { margin: 0; color: #aabcc0; font-size: 10px; line-height: 2.1; }
    .vision-card:last-child p { color: #65797e; }
    .trust-statement { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
    .trust-statement h2 { margin: 13px 0; font-size: 39px; line-height: 1.5; }
    .trust-statement > div:first-child p { margin: 0; color: var(--muted); font-size: 10px; line-height: 2; }
    .promise-list { display: grid; gap: 10px; }
    .promise { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
    .promise > b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--success); background: var(--mint-pale); }
    .promise p { margin: 0; }
    .promise strong { display: block; margin-bottom: 5px; font-size: 10px; }
    .promise span { color: #74878b; font-size: 8px; line-height: 1.8; }
    .not-do { margin-top: 65px; padding: 35px; border-radius: 23px; color: #fff; background: var(--navy); }
    .not-do h3 { margin: 0 0 8px; font-size: 23px; }
    .not-do > p { margin: 0; color: #9fb2b7; font-size: 9px; }
    .not-do-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 22px; }
    .not-do-grid div { padding: 17px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 12px; background: rgba(255, 255, 255, .045); }
    .not-do-grid b { display: block; margin-bottom: 8px; color: var(--mint); font-size: 11px; }
    .not-do-grid span { color: #b0c0c4; font-size: 8px; line-height: 1.8; }
    .timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 45px; }
    .timeline::before { content: ""; position: absolute; right: 8%; left: 8%; top: 12px; height: 1px; background: #cddbd5; }
    .timeline-item { position: relative; padding: 0 17px; }
    .timeline-dot { position: relative; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; margin-bottom: 20px; border: 6px solid #eef5f2; border-radius: 50%; background: var(--mint-dark); }
    .timeline-item small { color: var(--mint-dark); font-size: 8px; font-weight: 800; }
    .timeline-item h3 { margin: 8px 0; font-size: 14px; }
    .timeline-item p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.9; }

    /* Footer */
    .site-footer { padding-top: 56px; color: #fff; background: #071b24; }
    .footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 48px; padding-bottom: 42px; }
    .footer-about p { max-width: 330px; margin: 16px 0 0; color: #8ea2a8; font-size: 9px; line-height: 2; }
    .footer-column { display: grid; align-content: start; gap: 12px; }
    .footer-column strong { margin-bottom: 3px; font-size: 10px; }
    .footer-column button { width: max-content; padding: 0; border: 0; color: #9aadb2; background: transparent; font-size: 9px; text-align: right; }
    .footer-column button:hover { color: var(--mint); }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); color: #71878d; font-size: 8px; }
    .footer-bottom p { margin: 0; }

    /* Modals and feedback */
    .modal {
      position: fixed; inset: 0; z-index: 140; display: none; place-items: center;
      padding: 20px; background: rgba(3, 20, 27, .72); backdrop-filter: blur(9px);
    }
    .modal.open { display: grid; animation: fade-in .2s ease both; }
    @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
    .modal-card { width: min(500px, 100%); max-height: min(820px, calc(100vh - 40px)); overflow-y: auto; border: 1px solid #dbe5e1; border-radius: 23px; background: #fff; box-shadow: 0 35px 100px rgba(0, 0, 0, .26); }
    .modal-card.wide { width: min(720px, 100%); }
    .modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 27px 18px; border-bottom: 1px solid #e8eeeb; }
    .modal-head h2 { margin: 0 0 7px; font-size: 21px; }
    .modal-head p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.8; }
    .modal-close { width: 34px; height: 34px; border: 0; border-radius: 9px; color: #62777c; background: #eff4f2; font-size: 18px; }
    .modal-body { padding: 23px 27px 27px; }
    .auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border-radius: 10px; background: #edf2f0; }
    .auth-tabs button { padding: 10px; border: 0; border-radius: 8px; color: #708287; background: transparent; font-size: 9px; font-weight: 800; }
    .auth-tabs button.active { color: var(--navy); background: #fff; box-shadow: 0 4px 15px rgba(11, 36, 48, .07); }
    .auth-panel { display: none; margin-top: 19px; }
    .auth-panel.active { display: block; }
    .auth-panel .form-stack { gap: 11px; }
    .auth-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
    .text-button { padding: 0; border: 0; color: var(--mint-dark); background: transparent; font-size: 8px; font-weight: 800; }
    .captcha-box { display: grid; grid-template-columns: 1fr 105px; gap: 9px; align-items: end; }
    .captcha-question { height: 42px; display: grid; place-items: center; border: 1px dashed #b9cbc4; border-radius: 9px; color: var(--navy); background: #f0f7f4; font-size: 12px; font-weight: 900; direction: ltr; }
    .auth-note { margin: 14px 0 0; color: #839397; font-size: 7px; line-height: 1.8; text-align: center; }
    .checkout-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 17px; }
    .checkout-step { padding: 9px 6px; border-radius: 9px; color: #829397; background: #eff4f2; font-size: 7px; font-weight: 800; text-align: center; }
    .checkout-step.done { color: #286d60; background: #e2f6ef; }
    .checkout-step.active { color: #fff; background: var(--navy); }
    .checkout-summary { overflow: hidden; border: 1px solid #dce7e3; border-radius: 13px; background: #fbfcfb; }
    .checkout-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #e6ece9; font-size: 8px; }
    .checkout-summary > div:last-child { border-bottom: 0; }
    .checkout-summary span { color: #74868a; }
    .checkout-summary strong { text-align: left; }
    .checkout-summary .total { color: var(--navy); background: #edf8f4; }
    .checkout-summary .total strong { color: var(--mint-dark); font-size: 10px; }
    .payment-provider { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 13px; padding: 13px 14px; border: 1px solid #dce7e3; border-radius: 12px; }
    .payment-provider p { margin: 0; }
    .payment-provider strong { display: block; font-size: 9px; }
    .payment-provider small { color: #7d8f92; font-size: 7px; }
    .payment-provider b { padding: 7px 9px; border-radius: 8px; color: #fff; background: #16875d; font-size: 8px; }
    .success-state { padding: 8px 0 2px; text-align: center; }
    .success-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 20px; color: var(--navy); background: var(--mint); font-size: 28px; font-weight: 900; box-shadow: 0 12px 30px rgba(85, 214, 176, .3); }
    .success-state h3 { margin: 0 0 8px; font-size: 20px; }
    .success-state > p { margin: 0 0 18px; color: var(--muted); font-size: 9px; line-height: 1.9; }
    .legal-copy h3 { margin: 23px 0 8px; font-size: 14px; }
    .legal-copy h3:first-child { margin-top: 0; }
    .legal-copy p { margin: 0; color: #61757a; font-size: 9px; line-height: 2.05; }
    .toast { position: fixed; z-index: 200; right: 24px; bottom: 24px; max-width: 340px; display: none; align-items: center; gap: 10px; padding: 14px 17px; border-radius: 12px; color: #fff; background: var(--navy); box-shadow: var(--shadow); font-size: 9px; }
    .toast.show { display: flex; animation: toast-in .25s ease both; }
    .toast b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--navy); background: var(--mint); }
    @keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

    /* Responsive */
    @media (max-width: 1050px) {
      .app-sidebar .brand-logo { width: 50px; height: 40px; border-radius: 0; }
      .app-sidebar .brand-logo::before { background-size: contain; background-position: center; }
      .desktop-nav { display: none; }
      .menu-button { display: inline-flex; }
      .nav-actions { margin-right: auto; }
      .mobile-drawer { position: fixed; top: 76px; right: 0; left: 0; z-index: 70; display: none; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 16px 30px rgba(11, 36, 48, .08); }
      .mobile-drawer.open { display: grid; gap: 5px; }
      .mobile-drawer .nav-link { width: 100%; text-align: right; }
      .only-mobile { display: block; }
      .hero-grid, .about-hero-grid { grid-template-columns: 1fr; }
      .hero-copy { text-align: center; }
      .hero-copy h1, .hero-copy > p { margin-inline: auto; }
      .hero-copy .eyebrow-pill { margin-inline: auto; }
      .hero-actions, .hero-notes { justify-content: center; }
      .dashboard-preview { width: min(720px, 100%); margin-inline: auto; }
      .product-story, .trust-layout, .trust-statement, .purchase-grid { grid-template-columns: 1fr; gap: 45px; }
      .app-frame { grid-template-columns: 78px minmax(0, 1fr); }
      .app-sidebar { padding-inline: 10px; }
      .app-sidebar .brand-copy, .side-user p, .side-nav button span, .side-help { display: none; }
      .app-sidebar .brand { justify-content: center; }
      .side-user { display: block; padding: 9px; }
      .side-avatar { width: 36px; height: 36px; }
      .side-nav button { justify-content: center; padding: 8px; }
      .side-nav button.active { box-shadow: inset 0 -3px var(--mint); }
      .summary-grid { grid-template-columns: 1fr 1fr; }
      .license-card { grid-template-columns: 1fr; }
      .panel-grid, .asset-overview { grid-template-columns: 1fr; }
      .narrative-grid { grid-template-columns: 1fr; gap: 50px; }
      .narrative-title { position: static; }
      .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
      .footer-column:last-child { display: none; }
    }

    @media (max-width: 720px) {
      .site-nav .brand-logo { width: 100px; height: 50px; }
      .site-nav .brand-logo::before { background-size: contain; background-position: center; }
      :root { --container: min(100% - 28px, 620px); }
      .site-nav { min-height: 68px; gap: 10px; }
      .brand-copy small { display: none; }
      .brand-copy strong { font-size: 20px; }
      .nav-actions .btn-ghost { display: none; }
      .nav-actions .btn-primary { min-height: 40px; padding-inline: 12px; }
      .menu-button { width: 40px; min-height: 40px; }
      .mobile-drawer { top: 68px; }
      .hero { padding: 58px 0 50px; }
      .hero-grid { gap: 48px; }
      .hero-copy h1 { font-size: 40px; line-height: 1.5; }
      .hero-copy > p { font-size: 11px; }
      .hero-actions { align-items: stretch; flex-direction: column; }
      .hero-notes { justify-content: flex-start; }
      .dashboard-preview { padding: 11px; border-radius: 21px; }
      .preview-content { grid-template-columns: 55px 1fr; min-height: 330px; }
      .mini-sidebar { padding-inline: 7px; }
      .mini-main { padding: 14px; }
      .mini-stats { grid-template-columns: 1fr; }
      .mini-stat:nth-child(2), .mini-stat:nth-child(3) { display: none; }
      .preview-float { left: -4px; bottom: 34px; width: 155px; }
      .step-strip-inner { grid-template-columns: 1fr; }
      .step-item { border-left: 0; border-bottom: 1px solid #e3e9e6; }
      .step-item:last-child { border-bottom: 0; }
      .section, .narrative-section, .principles { padding: 72px 0; }
      .section-head h2, .story-copy h2, .trust-copy h2, .purchase-copy h2, .narrative-title h2, .trust-statement h2 { font-size: 31px; }
      .question-grid, .trust-grid, .vision-grid { grid-template-columns: 1fr; }
      .question-card { min-height: 230px; }
      .demo-fields { grid-template-columns: 1fr; }
      .home-cta { align-items: flex-start; flex-direction: column; padding: 28px 23px; }
      .app-page { padding-top: 15px; }
      .app-frame { display: block; border-radius: 19px; }
      .app-sidebar { position: sticky; top: 68px; z-index: 20; display: block; padding: 7px; }
      .app-sidebar > .brand, .side-user, .side-help { display: none; }
      .side-nav { grid-template-columns: repeat(4, 1fr); }
      .side-nav button { flex-direction: column; gap: 3px; padding: 5px 2px; font-size: 7px; }
      .side-nav button span { display: block; }
      .side-nav i { width: 27px; height: 27px; }
      .app-content { padding: 0 13px; }
      .app-topbar { min-height: 118px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 11px; padding-block: 15px; }
      .app-actions { width: 100%; justify-content: space-between; }
      .sync-state { display: none; }
      .summary-grid, .field-grid, .wallet-layout, .capacity-cards { grid-template-columns: 1fr; }
      .summary-grid { grid-template-columns: 1fr 1fr; }
      .license-facts { grid-template-columns: 1fr 1fr; }
      .summary-card strong { font-size: 13px; }
      .panel { padding: 17px; }
      .asset-overview { margin-top: 15px; }
      .capacity-hero { grid-template-columns: 1fr; padding: 21px; }
      .capacity-result { min-width: 0; }
      .audience-list, .not-do-grid { grid-template-columns: 1fr 1fr; }
      .principle-row { grid-template-columns: 42px 1fr; gap: 12px; }
      .principle-row p { grid-column: 2; }
      .timeline { grid-template-columns: 1fr; gap: 25px; }
      .timeline::before { right: 11px; left: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
      .timeline-item { padding-right: 48px; }
      .timeline-dot { position: absolute; right: 0; top: 0; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
      .footer-about { grid-column: 1 / -1; }
      .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
      .modal-card { border-radius: 18px; }
      .modal-head, .modal-body { padding-inline: 19px; }
      .captcha-box { grid-template-columns: 1fr; }
      .toast { right: 14px; left: 14px; bottom: 14px; max-width: none; }
    }

    @media (max-width: 420px) {
      .nav-actions .btn-primary { display: none; }
      .nav-actions { margin-right: auto; }
      .hero-copy h1 { font-size: 34px; }
      .summary-grid, .license-facts, .audience-list, .not-do-grid { grid-template-columns: 1fr; }
      .preview-float { display: none; }
      .panel-head { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-about { grid-column: auto; }
    }

    /* Mercury-inspired redesign: editorial hero, product-led storytelling, dark application */
    :root {
      --navy: #171824;
      --navy-2: #222433;
      --navy-3: #2d3040;
      --mint: #7f8cff;
      --mint-dark: #5d6cf3;
      --mint-pale: #eef0ff;
      --paper: #f6f5f1;
      --soft: #eeeee9;
      --line: #d9d9d2;
      --ink: #181923;
      --muted: #6f706f;
      --container: min(1200px, calc(100% - 56px));
    }

    body { background: var(--paper); font-family: "Vazir", Tahoma, Arial, sans-serif; }
    .site-header { position: fixed; right: 0; left: 0; border-bottom: 1px solid rgba(24, 25, 35, .08); background: rgba(247, 246, 242, .82); }
    body[data-route="home"] .site-header { color: #fff; border-bottom-color: rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(17, 20, 31, .54), rgba(17, 20, 31, .05)); backdrop-filter: blur(10px); }
    body[data-route="home"] .brand-copy strong,
    body[data-route="home"] .nav-link,
    body[data-route="home"] .btn-ghost { color: #fff; }
    body[data-route="home"] .brand-copy small { color: rgba(255, 255, 255, .66); }
    body[data-route="home"] .brand-mark { border: 1px solid rgba(255, 255, 255, .46); background: rgba(255, 255, 255, .08); transform: none; }
    body[data-route="home"] .brand-mark i { background: #fff; }
    body[data-route="home"] .nav-link:hover,
    body[data-route="home"] .nav-link.active { color: #fff; background: rgba(255, 255, 255, .12); }
    body[data-route="home"] .nav-link::after { background: #fff; }
    body[data-route="home"] .nav-actions .btn-primary { color: #fff; background: #5969f2; box-shadow: 0 14px 34px rgba(30, 43, 147, .28); }
    .site-nav { min-height: 72px; }
    .brand-mark { transform: none; border-radius: 50%; }
    .brand-copy strong { letter-spacing: -.03em; }
    .nav-link { font-weight: 500; }
    .btn, .form-submit { border-radius: 999px; }

    .hero {
      min-height: 1640px; padding: 142px 0 84px; color: #fff;
      background-image:
        linear-gradient(180deg, rgba(15, 19, 31, .56) 0%, rgba(20, 27, 42, .22) 35%, rgba(20, 21, 31, .16) 55%, #171824 92%),
        url('assets/holda-hero-mercury-inspired-v1.png');
      background-position: center top; background-size: cover;
    }
    .hero::before { display: none; }
    .hero-grid { position: relative; z-index: 2; display: block; }
    .hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
    .hero-copy .eyebrow-pill { margin-inline: auto; border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .88); background: rgba(22, 27, 40, .24); backdrop-filter: blur(12px); }
    .hero-copy h1 { max-width: 760px; margin: 24px auto 16px; color: #fff; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.38; letter-spacing: -.055em; text-wrap: balance; }
    .hero-copy > p { max-width: 650px; margin: 0 auto; color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 2; }
    .hero-signup { width: min(610px, 100%); display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 31px auto 12px; padding: 6px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(18px); }
    .hero-signup input { min-width: 0; padding: 0 22px; border: 0; outline: 0; color: #fff; background: transparent; font-size: 12px; direction: ltr; text-align: left; }
    .hero-signup input::placeholder { color: rgba(255, 255, 255, .68); }
    .hero-signup button { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; color: #fff; background: #5969f2; font-size: 11px; font-weight: 800; }
    .hero-demo-link { padding: 8px 12px; border: 0; color: rgba(255, 255, 255, .86); background: transparent; font-size: 10px; text-decoration: underline; text-underline-offset: 5px; }
    .hero-notes { justify-content: center; color: rgba(255, 255, 255, .68); }
    .hero-notes i { color: #fff; background: rgba(255, 255, 255, .14); }
    .dashboard-preview { width: min(1110px, 100%); margin: 500px auto 0; padding: 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 28px; background: rgba(10, 12, 20, .56); box-shadow: 0 60px 130px rgba(6, 8, 15, .46); backdrop-filter: blur(20px); transform: none; }
    .preview-window { border-color: rgba(255, 255, 255, .08); background: #20222f; }
    .preview-bar { border-bottom-color: rgba(255, 255, 255, .08); background: #292b39; }
    .preview-bar small { color: #b8bbc8; }
    .preview-content { grid-template-columns: 170px 1fr; min-height: 590px; }
    .mini-sidebar { background: #181923; }
    .mini-main { padding: 42px; background: #232531; }
    .mini-heading small, .mini-stat span, .mini-chart-head span { color: #9093a2; }
    .mini-heading strong, .mini-stat strong, .mini-chart-head strong { color: #f5f5f7; }
    .mini-stat, .mini-chart { border-color: #373947; background: #292b38; }
    .mini-chart { min-height: 300px; }
    .preview-float { left: 44px; bottom: 50px; border-color: rgba(255, 255, 255, .12); color: #fff; background: rgba(39, 41, 55, .92); }
    .sample-note { color: rgba(255, 255, 255, .58); }

    .step-strip { border: 0; color: #fff; background: #171824; }
    .step-strip-inner { padding-block: 54px; }
    .step-item { border-left-color: #333541; }
    .step-item b { color: #b7beff; background: #2b2e43; }
    .step-item strong { color: #fff; font-size: 13px; }
    .step-item span { color: #8f919f; }
    .section { padding: 118px 0; }
    .section-head { max-width: 760px; margin-bottom: 58px; }
    .section-head h2 { font-size: clamp(38px, 4.2vw, 62px); line-height: 1.45; letter-spacing: -.055em; }
    .section-head p { font-size: 12px; }
    .question-grid { gap: 18px; }
    .question-card { min-height: 390px; padding: 34px; border: 0; border-radius: 28px; background: #e9e9e4; box-shadow: none; }
    .question-card:nth-child(2) { background: #e5e7f2; }
    .question-card:nth-child(3) { background: #e8e4dc; }
    .question-card h3 { max-width: 280px; font-size: 24px; line-height: 1.65; }
    .question-card p { max-width: 290px; font-size: 11px; }
    .question-icon { width: 52px; height: 52px; border-radius: 50%; color: #fff; background: #171824; }

    .section-dark { min-height: 980px; padding: 150px 0; background: #171824; }
    .product-story { grid-template-columns: .72fr 1.28fr; gap: 100px; }
    .story-copy h2 { font-size: 50px; }
    .story-point { padding: 20px 0; border-top: 1px solid #393a46; }
    .story-point > span { border-radius: 50%; color: #cbd0ff; background: #292b3e; }
    .entry-demo { padding: 34px; border-color: #363846; border-radius: 28px; background: #222431; box-shadow: 0 40px 90px rgba(0, 0, 0, .28); }
    .demo-field { border-color: #3a3c49; background: #2a2c39; }
    .demo-submit { color: #fff; background: #5969f2; }
    .section-soft { background: #e9e9e4; }
    .trust-layout { align-items: center; }
    .trust-copy h2 { font-size: 52px; }
    .trust-item { min-height: 210px; padding: 28px; border: 0; border-radius: 24px; background: #f6f5f1; }
    .trust-item > span { border-radius: 50%; color: #fff; background: #5969f2; }

    .purchase-section { background: #f6f5f1; }
    .purchase-copy h2 { font-size: 52px; }
    .purchase-point > i { border-radius: 50%; color: #fff; background: #5969f2; }
    .lifetime-card { padding: 44px; border: 0; border-radius: 32px; background: #171824; box-shadow: 0 45px 100px rgba(23, 24, 36, .2); }
    .lifetime-card::before { background: rgba(89, 105, 242, .26); }
    .lifetime-card h3, .lifetime-card .purchase-point strong, .lifetime-price strong { color: #fff; }
    .lifetime-card > p, .lifetime-card .purchase-point span, .gateway-note { color: #a6a8b4; }
    .lifetime-badge { color: #cfd3ff; background: #2b2e46; }
    .lifetime-price { border-color: #393b48; }
    .lifetime-card .form-submit { background: #5969f2; }
    .home-cta { padding: 58px; border-radius: 32px; background: #dfe3ff; }
    .home-cta h2 { font-size: 40px; }

    .app-page { min-height: 100vh; padding: 110px 0 72px; color: #f4f4f6; background: #161721; }
    .app-frame { grid-template-columns: 238px minmax(0, 1fr); border-color: #2d2f3b; background: #20212c; box-shadow: 0 40px 100px rgba(0, 0, 0, .26); }
    .app-sidebar { background: #13141d; }
    .app-sidebar .brand-mark { background: #5969f2; }
    .side-nav button:hover, .side-nav button.active { background: #272936; }
    .side-nav button.active { box-shadow: inset -3px 0 #7f8cff; }
    .side-nav button.active i { color: #fff; background: #5969f2; }
    .app-content { background: #1d1e28; }
    .app-topbar { border-bottom-color: #343642; }
    .app-title h1, .panel-head h2, .summary-card strong, .asset-total strong, .capacity-hero h2 { color: #f7f7f9; }
    .app-title p, .panel-head p, .summary-card span, .summary-card small { color: #9395a2; }
    .app-note { border-color: #35384d; color: #bbc0ed; background: #272a3b; }
    .license-card { border-color: #36394a; background: #242631; }
    .license-fact { border-color: #393b48; background: #2b2d39; }
    .license-owner strong, .license-fact strong { color: #fff; }
    .license-owner span, .license-fact span, .license-fact small { color: #9295a4; }
    .license-avatar { color: #fff; background: #5969f2; }
    .summary-card, .panel, .asset-total, .trend-panel { border-color: #343641; background: #242630; }
    .panel-chip, .source-pill { color: #c8ccff; background: #32364e; }
    .field > span { color: #b6b8c3; }
    .field input, .field select, .field textarea { border-color: #393b48; color: #f4f4f7; background: #1b1c25; }
    .type-switch, .range-switch, .scenario-switch { background: #191a23; }
    .type-switch button.active, .range-switch button.active, .scenario-switch button.active { color: #fff; background: #5969f2; box-shadow: none; }
    .form-submit { background: #5969f2; }
    .data-table, .table-row { border-color: #343641; }
    .table-row { color: #afb1bc; background: #242630; }
    .table-row.head { color: #7f8290; background: #1b1c25; }
    .table-main strong, .asset-table-row > strong { color: #f3f3f5; }
    .table-icon { color: #fff; background: #5969f2; }
    .capacity-hero { border-color: #36394a; background: linear-gradient(135deg, #292c3b, #20222e); }
    .capacity-card { border-color: #343641; background: #242630; }
    .capacity-card strong { color: #fff; }
    .capacity-card p { color: #8f929e; }
    .disclaimer { border-color: #3a3d4e; color: #a7a9b5; background: #262835; }

    .site-footer { background: #11121a; }
    .modal-card { border-color: #deded8; border-radius: 28px; }
    .auth-tabs, .type-switch { border-radius: 999px; }
    .auth-tabs button, .auth-tabs button.active { border-radius: 999px; }

    @media (max-width: 1050px) {
      .hero { min-height: 1490px; }
      .dashboard-preview { margin-top: 420px; }
      .preview-content { grid-template-columns: 105px 1fr; }
      .product-story { gap: 55px; }
    }
    @media (max-width: 720px) {
      :root { --container: min(100% - 28px, 620px); }
      body[data-route="home"] .mobile-drawer { color: var(--ink); background: #f6f5f1; }
      body[data-route="home"] .mobile-drawer .nav-link { color: var(--ink); }
      .hero { min-height: 1170px; padding-top: 112px; background-position: 58% top; }
      .hero-copy h1 { font-size: 41px; }
      .hero-copy > p { font-size: 11px; }
      .hero-signup { grid-template-columns: 1fr; border-radius: 24px; }
      .hero-signup input { min-height: 45px; text-align: center; }
      .dashboard-preview { margin-top: 300px; }
      .preview-content { grid-template-columns: 58px 1fr; min-height: 400px; }
      .mini-main { padding: 18px; }
      .mini-chart { min-height: 190px; }
      .question-card { min-height: 290px; }
      .section { padding: 82px 0; }
      .section-dark { min-height: auto; padding: 90px 0; }
      .story-copy h2, .trust-copy h2, .purchase-copy h2 { font-size: 36px; }
      .lifetime-card { padding: 28px; }
      .home-cta { padding: 34px; }
      .home-cta h2 { font-size: 30px; }
      .app-page { padding-top: 88px; }
    }
    @media (max-width: 420px) {
      .hero { min-height: 1050px; }
      .dashboard-preview { margin-top: 230px; }
      .preview-float { display: none; }
      .hero-copy h1 { font-size: 34px; }
    }

    /* V5 — readability-first professional system */
    :root {
      --navy: #173f43;
      --navy-2: #24575a;
      --navy-3: #326b6c;
      --mint: #5f8f87;
      --mint-dark: #3f726a;
      --mint-pale: #e5efeb;
      --paper: #f7f7f2;
      --soft: #edf1ec;
      --line: #d4ddd7;
      --ink: #172b2d;
      --muted: #5e7170;
      --success: #397568;
      --danger: #a6534c;
      --container: min(1180px, calc(100% - 56px));
    }

    html { font-size: 16px; background: var(--paper); }
    body {
      color: var(--ink); background: var(--paper);
      font-family: "Vazir", Tahoma, Arial, sans-serif;
      font-size: 16px; line-height: 1.75;
    }
    .site-header { border-bottom-color: rgba(23, 63, 67, .11); background: rgba(247, 247, 242, .92); }
    body[data-route="home"] .site-header { background: linear-gradient(180deg, rgba(24, 57, 60, .65), rgba(24, 57, 60, .12)); }
    body[data-route="home"] .nav-actions .btn-primary { background: #547b76; box-shadow: 0 10px 26px rgba(25, 69, 67, .22); }
    .site-nav { min-height: 78px; }
    .brand-copy strong { font-size: 24px; }
    .brand-copy small { font-size: 12px; }
    .nav-link { padding: 12px 15px; font-size: 14px; font-weight: 600; }
    .btn { min-height: 46px; padding-inline: 20px; font-size: 14px; font-weight: 700; }
    .btn-primary { background: #315f5c; box-shadow: 0 8px 20px rgba(38, 86, 82, .16); }

    .hero {
      min-height: 1480px; padding-top: 150px;
      background-image:
        linear-gradient(180deg, rgba(22, 56, 60, .56) 0%, rgba(41, 77, 79, .23) 37%, rgba(53, 82, 79, .08) 57%, #294f50 91%),
        url('assets/holda-hero-mercury-inspired-v1.png');
    }
    .hero-copy { max-width: 790px; }
    .hero-copy .eyebrow-pill { padding: 9px 15px; font-size: 13px; }
    .hero-copy h1 { max-width: 760px; margin-top: 22px; font-size: clamp(43px, 4.6vw, 62px); line-height: 1.48; letter-spacing: -.035em; }
    .hero-copy > p { max-width: 680px; font-size: 17px; line-height: 1.95; }
    .hero-signup { margin-top: 28px; background: rgba(255, 255, 255, .22); }
    .hero-signup input { font-size: 15px; }
    .hero-signup button { min-height: 50px; padding-inline: 25px; font-size: 14px; background: #476f6b; }
    .hero-demo-link { font-size: 14px; }
    .hero-notes { margin-top: 19px; font-size: 13px; }
    .dashboard-preview { margin-top: 400px; border-color: rgba(255, 255, 255, .32); background: rgba(238, 243, 238, .64); box-shadow: 0 42px 100px rgba(25, 61, 61, .25); }
    .preview-window { border-color: #ccd8d2; color: var(--ink); background: #f7f8f4; }
    .preview-bar { min-height: 50px; border-bottom-color: #d9e0dc; background: #eef2ed; }
    .preview-bar small { color: #526765; font-size: 13px; }
    .preview-content { grid-template-columns: 180px 1fr; min-height: 585px; }
    .mini-sidebar { background: #355f5e; }
    .mini-main { padding: 38px; background: #f6f7f3; }
    .mini-heading small, .mini-stat span, .mini-chart-head span { color: #667a78; font-size: 13px; }
    .mini-heading strong { color: var(--ink); font-size: 25px; }
    .mini-stat { min-height: 104px; padding: 20px; border-color: #d6dfda; background: #fff; }
    .mini-stat strong { color: var(--ink); font-size: 19px; }
    .mini-chart { min-height: 285px; padding: 22px; border-color: #d6dfda; background: #fff; }
    .mini-chart-head strong { color: var(--ink); font-size: 16px; }
    .sample-badge { font-size: 12px; }
    .preview-float { color: var(--ink); border-color: #c9d7d1; background: rgba(255, 255, 255, .96); }
    .preview-float small, .preview-float span { color: #667a78; font-size: 12px; }
    .preview-float strong { font-size: 15px; }
    .sample-note { color: rgba(255, 255, 255, .82); font-size: 12px; }

    .step-strip { color: var(--ink); background: #dce8e2; }
    .step-strip-inner { padding-block: 46px; }
    .step-item { border-left-color: #bdcdc6; }
    .step-item b { color: #fff; background: #527c76; }
    .step-item strong { color: var(--ink); font-size: 17px; }
    .step-item span { color: #526866; font-size: 14px; line-height: 1.75; }

    .section { padding: 104px 0; }
    .eyebrow { font-size: 13px; letter-spacing: .02em; }
    .section-head { margin-bottom: 50px; }
    .section-head h2 { font-size: clamp(35px, 3.6vw, 48px); line-height: 1.5; letter-spacing: -.03em; }
    .section-head p { max-width: 690px; font-size: 16px; line-height: 1.9; }
    .question-card { min-height: 345px; padding: 32px; border: 1px solid #d8dfda; background: #edf2ee; }
    .question-card:nth-child(2) { background: #e8efed; }
    .question-card:nth-child(3) { background: #f1eee6; }
    .question-card h3 { max-width: 310px; font-size: 23px; line-height: 1.65; }
    .question-card p { max-width: 315px; color: #526866; font-size: 15px; line-height: 1.9; }
    .card-link { font-size: 14px; }
    .question-icon { color: #fff; background: #3f6d68; }

    .section-dark { min-height: 900px; padding: 125px 0; color: #f6faf7; background: #315859; }
    .product-story { grid-template-columns: .82fr 1.18fr; gap: 78px; }
    .story-copy h2 { font-size: 42px; line-height: 1.55; }
    .story-copy > p { color: #d1dfda; font-size: 16px; }
    .story-point { padding: 19px 0; border-top-color: rgba(255, 255, 255, .22); }
    .story-point strong { font-size: 16px; }
    .story-point small { color: #cedbd7; font-size: 14px; line-height: 1.8; }
    .story-point > span { color: #315859; background: #dfeae5; }
    .entry-demo { padding: 32px; border-color: rgba(255, 255, 255, .28); background: #f5f7f3; box-shadow: 0 30px 70px rgba(25, 61, 61, .2); }
    .entry-demo-head strong { color: var(--ink); font-size: 18px; }
    .entry-demo-head small { color: #647875; font-size: 13px; }
    .segmented { background: #e1e8e3; }
    .segmented span { color: #657975; font-size: 13px; }
    .segmented span.active { color: #fff; background: #46716c; }
    .demo-field { padding: 15px; border-color: #d3ddd7; background: #fff; }
    .demo-field small { color: #6a7c79; font-size: 12px; }
    .demo-field strong { color: var(--ink); font-size: 15px; }
    .demo-submit { color: #fff; background: #46716c; font-size: 14px; }

    .section-soft { background: #e8eee9; }
    .trust-copy h2, .purchase-copy h2 { font-size: 43px; line-height: 1.55; }
    .trust-copy p, .purchase-copy > p { color: #526765; font-size: 16px; line-height: 1.95; }
    .trust-item { min-height: 210px; border: 1px solid #d3dcd7; background: #f9f9f5; }
    .trust-item strong { font-size: 17px; }
    .trust-item p { color: #596d6a; font-size: 14px; line-height: 1.85; }
    .trust-item > span { background: #4a7771; }
    .purchase-section { background: #f7f7f2; }
    .purchase-point strong { font-size: 16px; }
    .purchase-point span { color: #5a6e6b; font-size: 14px; }
    .purchase-point > i { background: #4f7a74; }
    .lifetime-card { padding: 42px; color: var(--ink); background: #e3ece7; box-shadow: 0 28px 65px rgba(48, 86, 80, .13); }
    .lifetime-card::before { background: rgba(74, 119, 113, .14); }
    .lifetime-card h3, .lifetime-card .purchase-point strong, .lifetime-price strong { color: var(--ink); }
    .lifetime-card > p, .lifetime-card .purchase-point span, .gateway-note { color: #536865; font-size: 14px; }
    .lifetime-badge { color: #315f5b; background: #f5f8f5; font-size: 13px; }
    .lifetime-price { border-color: #c3d2cb; }
    .lifetime-price span { font-size: 14px; }
    .lifetime-price strong { font-size: 18px; }
    .lifetime-card .form-submit { background: #3d6964; }
    .home-cta { background: #dfe9e4; }
    .home-cta h2 { font-size: 36px; }
    .home-cta p { color: #526765; font-size: 15px; }

    .app-page { padding-top: 112px; color: var(--ink); background: #e9eeea; }
    .app-frame { grid-template-columns: 250px minmax(0, 1fr); border-color: #cbd7d0; background: #f7f8f5; box-shadow: 0 28px 70px rgba(39, 73, 68, .12); }
    .app-sidebar { color: #fff; background: #315859; }
    .side-user { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .09); }
    .side-user strong { font-size: 14px; }
    .side-user small { color: #cfddda; font-size: 12px; }
    .side-nav button { color: #d6e2df; font-size: 14px; }
    .side-nav button:hover, .side-nav button.active { background: rgba(255, 255, 255, .13); }
    .side-nav button.active { box-shadow: inset -3px 0 #dce9e5; }
    .side-nav button.active i { color: #315859; background: #e4eeea; }
    .side-help strong { color: #fff; font-size: 14px; }
    .side-help p { color: #cfddda; font-size: 12px; }
    .app-content { background: #f6f7f4; }
    .app-topbar { min-height: 128px; border-bottom-color: #d6dfda; }
    .app-title .eyebrow { font-size: 12px; }
    .app-title h1, .panel-head h2, .summary-card strong, .asset-total strong, .capacity-hero h2 { color: var(--ink); }
    .app-title h1 { font-size: 28px; line-height: 1.55; }
    .app-title p { color: #5f7270; font-size: 14px; }
    .sync-state { font-size: 12px; }
    .app-note { padding: 15px 17px; border-color: #c8d8d1; color: #416a64; background: #e8f0ec; font-size: 13px; }
    .license-card { padding: 20px; border-color: #cbd9d2; background: #edf3ef; }
    .license-owner strong { color: var(--ink); font-size: 16px; }
    .license-owner span { color: #637674; font-size: 12px; }
    .license-fact { border-color: #d3ded8; background: #fff; }
    .license-fact span { color: #647673; font-size: 12px; }
    .license-fact strong { color: var(--ink); font-size: 15px; }
    .license-fact small { color: #6a7d7a; font-size: 11px; }
    .license-avatar { background: #4b7772; }
    .summary-grid { gap: 15px; }
    .summary-card, .panel, .asset-total, .trend-panel { border-color: #d2dbd6; background: #fff; }
    .summary-card { padding: 20px; }
    .summary-card span { color: #627572; font-size: 13px; }
    .summary-card strong { margin: 10px 0 6px; font-size: 21px; }
    .summary-card small { color: #6c7e7b; font-size: 12px; }
    .panel { padding: 25px; }
    .panel-head h2 { font-size: 20px; }
    .panel-head p { color: #617370; font-size: 13px; }
    .panel-chip, .source-pill { color: #3f6c66; background: #e5efeb; font-size: 11px; }
    .field { gap: 8px; }
    .field > span { color: #405c59; font-size: 13px; }
    .field small { font-size: 11px; }
    .field input, .field select, .field textarea { min-height: 48px; border-color: #ccd8d1; color: var(--ink); background: #fbfcf9; font-size: 14px; }
    .type-switch, .range-switch, .scenario-switch { background: #e8eeea; }
    .type-switch button, .range-switch button, .scenario-switch button { font-size: 13px; }
    .type-switch button.active, .range-switch button.active, .scenario-switch button.active { color: #fff; background: #4a7771; }
    .form-submit { min-height: 48px; font-size: 14px; background: #3d6964; }
    .data-table, .table-row { border-color: #d7dfda; }
    .table-row { color: #506461; background: #fff; font-size: 13px; }
    .table-row.head { color: #617471; background: #edf1ed; }
    .table-main strong, .asset-table-row > strong { color: var(--ink); font-size: 14px; }
    .table-main small, .price-meta small { font-size: 11px; }
    .table-icon { color: #fff; background: #527e78; }
    .capacity-hero { border-color: #ccd9d2; background: linear-gradient(135deg, #e3ede8, #f5f7f4); }
    .capacity-hero p { color: #5e716e; font-size: 14px; }
    .capacity-result span, .capacity-result small { font-size: 12px; }
    .capacity-card { border-color: #d3dcd7; background: #fff; }
    .capacity-card strong { color: var(--ink); font-size: 19px; }
    .capacity-card p { color: #667875; font-size: 13px; }
    .disclaimer { border-color: #ccd9d2; color: #566b68; background: #eaf0ec; font-size: 13px; }

    .site-footer { background: #294e50; }
    .footer-column strong { font-size: 15px; }
    .footer-column button, .footer-about p, .footer-bottom { font-size: 13px; }
    .modal-card { color: var(--ink); background: #fff; }
    .modal-head h2 { font-size: 24px; }
    .modal-head p { font-size: 13px; }
    .auth-tabs button { font-size: 14px; }
    .auth-note, .text-button { font-size: 12px; }
    .checkout-step { font-size: 12px; }
    .checkout-summary > div { font-size: 13px; }
    .payment-provider strong { font-size: 14px; }
    .payment-provider small { font-size: 12px; }

    @media (max-width: 1050px) {
      .hero { min-height: 1360px; }
      .dashboard-preview { margin-top: 350px; }
      .preview-content { grid-template-columns: 110px 1fr; }
      .product-story { gap: 48px; }
    }
    @media (max-width: 720px) {
      :root { --container: min(100% - 28px, 620px); }
      .hero { min-height: 1090px; padding-top: 118px; }
      .hero-copy h1 { font-size: 36px; }
      .hero-copy > p { font-size: 15px; }
      .hero-signup input { font-size: 14px; }
      .dashboard-preview { margin-top: 250px; }
      .preview-content { grid-template-columns: 58px 1fr; min-height: 405px; }
      .mini-main { padding: 18px; }
      .mini-heading small, .mini-stat span, .mini-chart-head span { font-size: 11px; }
      .mini-heading strong { font-size: 18px; }
      .mini-stat strong { font-size: 15px; }
      .section { padding: 76px 0; }
      .section-head h2, .story-copy h2, .trust-copy h2, .purchase-copy h2 { font-size: 32px; }
      .section-head p, .story-copy > p, .trust-copy p, .purchase-copy > p { font-size: 15px; }
      .question-card { min-height: 280px; }
      .question-card h3 { font-size: 21px; }
      .app-page { padding-top: 90px; }
      .app-title h1 { font-size: 24px; }
      .summary-card strong { font-size: 18px; }
    }
    @media (max-width: 420px) {
      .hero { min-height: 1010px; }
      .hero-copy h1 { font-size: 31px; }
      .dashboard-preview { margin-top: 205px; }
    }

    /* Final legibility pass: no functional label or supporting copy below 13px. */
    .brand-copy small,
    .sample-badge,
    .preview-float small,
    .preview-float span,
    .sample-note,
    .demo-field small,
    .side-user small,
    .side-help p,
    .app-title .eyebrow,
    .sync-state,
    .license-owner span,
    .license-fact span,
    .license-fact small,
    .summary-card small,
    .panel-chip,
    .source-pill,
    .field small,
    .table-main small,
    .price-meta small,
    .capacity-result span,
    .capacity-result small,
    .auth-note,
    .text-button,
    .checkout-step,
    .payment-provider small,
    .mini-heading small,
    .mini-stat span,
    .mini-chart-head span { font-size: 13px; }

    .section-head p,
    .question-card p { font-size: 16px; }

    .hero-copy > p { font-size: 17px; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    }

    /* UI-01 — homepage polish: real branding, compact hero, useful data, and footer */
    body[data-route="home"] .site-header {
      border-bottom-color: rgba(255, 255, 255, .24);
      background: linear-gradient(90deg, rgba(24, 70, 72, .97) 0%, rgba(24, 70, 72, .78) 46%, rgba(247, 247, 242, .98) 100%);
      backdrop-filter: blur(16px);
    }
    body[data-route="home"] .site-header .brand {
      padding: 5px 9px;
      border-radius: 14px;
      background: rgba(247, 247, 242, .86);
      box-shadow: 0 5px 18px rgba(24, 70, 72, .12);
    }
    body[data-route="home"] .site-header .nav-link,
    body[data-route="home"] .site-header .btn-ghost {
      color: #fff;
      text-shadow: 0 1px 12px rgba(9, 36, 38, .38);
    }
    body[data-route="home"] .site-header .nav-link:hover,
    body[data-route="home"] .site-header .nav-link.active { color: #fff; background: rgba(255, 255, 255, .14); }
    body[data-route="home"] .site-header .nav-link::after { background: #fff; }
    body[data-route="home"] .site-header .nav-actions .btn-primary { color: #fff; background: #315f5c; }
    body[data-route="home"] .site-nav .brand-logo {
      width: 148px;
      height: auto;
      object-fit: contain;
    }
    .brand-logo::before { display: none; }

    body[data-route="home"] .hero {
      min-height: auto;
      padding: 118px 0 58px;
    }
    body[data-route="home"] .dashboard-preview { margin-top: 76px; }
    body[data-route="home"] .hero-copy .hero-actions {
      justify-content: center;
      flex-wrap: wrap;
      margin-inline: auto;
    }
    body[data-route="home"] .hero-copy .hero-actions .btn {
      min-width: 164px;
      min-height: 50px;
      padding-inline: 19px;
      border-radius: 999px;
      font-size: 14px;
    }
    body[data-route="home"] .hero-copy .hero-actions .btn-secondary {
      border-color: rgba(255, 255, 255, .55);
      color: #234f50;
      background: #fff;
    }
    body[data-route="home"] .hero-copy .hero-actions .btn-mint {
      border-color: transparent;
      color: #173f43;
      background: #b9e4d4;
    }
    body[data-route="home"] .hero-copy .hero-actions .btn-pwa.install-ready { background: #f6fffa; }

    body[data-route="home"] .entry-demo-head { margin-bottom: 15px; }
    body[data-route="home"] .demo-table-description {
      margin: 0 0 14px;
      color: #526765;
      font-size: 14px;
      line-height: 1.9;
    }
    body[data-route="home"] .demo-table-scroll {
      max-width: 100%;
      overflow-x: auto;
      border: 1px solid #d3ddd7;
      border-radius: 14px;
      background: #fff;
      -webkit-overflow-scrolling: touch;
      scrollbar-color: #8aa9a0 #edf2ee;
    }
    body[data-route="home"] .demo-table {
      width: 100%;
      min-width: 720px;
      border-collapse: collapse;
      color: var(--ink);
      background: #fff;
      font-size: 14px;
      line-height: 1.65;
    }
    body[data-route="home"] .demo-table caption {
      padding: 14px 16px;
      color: var(--ink);
      background: #eef3ef;
      font-size: 15px;
      font-weight: 800;
      text-align: right;
      caption-side: top;
    }
    body[data-route="home"] .demo-table th,
    body[data-route="home"] .demo-table td {
      padding: 12px 15px;
      border-bottom: 1px solid #e0e7e2;
      text-align: right;
      white-space: nowrap;
    }
    body[data-route="home"] .demo-table thead th {
      color: #496662;
      background: #f7f9f6;
      font-weight: 800;
    }
    body[data-route="home"] .demo-table tbody th { font-weight: 700; }
    body[data-route="home"] .demo-table tbody tr:last-child > * { border-bottom: 0; }
    body[data-route="home"] .demo-table tbody tr:hover { background: #f8fbf8; }
    body[data-route="home"] .demo-table [dir="ltr"] { direction: ltr; text-align: left; }
    body[data-route="home"] .demo-submit {
      width: max-content;
      min-width: 190px;
      margin-inline: auto;
      border-radius: 999px;
    }

    body[data-route="home"] .home-cta {
      align-items: center;
      gap: 28px;
    }
    body[data-route="home"] .home-cta > .btn {
      min-width: 164px;
      min-height: 50px;
      border-radius: 999px;
      font-size: 14px;
    }

    body[data-route="home"] .site-footer {
      padding-top: 30px;
      background: #294e50;
    }
    body[data-route="home"] .footer-grid {
      grid-template-columns: minmax(210px, 1.2fr) repeat(2, minmax(135px, .85fr)) minmax(220px, 1.1fr);
      gap: 22px;
      padding-bottom: 24px;
    }
    body[data-route="home"] .footer-about .brand {
      width: max-content;
      max-width: 100%;
      padding: 8px 10px;
      border-radius: 14px;
      background: #fff;
    }
    body[data-route="home"] .footer-about .brand-logo {
      width: 164px;
      height: auto;
      object-fit: contain;
    }
    body[data-route="home"] .site-footer .footer-about p {
      margin-top: 10px;
      color: #d3e1dd;
      font-size: 13px;
      line-height: 1.8;
    }
    body[data-route="home"] .site-footer .footer-column { gap: 6px; }
    body[data-route="home"] .site-footer .footer-column strong { margin-bottom: 3px; color: #fff; font-size: 14px; }
    body[data-route="home"] .site-footer .footer-column a {
      color: #e0ece8;
      font-size: 13px;
      line-height: 1.7;
    }
    body[data-route="home"] .site-footer .footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
    body[data-route="home"] .site-footer .footer-contact address {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 11px;
      margin: 4px 0 0;
      padding-top: 9px;
      border-top: 1px solid rgba(255, 255, 255, .23);
      color: #d7e4e0;
      font-size: 13px;
      line-height: 1.7;
    }
    body[data-route="home"] .site-footer .footer-contact address br { display: none; }
    body[data-route="home"] .site-footer .footer-contact address a { border-bottom: 1px solid rgba(255, 255, 255, .28); }
    body[data-route="home"] .site-footer .footer-trust {
      width: 154px;
      min-height: 78px;
      margin-top: 10px;
      padding: 7px 10px;
      border: 1px solid #fff;
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 6px 18px rgba(7, 31, 33, .16);
    }
    body[data-route="home"] .site-footer .footer-trust img {
      width: 124px;
      max-height: 62px;
      object-fit: contain;
    }
    body[data-route="home"] .site-footer .footer-bottom {
      padding: 14px 0;
      border-top-color: rgba(255, 255, 255, .2);
      color: #c5d7d2;
      font-size: 12px;
    }

    .pwa-help {
      position: fixed;
      inset: 0;
      z-index: 160;
      display: grid;
      place-items: center;
      padding: 20px;
      background: rgba(14, 46, 48, .66);
    }
    .pwa-help > div {
      position: relative;
      width: min(380px, 100%);
      padding: 28px;
      border: 1px solid #d3ddd7;
      border-radius: 22px;
      color: var(--ink);
      background: #fff;
      box-shadow: 0 24px 70px rgba(13, 43, 51, .24);
      text-align: center;
    }
    .pwa-help button {
      position: absolute;
      top: 10px;
      left: 12px;
      width: 32px;
      height: 32px;
      border: 0;
      border-radius: 50%;
      color: var(--ink);
      background: #edf2ee;
      font-size: 22px;
      line-height: 1;
    }
    .pwa-help img { width: 64px; height: 64px; margin: 0 auto 15px; border-radius: 15px; }
    .pwa-help h2 { margin: 0 0 8px; font-size: 22px; }
    .pwa-help p { margin: 0; color: #526765; font-size: 14px; line-height: 1.9; }

    @media (max-width: 1050px) {
      body[data-route="home"] .dashboard-preview { margin-top: 60px; }
      body[data-route="home"] .site-footer .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 20px;
      }
      body[data-route="home"] .site-footer .footer-about { grid-column: 1 / -1; }
      body[data-route="home"] .site-footer .footer-column:last-child { display: grid; grid-column: 1 / -1; }
    }
    @media (max-width: 720px) {
      body[data-route="home"] .site-header .brand { padding: 4px 7px; }
      body[data-route="home"] .site-nav .brand-logo { width: 132px; }
      body[data-route="home"] .hero { min-height: auto; padding: 96px 0 48px; }
      body[data-route="home"] .dashboard-preview { margin-top: 48px; }
      body[data-route="home"] .hero-copy .hero-actions { gap: 9px; }
      body[data-route="home"] .hero-copy .hero-actions .btn { min-width: 150px; }
      body[data-route="home"] .demo-table { min-width: 720px; font-size: 13px; }
      body[data-route="home"] .demo-table caption { font-size: 14px; }
      body[data-route="home"] .demo-table-description { font-size: 13px; }
      body[data-route="home"] .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
      body[data-route="home"] .site-footer .footer-about { grid-column: 1 / -1; }
      body[data-route="home"] .site-footer .footer-contact { grid-column: 1 / -1; }
      body[data-route="home"] .site-footer .footer-about .brand-logo { width: 152px; }
      body[data-route="home"] .home-cta { align-items: flex-start; }
    }
    @media (max-width: 560px) {
      body[data-route="home"] .hero-copy .hero-actions { width: min(100%, 360px); flex-direction: column; align-items: stretch; }
      body[data-route="home"] .hero-copy .hero-actions .btn { width: 100%; }
      body[data-route="home"] .home-cta > .btn { width: 100%; }
      body[data-route="home"] .site-footer .footer-contact address { display: grid; gap: 4px; }
    }
    @media (max-width: 420px) {
      body[data-route="home"] .site-nav .brand-logo { width: 118px; }
      body[data-route="home"] .hero { padding-top: 86px; }
      body[data-route="home"] .dashboard-preview { margin-top: 38px; }
      body[data-route="home"] .site-footer .footer-grid { grid-template-columns: 1fr; }
      body[data-route="home"] .site-footer .footer-about,
      body[data-route="home"] .site-footer .footer-contact { grid-column: auto; }
    }

    /* v2 homepage alignment: use the shared teal palette and remove the oversized hero gap. */
    body[data-route="home"] {
      --navy: #0b2439;
      --navy-2: #12364d;
      --navy-3: #1b4b63;
      --mint: #35bfa2;
      --mint-dark: #16856f;
      --mint-pale: #effbf8;
      --paper: #edf4f3;
      --soft: #f6f9fa;
      --line: #dbe5e9;
      --ink: #102b3f;
      --muted: #566d7c;
      background: var(--paper);
      font-family: "Vazir", Tahoma, Arial, sans-serif;
    }

    body[data-route="home"] button,
    body[data-route="home"] input,
    body[data-route="home"] select,
    body[data-route="home"] textarea {
      font-family: "Vazir", Tahoma, Arial, sans-serif;
    }

    body[data-route="home"] .site-header {
      background: linear-gradient(90deg, #7fa59b 0%, #3b7069 46%, #0b2439 100%);
    }

    body[data-route="home"] .hero {
      min-height: 0;
      padding: 88px 0 54px;
      color: var(--ink);
      background: linear-gradient(180deg, #edf4f3 0%, #f6f9fa 100%);
      background-image: linear-gradient(180deg, #edf4f3 0%, #f6f9fa 100%) !important;
    }

    body[data-route="home"] .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      align-items: center;
      gap: 56px;
    }

    body[data-route="home"] .hero-copy {
      max-width: 790px;
      margin: 0;
      text-align: center;
    }

    body[data-route="home"] .hero-copy .eyebrow-pill {
      border-color: #baf0e4;
      color: #16856f;
      background: #effbf8;
      backdrop-filter: none;
    }

    body[data-route="home"] .hero-copy h1 {
      color: var(--navy);
    }

    body[data-route="home"] .hero-copy > p {
      color: var(--muted);
    }

    body[data-route="home"] .hero-notes {
      color: #566d7c;
    }

    body[data-route="home"] .hero-notes i {
      color: #14745f;
      background: #eaf9f4;
    }

    body[data-route="home"] .dashboard-preview {
      width: min(1110px, 100%);
      margin-top: 0;
    }

    body[data-route="home"] .hero-copy .hero-actions {
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
    }

    body[data-route="home"] .hero-copy .hero-actions .btn,
    body[data-route="home"] .home-cta > .btn,
    body[data-route="home"] .demo-submit {
      border-radius: 13px;
    }

    body[data-route="home"] .hero-copy .hero-actions .btn-secondary {
      border-color: #c6d5db;
      color: var(--navy);
      background: #fff;
    }

    body[data-route="home"] .hero-copy .hero-actions .btn-mint {
      border-color: transparent;
      color: #fff;
      background: #16856f;
    }

    body[data-route="home"] .step-strip {
      background: #0b2439;
    }

    body[data-route="home"] .step-item b {
      color: #baf0e4;
      background: #12364d;
    }

    body[data-route="home"] .question-card {
      border-color: #dbe5e9;
      background: #fff;
    }

    body[data-route="home"] .question-card:nth-child(2) {
      background: #effbf8;
    }

    body[data-route="home"] .question-card:nth-child(3) {
      background: #f6f9fa;
    }

    body[data-route="home"] .question-icon {
      color: #fff;
      background: #16856f;
    }

    body[data-route="home"] .section-dark {
      background: #0b2439;
    }

    body[data-route="home"] .entry-demo {
      border-color: #1b4b63;
      background: #12364d;
    }

    body[data-route="home"] .section-soft,
    body[data-route="home"] .purchase-section {
      background: #f6f9fa;
    }

    body[data-route="home"] .trust-item {
      border: 1px solid #dbe5e9;
      background: #fff;
    }

    body[data-route="home"] .trust-item > span,
    body[data-route="home"] .purchase-point > i {
      background: #16856f;
    }

    body[data-route="home"] .lifetime-card {
      background: #0b2439;
    }

    body[data-route="home"] .lifetime-card .form-submit {
      background: #16856f;
    }

    body[data-route="home"] .home-cta {
      background: #dcf8f1;
    }

    body[data-route="home"] .site-footer {
      background: linear-gradient(135deg, #0b2439 0%, #12364d 100%);
    }

    body[data-route="home"] .site-footer .footer-column {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0;
    }

    body[data-route="home"] .site-footer .footer-column strong {
      flex-basis: 100%;
    }

    body[data-route="home"] .site-footer .footer-column a + a {
      margin-inline-start: 10px;
      padding-inline-start: 10px;
      border-inline-start: 1px solid rgba(219, 234, 230, .28);
    }

    @media (max-width: 1050px) {
      body[data-route="home"] .hero-grid {
        grid-template-columns: 1fr;
        gap: 52px;
      }

      body[data-route="home"] .dashboard-preview {
        margin-top: 0;
      }
    }

    @media (max-width: 720px) {
      body[data-route="home"] .hero {
        padding: 96px 0 48px;
      }

      body[data-route="home"] .hero-grid {
        gap: 40px;
      }
    }

    /* UI-04: keep the contact details in one small line below the footer content. */
    body[data-route="home"] .site-footer .footer-grid {
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
      gap: 18px 24px;
    }

    body[data-route="home"] .site-footer .footer-about {
      grid-column: 1;
      grid-row: 1;
    }

    body[data-route="home"] .site-footer .footer-column:not(.footer-contact) {
      grid-row: 1;
    }

    body[data-route="home"] .site-footer .footer-contact {
      grid-column: 1 / -1;
      grid-row: 2;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding-top: 12px;
      border-top: 1px solid rgb(219 234 230 / 20%);
    }

    body[data-route="home"] .site-footer .footer-contact strong {
      margin: 0;
      color: #fff;
      font-size: 0.72rem;
      white-space: nowrap;
    }

    body[data-route="home"] .site-footer .footer-contact address {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0;
      margin: 0;
      color: #b9cfca;
      font-size: 0.7rem;
      line-height: 1.6;
    }

    body[data-route="home"] .site-footer .footer-contact address a + a {
      margin-inline-start: 10px;
      padding-inline-start: 10px;
      border-inline-start: 1px solid rgb(219 234 230 / 28%);
    }

    body[data-route="home"] .site-footer .footer-contact .footer-trust {
      min-width: 78px;
      min-height: 78px;
      justify-self: end;
    }

    body[data-route="home"] .site-footer .footer-contact .footer-trust img {
      width: 66px;
    }

    @media (max-width: 720px) {
      body[data-route="home"] .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
      }

      body[data-route="home"] .site-footer .footer-about,
      body[data-route="home"] .site-footer .footer-contact {
        grid-column: 1 / -1;
      }

      body[data-route="home"] .site-footer .footer-contact {
        grid-template-columns: 1fr auto;
      }

      body[data-route="home"] .site-footer .footer-contact address {
        grid-column: 1 / -1;
        grid-row: 2;
      }
    }

    @media (max-width: 520px) {
      body[data-route="home"] .site-footer .footer-grid {
        grid-template-columns: 1fr;
      }

      body[data-route="home"] .site-footer .footer-column:not(.footer-contact) {
        grid-column: 1 / -1;
      }

      body[data-route="home"] .site-footer .footer-contact {
        grid-template-columns: 1fr;
      }

      body[data-route="home"] .site-footer .footer-contact .footer-trust {
        justify-self: start;
      }
    }

    /* UI-05: place the dashboard in the financial-information section, add a quiet chart, and simplify the footer. */
    body[data-route="home"] .hero-grid {
      display: block;
    }

    body[data-route="home"] .hero-copy {
      width: min(860px, 100%);
      max-width: 860px;
      margin-inline: auto;
    }

    body[data-route="home"] .section-dark {
      min-height: 0;
      padding: 112px 0 124px;
    }

    body[data-route="home"] .product-story {
      display: grid;
      grid-template-columns: 1fr;
      gap: 38px;
      align-items: stretch;
    }

    body[data-route="home"] .story-copy {
      width: min(760px, 100%);
      margin-inline-start: auto;
      text-align: right;
    }

    body[data-route="home"] .financial-media-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
      align-items: stretch;
    }

    body[data-route="home"] .financial-dashboard,
    body[data-route="home"] .financial-chart {
      min-width: 0;
      padding: 24px;
      border: 1px solid rgba(219, 234, 230, .18);
      border-radius: 26px;
      background: #12364d;
      box-shadow: 0 26px 64px rgba(5, 24, 40, .22);
    }

    body[data-route="home"] .financial-visual-heading {
      margin: 0 0 18px;
    }

    body[data-route="home"] .financial-visual-heading .eyebrow {
      color: #b9e3d7;
    }

    body[data-route="home"] .financial-visual-heading h3 {
      margin: 8px 0 7px;
      color: #fff;
      font-size: clamp(22px, 2.2vw, 30px);
      line-height: 1.55;
    }

    body[data-route="home"] .financial-visual-heading p {
      margin: 0;
      color: #c5d8d4;
      font-size: 13px;
      line-height: 1.9;
    }

    body[data-route="home"] .financial-dashboard .dashboard-preview {
      width: 100%;
      margin: 0;
      padding: 12px;
      border-color: #2b566d;
      border-radius: 20px;
      background: #eef4f1;
      box-shadow: 0 18px 40px rgba(4, 23, 38, .2);
    }

    body[data-route="home"] .financial-dashboard .preview-content {
      min-height: 430px;
      grid-template-columns: 82px 1fr;
    }

    body[data-route="home"] .financial-dashboard .mini-main {
      padding: 22px;
    }

    body[data-route="home"] .financial-dashboard .mini-heading strong {
      font-size: 18px;
    }

    body[data-route="home"] .financial-dashboard .mini-stat {
      padding: 13px;
    }

    body[data-route="home"] .financial-dashboard .mini-chart {
      min-height: 205px;
      padding: 15px;
    }

    body[data-route="home"] .financial-dashboard .mini-chart svg {
      height: 104px;
    }

    body[data-route="home"] .financial-dashboard .preview-float {
      left: 28px;
      bottom: 42px;
      width: 168px;
      padding: 12px;
    }

    body[data-route="home"] .financial-dashboard .sample-note {
      color: #627b7a;
    }

    body[data-route="home"] .financial-chart {
      display: flex;
      flex-direction: column;
      margin: 0;
    }

    body[data-route="home"] .financial-chart .financial-visual-heading {
      flex: 0 0 auto;
    }

    body[data-route="home"] .pie-chart-layout {
      display: grid;
      grid-template-columns: minmax(190px, .92fr) minmax(0, 1fr);
      align-items: center;
      gap: 18px;
      min-height: 300px;
      padding: 20px;
      border: 1px solid rgba(219, 234, 230, .2);
      border-radius: 20px;
      background: #f2f6f3;
    }

    body[data-route="home"] .financial-chart .pie-chart-layout {
      flex: 1 1 auto;
    }

    body[data-route="home"] .pie-chart {
      width: min(240px, 100%);
      height: auto;
      margin-inline: auto;
      overflow: visible;
    }

    body[data-route="home"] .pie-track,
    body[data-route="home"] .pie-segment {
      fill: none;
      stroke-width: 22;
      transform: rotate(-90deg);
      transform-origin: 50% 50%;
    }

    body[data-route="home"] .pie-track {
      stroke: #dbe7e2;
    }

    body[data-route="home"] .pie-segment {
      stroke-linecap: butt;
    }

    body[data-route="home"] .pie-segment-essential {
      stroke: #7fa59b;
      stroke-dasharray: 48 52;
      stroke-dashoffset: 0;
    }

    body[data-route="home"] .pie-segment-daily {
      stroke: #4d837e;
      stroke-dasharray: 28 72;
      stroke-dashoffset: -48;
    }

    body[data-route="home"] .pie-segment-saving {
      stroke: #1b4b63;
      stroke-dasharray: 15 85;
      stroke-dashoffset: -76;
    }

    body[data-route="home"] .pie-segment-other {
      stroke: #b9cfca;
      stroke-dasharray: 9 91;
      stroke-dashoffset: -91;
    }

    body[data-route="home"] .pie-center-value {
      fill: #12364d;
      font-size: 18px;
      font-weight: 800;
    }

    body[data-route="home"] .pie-center-label {
      fill: #607874;
      font-size: 9px;
    }

    body[data-route="home"] .pie-legend {
      display: grid;
      gap: 13px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    body[data-route="home"] .pie-legend li {
      display: grid;
      grid-template-columns: 10px minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      color: #3f5f5b;
      font-size: 12px;
    }

    body[data-route="home"] .pie-legend li strong {
      color: #12364d;
      font-size: 12px;
    }

    body[data-route="home"] .legend-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
    }

    body[data-route="home"] .legend-dot.essential { background: #7fa59b; }
    body[data-route="home"] .legend-dot.daily { background: #4d837e; }
    body[data-route="home"] .legend-dot.saving { background: #1b4b63; }
    body[data-route="home"] .legend-dot.other { background: #b9cfca; }

    body[data-route="home"] .chart-note {
      margin: 14px 0 0;
      color: #c5d8d4;
      font-size: 11px;
      line-height: 1.8;
    }

    body[data-route="home"] .product-story > .entry-demo {
      width: 100%;
      margin: 0;
    }

    body[data-route="home"] .site-footer .footer-grid {
      grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto;
      gap: 18px 24px;
      align-items: start;
    }

    body[data-route="home"] .site-footer .footer-about,
    body[data-route="home"] .site-footer .footer-column:not(.footer-contact) {
      grid-column: auto;
      grid-row: 1;
    }

    body[data-route="home"] .site-footer .footer-column:not(.footer-contact) {
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      gap: 5px;
    }

    body[data-route="home"] .site-footer .footer-column strong {
      flex-basis: auto;
      margin-bottom: 5px;
    }

    body[data-route="home"] .site-footer .footer-column a + a {
      margin-inline-start: 0;
      padding-inline-start: 0;
      border-inline-start: 0;
    }

    body[data-route="home"] .site-footer .footer-trust {
      grid-column: 4;
      grid-row: 1;
      justify-self: end;
      margin-top: 0;
    }

    body[data-route="home"] .site-footer .footer-bottom {
      display: grid;
      grid-template-columns: minmax(0, 1fr) max-content;
      align-items: center;
      gap: 18px 26px;
      padding: 12px 0;
      border-top: 1px solid rgba(219, 234, 230, .22);
    }

    body[data-route="home"] .site-footer .footer-copyright {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 5px 18px;
      min-width: 0;
      color: #9fb8b2;
      font-size: 11px;
    }

    body[data-route="home"] .site-footer .footer-copyright p {
      margin: 0;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-contact {
      display: flex;
      grid-column: 2;
      grid-row: 1;
      align-items: center;
      justify-self: start;
      gap: 12px;
      min-width: 0;
      padding: 0;
      border: 0;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-contact strong {
      margin: 0;
      color: #d7e6e1;
      font-size: 11px;
      white-space: nowrap;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-contact address {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 3px 13px;
      margin: 0;
      padding: 0;
      border: 0;
      color: #a9c0ba;
      font-size: 10px;
      line-height: 1.7;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-contact address br {
      display: none;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-contact address a,
    body[data-route="home"] .site-footer .footer-bottom > .footer-contact address a + a {
      margin: 0;
      padding: 0;
      border: 0 !important;
      color: #a9c0ba;
    }

    @media (max-width: 1040px) {
      body[data-route="home"] .site-footer .footer-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
      }

      body[data-route="home"] .site-footer .footer-trust {
        grid-column: 3;
        grid-row: 1;
      }

      body[data-route="home"] .site-footer .footer-bottom > .footer-contact {
        grid-column: 2;
      }
    }

    @media (max-width: 820px) {
      body[data-route="home"] .financial-media-grid {
        grid-template-columns: 1fr;
      }

      body[data-route="home"] .financial-dashboard .dashboard-preview {
        max-width: 680px;
        margin-inline: auto;
      }

      body[data-route="home"] .site-footer .footer-grid {
        grid-template-columns: 1.2fr 1fr;
      }

      body[data-route="home"] .site-footer .footer-about {
        grid-column: 1 / -1;
      }

      body[data-route="home"] .site-footer .footer-trust {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-self: start;
      }

      body[data-route="home"] .site-footer .footer-bottom {
        grid-template-columns: 1fr;
      }

      body[data-route="home"] .site-footer .footer-bottom > .footer-contact {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
      }

      body[data-route="home"] .site-footer .footer-copyright {
        grid-column: 1;
        grid-row: 2;
      }
    }

    @media (max-width: 560px) {
      body[data-route="home"] .financial-dashboard,
      body[data-route="home"] .financial-chart {
        padding: 17px;
        border-radius: 20px;
      }

      body[data-route="home"] .financial-dashboard .preview-content {
        grid-template-columns: 58px 1fr;
        min-height: 350px;
      }

      body[data-route="home"] .financial-dashboard .mini-main {
        padding: 15px;
      }

      body[data-route="home"] .financial-dashboard .mini-heading strong {
        font-size: 15px;
      }

      body[data-route="home"] .financial-dashboard .mini-stats {
        gap: 5px;
      }

      body[data-route="home"] .financial-dashboard .mini-stat {
        padding: 9px;
      }

      body[data-route="home"] .financial-dashboard .mini-stat strong {
        font-size: 11px;
      }

      body[data-route="home"] .pie-chart-layout {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
      }

      body[data-route="home"] .pie-chart {
        width: min(210px, 100%);
      }

      body[data-route="home"] .site-footer .footer-grid {
        grid-template-columns: 1fr;
      }

      body[data-route="home"] .site-footer .footer-about,
      body[data-route="home"] .site-footer .footer-column:not(.footer-contact),
      body[data-route="home"] .site-footer .footer-trust {
        grid-column: 1;
        grid-row: auto;
      }

      body[data-route="home"] .site-footer .footer-trust {
        justify-self: start;
      }

      body[data-route="home"] .site-footer .footer-bottom > .footer-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }

      body[data-route="home"] .site-footer .footer-bottom > .footer-contact address {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    /* UI-06: swap the homepage contact and quick-access positions only. */
    body[data-route="home"] .site-footer .footer-grid > .footer-contact {
      grid-column: 2;
      grid-row: 1;
      display: flex;
      align-items: center;
      justify-self: start;
      gap: 12px;
      min-width: 0;
      width: auto;
      max-width: 100%;
      margin: 0;
      padding: 0;
      border: 0;
    }

    body[data-route="home"] .site-footer .footer-grid > .footer-contact strong {
      margin: 0;
      color: #d7e6e1;
      font-size: 11px;
      white-space: nowrap;
    }

    body[data-route="home"] .site-footer .footer-grid > .footer-contact address {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 3px 13px;
      margin: 0;
      padding: 0;
      border: 0;
      color: #a9c0ba;
      font-size: 10px;
      line-height: 1.7;
    }

    body[data-route="home"] .site-footer .footer-grid > .footer-contact address br {
      display: none;
    }

    body[data-route="home"] .site-footer .footer-grid > .footer-contact address a,
    body[data-route="home"] .site-footer .footer-grid > .footer-contact address a + a {
      margin: 0;
      padding: 0;
      border: 0 !important;
      color: #a9c0ba;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-quick-access {
      grid-column: 2;
      grid-row: 1;
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      justify-self: start;
      gap: 5px;
      min-width: 0;
      margin: 0;
      padding: 0;
      border: 0;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-copyright {
      grid-column: 1;
      grid-row: 1;
    }

    @media (max-width: 820px) {
      body[data-route="home"] .site-footer .footer-grid > .footer-about {
        grid-column: 1 / -1;
        grid-row: 1;
      }

      body[data-route="home"] .site-footer .footer-grid > .footer-contact {
        grid-column: 1;
        grid-row: 2;
      }

      body[data-route="home"] .site-footer .footer-grid > .footer-column:not(.footer-contact) {
        grid-column: 2;
        grid-row: 2;
      }

      body[data-route="home"] .site-footer .footer-bottom > .footer-quick-access {
        grid-column: 1;
        grid-row: 1;
      }

      body[data-route="home"] .site-footer .footer-bottom > .footer-copyright {
        grid-column: 1;
        grid-row: 2;
      }
    }

    @media (max-width: 560px) {
      body[data-route="home"] .site-footer .footer-grid > .footer-contact,
      body[data-route="home"] .site-footer .footer-grid > .footer-column:not(.footer-contact),
      body[data-route="home"] .site-footer .footer-grid > .footer-trust {
        grid-column: 1;
        grid-row: auto;
      }

      body[data-route="home"] .site-footer .footer-grid > .footer-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }

      body[data-route="home"] .site-footer .footer-grid > .footer-contact address {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }
    }

    /* UI-07: improve homepage readability and keep the footer columns visually consistent. */
    body[data-route="home"] .story-copy,
    body[data-route="home"] .story-copy h2,
    body[data-route="home"] .story-copy > p,
    body[data-route="home"] .story-copy .story-point,
    body[data-route="home"] .story-copy .story-point p {
      text-align: right;
    }

    body[data-route="home"] .lifetime-card {
      color: #f1fbf7;
    }

    body[data-route="home"] .lifetime-card h3,
    body[data-route="home"] .lifetime-card .lifetime-price strong {
      color: #f7fffc;
    }

    body[data-route="home"] .lifetime-card > p,
    body[data-route="home"] .lifetime-card .gateway-note {
      color: #d4e8e2;
    }

    body[data-route="home"] .lifetime-card .lifetime-badge {
      color: #0b2439;
      background: #e7faf3;
    }

    body[data-route="home"] .lifetime-card .lifetime-price {
      border-color: rgba(219, 234, 230, .34);
    }

    body[data-route="home"] .lifetime-card .lifetime-price span {
      color: #c5ddd6;
    }

    body[data-route="home"] .lifetime-card .gateway-note i {
      color: #9ae6cf;
    }

    body[data-route="home"] .site-footer .footer-grid > .footer-contact {
      align-items: flex-start;
      flex-direction: column;
      gap: 5px;
    }

    body[data-route="home"] .site-footer .footer-grid > .footer-contact strong {
      flex-basis: auto;
      margin-bottom: 5px;
      color: #fff;
      font-size: 14px;
    }

    body[data-route="home"] .site-footer .footer-grid > .footer-contact address {
      align-items: flex-start;
      flex-direction: column;
      gap: 5px;
      color: #e0ece8;
      font-size: 13px;
      line-height: 1.7;
    }

    body[data-route="home"] .site-footer .footer-grid > .footer-contact address a,
    body[data-route="home"] .site-footer .footer-grid > .footer-contact address a + a {
      margin: 0;
      padding: 0;
      border: 0 !important;
      color: #e0ece8;
      font-size: 13px;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-quick-access {
      align-items: center;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 0;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-quick-access a,
    body[data-route="home"] .site-footer .footer-bottom > .footer-quick-access a + a {
      margin: 0;
      padding: 0;
      border: 0;
      color: #e0ece8;
      font-size: 13px;
      line-height: 1.7;
    }

    body[data-route="home"] .site-footer .footer-bottom > .footer-quick-access a + a {
      margin-inline-start: 12px;
    }

    /* UI-08: place the story copy on the right side of the dark section. */
    body[data-route="home"] .story-copy {
      margin-inline-start: 0;
      margin-inline-end: auto;
    }

    /* UI-10: restore the established green palette across dark homepage surfaces. */
    body[data-route="home"] {
      --navy: #173f43;
      --navy-2: #24575a;
      --navy-3: #326b6c;
      --mint: #5f8f87;
      --mint-dark: #3f726a;
      --mint-pale: #e5efeb;
      --paper: #f7f7f2;
      --soft: #edf1ec;
      --line: #d4ddd7;
      --ink: #172b2d;
      --muted: #5e7170;
    }

    body[data-route="home"] .site-header {
      background: linear-gradient(90deg, #7fa59b 0%, #3b7069 46%, #315859 100%);
    }

    body[data-route="home"] .step-strip,
    body[data-route="home"] .section-dark,
    body[data-route="home"] .lifetime-card {
      background: #315859;
    }

    body[data-route="home"] .step-item b {
      color: #d2e8df;
      background: #24575a;
    }

    body[data-route="home"] .financial-dashboard,
    body[data-route="home"] .financial-chart {
      background: #24575a;
    }

    body[data-route="home"] .financial-dashboard .dashboard-preview {
      border-color: #b4cdc4;
    }

    body[data-route="home"] .pie-segment-saving {
      stroke: #3f726a;
    }

    body[data-route="home"] .pie-center-value,
    body[data-route="home"] .pie-legend li strong {
      fill: #24575a;
      color: #24575a;
    }

    body[data-route="home"] .legend-dot.saving {
      background: #3f726a;
    }

    body[data-route="home"] .site-footer {
      background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
    }


/* UI-11: unify the footer logo and trust mark frames and move information links to the lower row. */
.site-footer .footer-about .brand {
  width: 184px !important;
  min-width: 184px !important;
  height: 94px !important;
  min-height: 94px !important;
  padding: 8px 10px !important;
  align-items: center;
  justify-content: center;
}

.site-footer .footer-about .brand-logo {
  width: 164px !important;
  height: 78px !important;
  max-width: 164px !important;
  max-height: 78px !important;
}

.site-footer .footer-trust-wrap {
  grid-column: 4 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-self: end !important;
  gap: 6px;
  width: 184px;
  min-width: 184px;
}

.site-footer .footer-trust {
  display: inline-flex !important;
  position: static;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: auto !important;
  width: 184px !important;
  min-width: 184px !important;
  height: 94px !important;
  min-height: 94px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
}

.site-footer .footer-trust img {
  width: 164px !important;
  max-width: 164px !important;
  max-height: 78px !important;
  height: auto !important;
}

.site-footer .footer-trust-label {
  display: block;
  width: 184px;
  color: #d3e1dd;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.site-footer .footer-contact address,
.site-footer .footer-contact address a {
  font-style: normal !important;
}

.site-footer .footer-bottom > .footer-quick-access a,
.site-footer .footer-bottom > .footer-quick-access a + a {
  font-size: 11px !important;
  line-height: 1.7;
}

.site-footer .footer-copyright p + p {
  display: none !important;
}

body[data-route="home"] .home-cta {
  background: linear-gradient(135deg, #e5efeb 0%, #d9e9e1 100%) !important;
}

@media (max-width: 1040px) {
  .site-footer .footer-trust-wrap {
    grid-column: 3 !important;
  }
}

@media (max-width: 820px) {
  .site-footer .footer-trust-wrap {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    align-items: flex-start;
  }

  .site-footer .footer-trust-label {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-trust-wrap {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
