/* ── Font metric override (prevents CLS on Inter swap) ──────────── */
    @font-face {
      font-family: 'Inter Fallback';
      font-style: normal;
      font-weight: 100 900;
      src: local('Arial'), local('Helvetica Neue'), local('sans-serif');
      ascent-override: 90%;
      descent-override: 22.43%;
      line-gap-override: 0%;
      size-adjust: 107.64%;
    }

    /* ── Reset & Base ─────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:       #020617;
      --bg1:      #0f172a;
      --bg2:      #1e293b;
      --border:   #1e293b;
      --border2:  #334155;
      --text:     #f8fafc;
      --text2:    #94a3b8;
      --text3:    #64748b;
      --indigo:   #6366f1;
      --indigo2:  #4f46e5;
      --violet:   #8b5cf6;
      --emerald:  #10b981;
      --rose:     #f43f5e;
      --amber:    #f59e0b;
      --cyan:     #06b6d4;
      --r:        12px;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    /* ── Typography ───────────────────────────────────────────── */
    .grad-text {
      background: linear-gradient(135deg, #fff 0%, #e2e8f0 40%, #a5b4fc 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .grad-text-indigo {
      background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 60%, #8b5cf6 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ── Layout ───────────────────────────────────────────────── */
    .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
    .section { padding: 96px 0; }
    .section-sm { padding: 64px 0; }

    /* ── Noise / Grid Overlay ─────────────────────────────────── */
    .grid-bg {
      background-image:
        linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
      background-size: 48px 48px;
    }

    /* ── Navigation ───────────────────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 0 24px;
      background: rgba(2,6,23,0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(30,41,59,0.8);
    }
    .nav-inner {
      max-width: 1160px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      height: 64px;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      font-size: 18px; font-weight: 800; letter-spacing: -0.5px;
    }
    .nav-logo-icon {
      width: 32px; height: 32px; border-radius: 8px;
      background: linear-gradient(135deg, #6366f1, #8b5cf6);
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 0 16px rgba(99,102,241,0.4);
    }
    .nav-links { display: flex; align-items: center; gap: 32px; }
    .nav-links a {
      font-size: 14px; font-weight: 500; color: var(--text2);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--text); }
    .btn-nav {
      padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
      background: var(--indigo); color: #fff;
      border: none; cursor: pointer; transition: all 0.2s;
      box-shadow: 0 0 20px rgba(99,102,241,0.3);
    }
    .btn-nav:hover { background: #4f46e5; transform: translateY(-1px); }
    .btn-nav-gh {
      width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      background: rgba(30,41,59,0.6);
      border: 1px solid var(--border2);
      color: var(--text2); transition: all 0.2s;
    }
    .btn-nav-gh:hover { background: rgba(51,65,85,0.9); color: var(--text); border-color: rgba(99,102,241,0.4); transform: translateY(-1px); }
    [data-theme="light"] .btn-nav-gh { background: rgba(226,232,240,0.7); border-color: var(--border); }
    [data-theme="light"] .btn-nav-gh:hover { background: rgba(203,213,225,0.9); }
    .nav-mobile-toggle { display: none; cursor: pointer; color: var(--text2); }

    /* ── Buttons ──────────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 28px; border-radius: 10px;
      font-size: 15px; font-weight: 700; cursor: pointer;
      transition: all 0.2s; border: none;
    }
    .btn-primary {
      background: linear-gradient(135deg, #6366f1, #8b5cf6);
      color: #fff;
      box-shadow: 0 0 30px rgba(99,102,241,0.4), 0 4px 16px rgba(0,0,0,0.3);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 40px rgba(99,102,241,0.55), 0 8px 24px rgba(0,0,0,0.4);
    }
    .btn-secondary {
      background: rgba(30,41,59,0.8);
      color: var(--text);
      border: 1px solid var(--border2);
    }
    .btn-secondary:hover {
      background: rgba(51,65,85,0.8);
      transform: translateY(-2px);
    }
    .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

    /* ── Hero ─────────────────────────────────────────────────── */
    .hero {
      padding: 160px 0 96px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
      width: 900px; height: 600px;
      background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px; border-radius: 100px;
      background: rgba(99,102,241,0.1);
      border: 1px solid rgba(99,102,241,0.25);
      font-size: 12px; font-weight: 600; color: #a5b4fc;
      margin-bottom: 28px; letter-spacing: 0.3px;
    }
    .hero-badge-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--emerald);
      box-shadow: 0 0 6px var(--emerald);
      animation: pulse 2s infinite;
    }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
    .hero h1 {
      font-size: clamp(40px, 6vw, 68px);
      font-weight: 900; line-height: 1.06;
      letter-spacing: -2px; margin-bottom: 24px;
    }
    .hero-sub {
      font-size: clamp(16px, 2vw, 20px); color: var(--text2);
      max-width: 600px; line-height: 1.65; margin-bottom: 40px;
    }
    .hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    .hero-note {
      font-size: 12px; color: var(--text3); margin-top: 20px;
      display: flex; align-items: center; gap: 6px;
    }
    .hero-note svg { width: 14px; height: 14px; }

    /* ── App Mockup ───────────────────────────────────────────── */
    .mockup-wrap {
      margin-top: 72px; position: relative;
    }
    .mockup-glow {
      position: absolute; inset: -40px;
      background: radial-gradient(ellipse at 50% 60%, rgba(99,102,241,0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .mockup-window {
      background: var(--bg1);
      border: 1px solid var(--border2);
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
    }
    .mockup-titlebar {
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      padding: 12px 16px;
      display: flex; align-items: center; gap: 8px;
    }
    .mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
    .mockup-app {
      display: grid; grid-template-columns: 200px 1fr;
      height: 460px;
    }
    /* Sidebar */
    .mockup-sidebar {
      background: rgba(2,6,23,0.9);
      border-right: 1px solid var(--border);
      padding: 16px 12px;
    }
    .mock-logo {
      font-size: 13px; font-weight: 800; color: #a5b4fc;
      padding: 8px; margin-bottom: 20px;
      display: flex; align-items: center; gap: 8px;
    }
    .mock-logo-icon {
      width: 24px; height: 24px; border-radius: 6px;
      background: linear-gradient(135deg,#6366f1,#8b5cf6);
    }
    .mock-nav-section { margin-bottom: 16px; }
    .mock-nav-label {
      font-size: 9px; font-weight: 700; color: var(--text3);
      text-transform: uppercase; letter-spacing: 1px;
      padding: 0 8px; margin-bottom: 6px;
    }
    .mock-nav-item {
      display: flex; align-items: center; gap: 8px;
      padding: 7px 8px; border-radius: 7px;
      font-size: 11px; font-weight: 500; color: var(--text2);
      margin-bottom: 2px;
    }
    .mock-nav-item.active {
      background: rgba(99,102,241,0.15);
      color: #a5b4fc;
      border: 1px solid rgba(99,102,241,0.2);
    }
    .mock-nav-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink:0; }
    /* Content area */
    .mockup-content { padding: 20px; overflow: hidden; }
    .mock-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 16px;
    }
    .mock-title { font-size: 14px; font-weight: 700; }
    .mock-badge {
      padding: 3px 8px; border-radius: 6px; font-size: 9px;
      font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    }
    .mock-badge.approved { background:rgba(16,185,129,0.15); color:#34d399; border:1px solid rgba(16,185,129,0.2); }
    .mock-badge.extracted { background:rgba(139,92,246,0.15); color:#c4b5fd; border:1px solid rgba(139,92,246,0.2); }
    .mock-badge.processing { background:rgba(245,158,11,0.15); color:#fcd34d; border:1px solid rgba(245,158,11,0.2); }
    .mock-card {
      background: rgba(15,23,42,0.8);
      border: 1px solid var(--border);
      border-radius: 10px; padding: 14px;
      margin-bottom: 10px;
    }
    .mock-field-row {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 10px; margin-bottom: 10px;
    }
    .mock-field label {
      display: block; font-size: 9px; font-weight: 600;
      color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px;
      margin-bottom: 4px;
    }
    .mock-field .mock-input {
      background: rgba(30,41,59,0.6);
      border: 1px solid var(--border2);
      border-radius: 6px; padding: 5px 8px;
      font-size: 11px; color: var(--text2);
      font-family: 'JetBrains Mono', monospace;
    }
    .mock-ai-bar {
      background: linear-gradient(90deg,rgba(99,102,241,0.1),rgba(139,92,246,0.1));
      border: 1px solid rgba(99,102,241,0.2);
      border-radius: 8px; padding: 8px 12px;
      display: flex; align-items: center; gap: 8px;
      font-size: 10px; color: #a5b4fc;
    }
    .mock-ai-pulse {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--emerald);
      box-shadow: 0 0 8px var(--emerald);
      animation: pulse 1.5s infinite;
    }
    .mock-txn-row {
      display: grid; grid-template-columns: 1fr auto;
      align-items: center; padding: 8px 0;
      border-bottom: 1px solid rgba(30,41,59,0.6);
      font-size: 11px;
    }
    .mock-txn-row:last-child { border-bottom: none; }
    .mock-amount-pos { color: var(--emerald); font-family: 'JetBrains Mono', monospace; font-weight: 600; }
    .mock-amount-neg { color: var(--rose); font-family: 'JetBrains Mono', monospace; font-weight: 600; }
    /* Chat mockup panel */
    .mock-chat-bubble {
      border-radius: 10px; padding: 8px 12px; margin-bottom: 8px;
      font-size: 11px; line-height: 1.5; max-width: 88%;
    }
    .mock-chat-user {
      background: rgba(99,102,241,0.2);
      border: 1px solid rgba(99,102,241,0.25);
      color: #c7d2fe; margin-left: auto; text-align: right;
    }
    .mock-chat-ai {
      background: rgba(15,23,42,0.9);
      border: 1px solid var(--border);
      color: var(--text2);
    }

    /* ── Trust Strip ──────────────────────────────────────────── */
    .trust-strip {
      padding: 32px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .trust-items {
      display: flex; align-items: center; justify-content: center;
      gap: 48px; flex-wrap: wrap;
    }
    .trust-item {
      display: flex; align-items: center; gap: 10px;
      font-size: 13px; font-weight: 600; color: var(--text2);
    }
    .trust-icon {
      width: 32px; height: 32px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    /* ── Section Labels ───────────────────────────────────────── */
    .section-label {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 5px 14px; border-radius: 100px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
      text-transform: uppercase; margin-bottom: 20px;
    }
    .section-label.indigo { background:rgba(99,102,241,0.1); border:1px solid rgba(99,102,241,0.2); color:#a5b4fc; }
    .section-label.emerald { background:rgba(16,185,129,0.1); border:1px solid rgba(16,185,129,0.2); color:#6ee7b7; }
    .section-label.violet { background:rgba(139,92,246,0.1); border:1px solid rgba(139,92,246,0.2); color:#c4b5fd; }
    .section-label.amber { background:rgba(245,158,11,0.1); border:1px solid rgba(245,158,11,0.2); color:#fde68a; }
    .section-h { font-size: clamp(28px,4vw,42px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
    .section-sub { font-size: 17px; color: var(--text2); max-width: 560px; line-height: 1.65; }

    /* ── Feature Cards ────────────────────────────────────────── */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px; margin-top: 56px;
    }
    .feat-card {
      background: var(--bg1);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 28px;
      position: relative; overflow: hidden;
      transition: all 0.3s;
    }
    .feat-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg,transparent,rgba(99,102,241,0.4),transparent);
      opacity: 0; transition: opacity 0.3s;
    }
    .feat-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-3px); }
    .feat-card:hover::before { opacity: 1; }
    .feat-icon {
      width: 44px; height: 44px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 18px; flex-shrink: 0;
    }
    .feat-icon svg { width: 22px; height: 22px; }
    .feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
    .feat-card p { font-size: 14px; color: var(--text2); line-height: 1.65; }
    .feat-tag {
      display: inline-block; margin-top: 14px;
      padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 600;
    }

    /* ── AI Spotlight ─────────────────────────────────────────── */
    .ai-split {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 64px; align-items: center;
    }
    .ai-chat-demo {
      background: var(--bg1);
      border: 1px solid var(--border);
      border-radius: 14px; overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .ai-chat-header {
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      padding: 14px 18px;
      display: flex; align-items: center; gap: 12px;
    }
    .ai-avatar {
      width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
      background: linear-gradient(135deg,#6366f1,#8b5cf6);
      display: flex; align-items: center; justify-content: center;
      position: relative;
      box-shadow: 0 0 16px rgba(99,102,241,0.4);
    }
    .ai-avatar svg { width: 18px; height: 18px; color: #fff; }
    .ai-status-dot {
      position: absolute; bottom: -2px; right: -2px;
      width: 10px; height: 10px; border-radius: 50%;
      background: var(--emerald); border: 2px solid var(--bg);
      box-shadow: 0 0 6px var(--emerald);
      animation: pulse 2s infinite;
    }
    .ai-chat-body { padding: 18px; space-y: 12px; }
    .ai-chip {
      display: inline-block; padding: 4px 10px; border-radius: 20px;
      font-size: 11px; font-weight: 500;
      background: rgba(30,41,59,0.8);
      border: 1px solid var(--border2); color: var(--text3);
      margin: 4px 4px 0 0; cursor: default;
      transition: all 0.2s;
    }
    .ai-chip:hover { border-color: rgba(99,102,241,0.4); color: #a5b4fc; }
    .ai-turns-badge {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
      background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2);
      color: #a5b4fc;
    }
    .ai-turns-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: pulse 1.5s infinite; }

    /* ── Privacy Section ──────────────────────────────────────── */
    .privacy-section {
      background: linear-gradient(180deg, var(--bg) 0%, rgba(15,23,42,0.5) 50%, var(--bg) 100%);
      position: relative; overflow: hidden;
    }
    .privacy-section::before {
      content: '';
      position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
      width: 600px; height: 600px;
      background: radial-gradient(ellipse, rgba(16,185,129,0.06) 0%, transparent 70%);
      pointer-events: none;
    }
    .privacy-grid {
      display: grid; grid-template-columns: repeat(2, 1fr);
      gap: 20px; margin-top: 56px;
    }
    .privacy-card {
      background: rgba(15,23,42,0.7);
      border: 1px solid rgba(16,185,129,0.12);
      border-radius: var(--r); padding: 32px;
      position: relative; overflow: hidden;
    }
    .privacy-card::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent, rgba(16,185,129,0.3), transparent);
    }
    .privacy-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; display:flex; align-items:center; justify-content:center; }
    .privacy-icon svg { width: 24px; height: 24px; }
    .privacy-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
    .privacy-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }
    .privacy-stat {
      margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
      background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.15);
      border-radius: 8px; padding: 6px 12px;
      font-size: 12px; font-weight: 600; color: var(--emerald);
    }

    /* ── How it Works ─────────────────────────────────────────── */
    .steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 56px; }
    .step { text-align: center; position: relative; }
    .step::after {
      content: '';
      position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px);
      height: 1px;
      background: linear-gradient(90deg, rgba(99,102,241,0.4), transparent);
    }
    .step:last-child::after { display: none; }
    .step-num {
      width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 20px;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px; font-weight: 900;
      background: linear-gradient(135deg,rgba(99,102,241,0.15),rgba(139,92,246,0.15));
      border: 1px solid rgba(99,102,241,0.25);
      color: #a5b4fc; position: relative; z-index: 1;
    }
    .step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
    .step p { font-size: 14px; color: var(--text2); line-height: 1.65; }

    /* ── Tech Stack ───────────────────────────────────────────── */
    .tech-grid {
      display: grid; grid-template-columns: repeat(4,1fr);
      gap: 16px; margin-top: 48px;
    }
    .tech-card {
      background: var(--bg1); border: 1px solid var(--border);
      border-radius: 10px; padding: 20px;
      display: flex; flex-direction: column; align-items: center;
      text-align: center; gap: 10px;
      transition: all 0.2s;
    }
    .tech-card:hover { border-color: var(--border2); transform: translateY(-2px); }
    .tech-card-icon {
      width: 40px; height: 40px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .tech-card-icon svg { width: 22px; height: 22px; }
    .tech-card h3 { font-size: 13px; font-weight: 700; }
    .tech-card p { font-size: 11px; color: var(--text3); }

    /* ── Comparison table ─────────────────────────────────────── */
    .compare-wrap { margin-top: 56px; overflow-x: auto; }
    .compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .compare-table th {
      padding: 14px 20px; text-align: left;
      border-bottom: 1px solid var(--border);
      font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
      color: var(--text3);
    }
    .compare-table th.highlight {
      color: #a5b4fc; background: rgba(99,102,241,0.05);
      border-radius: 8px 8px 0 0;
    }
    .compare-table td {
      padding: 14px 20px; border-bottom: 1px solid rgba(30,41,59,0.5);
      color: var(--text2);
    }
    .compare-table td.highlight { background: rgba(99,102,241,0.04); }
    .compare-table tr:last-child td { border-bottom: none; }
    .check { color: var(--emerald); font-size: 18px; }
    .cross { color: var(--rose); font-size: 18px; }

    /* ── Download CTA ─────────────────────────────────────────── */
    .cta-section {
      text-align: center; padding: 120px 0;
      position: relative; overflow: hidden;
    }
    .cta-glow {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
      width: 700px; height: 400px;
      background: radial-gradient(ellipse, rgba(99,102,241,0.1) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-section h2 { font-size: clamp(32px,5vw,52px); font-weight: 900; letter-spacing:-1.5px; margin-bottom: 20px; }
    .cta-section p { font-size: 18px; color: var(--text2); max-width: 520px; margin: 0 auto 40px; line-height: 1.65; }
    .cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
    .cta-sub { font-size: 13px; color: var(--text3); margin-top: 24px; }

    /* ── Cloud/Team Banner ───────────────────────────────────── */
    .team-banner {
      padding: 40px 0;
    }
    .team-banner-card {
      max-width: 680px; margin: 0 auto;
      background: var(--bg1);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 32px 36px;
      display: flex; align-items: flex-start; gap: 20px;
    }
    .team-banner-icon {
      width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px;
      background: rgba(99,102,241,0.08);
      border: 1px solid rgba(99,102,241,0.15);
      display: flex; align-items: center; justify-content: center;
      margin-top: 2px;
    }
    .team-banner-icon svg { width: 18px; height: 18px; }
    .team-banner-body h3 {
      font-size: 15px; font-weight: 700;
      color: var(--text); margin-bottom: 8px;
    }
    .team-banner-body p {
      font-size: 13px; color: var(--text3); line-height: 1.7; margin-bottom: 12px;
    }
    .team-banner-link {
      font-size: 13px; font-weight: 600;
      color: #818cf8;
      display: inline-flex; align-items: center; gap: 5px;
      transition: color 0.2s;
    }
    .team-banner-link:hover { color: #a5b4fc; }
    .team-banner-link svg { width: 13px; height: 13px; }
    @media (max-width: 600px) {
      .team-banner-card { flex-direction: column; gap: 14px; padding: 24px 20px; }
    }

    /* ── Footer ───────────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 48px 0;
    }
    .footer-inner {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 20px;
    }
    .footer-logo { font-size: 16px; font-weight: 800; display:flex; align-items:center; gap:8px; }
    .footer-links { display: flex; gap: 28px; }
    .footer-links a { font-size: 13px; color: var(--text3); transition: color 0.2s; }
    .footer-links a:hover { color: var(--text2); }
    .footer-copy { font-size: 12px; color: var(--text3); }

    /* ── System Requirements ─────────────────────────────────────── */
    .sysreq-section { padding: 72px 0 56px; }
    .sysreq-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 24px; margin-top: 48px;
    }
    .sysreq-card {
      background: var(--bg1);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 28px 32px;
    }
    .sysreq-card.minimum { border-color: rgba(245,158,11,0.25); }
    .sysreq-card.recommended { border-color: rgba(16,185,129,0.25); }
    .sysreq-card-header {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 20px;
    }
    .sysreq-card-header h3 { font-size: 15px; font-weight: 800; }
    .sysreq-pill {
      font-size: 10px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.6px; padding: 3px 9px; border-radius: 20px;
    }
    .sysreq-pill.min { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); color: #fcd34d; }
    .sysreq-pill.rec { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); color: #6ee7b7; }
    .sysreq-row {
      display: flex; align-items: baseline; gap: 10px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(30,41,59,0.6);
      font-size: 13px;
    }
    .sysreq-row:last-child { border-bottom: none; padding-bottom: 0; }
    .sysreq-label {
      font-size: 10px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.5px; color: var(--text3);
      min-width: 76px; flex-shrink: 0;
    }
    .sysreq-value { color: var(--text2); line-height: 1.5; }
    .sysreq-value strong { color: var(--text); font-weight: 600; }
    .sysreq-warning {
      margin-top: 36px;
      background: rgba(244,63,94,0.06);
      border: 1px solid rgba(244,63,94,0.2);
      border-left: 3px solid #f43f5e;
      border-radius: 10px;
      padding: 18px 22px;
      display: flex; align-items: flex-start; gap: 14px;
    }
    .sysreq-warning-icon { flex-shrink: 0; margin-top: 1px; }
    .sysreq-warning-icon svg { width: 18px; height: 18px; color: #f43f5e; }
    .sysreq-warning-text { font-size: 13px; color: var(--text2); line-height: 1.65; }
    .sysreq-warning-text strong { color: var(--text); font-weight: 700; }
    @media (max-width: 700px) {
      .sysreq-grid { grid-template-columns: 1fr; }
    }
    [data-theme="light"] .sysreq-card { background: var(--bg1); }
    [data-theme="light"] .sysreq-warning { background: rgba(244,63,94,0.04); }

    /* ── Glow animations ──────────────────────────────────────── */
    @keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
    .floating { animation: float 4s ease-in-out infinite; }

    /* ── Divider ──────────────────────────────────────────────── */
    .divider { height: 1px; background: linear-gradient(90deg,transparent,var(--border),transparent); }

    /* ── Scroll reveal ───────────────────────────────────────── */
    .reveal-init {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    /* ── Responsive ───────────────────────────────────────────── */
    @media (max-width: 900px) {
      .features-grid { grid-template-columns: 1fr 1fr; }
      .ai-split { grid-template-columns: 1fr; }
      .privacy-grid { grid-template-columns: 1fr; }
      .tech-grid { grid-template-columns: repeat(2,1fr); }
      .steps { grid-template-columns: 1fr; }
      .step::after { display: none; }
      .mockup-app { grid-template-columns: 1fr; }
      .mockup-sidebar { display: none; }
      .nav-links { display: none; }
      .nav-mobile-toggle { display: block; }
      .btn-nav { display: none; }
      /* Remove expensive GPU compositing layer on mobile */
      nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(2,6,23,0.98); }
    }

    /* ── Mobile nav drawer ─────────────────────────────────── */
    .nav-mobile-menu {
      display: none;
      position: fixed; top: 64px; left: 0; right: 0; z-index: 200;
      background: rgba(2,6,23,0.98);
      border-bottom: 1px solid var(--border2);
      padding: 12px 24px 20px;
      flex-direction: column; gap: 4px;
    }
    .nav-mobile-menu.open { display: flex; }
    .nav-mobile-menu a {
      font-size: 15px; font-weight: 500; color: var(--text2);
      padding: 12px 0;
      border-bottom: 1px solid rgba(30,41,59,0.5);
      transition: color 0.2s;
    }
    .nav-mobile-menu a:last-child { border-bottom: none; }
    .nav-mobile-menu a:hover { color: var(--text); }
    .nav-mobile-menu .nav-mobile-dl {
      margin-top: 12px;
      padding: 12px 20px; border-radius: 10px;
      background: var(--indigo); color: #fff;
      font-weight: 700; text-align: center;
      border-bottom: none;
    }
    [data-theme="light"] .nav-mobile-menu { background: rgba(248,250,252,0.98); border-bottom-color: var(--border); }
    @media (max-width: 600px) {
      .hero { padding: 120px 0 64px; }
      .features-grid { grid-template-columns: 1fr; }
      .tech-grid { grid-template-columns: repeat(2,1fr); }
      .section { padding: 64px 0; }
      .hero h1 { letter-spacing: -1px; }
      .footer-inner { flex-direction: column; align-items: flex-start; }
    }

    /* ── Theme toggle button ──────────────────────────────────── */
    .theme-toggle {
      width: 36px; height: 36px; border-radius: 8px;
      background: rgba(30,41,59,0.55);
      border: 1px solid var(--border2);
      cursor: pointer; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      color: var(--text2); transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .theme-toggle:hover { background: rgba(51,65,85,0.8); color: var(--text); }
    .theme-toggle svg { width: 16px; height: 16px; pointer-events: none; }
    .icon-moon { display: none; }

    /* ── Light theme overrides ────────────────────────────────── */
    [data-theme="light"] {
      --bg:      #f8fafc;
      --bg1:     #ffffff;
      --bg2:     #f1f5f9;
      --border:  #e2e8f0;
      --border2: #cbd5e1;
      --text:    #0f172a;
      --text2:   #475569;
      --text3:   #94a3b8;
    }
    [data-theme="light"] body {
      background: var(--bg);
    }
    /* Nav */
    [data-theme="light"] nav {
      background: rgba(248,250,252,0.92);
      border-bottom-color: rgba(203,213,225,0.8);
    }
    /* Theme toggle in light mode */
    [data-theme="light"] .icon-sun  { display: none; }
    [data-theme="light"] .icon-moon { display: block; }
    [data-theme="light"] .theme-toggle {
      background: rgba(226,232,240,0.7);
      border-color: var(--border);
    }
    [data-theme="light"] .theme-toggle:hover {
      background: rgba(203,213,225,0.9);
    }
    /* Hero heading gradient (white â†’ white doesn't work on light bg) */
    [data-theme="light"] .grad-text {
      background: linear-gradient(135deg, #0f172a 0%, #334155 40%, #4338ca 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    /* App mockup */
    [data-theme="light"] .mockup-window {
      box-shadow: 0 40px 120px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06);
    }
    [data-theme="light"] .mockup-titlebar { background: #f1f5f9; }
    [data-theme="light"] .mockup-sidebar  { background: rgba(241,245,249,0.98); }
    [data-theme="light"] .mock-card       { background: rgba(248,250,252,0.95); }
    [data-theme="light"] .mock-input      { background: rgba(226,232,240,0.7); color: var(--text2); }
    [data-theme="light"] .mock-txn-row    { border-bottom-color: rgba(203,213,225,0.6); }
    [data-theme="light"] .mock-chat-ai    { background: rgba(241,245,249,0.95); }
    /* Feature & tech cards */
    [data-theme="light"] .feat-card  { background: var(--bg1); }
    [data-theme="light"] .tech-card  { background: var(--bg1); }
    /* AI chat demo */
    [data-theme="light"] .ai-chat-demo { box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
    [data-theme="light"] .ai-chip {
      background: rgba(241,245,249,0.9);
      border-color: var(--border); color: var(--text2);
    }
    /* Privacy section */
    [data-theme="light"] .privacy-section {
      background: linear-gradient(180deg, var(--bg) 0%, rgba(226,232,240,0.4) 50%, var(--bg) 100%);
    }
    [data-theme="light"] .privacy-card {
      background: rgba(255,255,255,0.95);
      border-color: rgba(16,185,129,0.15);
    }
    /* Team banner */
    [data-theme="light"] .team-banner-card { background: var(--bg1); }

    /* ── Buttons ── */
    [data-theme="light"] .btn-secondary {
      background: rgba(226,232,240,0.8);
      color: var(--text);
      border-color: var(--border2);
    }
    [data-theme="light"] .btn-secondary:hover { background: rgba(203,213,225,0.9); }

    /* ── Section labels — pastel accents invisible on white ── */
    [data-theme="light"] .section-label.indigo  { color: #4338ca; border-color: rgba(99,102,241,0.4); }
    [data-theme="light"] .section-label.emerald { color: #047857; border-color: rgba(16,185,129,0.4); }
    [data-theme="light"] .section-label.violet  { color: #6d28d9; border-color: rgba(139,92,246,0.4); }
    [data-theme="light"] .section-label.amber   { color: #b45309; border-color: rgba(245,158,11,0.4); }

    /* ── Light-on-light text elements ── */
    [data-theme="light"] .hero-badge      { color: #4338ca; }
    [data-theme="light"] .step-num        { color: #4338ca; }
    [data-theme="light"] .ai-turns-badge  { color: #4338ca; }
    [data-theme="light"] .mock-chat-user  { color: #3730a3; }
    [data-theme="light"] .mock-ai-bar     { color: #4338ca; }
    [data-theme="light"] .mock-logo       { color: #4338ca; }

    /* ── Compare table ── */
    [data-theme="light"] .compare-table td          { border-bottom-color: var(--border); }
    [data-theme="light"] .compare-table th.highlight { color: #4338ca; }

    /* ── Grid overlay — slightly stronger on light bg ── */
    [data-theme="light"] .grid-bg {
      background-image:
        linear-gradient(rgba(99,102,241,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.07) 1px, transparent 1px);
    }

    /* ── Sweep all inline color:#a5b4fc — covers feat-tags, chat <strong>,
          "NEW" sidebar chip, "In Expenses" badge, and any other instance ── */
    [data-theme="light"] [style*="color:#a5b4fc"]  { color: #4338ca !important; }
    [data-theme="light"] [style*="color: #a5b4fc"] { color: #4338ca !important; }

    /* Smooth transitions for key containers */
    body, nav, .feat-card, .privacy-card, .tech-card, .mock-card,
    .mockup-window, .mockup-titlebar, .mockup-sidebar, .mock-input,
    .ai-chat-demo, .ai-chat-header, .team-banner-card, footer {
      transition: background-color 0.25s ease, border-color 0.25s ease,
                  color 0.25s ease, box-shadow 0.25s ease;
    }
