    :root {
      --bg: #000000;
      --panel: #1b1b1b;
      --panel-hi: #202020;
      --line: rgba(255, 255, 255, 0.12);
      --line-soft: rgba(255, 255, 255, 0.07);
      --text: #ffffff;
      --muted: #9d9d9d;
      --muted-2: #8f8f8f;
      --muted-3: #b9b9b9;
      --font: 'Inter', 'Helvetica', Arial, sans-serif;
    }

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

    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img,
    svg {
      display: block;
    }

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

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
      color: inherit;
    }

    /* ---------- Reveal on scroll ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, transform;
    }

    .reveal.in {
      opacity: 1;
      transform: none;
    }

    .hero-reveal {
      opacity: 0;
      transform: translateY(24px);
      animation: heroUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    @keyframes heroUp {
      to {
        opacity: 1;
        transform: none;
      }
    }

    .grain {
      position: fixed;
      inset: -50%;
      width: 200%;
      height: 200%;
      pointer-events: none;
      z-index: 1;
      opacity: 0.05;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    /* ---------- Buttons ---------- */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 26px;
      background: #fff;
      color: #000;
      padding: 14px 26px;
      border-radius: 999px;
      font-size: 13.5px;
      font-weight: 400;
      white-space: nowrap;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
    }

    .btn-primary:active {
      transform: translateY(0);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: rgba(255, 255, 255, 0.05);
      color: #fff;
      padding: 14px 26px;
      border-radius: 999px;
      border: 1px solid var(--line-soft);
      font-size: 13.5px;
      font-weight: 400;
      white-space: nowrap;
      opacity: 0.95;
      transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    .btn-ghost:hover {
      background: rgba(255, 255, 255, 0.10);
      border-color: rgba(255, 255, 255, 0.22);
      transform: translateY(-1px);
    }

    .icon {
      width: 15px;
      height: 15px;
      flex: none;
    }

    /* ---------- Section labels ---------- */
    .eyebrow {
      font-size: 10.5px;
      letter-spacing: 3.15px;
      color: var(--muted-2);
      text-transform: uppercase;
      font-weight: 400;
    }

    .kicker {
      font-size: 9.5px;
      letter-spacing: 2.47px;
      color: #9a9a9a;
      text-transform: uppercase;
    }

    .section {
      max-width: 1240px;
      margin: 0 auto;
      padding: 110px 40px;
    }

    .section-head {
      margin-bottom: 64px;
    }

    .section-title {
      font-size: clamp(34px, 5vw, 52px);
      font-weight: 400;
      letter-spacing: -1px;
      line-height: 1.08;
      margin-top: 18px;
    }

    .section-sub {
      color: var(--muted-3);
      font-size: 15px;
      margin-top: 18px;
      max-width: 520px;
    }

    /* ============================================================
     NAV
  ============================================================ */
    header.site-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 60;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 40px;
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      color: #fff;
      letter-spacing: -0.2px;
      transition: opacity 0.2s ease;
    }

    .brand:hover {
      opacity: 0.8;
    }

    .nav-center {
      display: inline-flex;
      align-items: center;
      gap: 1px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--line-soft);
      border-radius: 999px;
      padding: 4px;
    }

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 16px;
      font-size: 12.5px;
      color: #e8e8e8;
      white-space: nowrap;
      transition: opacity 0.2s ease;
      border-radius: 999px;
    }

    .nav-link:hover {
      opacity: 0.75;
    }

    .nav-link .chev {
      width: 7px;
      height: 7px;
      transition: transform 0.25s ease;
    }

    .nav-link.open .chev {
      transform: rotate(180deg);
    }

    .dropdown {
      position: absolute;
      top: 130%;
      left: 50%;
      transform: translate(-50%, 6px);
      min-width: 168px;
      background: #131313;
      border: 1px solid var(--line-soft);
      border-radius: 14px;
      padding: 6px;
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    }

    .nav-link.open .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, 0);
    }

    .dropdown a {
      display: block;
      padding: 9px 12px;
      border-radius: 9px;
      font-size: 12.5px;
      color: #e8e8e8;
      transition: background 0.15s ease;
    }

    .dropdown a:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-contact {
      padding: 12px 22px;
      border: 1px solid var(--line-soft);
      border-radius: 999px;
      font-size: 12.5px;
      background: rgba(255, 255, 255, 0.06);
      transition: background 0.2s ease;
    }

    .btn-contact:hover {
      background: rgba(255, 255, 255, 0.11);
    }

    .btn-try {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      padding: 12px 20px;
      border-radius: 999px;
      background: #fff;
      color: #000;
      font-size: 12.5px;
      transition: transform 0.2s ease;
    }

    .btn-try:hover {
      transform: scale(1.02);
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 10px;
      z-index: 70;
    }

    .menu-toggle span {
      width: 22px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .menu-toggle.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu {
      display: block;
      position: fixed;
      inset: 0;
      z-index: 65;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(12px);
      padding: 110px 30px 30px;
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-menu.open {
      transform: none;
    }

    .mobile-menu a {
      display: block;
      padding: 18px 0;
      font-size: 26px;
      border-bottom: 1px solid var(--line-soft);
      font-weight: 300;
    }

    .mobile-menu .sub {
      font-size: 16px;
      color: var(--muted);
      padding: 10px 0 10px 12px;
    }

    /* ============================================================
     HERO
  ============================================================ */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 140px 40px 90px;
      overflow: hidden;
    }

    /* Dark overlay above video so text stays readable */
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.65) 100%);
    }

    /* Video Background Styling */
    .hero-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* Forces video to behave like background-size: cover */
      z-index: 0;
      /* Puts video behind the overlay and content */
    }

    .hero-inner {
      max-width: 900px;
      position: relative;
      z-index: 2;
      /* Forces text to layer on top of the video */
      color: #ffffff;
    }

    .hero p.label {
      font-size: 10.5px;
      letter-spacing: 3.15px;
      color: var(--muted-2);
      text-transform: uppercase;
    }

    .hero h1 {
      font-size: clamp(44px, 8vw, 82px);
      font-weight: 400;
      letter-spacing: -1.18px;
      line-height: 1.08;
      margin-top: 22px;
    }

    .hero .lead {
      color: var(--muted-3);
      font-size: 16px;
      margin-top: 28px;
      max-width: 560px;
    }

    .hero .cta-row {
      display: flex;
      gap: 18px;
      margin-top: 42px;
      flex-wrap: wrap;
    }

    .hero .cap-row {
      display: flex;
      gap: 32px;
      margin-top: 44px;
      flex-wrap: wrap;
    }

    .cap-item {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: #cfcfcf;
      font-size: 11.5px;
    }

    .cap-item svg {
      width: 14px;
      height: 14px;
      opacity: 0.85;
    }

    .hero-fade {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 160px;
      background: linear-gradient(transparent, #000);
      pointer-events: none;
    }

    /* ============================================================
     LOGO MARQUEE
  ============================================================ */
    .marquee {
      position: relative;
      padding: 34px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      overflow: hidden;
      -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
      mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
    }

    .marquee-track {
      display: flex;
      gap: 64px;
      width: max-content;
      animation: marquee 30s linear infinite;
    }

    .marquee:hover .marquee-track {
      animation-play-state: paused;
    }

    .marquee-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #9a9a9a;
      font-size: 15px;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-weight: 400;
      opacity: 0.85;
    }

    .marquee-item svg {
      width: 16px;
      height: 16px;
    }

    @keyframes marquee {
      to {
        transform: translateX(-50%);
      }
    }

    /* ============================================================
     GENERIC CARDS / GRIDS
  ============================================================ */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

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

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

    .card {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 22px;
      transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    }

    .card:hover {
      transform: translateY(-3px);
      border-color: rgba(255, 255, 255, 0.22);
      background: var(--panel-hi);
    }

    .cap-tile {
      position: relative;
      overflow: hidden;
    }

    .cap-tile .tile-icon {
      width: 32px;
      height: 32px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.09);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cap-tile h3 {
      margin-top: 34px;
      font-size: 16px;
      font-weight: 400;
    }

    .cap-tile p {
      margin-top: 8px;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.6;
    }

    .cap-tile .explore {
      margin-top: 26px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #ddd;
      font-size: 11px;
    }

    .cap-tile .explore svg {
      width: 12px;
      height: 12px;
      transition: transform 0.25s ease;
    }

    .cap-tile:hover .explore svg {
      transform: translateX(2px);
    }

    /* ============================================================
     FEATURES (persuasive split rows)
  ============================================================ */
    .feature-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
      margin-bottom: 96px;
    }

    .feature-row.rev .feature-visual {
      order: 2;
    }

    .feature-visual {
      min-height: 320px;
      border: 1px solid var(--line);
      border-radius: 18px;
      position: relative;
      overflow: hidden;
      background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 60%), #121212;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .feature-copy h3 {
      font-size: 30px;
      font-weight: 400;
      letter-spacing: -0.5px;
      margin-top: 16px;
      line-height: 1.15;
    }

    .feature-copy p.body {
      color: var(--muted-3);
      margin-top: 18px;
      font-size: 15px;
      line-height: 1.7;
    }

    .feature-checks {
      margin-top: 26px;
      list-style: none;
    }

    .feature-checks li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 9px 0;
      color: #ddd;
      font-size: 14px;
    }

    .feature-checks svg {
      width: 16px;
      height: 16px;
      margin-top: 2px;
      flex: none;
    }

    .chart-bars {
      display: flex;
      align-items: flex-end;
      gap: 14px;
      width: 100%;
      max-width: 420px;
      height: 220px;
      padding: 20px;
    }

    .bar-wrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      height: 100%;
      justify-content: flex-end;
    }

    .bar {
      width: 100%;
      max-width: 42px;
      border-radius: 6px 6px 3px 3px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.28));
      height: 0;
      transition: height 1s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .bar-wrap span {
      font-size: 10px;
      color: var(--muted-2);
    }

    .terminal {
      width: 100%;
      max-width: 480px;
      background: #0d0d0d;
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
      text-align: left;
    }

    .terminal-bar {
      display: flex;
      gap: 6px;
      padding: 12px 14px;
      border-bottom: 1px solid var(--line-soft);
    }

    .dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
    }

    .terminal-body {
      padding: 18px;
      font-size: 12.5px;
      color: #bdbdbd;
      line-height: 1.7;
      font-family: 'SFMono-Regular', Menlo, monospace;
    }

    .terminal-body .p {
      color: #8f8f8f;
    }

    .terminal-body .k {
      color: #8ae2ff;
    }

    .terminal-body .sel {
      color: #7be9aa;
    }

    .cursor {
      display: inline-block;
      width: 7px;
      height: 13px;
      background: #8ae2ff;
      vertical-align: middle;
      animation: blink 1s steps(1) infinite;
    }

    @keyframes blink {
      50% {
        opacity: 0;
      }
    }

    .code-lines div {
      display: flex;
    }

    .code-lines .no {
      width: 30px;
      text-align: right;
      padding-right: 14px;
      color: #4d4d4d;
      flex: none;
      user-select: none;
    }

    .code-lines .line {
      color: #c9c9c9;
    }

    .orb {
      width: 220px;
      height: 220px;
      border-radius: 50%;
      position: relative;
      background: conic-gradient(from 0deg, #7a5cff, #00b4ff, #ff5ab4, #7a5cff);
      animation: spin 14s linear infinite;
      -webkit-mask: radial-gradient(circle, transparent 52%, black 74%);
      mask: radial-gradient(circle, transparent 52%, black 74%);
    }

    @keyframes spin {
      to {
        transform: rotate(1turn);
      }
    }

    .orb-core {
      position: absolute;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
    }

    /* ============================================================
     PRICING
  ============================================================ */
    .pricing-card {
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .pricing-card.featured {
      border-color: rgba(255, 255, 255, 0.35);
      background: #202020;
    }

    .pricing-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: #fff;
      color: #000;
      font-size: 10px;
      padding: 5px 14px;
      border-radius: 999px;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .pricing-name {
      font-size: 13px;
      color: var(--muted-2);
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .pricing-price {
      margin-top: 14px;
      font-size: 40px;
      font-weight: 300;
      letter-spacing: -1px;
    }

    .pricing-price span {
      font-size: 14px;
      color: var(--muted);
      letter-spacing: 0;
    }

    .pricing-desc {
      margin-top: 10px;
      color: var(--muted-3);
      font-size: 13px;
      line-height: 1.6;
    }

    .pricing-feats {
      margin-top: 24px;
      list-style: none;
      flex: 1;
    }

    .pricing-feats li {
      display: flex;
      gap: 10px;
      padding: 8px 0;
      font-size: 13.5px;
      color: #ddd;
    }

    .pricing-feats svg {
      width: 15px;
      height: 15px;
      margin-top: 1px;
      flex: none;
    }

    .pricing-footer {
      margin-top: 26px;
    }

    .btn-block {
      display: flex;
      justify-content: center;
    }

    /* ============================================================
     TESTIMONIALS
  ============================================================ */
    .testimonial {
      display: flex;
      flex-direction: column;
    }

    .testimonial .quote {
      font-size: 15px;
      line-height: 1.7;
      color: var(--muted-3);
      flex: 1;
    }

    .testimonial .who {
      margin-top: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, #7a5cff, #00b4ff);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      color: #fff;
      font-weight: 500;
    }

    .testimonial .who .name {
      font-size: 13px;
    }

    .testimonial .who .role {
      font-size: 11.5px;
      color: var(--muted-2);
    }

    .logo-wall {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 18px 44px;
      padding-top: 24px;
    }

    .logo-wall span {
      color: #8a8a8a;
      font-size: 15px;
      letter-spacing: 1px;
      opacity: 0.8;
      transition: opacity 0.2s ease, color 0.2s ease;
    }

    .logo-wall span:hover {
      opacity: 1;
      color: #fff;
    }

    /* ============================================================
     USE CASES / TABS
  ============================================================ */
    .tabs {
      display: inline-flex;
      gap: 4px;
      padding: 5px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--line-soft);
      border-radius: 999px;
      flex-wrap: wrap;
    }

    .tab {
      padding: 10px 20px;
      border-radius: 999px;
      font-size: 13px;
      color: var(--muted);
      transition: all 0.25s ease;
    }

    .tab.active {
      background: #fff;
      color: #000;
    }

    .tab:not(.active):hover {
      color: #fff;
    }

    .usecase-panel {
      display: none;
      margin-top: 40px;
    }

    .usecase-panel.active {
      display: grid;
    }

    /* ============================================================
     STATS / COUNTERS
  ============================================================ */
    .stats-band {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .stat-cell {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 30px 20px;
      border-right: 1px solid var(--line-soft);
    }

    .stat-cell:last-child {
      border-right: none;
    }

    .stat-val {
      font-size: 42px;
      font-weight: 300;
      letter-spacing: -1.5px;
    }

    .stat-lbl {
      color: var(--muted-2);
      font-size: 11.5px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }

    /* ============================================================
     HOW IT WORKS
  ============================================================ */
    .steps {
      counter-reset: step;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    .step {
      position: relative;
      padding: 26px 0 0;
    }

    .step::before {
      counter-increment: step;
      content: "0" counter(step);
      font-size: 34px;
      font-weight: 300;
      color: var(--muted-2);
      opacity: 0.5;
    }

    .step h3 {
      margin-top: 18px;
      font-size: 19px;
      font-weight: 400;
    }

    .step p {
      margin-top: 10px;
      color: var(--muted-3);
      font-size: 13.5px;
      line-height: 1.7;
    }

    .step::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 1px;
      background: linear-gradient(90deg, #fff, transparent);
      opacity: 0.25;
    }

    /* ============================================================
     FORM
  ============================================================ */
    .signup {
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 60px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
      background-image: url("signup.jfif");
      background-size: cover;
      background-position: center;
    }

    .signup-right form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .field input {
      width: 100%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--line-soft);
      border-radius: 12px;
      padding: 15px 16px;
      color: #fff;
      font-family: inherit;
      font-size: 14px;
      transition: border-color 0.2s ease;
    }

    .field input:focus {
      border-color: rgba(255, 255, 255, 0.35);
      outline: none;
    }

    .field input::placeholder {
      color: #6d6d6d;
    }

    .signup-submit {
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .signup-note {
      font-size: 11.5px;
      color: var(--muted-2);
      text-align: center;
      margin-top: 4px;
    }

    /* ============================================================
     FAQ
  ============================================================ */
    .faq-item {
      border-bottom: 1px solid var(--line-soft);
    }

    .faq-q {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24px 4px;
      font-size: 16px;
      text-align: left;
      font-weight: 400;
    }

    .faq-q .plus {
      position: relative;
      width: 18px;
      height: 18px;
      flex: none;
      transition: transform 0.3s ease;
    }

    .faq-q .plus::before,
    .faq-q .plus::after {
      content: "";
      position: absolute;
      background: #fff;
    }

    .faq-q .plus::before {
      width: 18px;
      height: 1.6px;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
    }

    .faq-q .plus::after {
      width: 1.6px;
      height: 18px;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
    }

    .faq-item.open .plus {
      transform: rotate(45deg);
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .faq-a p {
      padding: 0 42px 22px 4px;
      color: var(--muted-3);
      font-size: 14px;
      line-height: 1.7;
    }

    /* ============================================================
     CTA + FOOTER
  ============================================================ */
    .final-cta {
      text-align: center;
    }

    .final-cta h2 {
      font-size: clamp(38px, 6vw, 64px);
      font-weight: 400;
      letter-spacing: -1px;
      line-height: 1.05;
    }

    .final-cta p {
      color: var(--muted-3);
      margin-top: 22px;
      font-size: 16px;
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
    }

    .final-cta .cta-row {
      margin-top: 40px;
      justify-content: center;
    }

    footer.site-footer {
      border-top: 1px solid var(--line-soft);
      padding: 70px 40px 40px;
      margin-top: 40px;
    }

    .footer-grid {
      max-width: 1240px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer-brand p {
      color: var(--muted-2);
      font-size: 13px;
      margin-top: 16px;
      max-width: 260px;
      line-height: 1.7;
    }

    .footer-col h4 {
      font-size: 11px;
      letter-spacing: 1.5px;
      color: var(--muted-2);
      text-transform: uppercase;
      margin-bottom: 18px;
    }

    .footer-col a {
      display: block;
      color: #cfcfcf;
      font-size: 13px;
      padding: 6px 0;
      transition: color 0.2s ease;
    }

    .footer-col a:hover {
      color: #fff;
    }

    .footer-bottom {
      max-width: 1240px;
      margin: 50px auto 0;
      padding-top: 24px;
      border-top: 1px solid var(--line-soft);
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-bottom p {
      font-size: 12px;
      color: var(--muted-2);
    }

    .back-top {
      position: fixed;
      right: 28px;
      bottom: 28px;
      z-index: 50;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid var(--line-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease;
    }

    .back-top.show {
      opacity: 1;
      visibility: visible;
    }

    .back-top:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    /* ============================================================
     RESPONSIVE
  ============================================================ */
    @media (max-width: 980px) {
      .menu-toggle {
        display: flex;
      }

      .nav-center,
      .nav-right {
        display: none;
      }

      .grid-4,
      .grid-3,
      .grid-2 {
        grid-template-columns: 1fr 1fr;
      }

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

      .feature-row.rev .feature-visual {
        order: 0;
      }

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

      .signup {
        grid-template-columns: 1fr;
        padding: 40px;
      }

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

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

      .section {
        padding: 80px 24px;
      }
    }

    @media (max-width: 600px) {

      .grid-4,
      .grid-3,
      .grid-2 {
        grid-template-columns: 1fr;
      }

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

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

      .hero {
        padding: 120px 24px 70px;
      }

      .pricing-footer .btn-block {
        width: 100%;
      }
    }

    /* ============================================================
     SUBPAGE (auth + legal) shared styles
  ============================================================ */
    .page {
      min-height: 100vh;
      padding: 140px 24px 90px;
      position: relative;
    }

    .page-shell {
      max-width: 1240px;
      margin: 0 auto;
    }

    .page-hero {
      max-width: 720px;
      margin-bottom: 56px;
    }

    .page-hero h1 {
      font-size: clamp(38px, 6vw, 64px);
      font-weight: 400;
      letter-spacing: -1px;
      line-height: 1.05;
      margin-top: 20px;
    }

    .page-hero p {
      color: var(--muted-3);
      margin-top: 20px;
      font-size: 16px;
      line-height: 1.7;
      max-width: 560px;
    }

    .page-hero .updated {
      margin-top: 18px;
      font-size: 12.5px;
      color: var(--muted-2);
      letter-spacing: 0.4px;
    }

    /* ---------- Auth pages ---------- */
    .auth-wrap {
      max-width: 460px;
      margin: 0 auto;
    }

    .auth-card {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 40px 36px;
    }

    .auth-card h1 {
      font-size: 28px;
      font-weight: 400;
      letter-spacing: -0.6px;
    }

    .auth-card > p.sub {
      color: var(--muted-3);
      font-size: 14px;
      margin-top: 10px;
      line-height: 1.6;
    }

    .auth-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 28px;
    }

    .auth-field label {
      display: block;
      font-size: 12px;
      color: var(--muted-2);
      margin-bottom: 8px;
      letter-spacing: 0.4px;
    }

    .auth-field input {
      width: 100%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--line-soft);
      border-radius: 12px;
      padding: 14px 16px;
      color: #fff;
      font-family: inherit;
      font-size: 14px;
      transition: border-color 0.2s ease;
    }

    .auth-field input:focus {
      border-color: rgba(255, 255, 255, 0.35);
      outline: none;
    }

    .auth-field input::placeholder {
      color: #6d6d6d;
    }

    .auth-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 12.5px;
      color: var(--muted-2);
    }

    .auth-meta .checkbox {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
    }

    .auth-meta a {
      color: #e8e8e8;
      transition: color 0.2s ease;
    }

    .auth-meta a:hover {
      color: #fff;
    }

    .auth-submit {
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 15px;
      font-size: 14px;
    }

    .auth-error {
      display: none;
      background: rgba(255, 95, 87, 0.12);
      border: 1px solid rgba(255, 95, 87, 0.4);
      color: #ffb4b0;
      font-size: 13px;
      padding: 12px 14px;
      border-radius: 10px;
      margin-top: 16px;
      line-height: 1.5;
    }

    .auth-success {
      display: none;
      background: rgba(123, 233, 170, 0.12);
      border: 1px solid rgba(123, 233, 170, 0.4);
      color: #8ef0b6;
      font-size: 13px;
      padding: 12px 14px;
      border-radius: 10px;
      margin-top: 16px;
      line-height: 1.5;
    }

    .auth-divider {
      display: flex;
      align-items: center;
      gap: 14px;
      color: var(--muted-2);
      font-size: 12px;
      margin: 22px 0;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .auth-divider::before,
    .auth-divider::after {
      content: "";
      flex: 1;
      height: 1px;
      background: var(--line-soft);
    }

    .auth-switch {
      text-align: center;
      margin-top: 22px;
      font-size: 13.5px;
      color: var(--muted-3);
    }

    .auth-switch a {
      color: #fff;
      font-weight: 500;
    }

    .auth-alt {
      display: flex;
      gap: 12px;
    }

    .auth-alt button {
      flex: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--line-soft);
      border-radius: 12px;
      color: #e8e8e8;
      font-size: 13.5px;
      transition: background 0.2s ease;
    }

    .auth-alt button:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .auth-alt svg {
      width: 16px;
      height: 16px;
    }

    .auth-terms {
      font-size: 11.5px;
      color: var(--muted-2);
      line-height: 1.6;
      text-align: center;
      margin-top: 18px;
    }

    .auth-terms a {
      color: var(--muted-3);
      text-decoration: underline;
    }

    /* ---------- Legal / prose pages ---------- */
    .legal-layout {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 56px;
      align-items: start;
    }

    .legal-toc {
      position: sticky;
      top: 110px;
      border-left: 1px solid var(--line-soft);
      padding-left: 20px;
    }

    .legal-toc h4 {
      font-size: 11px;
      letter-spacing: 1.5px;
      color: var(--muted-2);
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .legal-toc a {
      display: block;
      padding: 6px 0;
      font-size: 13px;
      color: var(--muted-3);
      transition: color 0.2s ease;
    }

    .legal-toc a:hover {
      color: #fff;
    }

    .prose {
      max-width: 720px;
    }

    .prose section {
      margin-bottom: 40px;
    }

    .prose h2 {
      font-size: 24px;
      font-weight: 400;
      letter-spacing: -0.4px;
      margin-bottom: 14px;
      padding-top: 8px;
    }

    .prose h3 {
      font-size: 17px;
      font-weight: 400;
      color: #e8e8e8;
      margin: 22px 0 10px;
    }

    .prose p {
      color: var(--muted-3);
      font-size: 14.5px;
      line-height: 1.8;
      margin-bottom: 12px;
    }

    .prose ul {
      margin: 10px 0 16px;
      padding-left: 20px;
      color: var(--muted-3);
      font-size: 14.5px;
      line-height: 1.8;
    }

    .prose li {
      margin-bottom: 8px;
    }

    .prose strong {
      color: #fff;
      font-weight: 500;
    }

    .prose table {
      width: 100%;
      border-collapse: collapse;
      margin: 18px 0;
      font-size: 13.5px;
    }

    .prose th,
    .prose td {
      text-align: left;
      padding: 12px 14px;
      border-bottom: 1px solid var(--line-soft);
    }

    .prose th {
      color: var(--muted-2);
      font-weight: 400;
      letter-spacing: 0.5px;
      font-size: 12px;
      text-transform: uppercase;
    }

    .prose td {
      color: var(--muted-3);
      line-height: 1.6;
    }

    /* ---------- Consent / toggle for auth (password reveal) ---------- */
    .password-wrap {
      position: relative;
    }

    .password-wrap input {
      padding-right: 52px;
    }

    .password-toggle {
      position: absolute;
      right: 6px;
      top: 50%;
      transform: translateY(-50%);
      padding: 8px;
      color: var(--muted-2);
      font-size: 12px;
      letter-spacing: 0.3px;
      transition: color 0.2s ease;
    }

    .password-toggle:hover {
      color: #fff;
    }

    @media (max-width: 980px) {
      .legal-layout {
        grid-template-columns: 1fr;
      }

      .legal-toc {
        position: static;
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid var(--line-soft);
        padding-bottom: 14px;
        margin-bottom: 8px;
      }

      .legal-toc a {
        display: inline-block;
        padding: 6px 14px 6px 0;
      }
    }
