  /* ============================================================
     Design tokens
     ============================================================ */
  :root {
    /* Light theme defaults */
    --bg: #fafaf7;
    --surface: #ffffff;
    --surface-2: #f3f1ec;
    --ink: #1f1f1c;
    --ink-2: #4a4a44;
    --muted: #8a8a82;
    --hairline: #e5e3dc;
    --accent: oklch(67% 0.18 45);
    --accent-soft: oklch(67% 0.18 45 / 0.12);
    --accent-ink: #ffffff;
    --success: oklch(62% 0.15 155);

    /* Type */
    --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --fs-display: clamp(48px, 6vw, 88px);
    --fs-h1: clamp(36px, 4vw, 56px);
    --fs-h2: clamp(28px, 3vw, 40px);
    --fs-h3: 22px;
    --fs-body: 17px;
    --fs-small: 14px;
    --fs-mono: 13px;

    /* Spacing */
    --gap-xs: 8px;
    --gap-s: 16px;
    --gap-m: 24px;
    --gap-l: 48px;
    --gap-xl: 96px;
    --gap-xxl: 144px;

    /* Layout */
    --max-w: 1280px;
    --pad-x: clamp(20px, 4vw, 64px);
    --section-pad: clamp(64px, 8vw, 120px);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

  [data-theme="dark"] {
    --bg: #0c0c0a;
    --surface: #151512;
    --surface-2: #1a1a17;
    --ink: #f5f3ee;
    --ink-2: #b8b6ad;
    --muted: #6e6c64;
    --hairline: #2a2a25;
    --accent-soft: oklch(67% 0.18 45 / 0.18);
  }

  [data-accent="blue"] { --accent: oklch(60% 0.18 250); --accent-soft: oklch(60% 0.18 250 / 0.12); }
  [data-accent="green"] { --accent: oklch(62% 0.15 155); --accent-soft: oklch(62% 0.15 155 / 0.12); }
  [data-accent="orange"] { --accent: oklch(67% 0.18 45); --accent-soft: oklch(67% 0.18 45 / 0.12); }

  /* ============================================================
     Reset & base
     ============================================================ */
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.55;
    color: var(--ink);
    background: #25251f;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background 200ms var(--ease), color 200ms var(--ease);
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
    color: var(--ink);
    text-wrap: balance;
  }
  p { margin: 0; text-wrap: pretty; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }

  /* ============================================================
     Layout primitives
     ============================================================ */
  .container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
  }

  .section {
    padding: var(--section-pad) 0;
    border-bottom: 1px solid var(--hairline);
    position: relative;
  }
  .section:last-of-type { border-bottom: none; }

  .section-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--gap-s);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--gap-m);
    /* display: none; */
  }
  .section-eyebrow .num {
    display: inline-block;
    min-width: 28px;
    color: var(--ink-2);
  }
  .section-eyebrow .line {
    flex: 1;
    height: 1px;
    background: var(--hairline);
    max-width: 80px;
  }

  /* ============================================================
     Buttons
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 180ms var(--ease);
    user-select: none;
    white-space: nowrap;
  }
  .btn:active, 
  .btn.is-active { transform: scale(0.97); transition: transform 120ms var(--ease); }

  .btn-primary {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .btn-accent {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
  }
  .btn-accent:hover,
  .btn-accent.is-hover  { transform: translateY(-1px); box-shadow: 0 6px 24px var(--accent-soft); }

  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--hairline);
  }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-lg { padding: 18px 28px; font-size: 16px; }

  .btn-trial {
    background: oklch(50% 0.16 155);
    color: #ffffff;
    border-color: oklch(50% 0.16 155);
  }
  .btn-trial:hover { transform: translateY(-1px); box-shadow: 0 6px 24px oklch(50% 0.16 155 / 0.35); }
  .btn-trial .btn-trial-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
  .btn-trial .btn-trial-main { font-size: 16px; font-weight: 600; line-height: 1; }
  .btn-trial .btn-trial-sub { font-size: 11px; font-weight: 400; opacity: 0.75; line-height: 1; }

  .s6-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
  .s6-cta-row .btn { align-items: center; }

  @keyframes s6-spin { to { transform: rotate(360deg); } }
  .s6-trial-banner {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    background: oklch(50% 0.16 155 / 0.15);
    border: 1px solid oklch(50% 0.16 155 / 0.4);
    color: oklch(78% 0.13 155);
    font-size: 14px;
    font-weight: 500;
  }
  .s6-trial-banner.is-visible { display: flex; }
  .s6-trial-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: s6-spin 0.7s linear infinite;
    flex-shrink: 0;
  }

  @keyframes s6-tg-pulse {
    0%, 100% { box-shadow: 0 0 0 0 oklch(50% 0.16 155 / 0), 0 12px 48px oklch(0% 0 0 / 0.35); }
    50%       { box-shadow: 0 0 0 4px oklch(50% 0.16 155 / 0.10), 0 12px 48px oklch(0% 0 0 / 0.35); }
  }
  .s6-trial-guide {
    margin-top: 36px;
    padding: 32px 36px;
    border-radius: 16px;
    background: linear-gradient(140deg, oklch(50% 0.16 155 / 0.11) 0%, oklch(50% 0.16 155 / 0.04) 60%, transparent 100%);
    border: 1px solid oklch(50% 0.16 155 / 0.38);
    position: relative;
    overflow: hidden;
    animation: s6-tg-pulse 3.2s ease-in-out infinite;
  }
  .s6-trial-guide::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, oklch(62% 0.18 155) 40%, oklch(70% 0.16 155) 60%, transparent 100%);
  }
  .s6-tg-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: oklch(72% 0.16 155);
    background: oklch(50% 0.16 155 / 0.14);
    border: 1px solid oklch(50% 0.16 155 / 0.35);
    border-radius: 20px;
    padding: 4px 10px;
    margin-bottom: 14px;
  }
  .s6-tg-header { margin-bottom: 28px; }
  .s6-tg-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 9px;
  }
  .s6-tg-sub {
    font-size: 14px;
    font-weight: 500;
    color: oklch(68% 0.14 155);
    margin: 0;
  }
  .s6-tg-body {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .s6-tg-img {
    width: 425px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid oklch(50% 0.16 155 / 0.28);
    box-shadow: 0 4px 32px oklch(0% 0 0 / 0.45), 0 0 0 1px oklch(50% 0.16 155 / 0.08);
    /* transform: perspective(900px) rotateY(-2deg); */
  }
  .s6-tg-steps {
    flex: 1;
    min-width: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tg-step;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
  }
  .s6-tg-steps::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(to bottom, oklch(55% 0.16 155 / 0.6), oklch(50% 0.16 155 / 0.1));
  }
  .s6-tg-steps li {
    counter-increment: tg-step;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    position: relative;
  }
  .s6-tg-steps li::before {
    content: counter(tg-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, oklch(50% 0.18 155) 0%, oklch(43% 0.15 155) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 10px oklch(50% 0.16 155 / 0.45);
    position: relative;
    z-index: 1;
  }
  .s6-tg-steps li:last-child { color: oklch(74% 0.15 155); font-weight: 600; }
  .s6-tg-steps li:last-child::before {
    content: '✓';
    background: linear-gradient(135deg, oklch(56% 0.19 155), oklch(48% 0.16 155));
    box-shadow: 0 2px 14px oklch(52% 0.17 155 / 0.55);
  }

  /* ============================================================
     Top nav
     ============================================================ */
  .topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in oklab, var(--bg) 85%, transparent);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--hairline);
  }
  .topnav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-m);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: inherit;
    text-decoration: none;
  }
  .brand-mark {
    width: 22px; 
    height: 22px;
    border-radius: 2px;
  }
  .nav-meta {
    display: flex; align-items: center; gap: var(--gap-m);
    font-size: var(--fs-small);
    color: var(--muted);
  }
  .nav-meta .pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-2);
  }
  .nav-meta .pill .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--success) 25%, transparent);
  }

  /* ============================================================
     Reveal animation
     ============================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 80ms; }
  .reveal-delay-2 { transition-delay: 160ms; }
  .reveal-delay-3 { transition-delay: 240ms; }
  .reveal-delay-4 { transition-delay: 320ms; }
  .reveal-delay-5 { transition-delay: 400ms; }

  /* ============================================================
     SECTION 1 — Hero
     ============================================================ */
  .hero {
    padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 120px);
    position: relative;
    overflow: hidden;
    --ink: #0e0e0c;
    --ink-2: #2a2a26;
  }
  [data-theme="dark"] .hero {
    --ink: #ffffff;
    --ink-2: #d8d6cd;
  }

  /* All non-hero sections lock to light theme + blue accent (per design spec) */
  .section-light {
    --bg: #fafaf7;
    --surface: #ffffff;
    --surface-2: #f3f1ec;
    --ink: #1f1f1c;
    --ink-2: #4a4a44;
    --muted: #8a8a82;
    --hairline: #e5e3dc;
    --accent: oklch(60% 0.18 250);
    --accent-soft: oklch(60% 0.18 250 / 0.12);
    --accent-ink: #ffffff;
    background: var(--bg);
    color: var(--ink);
  }
  .section-dark {
    --bg: #0e0e0c;
    --surface: #1a1a18;
    --surface-2: #252522;
    --ink: #f0ede6;
    --ink-2: #b8b5ad;
    --muted: #6a6a62;
    --hairline: #2e2e2a;
    --accent: oklch(65% 0.18 250);
    --accent-soft: oklch(65% 0.18 250 / 0.15);
    --accent-ink: #ffffff;
    background: var(--bg);
    color: var(--ink);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
  }
  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
  }

  .hero-headline {
    font-size: var(--fs-display);
    font-weight: 700;
    letter-spacing: -0.035em;
  }
  .hero-headline .accent-word {
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
  }
  .hero-sub {
    margin-top: var(--gap-m);
    font-size: 19px;
    color: var(--ink-2);
    max-width: 52ch;
    line-height: 1.5;
  }

  .hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-l);
    margin-top: var(--gap-l);
    padding-top: var(--gap-m);
    border-top: 1px solid var(--hairline);
  }
  .hero-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .hero-meta .k {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .hero-meta .v {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
  }
  .hero-meta .v .small {
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--muted);
    font-weight: 400;
    margin-left: 4px;
  }

  /* Action card — the "pin to enable" card */
  .pin-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 48px -28px rgba(0,0,0,0.18);
  }
  [data-theme="dark"] .pin-card {
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 24px 48px -28px rgba(0,0,0,0.6);
  }

  .pin-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: var(--gap-m);
  }
  .pin-card-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
  }
  .pin-card-step {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* Browser chrome mock */
  .browser-mock {
    border: 1px solid var(--hairline);
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-2);
  }
  .browser-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface);
  }
  .browser-dots { display: flex; gap: 5px; }
  .browser-dots span {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--hairline);
  }
  .browser-url {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    background: var(--surface-2);
    padding: 4px 10px;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .browser-icons {
    display: flex; align-items: center; gap: 6px;
  }
  .icon-slot {
    width: 22px; height: 22px;
    display: inline-grid; place-items: center;
    border-radius: 4px;
    color: var(--muted);
  }
  .icon-slot svg { display: block; }

  /* The pin step — animated */
  .pin-stage {
    position: relative;
    background: var(--surface);
    padding: 18px 16px 14px;
    min-height: 132px;
  }
  .pin-pieces {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
  }
  .pin-piece {
    flex: 1;
    border: 1px dashed var(--hairline);
    border-radius: 8px;
    padding: 10px;
    display: flex; align-items: center; gap: 10px;
    background: var(--bg);
    position: relative;
  }
  .pin-piece-icon {
    width: 28px; height: 28px;
    display: inline-grid; place-items: center;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
  }
  .pin-piece-text {
    display: flex; flex-direction: column; gap: 2px;
    min-width: 0;
  }
  .pin-piece-text .label {
    font-size: 12px; font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pin-piece-text .desc {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
  }
  .pin-arrow {
    color: var(--muted);
    flex-shrink: 0;
    animation: arrow-pulse 2s var(--ease) infinite;
  }
  @keyframes arrow-pulse {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(4px); opacity: 1; }
  }

  /* Cursor pointing at extensions area */
  .pin-cursor {
    position: absolute;
    top: 18px;
    right: 60px;
    width: 24px; height: 24px;
    pointer-events: none;
    z-index: 5;
    animation: cursor-bob 2.4s var(--ease) infinite;
  }
  @keyframes cursor-bob {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2px, -3px); }
  }

  /* The "FireShot pinned" indicator */
  .pin-target {
    position: absolute;
    top: 7px; right: 38px;
    width: 32px; height: 32px;
    border-radius: 6px;
    border: 2px dashed var(--accent);
    background: var(--accent-soft);
    z-index: 2;
    animation: pin-pulse 2.4s var(--ease) infinite;
  }
  @keyframes pin-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
    50% { box-shadow: 0 0 0 6px transparent; }
  }

  .pin-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: var(--gap-m);
  }
  .pin-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .pin-check .num {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: var(--surface);
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: 11px;
    display: inline-grid; place-items: center;
    flex-shrink: 0;
  }
  .pin-check.done .num {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    font-size: 13px;
  }
  .pin-check.done {
    color: var(--muted);
  }
  .pin-check kbd {
    font-family: unset;
    font-size: 11px;
    padding: 2px 6px;
    background: #636359;
    border: 1px solid var(--hairline);
    border-bottom-width: 2px;
    border-radius: 4px;
    color: var(--ink);
  }

  .hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gap-s);
    margin-top: var(--gap-l);
  }
  .hero-cta-hint {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
  }

  /* ============================================================
     SECTION 2 — Live demo (entry points + interactive demo)
     ============================================================ */
  .s2-header {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--gap-l);
    align-items: end;
    margin-bottom: var(--gap-l);
  }
  @media (max-width: 880px) { .s2-header { grid-template-columns: 1fr; } }
  .s2-title { font-size: var(--fs-h1); letter-spacing: -0.025em; }
  .s2-title em {
    font-style: italic; font-weight: 500; color: var(--accent);
  }
  .s2-lede {
    font-size: 17px; color: var(--ink-2); max-width: 46ch;
  }

  .s2-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-m);
    margin-top: var(--gap-l);
    margin-bottom: var(--gap-l);
  }
  @media (max-width: 880px) { .s2-entry-grid { grid-template-columns: 1fr; } }

  .s2-entry {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 24px;
    display: flex; flex-direction: column;
    gap: var(--gap-m);
    cursor: pointer;
    transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
    position: relative;
  }
  .s2-entry:hover {
    /* border-color: var(--ink-2); */
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -16px rgba(0,0,0,0.18);
  }
  .s2-entry.is-active {
    /* border-color: var(--accent); */
    /* box-shadow: 0 0 0 3px var(--accent-soft); */
  }
  .s2-entry-num {
    position: absolute;
    top: 16px; right: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
  }
  .s2-entry-illus {
    height: 130px;
    background: #eef1f7;
    border-radius: 10px;
    border: 1px solid var(--hairline);
    position: relative;
    overflow: hidden;
    display: grid; place-items: center;
  }
  .s2-entry-label {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .s2-entry-desc {
    font-size: 14px; color: var(--ink-2); line-height: 1.45;
  }
  .s2-entry-meta {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .s2-entry kbd {
    font-family: unset;
    font-size: 11px;
    padding: 3px 7px;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-bottom-width: 2px;
    border-radius: 4px;
    color: var(--ink);
    text-transform: none;
    letter-spacing: 0;
  }

  /* Illustration A: toolbar button */
  .illus-toolbar {
    width: 100%; height: 100%;
    display: flex; align-items: flex-start; justify-content: stretch;
    padding: 14px;
  }
  .illus-toolbar .bar {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: 6px 8px;
    display: flex; align-items: center; gap: 6px;
  }
  .illus-toolbar .url {
    flex: 1; height: 14px;
    background: var(--surface-2);
    border-radius: 3px;
  }
  .illus-toolbar .icon {
    width: 16px; height: 16px;
    background: var(--surface-2);
    border-radius: 3px;
  }
  .illus-toolbar .icon.target {
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    animation: target-pulse 2s var(--ease) infinite;
    position: relative;
  }
  @keyframes target-pulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
    50% { box-shadow: 0 0 0 6px transparent; }
  }
  .illus-toolbar .cursor {
    position: absolute;
    bottom: 18px; right: 36px;
    color: var(--ink);
    animation: cursor-arrive 2.4s var(--ease) infinite;
  }
  @keyframes cursor-arrive {
    0%, 100% { transform: translate(8px, 8px); opacity: 0.55; }
    45%, 65% { transform: translate(0, 0); opacity: 1; }
  }

  /* Illustration B: context menu */
  .illus-context {
    width: 100%; height: 100%;
    position: relative;
    padding: 14px;
  }
  .illus-context .page-bg {
    position: absolute; inset: 14px;
    background:
      linear-gradient(var(--hairline), var(--hairline)) 0 12px / 60% 4px no-repeat,
      linear-gradient(var(--hairline), var(--hairline)) 0 26px / 80% 4px no-repeat,
      linear-gradient(var(--hairline), var(--hairline)) 0 40px / 50% 4px no-repeat,
      var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 6px;
  }
  .illus-context .menu {
    position: absolute;
    top: 36px; left: 50%;
    width: 130px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 8px 20px -10px rgba(0,0,0,0.25);
    font-size: 10px;
    color: var(--ink-2);
  }
  .illus-context .menu .mi {
    padding: 4px 6px; border-radius: 3px;
  }
  .illus-context .menu .mi.hl {
    background: var(--accent);
    color: var(--accent-ink);
    animation: menu-flash 2.4s var(--ease) infinite;
  }
  @keyframes menu-flash {
    0%, 35%, 100% { background: transparent; color: var(--ink-2); }
    50%, 80% { background: var(--accent); color: var(--accent-ink); }
  }

  /* Illustration C: hotkey */
  .illus-hotkey {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
  }
  .illus-hotkey .key {
    min-width: 36px; height: 36px;
    padding: 0 10px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-bottom-width: 3px;
    border-radius: 6px;
    display: inline-grid; place-items: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
  }
  .illus-hotkey .key.chord-12 {
    animation: key-chord-12 3s var(--ease) infinite;
  }
  .illus-hotkey .key.chord-3 {
    animation: key-chord-3 3s var(--ease) infinite;
  }
  /* Keys 1+2: press first, hold until S joins, release together */
  @keyframes key-chord-12 {
    0%, 6%    { transform: translateY(0);   border-bottom-width: 3px; background: var(--surface); }
    9%        { transform: translateY(2px); border-bottom-width: 1px; background: var(--accent-soft); }
    38%       { transform: translateY(2px); border-bottom-width: 1px; background: var(--accent-soft); }
    43%, 100% { transform: translateY(0);   border-bottom-width: 3px; background: var(--surface); }
  }
  /* Key S: presses ~240ms after keys 1+2, releases at the same time */
  @keyframes key-chord-3 {
    0%, 14%   { transform: translateY(0);   border-bottom-width: 3px; background: var(--surface); }
    17%       { transform: translateY(2px); border-bottom-width: 1px; background: var(--accent-soft); }
    38%       { transform: translateY(2px); border-bottom-width: 1px; background: var(--accent-soft); }
    43%, 100% { transform: translateY(0);   border-bottom-width: 3px; background: var(--surface); }
  }
  .illus-hotkey .plus {
    color: var(--muted); font-family: var(--font-mono); font-size: 14px;
  }

  /* Waiting-for-command gate */
  .s2-waiting {
    margin-top: var(--gap-l);
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: clamp(28px, 4vw, 48px);
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
  }
  .s2-waiting::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 0%, var(--accent-soft) 0%, transparent 60%);
    opacity: 0.6;
  }
  .s2-waiting > * { position: relative; z-index: 1; }
  .s2-waiting-pulse {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: grid; place-items: center;
    color: var(--accent);
    position: relative;
  }
  .s2-waiting-pulse::before, .s2-waiting-pulse::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    animation: ring-pulse 2s var(--ease) infinite;
  }
  .s2-waiting-pulse::after { animation-delay: 1s; }
  @keyframes ring-pulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
  }
  .s2-waiting-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .s2-waiting-h {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 600;
    letter-spacing: -0.025em;
  }
  .s2-waiting-h .dots { color: var(--accent); animation: dots 1.4s steps(4, end) infinite; }
  @keyframes dots { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }
  .s2-waiting-p { color: var(--ink-2); font-size: 16px; max-width: 52ch; line-height: 1.55; }
  .s2-waiting-skip {
    background: transparent;
    border: none;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 6px 10px;
    cursor: pointer;
    margin-top: 6px;
    transition: color 180ms var(--ease);
  }
  .s2-waiting-skip:hover { color: var(--ink); }
  .s2-waiting-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .s2-waiting-prog {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 120ms var(--ease);
  }
  .s2-waiting-prog:hover,  .s2-waiting-prog.is-hover { border-color: var(--accent); background: var(--accent-soft); }
  .s2-waiting-prog:active { transform: scale(0.97); }
  .s2-waiting-prog svg { color: var(--accent); }
  .s2-waiting-perm {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.04em;
    margin-top: 6px;
  }

  /* Locked sections below the gate */
  .is-locked {
    position: relative;
    pointer-events: none;
    user-select: none;
  }
  .is-locked > * {
    filter: blur(6px) saturate(0.4);
    opacity: 0.45;
    transition: filter 320ms var(--ease), opacity 320ms var(--ease);
  }
  .is-locked::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg) 80%);
    pointer-events: none;
    z-index: 2;
  }
