  :root {
    /* Figma gradient stops, verbatim */
    --g0: #fcfcfc;            /*   0% · 100% */
    --g1: #a9b8ff;            /*  17% · 100% */
    --g2: #6d85fe;            /*  34% · 100% */
    --g3: #142264;            /*  69% · 100% */
    --g4: rgba(7, 22, 97, 0.48);  /*  82% */
    --g5: rgba(0, 0, 0, 0.35);    /* 100% */
    --ink: #10162e;
    --periwinkle: #7c8cfb;
    --magenta: #bf3af0;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: "League Spartan", system-ui, sans-serif;
    background: #000;
    color: #fff;
  }

  .script { font-family: "Pacifico", cursive; font-weight: 400; }

  /* ---------------- hero ---------------- */

  .hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* Layering mirrors the Figma file: the gradient rectangle spans the
     FULL frame (exact stops below), and the video sits ON TOP of it,
     anchored to the bottom with its upper edge dissolved by a mask —
     so the navy of the gradient bleeds through the cloud's top. */
  .hero .wash {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      var(--g0) 0%,
      var(--g1) 17%,
      var(--g2) 34%,
      var(--g3) 69%,
      var(--g4) 82%,
      var(--g5) 100%
    );
  }

  .hero video {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 66%; /* top edge ≈ the mock's video guide at ~40% frame */
    object-fit: cover;
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
  }

  .hero > header,
  .hero > .content { position: relative; z-index: 1; }
  /* header must stack above hero content: it owns the dropdown/menu */
  .hero > header { z-index: 40; }

  /* ---------------- header ---------------- */

  header {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 4vw, 4rem);
    padding: 1.6rem clamp(1.2rem, 4vw, 3.4rem);
  }

  .logo {
    font-size: 2.1rem;
    color: var(--ink);
    text-decoration: none;
    line-height: 1;
  }

  nav {
    display: flex;
    gap: clamp(1.4rem, 3.5vw, 3.6rem);
    margin-inline: auto;
  }

  nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
  nav a:hover { opacity: 0.7; }

  .btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    line-height: 1;
  }

  .btn-talk {
    background: linear-gradient(180deg, #96a4ff 0%, #6f80f8 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.95rem 2.4rem 1.05rem;
    font-size: 1.05rem;
    box-shadow: 0 4px 18px rgba(109, 133, 254, 0.35);
  }
  .btn-talk:hover { filter: brightness(1.06); }

  /* ---------------- copy ---------------- */

  .content {
    text-align: center;
    padding: clamp(0.5rem, 2vh, 2rem) 1.4rem 0;
  }

  h1 {
    font-weight: 500;
    font-size: clamp(2.2rem, 5.2vw, 4.1rem);
    letter-spacing: 0.005em;
  }

  h1 .script { font-size: 0.98em; padding-inline: 0.08em; }

  .sub {
    margin: 1.1rem auto 0;
    max-width: 46ch;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 500;
    line-height: 1.3;
    text-wrap: balance;
  }

  .btn-demo {
    margin-top: clamp(1.4rem, 3.5vh, 2.6rem);
    background: linear-gradient(180deg, #cf5cf6 0%, #ad27e2 100%);
    padding: 1.05rem 2.6rem 1.2rem;
    font-size: 1.25rem;
    box-shadow: 0 6px 26px rgba(191, 58, 240, 0.45);
  }
  .btn-demo:hover { filter: brightness(1.07); }

  @media (max-width: 720px) {
    nav { display: none; }
    header { justify-content: space-between; }
    .hero video { height: 58%; }
  }

  /* ---------------- features (white section) ---------------- */

  .features {
    background: #fff;
    color: #1b2030;
    padding: 4.5rem clamp(1.2rem, 5vw, 4rem) 5.5rem;
  }

  /* Ultra-wide screens: keep text and media in conversation instead of
     drifting to opposite edges. */
  .features .inner { max-width: 1180px; margin: 0 auto; }

  .lead {
    font-size: clamp(1.25rem, 2.3vw, 1.7rem);
    font-weight: 600;
    max-width: 60ch;
  }

  .accent { color: #8b3fe8; }

  .feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(320px, 36vw, 480px);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    margin-top: clamp(2.5rem, 6vh, 4.5rem);
  }

  /* Reserve room for the tallest caption so segment swaps never make
     the page breathe. */
  .feature-copy { transition: opacity 0.3s ease; min-height: 15.5rem; }
  .feature-copy.swapping { opacity: 0; }

  .feature-copy h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
    font-weight: 600;
    line-height: 1.25;
  }
  .feature-copy h2 .script { font-size: 0.98em; padding-right: 0.06em; }

  .feature-copy p {
    margin-top: 1.1rem;
    max-width: 44ch;
    font-size: 1.08rem;
    line-height: 1.5;
    color: #3c4258;
  }

  .dots { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
  .dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d8dbe6;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  .dots button:hover { transform: scale(1.3); }
  .dots button.on { background: #8b3fe8; }

  .feature-media video {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    background: #04060d;
    box-shadow: 0 24px 70px rgba(18, 26, 74, 0.22);
  }

  .section-head {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    display: inline-block;
    border-bottom: 3px solid #1b2030;
    padding-bottom: 0.45rem;
  }
  .section-head .script { font-weight: 400; }

  .privacy-copy {
    margin-top: 1.2rem;
    max-width: 52ch;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #3c4258;
  }

  /* Privacy: copy left, explainer video right — same square card as
     the decisions section, so the page rhythm stays consistent. */
  .privacy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(320px, 36vw, 480px);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    margin-top: clamp(4rem, 10vh, 6.5rem);
  }
  .privacy-grid video {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    background: #04060d;
    box-shadow: 0 24px 70px rgba(18, 26, 74, 0.22);
  }

  /* Accuracy: right-aligned heading, map card left, copy right. */
  .acc-head { text-align: right; margin-top: clamp(4rem, 10vh, 6.5rem); }
  .maps-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    margin-top: clamp(2rem, 5vh, 3.2rem);
  }
  .map-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #04060d;
    box-shadow: 0 24px 70px rgba(18, 26, 74, 0.22);
    aspect-ratio: 16 / 9;
  }
  .map-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .map-card img.on { opacity: 1; }
  .map-tabs {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    gap: 0.5rem;
    z-index: 1;
  }
  .map-tabs button {
    border: none;
    cursor: pointer;
    padding: 0.5rem 1.1rem 0.55rem;
    border-radius: 999px;
    font: 500 0.92rem "League Spartan", system-ui, sans-serif;
    color: #e8ecf8;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    transition: background 0.25s ease;
  }
  .map-tabs button.on { background: #8b3fe8; }

  /* Footer band: the hero gradient, turned on its side. */
  .band {
    height: 92px;
    background: linear-gradient(
      90deg,
      #fcfcfc 0%,
      #a9b8ff 28%,
      #6d85fe 52%,
      #142264 82%,
      #070f28 100%
    );
  }

  @media (max-width: 1024px) {
    .feature, .privacy-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  }
  @media (max-width: 880px) {
    .feature, .privacy-grid, .maps-grid { grid-template-columns: 1fr; gap: 2rem; }
    .feature { display: grid; }
    .feature-media, .privacy-grid video, .map-card {
      width: min(520px, 100%);
      margin: 0 auto;
    }
    .feature-media { order: -1; }
    .feature-copy { min-height: 12rem; }
    .acc-head { text-align: left; }
  }

  /* ---------------- solutions dropdown ---------------- */

  .dd { position: relative; }
  .dd-toggle::after { content: " \25BE"; font-size: 0.72em; }
  .dd-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 12px;
    display: none;
    z-index: 60;
  }
  .dd.open .dd-menu { display: block; }
  .dd-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(15, 20, 60, 0.2);
    padding: 0.55rem;
    min-width: 200px;
  }
  .dd-card a {
    display: block;
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    color: var(--ink);
    font-size: 0.98rem;
    white-space: nowrap;
  }
  .dd-card a:hover { background: #f0edfd; color: #7a34dd; opacity: 1; }

  /* ---------------- solutions subpages ---------------- */

  .hero-sub { min-height: 56svh; background: #04060d; }
  .hero-sub .wash { height: 100%; }
  .hero-sub .content { padding-bottom: 3.5rem; }

  .media-wide { margin-top: clamp(2rem, 5vh, 3.2rem); }
  .media-wide video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #04060d;
    box-shadow: 0 24px 70px rgba(18, 26, 74, 0.22);
  }

  .q-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.6rem, 4vw, 3.4rem);
    margin-top: clamp(2.6rem, 6vh, 4rem);
  }
  .q h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    font-weight: 600;
    line-height: 1.3;
  }
  .q h3 .script { font-size: 0.98em; padding-right: 0.05em; }
  .q p {
    margin-top: 0.7rem;
    font-size: 1.02rem;
    line-height: 1.5;
    color: #3c4258;
  }

  .map-card.single img { position: static; height: auto; opacity: 1; }
  .map-card.single { aspect-ratio: auto; }

  .benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 2.5rem;
    margin-top: clamp(2.6rem, 6vh, 4rem);
    padding: 0;
  }
  .benefits li {
    font-size: 1.05rem;
    color: #2a3046;
    padding-left: 1.7rem;
    position: relative;
  }
  .benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #8b3fe8;
    font-weight: 700;
  }

  .cta-final {
    text-align: center;
    margin-top: clamp(3.2rem, 8vh, 5rem);
  }
  .cta-final h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    margin-bottom: 1.6rem;
  }

  @media (max-width: 880px) {
    .q-grid { grid-template-columns: 1fr; }
    .benefits { grid-template-columns: 1fr; }
  }

  /* ---------------- mobile nav (hamburger) ---------------- */

  .menu-btn {
    display: none;
    background: none;
    border: 0;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
  }

  @media (max-width: 720px) {
    .menu-btn { display: block; margin-left: auto; }

    body.nav-open nav {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      position: absolute;
      top: 100%;
      left: 1rem;
      right: 1rem;
      margin: 0;
      padding: 0.8rem;
      gap: 0.15rem;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 24px 60px rgba(15, 20, 60, 0.25);
      z-index: 70;
    }
    body.nav-open nav > a,
    body.nav-open .dd-toggle {
      display: block;
      padding: 0.7rem 0.9rem;
      border-radius: 8px;
    }
    body.nav-open nav > a:hover { background: #f0edfd; opacity: 1; }
    body.nav-open .dd { position: static; }
    body.nav-open .dd-toggle { font-weight: 600; }
    body.nav-open .dd-toggle::after { content: ""; }
    body.nav-open .dd-menu {
      position: static;
      transform: none;
      display: block;
      padding: 0 0 0.3rem 0.8rem;
    }
    body.nav-open .dd-card { box-shadow: none; padding: 0; min-width: 0; }
  }

  /* ---------------- business-model switch (footer) ---------------- */

  .model-switch {
    background: #0b1026;
    color: #cdd4ea;
    padding: 2.6rem clamp(1.2rem, 5vw, 4rem) 2.8rem;
    text-align: center;
  }
  .model-switch p { font-size: 1.02rem; margin-bottom: 1.1rem; color: #9aa4c8; }
  .model-switch .pills {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.3rem;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .model-switch .pills a {
    color: #cdd4ea;
    padding: 0.6rem 1.4rem 0.65rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.98rem;
  }
  .model-switch .pills a.on { background: #8b3fe8; color: #fff; opacity: 1; }
  .model-switch .pills a:not(.on):hover { background: rgba(255,255,255,0.08); opacity: 1; }

  /* ---------------- pricing + steps ---------------- */

  .hero-mini { min-height: 38svh; background: #04060d; }
  .hero-mini .wash { height: 100%; }
  .hero-mini .content { padding-bottom: 2.6rem; }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.6rem, 4vw, 3.2rem);
    margin-top: clamp(2.2rem, 5vh, 3.4rem);
  }
  .step .num { font-family: "Pacifico", cursive; font-size: 2.4rem; color: #8b3fe8; line-height: 1; }
  .step h4 { margin-top: 0.55rem; font-size: 1.2rem; font-weight: 600; }
  .step p { margin-top: 0.5rem; color: #3c4258; line-height: 1.5; font-size: 1.02rem; }

  .price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.4rem, 3vw, 2.4rem);
    margin-top: clamp(2.2rem, 5vh, 3.4rem);
    align-items: stretch;
  }
  .price-card {
    border: 1px solid #e2e5ef;
    border-radius: 16px;
    padding: 1.9rem 1.6rem 1.7rem;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
  }
  .price-card.featured {
    border: 2px solid #8b3fe8;
    box-shadow: 0 18px 50px rgba(120, 60, 220, 0.14);
  }
  .price-card .flag {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: #8b3fe8;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.28rem 0.95rem;
    border-radius: 999px;
    white-space: nowrap;
  }
  .price-card h4 { font-size: 1.18rem; font-weight: 600; }
  .price-card .price { margin-top: 0.85rem; font-size: 2rem; font-weight: 700; color: #171c31; }
  .price-card .price small { font-size: 0.95rem; font-weight: 500; color: #6a7188; }
  .price-card .per { color: #6a7188; font-size: 0.92rem; margin-top: 0.2rem; }
  .price-card ul { list-style: none; padding: 0; margin: 1.25rem 0 1.7rem; display: grid; gap: 0.55rem; }
  .price-card li { padding-left: 1.5rem; position: relative; color: #2a3046; font-size: 0.98rem; }
  .price-card li::before { content: "\2713"; position: absolute; left: 0; color: #8b3fe8; font-weight: 700; }
  .price-card .btn { margin-top: auto; text-align: center; }

  .hw-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid #e2e5ef;
    border-radius: 16px;
    padding: 1.6rem 1.9rem;
    margin-top: clamp(2.2rem, 5vh, 3.2rem);
    background: linear-gradient(120deg, #f6f4ff, #fff 55%);
  }
  .hw-card h4 { font-size: 1.18rem; font-weight: 600; }
  .hw-card p { color: #3c4258; margin-top: 0.4rem; max-width: 52ch; }
  .hw-card .price { font-size: 1.7rem; font-weight: 700; white-space: nowrap; }
  .hw-card .price small { display: block; font-size: 0.9rem; font-weight: 500; color: #6a7188; text-align: right; }

  .notes-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 2.4rem;
    margin-top: 2.3rem;
    color: #5a6178;
    font-size: 0.95rem;
  }

  .tier-teaser { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
  .tier-teaser a {
    border: 1px solid #e2e5ef;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    color: var(--ink);
    font-size: 0.98rem;
  }
  .tier-teaser a b { color: #8b3fe8; }
  .tier-teaser a:hover { border-color: #8b3fe8; opacity: 1; }

  @media (max-width: 880px) {
    .steps, .price-grid { grid-template-columns: 1fr; }
    .hw-card { grid-template-columns: 1fr; }
    .hw-card .price small { text-align: left; }
  }
