*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --bg: #06080f;
    --bg-2: #0d1220;
    --bg-3: #11172a;
    --panel: #131a2d;
    --panel-hi: #1a223a;
    --line: rgba(255,255,255,0.08);
    --line-hi: rgba(255,255,255,0.18);
    --text: #e8edf7;
    --text-dim: #9aa3b8;
    --text-faint: #5b6480;
    --accent: #6366f1;
    --accent-2: #818cf8;
    --accent-3: #c4b5fd;
    --green: #22c55e;
    --amber: #f59e0b;
    --red: #ef4444;
    --teal: #06b6d4;
    --pink: #ec4899;
    --gold: #fbbf24;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SF Mono, Menlo, monospace;
  }

  html, body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden; }
  body { min-height: 100vh; position: relative; }

  ::selection { background: rgba(99,102,241,0.4); color: #fff; }

  /* Animated grid + gradient backdrop */
  body::before {
    content: '';
    position: fixed; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,.22), transparent 60%),
      radial-gradient(ellipse 60% 50% at 100% 30%, rgba(236,72,153,.13), transparent 60%),
      radial-gradient(ellipse 60% 60% at 0% 70%, rgba(6,182,212,.13), transparent 60%);
    pointer-events: none; z-index: 0;
  }
  body::after {
    content: '';
    position: fixed; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none; z-index: 0;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
    animation: gridShift 24s linear infinite;
  }
  @keyframes gridShift {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 56px 56px, 56px 56px; }
  }

  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
  .wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

  /* HEADER */
  .site-header { padding: 20px 0; position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(6,8,15,0.75); border-bottom: 1px solid var(--line); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; }
  .logo { font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
  .logo span { color: var(--accent-2); }
  .logo-mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #fff; }
  .nav-row { display: flex; align-items: center; gap: 22px; }
  .nav-link { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
  .nav-link:hover { color: #fff; }
  .nav-cta { background: var(--accent); color: #fff; padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
  .nav-cta:hover { background: var(--accent-2); }
  @media (max-width: 720px) {
    .nav-row { gap: 12px; }
    .nav-link.hide-mobile { display: none; }
  }

  /* HERO */
  .hero { padding: 72px 0 48px; position: relative; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
  @media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

  .badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.35);
    color: var(--accent-3);
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  }
  .badge .dot { width: 7px; height: 7px; background: var(--accent-2); border-radius: 50%; box-shadow: 0 0 0 3px rgba(99,102,241,.3); animation: pulse 1.8s infinite; }
  @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(99,102,241,.3); } 50% { box-shadow: 0 0 0 9px rgba(99,102,241,0); } }

  .h1 {
    font-size: clamp(40px, 6.5vw, 76px);
    font-weight: 900; line-height: 1.02; letter-spacing: -.035em;
    margin-bottom: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #c4b5fd 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-sub { color: var(--text-dim); font-size: 17px; line-height: 1.65; margin-bottom: 28px; max-width: 540px; }
  .hero-sub strong { color: var(--text); font-weight: 600; }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--accent); color: #fff;
    padding: 13px 22px; border-radius: 10px;
    font-weight: 700; font-size: 15px; text-decoration: none;
    transition: all .2s; min-height: 46px;
  }
  .btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 12px 32px -10px rgba(99,102,241,.5); }
  .btn-secondary {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,0.06); color: var(--text);
    padding: 13px 22px; border-radius: 10px;
    font-weight: 600; font-size: 15px; text-decoration: none;
    border: 1px solid var(--line);
    transition: all .2s; min-height: 46px;
  }
  .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--line-hi); color: #fff; }
  .btn-primary svg, .btn-secondary svg { width: 14px; height: 14px; fill: currentColor; }

  .hero-meta { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; color: var(--text-faint); }
  .hero-meta span strong { color: var(--text); font-weight: 700; }

  /* Auto-playing analysis pane */
  .demo-pane {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(99,102,241,.35), 0 0 0 1px rgba(99,102,241,.08);
    position: relative;
  }
  .demo-pane::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,.15), transparent 60%);
    pointer-events: none;
  }
  .demo-tabs { display: flex; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); gap: 8px; align-items: center; position: relative; }
  .demo-dots { display: flex; gap: 6px; margin-right: 12px; }
  .demo-dots span { width: 9px; height: 9px; border-radius: 50%; }
  .demo-dots span:nth-child(1) { background: #ff5f56; }
  .demo-dots span:nth-child(2) { background: #ffbd2e; }
  .demo-dots span:nth-child(3) { background: #27c93f; }
  .demo-title { font-family: var(--mono); font-size: 12px; color: var(--text-dim); font-weight: 500; }
  .demo-cycle { margin-left: auto; display: flex; gap: 4px; }
  .demo-cycle span { width: 28px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.08); transition: background .3s; }
  .demo-cycle span.active { background: var(--accent); }

  .demo-body { padding: 22px 22px 26px; position: relative; min-height: 540px; }
  .demo-scene { opacity: 0; pointer-events: none; transition: opacity .5s; }
  .demo-scene.is-active { opacity: 1; pointer-events: auto; }
  .demo-scene-stack { position: relative; }
  .demo-scene:not(:first-child) { position: absolute; inset: 0; }

  .demo-tag { display: inline-block; background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.35); color: var(--accent-3); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; margin-bottom: 12px; }
  .demo-input {
    background: rgba(255,255,255,0.04); border-left: 3px solid var(--accent);
    padding: 12px 14px; border-radius: 8px; font-size: 13.5px;
    color: var(--text-dim); font-style: italic; line-height: 1.55;
    margin-bottom: 16px;
  }
  .demo-phases { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
  .demo-phase { display: flex; align-items: center; gap: 10px; padding: 9px 11px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; transition: all .3s; }
  .demo-phase.is-active { border-color: var(--accent); background: rgba(99,102,241,0.08); }
  .demo-phase.is-done { opacity: 0.7; }
  .phase-icon-mini { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--text-faint); display: flex; align-items: center; justify-content: center; }
  .demo-phase.is-active .phase-icon-mini { border-color: var(--accent); }
  .demo-phase.is-active .phase-icon-mini::after { content: ''; width: 6px; height: 6px; border: 1.5px solid var(--accent); border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
  .demo-phase.is-done .phase-icon-mini { border-color: var(--green); background: rgba(34,197,94,.15); }
  .demo-phase.is-done .phase-icon-mini::after { content: '✓'; color: var(--green); font-size: 10px; font-weight: 700; }
  .phase-tool-mini { font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); margin-left: auto; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .demo-result { background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.25); border-radius: 12px; padding: 16px; opacity: 0; transform: translateY(8px); transition: all .5s; }
  .demo-result.is-visible { opacity: 1; transform: translateY(0); }
  .demo-result-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
  .demo-score-num { font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -.03em; background: linear-gradient(135deg, #fff 0%, var(--accent-3) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .demo-score-of { font-size: 14px; color: var(--text-faint); }
  .demo-score-label { font-size: 11px; font-weight: 700; color: var(--accent-2); letter-spacing: .08em; text-transform: uppercase; margin-left: auto; }
  .demo-bar { height: 6px; background: rgba(255,255,255,0.05); border-radius: 999px; overflow: hidden; margin-bottom: 11px; }
  .demo-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--amber) 0%, var(--accent) 60%, var(--green) 100%); border-radius: inherit; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
  .demo-statutes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
  .citation-chip { font-family: var(--mono); font-size: 11px; padding: 3px 8px; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.3); color: var(--accent-3); border-radius: 5px; }
  .demo-rationale { color: var(--text-dim); font-size: 12.5px; line-height: 1.55; }

  /* Hero counters under the hero */
  .counters-row { padding: 32px 0 12px; }
  .counters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 768px) { .counters-grid { grid-template-columns: 1fr; } }
  .counter-card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 24px;
    text-align: left;
  }
  .counter-num {
    font-size: 44px; font-weight: 900; letter-spacing: -.03em;
    line-height: 1; color: #fff;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #fff 0%, var(--accent-3) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .counter-num sup { font-size: 22px; font-weight: 800; vertical-align: super; line-height: 0; margin-left: 2px; -webkit-text-fill-color: var(--accent-3); }
  .counter-label { font-size: 13px; color: var(--text-dim); margin-top: 8px; line-height: 1.45; }

  /* Section heading */
  .section { padding: 80px 0; position: relative; }
  .section-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
  .section-h2 {
    font-size: clamp(28px, 4.2vw, 44px); font-weight: 800;
    letter-spacing: -.025em; line-height: 1.1;
    color: #fff; margin-bottom: 12px; max-width: 760px;
  }
  .section-sub { font-size: 16px; color: var(--text-dim); max-width: 720px; line-height: 1.65; margin-bottom: 36px; }
  .section-sub strong { color: var(--text); font-weight: 600; }

  /* SECTION 2 - AI MOAT GRID */
  .moat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  @media (max-width: 920px) { .moat-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .moat-grid { grid-template-columns: 1fr; } }

  .moat-card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px 22px;
    text-decoration: none; color: inherit;
    transition: all .3s cubic-bezier(.2,.8,.2,1);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 168px;
    opacity: 0; transform: translateY(20px);
  }
  .moat-card.is-visible { opacity: 1; transform: translateY(0); }
  .moat-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(99,102,241,0.1) 100%);
    opacity: 0; transition: opacity .3s;
  }
  .moat-card:hover { transform: translateY(-3px); border-color: var(--line-hi); box-shadow: 0 24px 48px -20px rgba(99,102,241,.45); }
  .moat-card:hover::before { opacity: 1; }
  .moat-num {
    font-size: 36px; font-weight: 900; letter-spacing: -.025em;
    line-height: 1; margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-3) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .moat-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
  .moat-desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; flex: 1; }
  .moat-link {
    font-family: var(--mono); font-size: 11.5px; color: var(--accent-2);
    margin-top: 14px; display: flex; align-items: center; gap: 4px;
  }
  .moat-link::after { content: '→'; transition: transform .2s; }
  .moat-card:hover .moat-link::after { transform: translateX(3px); }

  /* SECTION 3 - BEFORE/AFTER SLIDER */
  .ba-shell {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px;
    overflow: hidden;
  }
  @media (max-width: 720px) { .ba-shell { padding: 16px; } }
  .ba-row { display: flex; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
  .ba-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 6px; letter-spacing: .04em; }
  .ba-tag.before { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
  .ba-tag.after { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
  .ba-tag .pip { width: 6px; height: 6px; border-radius: 50%; }
  .ba-tag.before .pip { background: var(--red); }
  .ba-tag.after .pip { background: var(--green); }
  .ba-instruction { font-size: 13px; color: var(--text-faint); margin-left: auto; align-self: center; display: flex; align-items: center; gap: 6px; }

  .ba-stage {
    position: relative;
    width: 100%; height: 540px;
    border-radius: 12px; overflow: hidden;
    background: #1f2440;
    user-select: none;
    touch-action: none;
    border: 1px solid var(--line);
  }
  @media (max-width: 720px) { .ba-stage { height: 600px; } }
  .ba-side {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: #f6f8fa;
    overflow: hidden;
  }
  .ba-side .ba-content { padding: 32px 36px; color: #1a1a2e; font-family: var(--font); }
  @media (max-width: 720px) { .ba-side .ba-content { padding: 22px 24px; font-size: 13px; } }
  .ba-after { clip-path: inset(0 0 0 50%); transition: none; }
  .ba-divider {
    position: absolute; top: 0; bottom: 0; left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--pink) 100%);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 0 20px rgba(99,102,241,0.6);
    transform: translateX(-50%);
    cursor: ew-resize; z-index: 5;
  }
  .ba-handle {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 4px rgba(255,255,255,0.1);
    cursor: ew-resize;
  }
  .ba-label-tab {
    position: absolute; top: 16px;
    padding: 5px 11px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: #fff;
  }
  .ba-label-before { left: 16px; background: rgba(239,68,68,0.85); }
  .ba-label-after { right: 16px; background: rgba(34,197,94,0.85); }

  /* Mock DL page styling - inside the before/after */
  .mock-dl h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; color: #1a1a2e; line-height: 1.2; }
  @media (max-width: 720px) { .mock-dl h3 { font-size: 17px; } }
  .mock-dl .mock-meta { font-size: 12px; color: #6b7280; margin-bottom: 16px; font-family: var(--mono); }
  .mock-dl p { font-size: 14px; line-height: 1.6; color: #374151; margin-bottom: 12px; }
  @media (max-width: 720px) { .mock-dl p { font-size: 12.5px; } }
  .mock-dl .mock-price-old { display: inline-block; padding: 10px 16px; background: #f3f4f6; color: #6b7280; font-weight: 700; border-radius: 8px; text-decoration: line-through; margin: 8px 0; }
  .mock-dl .mock-cta-old { display: inline-block; padding: 11px 16px; background: #d1d5db; color: #374151; border-radius: 8px; font-weight: 600; margin: 8px 0; font-size: 13px; }
  .mock-dl .mock-price-new { display: inline-block; padding: 11px 18px; background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%); color: #fff; font-weight: 800; border-radius: 8px; box-shadow: 0 8px 20px -6px rgba(37,99,235,.5); }
  .mock-dl .mock-tier-tbl { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 12.5px; }
  .mock-dl .mock-tier-tbl th, .mock-dl .mock-tier-tbl td { padding: 8px 10px; border-bottom: 1px solid #e5e7eb; text-align: left; }
  .mock-dl .mock-tier-tbl th { background: #f9fafb; font-weight: 700; color: #1a1a2e; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
  .mock-dl .mock-tier-tbl tr.highlight { background: rgba(37,99,235,0.06); }
  .mock-dl .mock-tier-tbl tr.highlight td { font-weight: 600; }
  .mock-dl .mock-trust { background: #f0f9ff; border-left: 3px solid #2563eb; padding: 10px 12px; border-radius: 6px; font-size: 12px; color: #1e3a8a; margin: 12px 0; }
  .mock-dl .mock-citation { font-family: var(--mono); background: rgba(37,99,235,0.08); color: #1d4ed8; padding: 2px 6px; border-radius: 4px; font-size: 12.5px; }
  .mock-dl .em-dash-stale { font-style: italic; color: #9ca3af; }

  /* SECTION 4 - TOOLS GALLERY */
  .tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 920px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .tool-grid { grid-template-columns: 1fr; } }

  .tool-card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
    transition: all .25s cubic-bezier(.2,.8,.2,1);
    opacity: 0; transform: translateY(20px);
  }
  .tool-card.is-visible { opacity: 1; transform: translateY(0); }
  .tool-card:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: 0 24px 48px -20px rgba(99,102,241,.45); }
  .tool-preview {
    height: 140px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(236,72,153,0.08) 100%);
    border-bottom: 1px solid var(--line);
    padding: 18px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .tool-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
  .tool-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; }
  .tool-h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -.01em; }
  .tool-desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; flex: 1; }
  .tool-link { font-family: var(--mono); font-size: 12px; color: var(--accent-2); margin-top: 14px; display: flex; align-items: center; gap: 4px; }
  .tool-link::after { content: '→'; transition: transform .2s; }
  .tool-card:hover .tool-link::after { transform: translateX(3px); }

  /* Preview animations */
  .preview-score {
    width: 70px; height: 70px; border-radius: 50%;
    background: conic-gradient(var(--accent) 0%, var(--accent) 87%, rgba(255,255,255,0.08) 87%, rgba(255,255,255,0.08) 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    animation: scoreSpin 5s cubic-bezier(.2,.8,.2,1) infinite;
  }
  .preview-score::before {
    content: '';
    position: absolute; inset: 6px; border-radius: 50%; background: var(--bg-2);
  }
  .preview-score-text { position: relative; font-size: 22px; font-weight: 900; color: #fff; z-index: 1; }
  @keyframes scoreSpin {
    0%, 100% { background: conic-gradient(var(--accent) 0%, var(--accent) 87%, rgba(255,255,255,0.08) 87%); }
    50% { background: conic-gradient(var(--green) 0%, var(--green) 92%, rgba(255,255,255,0.08) 92%); }
  }

  .preview-causes { display: flex; flex-direction: column; gap: 5px; width: 100%; max-width: 200px; }
  .preview-cause-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.05); position: relative; overflow: hidden; }
  .preview-cause-line::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--pink));
    border-radius: inherit;
    animation: causeFill 4s ease-in-out infinite;
  }
  .preview-cause-line:nth-child(1)::before { animation-delay: 0s; }
  .preview-cause-line:nth-child(2)::before { animation-delay: 0.3s; }
  .preview-cause-line:nth-child(3)::before { animation-delay: 0.6s; }
  .preview-cause-line:nth-child(4)::before { animation-delay: 0.9s; }
  @keyframes causeFill { 0%, 100% { width: 0; } 60%, 80% { width: 85%; } }

  .preview-shield { width: 70px; height: 80px; position: relative; }
  .preview-shield svg { width: 100%; height: 100%; }
  .preview-shield svg path.fill { fill: var(--accent); animation: shieldFill 3s ease-in-out infinite; transform-origin: center; }
  @keyframes shieldFill {
    0%, 100% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
  }

  .preview-redline { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 220px; font-family: var(--mono); font-size: 9px; }
  .preview-redline div { padding: 3px 8px; border-radius: 3px; }
  .preview-redline .strike { background: rgba(239,68,68,0.15); color: #fca5a5; text-decoration: line-through; }
  .preview-redline .ins { background: rgba(34,197,94,0.15); color: #86efac; opacity: 0; animation: redlineIn 4s ease-in-out infinite; }
  @keyframes redlineIn { 0% { opacity: 0; } 60%, 100% { opacity: 1; } }

  .preview-timeline { display: flex; gap: 6px; align-items: center; }
  .preview-timeline-step {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    transition: all .3s;
  }
  .preview-timeline-step.is-on { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(99,102,241,0.2); }
  .preview-timeline-line { width: 14px; height: 2px; background: rgba(255,255,255,0.08); }
  .preview-timeline-line.is-on { background: var(--accent); }

  .preview-reply {
    background: rgba(99,102,241,0.08);
    border-left: 2px solid var(--accent);
    padding: 8px 11px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    max-width: 220px;
    position: relative;
  }
  .preview-reply::after {
    content: '|'; color: var(--accent);
    animation: cursorBlink 1.1s steps(1) infinite;
  }
  @keyframes cursorBlink { 50% { opacity: 0; } }

  /* SECTION 5 - CHATBOX DEMO */
  .chat-shell {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(99,102,241,.25);
    max-width: 720px;
    margin: 0 auto;
  }
  .chat-header {
    background: var(--bg-3);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
    display: flex; align-items: center; gap: 12px;
  }
  .chat-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 13px;
  }
  .chat-title { font-size: 14px; font-weight: 700; color: #fff; }
  .chat-status { font-size: 11.5px; color: var(--green); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
  .chat-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px rgba(34,197,94,0.25); }
  .chat-engine {
    margin-left: auto;
    font-family: var(--mono); font-size: 10.5px; color: var(--text-faint);
    padding: 3px 8px; background: rgba(255,255,255,0.04); border-radius: 4px;
  }
  .chat-body {
    padding: 24px 20px;
    min-height: 460px; max-height: 540px;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 14px;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
  }
  .chat-body::-webkit-scrollbar { width: 6px; }
  .chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

  .msg { max-width: 88%; opacity: 0; transform: translateY(8px); transition: all .35s; }
  .msg.is-visible { opacity: 1; transform: translateY(0); }
  .msg.user { align-self: flex-end; }
  .msg.ai { align-self: flex-start; }
  .msg-bubble {
    padding: 11px 14px; border-radius: 14px;
    font-size: 13.5px; line-height: 1.5;
  }
  .msg.user .msg-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
  .msg.ai .msg-bubble { background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
  .msg.ai .msg-bubble .cite { font-family: var(--mono); background: rgba(99,102,241,0.15); color: var(--accent-3); padding: 1px 6px; border-radius: 4px; font-size: 12.5px; font-style: normal; }
  .msg.ai .msg-bubble .typing-cursor { display: inline-block; width: 2px; height: 14px; background: var(--accent); vertical-align: text-bottom; margin-left: 2px; animation: cursorBlink 1.1s steps(1) infinite; }

  .tool-call {
    align-self: flex-start;
    font-family: var(--mono); font-size: 11px;
    color: var(--text-faint);
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.18);
    padding: 6px 11px; border-radius: 6px;
    display: inline-flex; align-items: center; gap: 8px;
    opacity: 0; transform: translateY(8px); transition: all .35s;
  }
  .tool-call.is-visible { opacity: 1; transform: translateY(0); }
  .tool-call::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px rgba(99,102,241,0.25); animation: pulse 1.8s infinite; }

  .chat-cta-card {
    align-self: stretch;
    background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(236,72,153,0.12) 100%);
    border: 1px solid rgba(99,102,241,0.4);
    border-radius: 12px;
    padding: 14px 16px;
    opacity: 0; transform: translateY(8px); transition: all .35s;
  }
  .chat-cta-card.is-visible { opacity: 1; transform: translateY(0); }
  .chat-cta-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
  .chat-cta-price { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -.02em; }
  .chat-cta-label { font-size: 13px; color: var(--text); font-weight: 600; }
  .chat-cta-desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; margin-bottom: 10px; }
  .chat-cta-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; color: #0d1220; padding: 9px 14px;
    border-radius: 8px; font-weight: 700; font-size: 13px;
    text-decoration: none; transition: transform .15s;
  }
  .chat-cta-btn:hover { transform: translateY(-1px); }

  .chat-footer {
    border-top: 1px solid var(--line);
    padding: 11px 18px;
    font-size: 11px; color: var(--text-faint);
    font-style: italic;
    text-align: center;
  }
  .chat-footer strong { color: var(--text-dim); font-style: normal; }

  /* SECTION 6 - LEGAL ACCURACY GUARANTEE */
  .guarantee-shell {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 40px;
    text-align: center;
  }
  @media (max-width: 720px) { .guarantee-shell { padding: 28px 20px; } }
  .guarantee-big-num {
    font-size: clamp(72px, 14vw, 144px);
    font-weight: 900; letter-spacing: -.05em; line-height: 1;
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
  }
  .guarantee-big-label { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 36px; }
  .guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
  @media (max-width: 920px) { .guarantee-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .guarantee-grid { grid-template-columns: 1fr; } }
  .guarantee-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    text-align: left;
  }
  .guarantee-card-icon {
    width: 36px; height: 36px; border-radius: 9px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 900; font-size: 14px;
    margin-bottom: 12px; font-family: var(--mono);
  }
  .guarantee-card h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
  .guarantee-card p { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }

  /* SECTION 7 - STATS GRID */
  .stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  @media (max-width: 920px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .stats-row { grid-template-columns: 1fr; } }
  .stat-tile {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 18px;
    text-align: center;
  }
  .stat-num {
    font-size: clamp(28px, 4.5vw, 42px); font-weight: 900;
    letter-spacing: -.025em; line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #fff 0%, var(--accent-3) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .stat-num sup { font-size: 0.55em; font-weight: 800; vertical-align: super; line-height: 0; -webkit-text-fill-color: var(--accent-3); }
  .stat-label { font-size: 11.5px; color: var(--text-dim); margin-top: 10px; line-height: 1.45; letter-spacing: .02em; }

  /* SECTION 8 - FINAL CTA */
  .final-cta {
    background: linear-gradient(180deg, var(--panel-hi) 0%, var(--bg-2) 100%);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 24px;
    padding: 56px 44px;
    text-align: center;
    position: relative; overflow: hidden;
  }
  @media (max-width: 720px) { .final-cta { padding: 36px 22px; } }
  .final-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(99,102,241,.2), transparent 70%);
    pointer-events: none;
  }
  .final-cta h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 900; color: #fff; letter-spacing: -.025em; margin-bottom: 14px; position: relative; line-height: 1.1; }
  .final-cta p { font-size: 16px; color: var(--text-dim); max-width: 640px; margin: 0 auto 28px; line-height: 1.65; position: relative; }
  .final-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
  .final-cta-row .btn-primary { padding: 15px 24px; font-size: 15px; min-height: 50px; }
  .final-cta-row .btn-secondary { padding: 15px 24px; font-size: 15px; min-height: 50px; }
  .final-cta-fineprint { font-size: 12.5px; color: var(--text-faint); margin-top: 22px; position: relative; line-height: 1.6; }
  .final-cta-fineprint a { color: var(--accent-3); text-decoration: none; }

  /* FOOTER */
  .footer {
    border-top: 1px solid var(--line);
    padding: 36px 0 56px;
    text-align: center;
    margin-top: 60px;
  }
  .footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
  .footer-links a { color: var(--text-dim); text-decoration: none; font-size: 13.5px; transition: color .15s; }
  .footer-links a:hover { color: #fff; }
  .footer-disclaimer { color: var(--text-faint); font-size: 12px; max-width: 720px; margin: 0 auto; line-height: 1.65; }
  .footer-disclaimer strong { color: var(--text-dim); font-weight: 600; }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    body::after { animation: none; }
    .moat-card, .tool-card { opacity: 1; transform: none; }
  }

  /* Mobile-ruthless */
  @media (max-width: 768px) {
    .hero { padding: 40px 0 24px; }
    .section { padding: 56px 0; }
    .demo-pane { box-shadow: 0 12px 40px -10px rgba(99,102,241,.3); }
    .demo-body { min-height: 540px; padding: 16px 16px 18px; }
  }

  /* JS-disabled fallbacks: scroll-in cards show by default */
  .no-js .moat-card,
  .no-js .tool-card { opacity: 1; transform: none; }

  /* Utility classes lifted from inline style attrs (v16 cleanup) */
  .moat-unit { font-size: 60%; font-weight: 700; -webkit-text-fill-color: var(--accent-3); }
  .mock-p-spaced { margin-top: 14px; }
  .mock-caption { margin-top: 16px; color: #9ca3af; font-size: 12px; font-style: italic; }
  .mock-caption-after { margin-top: 14px; font-size: 12px; color: #6b7280; }
  .chatbox-footer-note { text-align: center; margin-top: 22px; color: var(--text-faint); font-size: 13px; }
  .chatbox-footer-link { color: var(--accent-3); text-decoration: none; border-bottom: 1px solid rgba(196,181,253,.4); }
  .audit-code { color: var(--accent-3); font-family: var(--mono); font-size: 13px; }
  .section-tight { padding-bottom: 48px; }