/* ============================================================
     SECTION 3 — Pro Challenges
     ============================================================ */
  .s3-header {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: var(--gap-l); align-items: end;
    margin-bottom: var(--gap-l);
  }
  @media (max-width: 880px) { .s3-header { grid-template-columns: 1fr; } }
  .s3-title { font-size: var(--fs-h1); letter-spacing: -0.025em; }
  .s3-title em { font-style: italic; font-weight: 500; color: var(--accent); }
  .s3-lede { font-size: 17px; color: var(--ink-2); max-width: 46ch; }

  .s3-progress {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    margin-bottom: var(--gap-m);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-2);
  }
  .s3-progress-track {
    flex: 1;
    height: 4px;
    background: var(--hairline);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
  }
  .s3-progress-fill {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 0%;
    background: var(--accent);
    border-radius: 999px;
    transition: width 600ms var(--ease);
  }
  .s3-progress-count strong { color: var(--ink); font-weight: 600; }

  .s3-list { display: flex; flex-direction: column; gap: var(--gap-m); }

  .s3-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: clamp(20px, 2.4vw, 32px);
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px 24px;
    position: relative;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  }
  .s3-card.is-done {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .s3-card-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: var(--bg);
    display: grid; place-items: center;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--ink-2);
    transition: all 240ms var(--ease);
  }
  .s3-card.is-done .s3-card-num {
    background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  }
  .s3-card-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .s3-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .s3-card-desc { font-size: 15px; color: var(--ink-2); line-height: 1.5; max-width: 60ch; }

  .s3-card-tools {
    display: flex; flex-direction: column; gap: 12px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--hairline);
    border-radius: 10px;
  }
  .s3-card-tools label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .s3-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink);
    resize: vertical;
    line-height: 1.6;
  }
  .s3-textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

  .s3-radio-group {
    display: flex;
    gap: 4px;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 4px;
  }
  .s3-radio {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: 9px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: background 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
    user-select: none;
  }
  .s3-radio-top {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .s3-radio-top svg { flex-shrink: 0; transition: inherit; }
  .s3-radio:hover { color: var(--ink-2); }
  .s3-radio.is-selected {
    /* background: var(--accent);
    color: #ffffff;
    box-shadow: 0 2px 12px color-mix(in oklab, var(--accent) 38%, transparent); */
    background: var(--ink);
    color: var(--surface);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
  }
  .s3-radio .sub {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    color: inherit;
    opacity: 0.7;
    text-align: center;
  }

  .s3-status {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-2);
  }
  .s3-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .s3-status.is-empty .dot { background: var(--muted); }

  .s3-card-action {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
  }
  .s3-hint {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
  }
  .s3-hint svg { flex-shrink: 0; margin-top: 2px; color: var(--ink-2); }
  .s3-hint kbd {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 1px 6px;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-bottom-width: 2px;
    border-radius: 3px;
    color: var(--ink);
  }

  /* Challenge 3 — scrolling target area */
  .s3-target {
    height: 220px;
    overflow-y: auto;
    background: var(--surface);
    border: 2px dashed var(--hairline);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 200ms var(--ease), background 200ms var(--ease);
  }
  .s3-target.is-highlight {
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .s3-target-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
  }
  .s3-target-content { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
  .s3-target-content h4 { font-size: 14px; margin: 8px 0 2px; color: var(--ink); }

  /* Discount card — appears when all 3 done */
  .s3-discount {
    margin-top: var(--gap-l);
    padding: clamp(24px, 3vw, 36px);
    background: linear-gradient(180deg, var(--accent-soft), var(--surface));
    border: 1px solid var(--accent);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
  }
  @media (max-width: 720px) { .s3-discount { grid-template-columns: 1fr; } }
  .s3-discount-h {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  .s3-discount-p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
  .s3-discount-timer {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    margin-top: 8px;
    letter-spacing: 0.04em;
  }
  .s3-locked-discount { opacity: 0.5; pointer-events: none; }

  /* ============================================================
     SECTION 4 — You used Pro features
     ============================================================ */
  .s4-headline-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--gap-l);
    align-items: end;
    margin-bottom: var(--gap-l);
  }
  @media (max-width: 880px) { .s4-headline-wrap { grid-template-columns: 1fr; } }
  .s4-title { font-size: var(--fs-h1); letter-spacing: -0.025em; }
  .s4-title em { font-style: italic; font-weight: 500; color: var(--accent); }
  .s4-lede { font-size: 17px; color: var(--ink-2); max-width: 46ch; }

  .s4-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-m);
  }
  @media (max-width: 880px) { .s4-grid { grid-template-columns: 1fr; } }

  .s4-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease),
                opacity 400ms var(--ease), filter 400ms var(--ease);
  }
  .s4-card.is-done {
    /* border-color: var(--accent); */
    /* box-shadow: 0 0 0 3px var(--accent-soft); */
  }
  .s4-card.is-pending {
    opacity: 0.38;
    filter: saturate(0.25);
  }
  .s4-card-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: grid; place-items: center;
    color: var(--accent);
    flex-shrink: 0;
  }
  .s4-card.is-pending .s4-card-icon {
    background: var(--surface-2);
    color: var(--muted);
  }
  .s4-card-feature {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .s4-card.is-pending .s4-card-feature { color: var(--muted); }
  .s4-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    line-height: 1.2;
  }
  .s4-card-desc {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.5;
    flex: 1;
  }
  .s4-card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
    color: var(--muted);
  }
  .s4-card.is-done .s4-card-status { color: var(--accent); }
  .s4-card-status .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
  }

  .s4-empty {
    padding: 52px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--hairline);
    border-radius: 14px;
    color: var(--muted);
    font-size: 15px;
    display: none;
    margin-bottom: 20px;
  }
  .s4-empty.is-visible { display: block; }

  .s4-discount-strip {
    margin-top: var(--gap-l);
    padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.8vw, 36px);
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-m);
    flex-wrap: wrap;
  }
  .s4-discount-strip.is-visible { display: flex; }
  .s4-discount-label {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .s4-discount-sub {
    font-size: 14px;
    color: var(--ink-2);
    margin-top: 4px;
  }

  /* ============================================================
     SECTION 5 — Customize FireShot
     ============================================================ */
  .s5-header {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--gap-l);
    align-items: end;
    margin-bottom: var(--gap-l);
  }
  @media (max-width: 880px) { .s5-header { grid-template-columns: 1fr; } }
  .s5-title { font-size: var(--fs-h1); letter-spacing: -0.025em; }
  .s5-title em { font-style: italic; font-weight: 500; color: var(--accent); }
  .s5-lede { font-size: 17px; color: var(--ink-2); max-width: 46ch; }

  /* Single settings panel */
  .s5-panel {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    overflow: hidden;
  }
  /* Top row: 3 columns separated by vertical hairlines */
  .s5-panel-top {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: start;
  }
  @media (max-width: 860px) { .s5-panel-top { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .s5-panel-top { grid-template-columns: 1fr; } }

  .s5-panel-top > .s5-group {
    border-right: 1px solid var(--hairline);
    border-bottom: none;
  }
  .s5-panel-top > .s5-group:last-child { border-right: none; }
  @media (max-width: 560px) {
    .s5-panel-top > .s5-group { border-right: none; border-bottom: 1px solid var(--hairline); }
    .s5-panel-top > .s5-group:last-child { border-bottom: none; }
  }

  .s5-panel-divider { border-bottom: 1px solid var(--hairline); }

  /* Group: just padding, no own card styling */
  .s5-group {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .s5-panel-bottom { border-top: 1px solid var(--hairline); }

  .s5-group-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .s5-group-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: -4px;
    color: var(--ink);
  }

  /* Segmented control — PNG / JPEG */
  .s5-seg {
    display: inline-flex;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
  }
  .s5-seg-opt {
    flex: 1;
    padding: 9px 20px;
    border-radius: 6px;
    border: none;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: background 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
  }
  .s5-seg-opt:hover:not(.is-active) { color: var(--ink); }
  .s5-seg-opt.is-active {
    background: var(--ink);
    color: var(--surface);
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  }

  /* Radio list — save location */
  .s5-radio-list { display: flex; flex-direction: column; gap: 2px; }
  .s5-radio-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 150ms var(--ease);
  }
  .s5-radio-item:hover:not(.is-disabled) { background: var(--surface-2); }
  .s5-radio-item.is-disabled { opacity: 0.48; cursor: default; }
  .s5-radio-item input[type="radio"] { display: none; }
  .s5-radio-dot {
    width: 16px; height: 16px;
    margin-top: 2px;
    border-radius: 50%;
    border: 1.5px solid var(--hairline);
    flex-shrink: 0;
    display: grid; place-items: center;
    transition: border-color 160ms var(--ease);
  }
  .s5-radio-item input:checked ~ .s5-radio-dot { border-color: var(--accent); }
  .s5-radio-item input:checked ~ .s5-radio-dot::after {
    content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  }
  .s5-radio-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
  .s5-radio-name { font-size: 14px; font-weight: 500; color: var(--ink); }
  .s5-radio-note { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
  .s5-badge {
    display: inline-flex; align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 500;
    color: var(--ink-2);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* Editable folder name */
  .s5-foldername-wrap {
    display: inline-flex; align-items: center; gap: 4px;
  }
  .s5-foldername {
    font-weight: 500;
    border-bottom: 1px dashed var(--muted);
    cursor: text;
    outline: none;
    min-width: 2ch;
    color: var(--ink);
    transition: border-color 150ms;
  }
  .s5-foldername:focus { border-bottom-color: var(--accent); }
  .s5-location-error { font-size: 12px; color: oklch(52% 0.2 25); margin-top: 6px; }

  /* Compact toggle rows (saving process) */
  .s5-sw-list { display: flex; flex-direction: column; }
  .s5-sw-item {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--hairline);
    cursor: pointer;
  }
  .s5-sw-item:last-child { border-bottom: none; padding-bottom: 0; }
  .s5-sw-item:first-child { padding-top: 0; }
  .s5-sw-label {
    font-size: 13px; color: var(--ink); line-height: 1.35;
    flex: 1;
  }
  .s5-sw-wrap { position: relative; flex-shrink: 0; }
  .s5-sw-wrap input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
  .s5-sw-track {
    display: block;
    width: 32px; height: 18px;
    border-radius: 999px;
    background: var(--hairline);
    cursor: pointer;
    transition: background 180ms var(--ease);
    position: relative;
  }
  .s5-sw-wrap input:checked + .s5-sw-track { background: var(--accent); }
  .s5-sw-track::after {
    content: '';
    position: absolute; top: 2px; left: 2px;
    width: 14px; height: 14px;
    border-radius: 50%; background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    transition: transform 180ms var(--ease);
  }
  .s5-sw-wrap input:checked + .s5-sw-track::after { transform: translateX(14px); }

  /* Automatic action grid */
  .s5-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
  }
  .s5-action-item {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--hairline);
    border-radius: 7px;
    font-size: 13px; color: var(--ink-2);
    cursor: default;
    transition: border-color 160ms var(--ease), background 160ms var(--ease);
  }
  .s5-action-item.is-active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--ink);
  }
  .s5-action-item.is-disabled { opacity: 0.6; cursor: not-allowed; }
  .s5-action-item.is-disabled .s5-badge { background: transparent; border-color: var(--accent); color: var(--accent); }
  .s5-action-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--hairline);
    flex-shrink: 0;
    display: grid; place-items: center;
  }
  .s5-action-item.is-active .s5-action-dot { border-color: var(--accent); }
  .s5-action-item.is-active .s5-action-dot::after {
    content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  }
  .s5-action-name { flex: 1; }
  .s5-action-item .s5-badge { margin-left: auto; }

  /* Toast */
  .s5-toast {
    position: fixed;
    bottom: 28px; right: 28px;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.35);
    z-index: 200;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }
  .s5-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* ============================================================
     Section 06 — Keep Pro
     ============================================================ */
  .s6-header {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--gap-l);
    align-items: end;
    margin-bottom: var(--gap-l);
  }
  @media (max-width: 880px) { .s6-header { grid-template-columns: 1fr; } }
  .s6-title { font-size: var(--fs-h1); letter-spacing: -0.025em; }
  .s6-title em { font-style: italic; font-weight: 500; color: var(--accent); }
  .s6-lede { font-size: 17px; color: var(--ink-2); max-width: 46ch; }

  .s6-list {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: var(--gap-l);
  }
  .s6-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline);
  }
  .s6-item:last-child { border-bottom: none; }
  .s6-item-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .s6-item-text { display: flex; flex-direction: column; gap: 2px; }
  .s6-item-name { font-size: 15px; font-weight: 500; color: var(--ink); }
  .s6-item-desc { font-size: 13px; color: var(--muted); }

  .s6-more-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface-2);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  /* ============================================================
     Section 07 — Pricing
     ============================================================ */
  .s7-header {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--gap-l);
    align-items: end;
    margin-bottom: var(--gap-l);
  }
  @media (max-width: 880px) { .s7-header { grid-template-columns: 1fr; } }
  .s7-title { font-size: var(--fs-h1); letter-spacing: -0.025em; }
  .s7-title em { font-style: italic; font-weight: 500; color: var(--accent); }
  .s7-lede { font-size: 17px; color: var(--ink-2); max-width: 46ch; }

  .s7-card {
    display: grid;
    grid-template-columns: 1fr auto;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    overflow: hidden;
  }
  @media (max-width: 680px) { .s7-card { grid-template-columns: 1fr; } }

  .s7-features-col {
    padding: 28px 32px;
    border-right: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  @media (max-width: 680px) {
    .s7-features-col { border-right: none; border-bottom: 1px solid var(--hairline); }
  }
  .s7-feat-list { display: flex; flex-direction: column; gap: 16px; }
  .s7-feat { display: flex; align-items: flex-start; gap: 11px; }
  .s7-feat-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid; place-items: center;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .s7-feat-text { font-size: 20px; color: var(--ink); line-height: 1.4; }
  .s7-feat-note { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }

  .s7-price-col {
    padding: 28px 32px;
    display: flex; flex-direction: column;
    min-width: 230px;
  }
  .s7-price-orig {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
    margin-bottom: 4px;
    opacity: 0;
    transition: opacity 200ms var(--ease);
    height: 18px;
  }
  .s7-price-orig.is-visible { opacity: 1; }
  .s7-price-display {
    display: flex; align-items: baseline; gap: 3px;
    line-height: 1; margin-bottom: 10px;
  }
  .s7-currency {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700;
    color: var(--ink); align-self: flex-start; padding-top: 6px;
  }
  .s7-amount {
    font-family: var(--font-display);
    font-size: 56px; font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink); line-height: 1;
    transition: color 200ms var(--ease);
  }
  .s7-amount.is-discounted { color: var(--accent); }
  .s7-period {
    font-size: 14px; color: var(--muted);
    align-self: flex-end; margin-bottom: 6px;
  }
  
  .s6-discount-hint {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    margin-top: 10px;
    opacity: 0;
    transition: opacity 200ms var(--ease);
  }
  .s6-discount-hint.is-visible { opacity: 1; }

  .s7-urgency {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    opacity: 0;
    transition: opacity 300ms var(--ease);
    margin-bottom: 16px;
  }
  .s7-urgency.is-visible { opacity: 1; }
  .s7-urgency.is-critical { color: oklch(65% 0.18 40); }

  .s7-cta-stack {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: auto; padding-top: 20px;
  }
  .s7-link {
    font-size: 13px; color: var(--muted);
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 160ms var(--ease);
  }
  .s7-link:hover { color: var(--ink); }

  @keyframes s7-flash {
    0%   { opacity: 1; }
    45%  { opacity: 0.08; }
    55%  { opacity: 0.08; }
    100% { opacity: 1; }
  }
  .s7-amount.is-counting { animation: s7-flash 250ms linear forwards; }

  /* ── Section 8 — FAQ accordion ─────────────────────────── */
  .s8-header {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--gap-l);
    align-items: end;
    margin-bottom: var(--gap-l);
  }
  @media (max-width: 880px) { .s8-header { grid-template-columns: 1fr; } }

  .s8-title { font-size: var(--fs-h1); letter-spacing: -0.025em; }
  .s8-title em { font-style: italic; font-weight: 500; color: var(--accent); }
  .s8-lede { font-size: 17px; color: var(--ink-2); max-width: 46ch; }

  .s8-accordion { display: flex; flex-direction: column; max-width: 900px; margin: 0 auto; }

  .s8-item {
    border-top: 1px solid var(--hairline);
    background: #fff;
    padding: 0 20px;
  }
  .s8-item:last-child { border-bottom: 1px solid var(--hairline); }

  .s8-trigger {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    transition: color 180ms;
    box-sizing: border-box;
  }
  .s8-trigger:hover { color: var(--accent); }

  .s8-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--muted);
    transition: transform 300ms cubic-bezier(0.22,1,0.36,1), color 180ms;
  }
  .s8-item.is-open .s8-chevron {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .s8-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 320ms cubic-bezier(0.22,1,0.36,1);
  }
  .s8-item.is-open .s8-body { grid-template-rows: 1fr; }

  .s8-body-inner {
    overflow: hidden;
  }

  .s8-content {
    padding-bottom: 22px;
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.6;
  }
  .s8-content p { margin: 0 0 10px; }
  .s8-content p:last-child { margin-bottom: 0; }
  .s8-content ul {
    margin: 8px 0 10px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .s8-content li { list-style: disc; }
  .s8-content strong { font-weight: 600; color: var(--ink); }
  .s8-content a { color: var(--accent); text-decoration: none; }
  .s8-content a:hover { text-decoration: underline; }
  .s8-windows-block, .s8-work-after-trial { display: none; }

  /* Section 3 — permission note before challenge list */
  .s3-perm-note {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--gap-m);
  }
  .s3-perm-note svg { flex-shrink: 0; }

  /* Section 3 — privacy callout inside batch card */
  .s3-privacy-note {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    padding: 10px 12px;
    background: var(--surface-2);
    border-radius: 6px;
  }
  .s3-privacy-note svg { flex-shrink: 0; margin-top: 2px; }

  /* ── Section 2 capture preview (s2c) ── */
  .s2c-main-div {
    display: none;
    width: 100%;
    /* background: #1e293b; */
    background: #30302f;
    padding: 2rem 1.5rem;
    grid-template-rows: auto 1fr auto;
    gap: 1.5rem;
    min-height: 260px;
    opacity: 0;
    position: relative;
    transition: background 1s ease, min-height 1s ease, opacity 0.7s ease,
                width 0.8s ease, margin-left 0.8s ease;
    overflow: hidden;
    margin-top: var(--gap-m);
    border-radius: 14px;
    /* dark-surface token overrides so children can use var(--ink) etc. */
    --ink:         #f0ede6;
    --ink-2:       #b8b5ad;
    --muted:       #6a6a62;
    --accent:      oklch(65% 0.18 250);
    --accent-soft: oklch(65% 0.18 250 / 0.15);
    color: var(--ink);
  }
  .s2c-main-div.s2c-loaded { opacity: 1; }
  .s2c-main-div.s2c-expanded {
    background: none;
    width: 90vw;
    margin-left: calc(50% - 45vw);
    margin-top: 0;
    min-height: 100vh;
    border-radius: 0;
    padding: 0;
  }
  body.s2c-locked { overflow: hidden; }

  .s2c-row1,
  .s2c-row3 { transition: opacity 0.5s ease; }
  .s2c-row1.s2c-hidden,
  .s2c-row3.s2c-hidden {
    opacity: 0 !important;
    pointer-events: none;
    height: 0px;
    padding: 0;
    margin: 0;
  }

  .s2c-row1 {
    text-align: center;
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
  }

  .s2c-row2-slot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
  }
  .s2c-row2-ghost {
    width: 30%;
    max-width: 500px;
    aspect-ratio: 3 / 4;
    visibility: hidden;
    pointer-events: none;
    flex-shrink: 0;
  }

  .s2c-spinner {
    width: 56px;
    height: 56px;
    border: 3px solid rgba(148, 163, 184, 0.2);
    border-top-color: #7dd3fc;
    border-radius: 50%;
    animation: s2c-spin 0.9s linear infinite;
    transition: opacity 0.5s ease;
    position: absolute;
  }
  .s2c-spinner.s2c-hidden { opacity: 0; pointer-events: none; }
  @keyframes s2c-spin { to { transform: rotate(360deg); } }

  .s2c-preview-box {
    width: 30%;
    max-width: 500px;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    border: 1px solid #999;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    transition:
      opacity 0.5s ease,
      width 0.6s cubic-bezier(.54, 1, .64, 1),
      height 0.6s cubic-bezier(.54, 1, .64, 1),
      box-shadow 0.2s ease,
      transform 0.35s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .s2c-preview-box.s2c-visible { opacity: 1; }
  .s2c-preview-box.s2c-clickable { cursor: pointer; }
  .s2c-preview-box.s2c-clickable:hover {
    /* box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.35); */
    box-shadow: 0 0 0 3px rgb(20 158 225 / 77%);
    transform: translate(-50%, -50%) scale(1.03);
    filter: saturate(1.5);
  }
  .s2c-preview-box.s2c-clickable:active {
    transform: translate(-50%, -50%) scale(0.97);
    box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.2);
  }
  .s2c-preview-box.s2c-big {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 90%;
    max-width: none;
    aspect-ratio: unset;
    border-radius: 8px;
  }
  .s2c-preview-box.s2c-flip-hide { transform: translate(-50%, -50%) rotateY(90deg); }
  .s2c-preview-box.s2c-flip-show { transform: translate(-50%, -50%) rotateY(0deg); }

  .s2c-preview-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    display: none;
  }
  .s2c-preview-box.s2c-clickable .s2c-preview-overlay { display: block; }

  .s2c-preview-inner { width: 100%; height: 100%; position: relative; flex: 1; }
  .s2c-preview-inner iframe {
    width: 100%; height: 100%;
    border: none; display: block;
    pointer-events: none;
  }
  .s2c-preview-box.s2c-interactive .s2c-preview-inner iframe { pointer-events: auto; }

  @media (width < 1400px) { .s2c-scaled { zoom: 0.5; } }

  .s2c-row3 {
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }
  .s2c-row3.s2c-visible { opacity: 1; }
  .s2c-row3-text {
    font-family: var(--font-body);
    font-size: var(--fs-small);
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 360px;
  }

  .s2c-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #ffffff;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    padding: 14px 26px;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
      0 4px 16px color-mix(in oklab, var(--accent) 40%, transparent),
      0 1px 0 rgba(255,255,255,0.12) inset;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
  }
  .s2c-open-btn:hover {
    transform: translateY(-2px);
    box-shadow:
      0 8px 28px color-mix(in oklab, var(--accent) 55%, transparent),
      0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent),
      0 1px 0 rgba(255,255,255,0.12) inset;
  }
  .s2c-open-btn:active {
    transform: scale(0.97);
    transition-duration: 80ms;
    box-shadow: 0 2px 8px color-mix(in oklab, var(--accent) 30%, transparent);
  }
  .s2c-open-btn svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }

/* ============================================================
   Bottom promo banner
   ============================================================ */
  #bottom-promo-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 268px;
    background: oklch(13% 0.012 270);
    color: oklch(94% 0.004 270);
    border: 1px solid oklch(30% 0.015 270);
    border-radius: 16px;
    padding: 20px 20px 18px;
    box-shadow: 0 24px 64px oklch(0% 0 0 / 0.5), 0 0 0 1px oklch(100% 0 0 / 0.05) inset;
    z-index: 300;
    transform: translateX(calc(100% + 48px));
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  #bottom-promo-banner.is-visible { transform: translateX(0); }

  #bottom-promo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: oklch(52% 0 0);
    border-radius: 8px;
    line-height: 0;
    transition: color 150ms, background 150ms;
  }
  #bottom-promo-close:hover { color: oklch(88% 0 0); background: oklch(100% 0 0 / 0.09); }

  .bpb-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1px;
  }
  .bpb-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: oklch(97% 0 0);
  }
  .bpb-sub {
    font-size: 12px;
    color: oklch(58% 0.005 270);
    margin-bottom: 6px;
  }
  .bpb-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 10px;
  }
  .bpb-price {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: oklch(97% 0 0);
    line-height: 1;
  }
  .bpb-period {
    font-size: 13px;
    color: oklch(58% 0.005 270);
  }
  #bottom-promo-banner .btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 10px 16px;
    margin-top: 2px;
  }
