  :root {
    --bg:         #0f0e14;
    --bg-header:  #1a1625;
    --bg-sidebar: #0d0c12;
    --bg-card:    #16131f;
    --bg-input:   #1e1a2e;
    --bg-modal:   #1a1625;
    --bg-raised:  #1c1828;
    --border:     #2a2535;
    --border-mid: #3a2a55;
    --border-hi:  #5a4a7a;
    --accent:     #7C5CBF;
    --accent-hi:  #9370d8;
    --accent-dim: #3a2a5a;
    --accent-text:#f5f5f5;
    --text-hi:    #f0ece0;
    --text-main:  #e8e4d9;
    --text-card:  #d4cfe8;
    --text-note:  #b0a8c4;
    --text-mid:   #a096b8;
    --text-lo:    #7a7090;
    --text-dim:   #6a5a80;
    --text-faint: #4a3a60;
    --gold:       #c9a86a;
    --gold-dim:   #6b5a3a;

    --serif: 'Fraunces', Georgia, serif;
    --body: Georgia, 'Iowan Old Style', serif;
    --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

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

  /* Ambient texture: extremely subtle, like ink on dark paper */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 92, 191, 0.10), transparent),
      radial-gradient(ellipse 60% 40% at 90% 60%, rgba(124, 92, 191, 0.05), transparent);
    pointer-events: none;
    z-index: 0;
  }

  a { color: var(--accent-hi); text-decoration: none; }
  img { max-width: 100%; display: block; }

  ::selection { background: var(--accent); color: var(--accent-text); }

  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

  /* ── Nav ── */
  header.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(15, 14, 20, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--serif); font-size: 18px; font-weight: 500;
    color: var(--text-hi); letter-spacing: 0.01em;
  }
  .nav-brand .mark {
    width: 26px; height: 26px; border-radius: 6px;
    background: linear-gradient(155deg, var(--accent), #4a3a7a);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 14px; color: var(--accent-text);
    box-shadow: 0 0 0 1px var(--border-hi), 0 4px 14px rgba(124,92,191,0.25);
  }
  .nav-links {
    display: flex; align-items: center; gap: 30px;
    font-family: var(--ui); font-size: 14px; color: var(--text-mid);
  }
  .nav-links a { color: var(--text-mid); transition: color 0.15s; }
  .nav-links a:hover { color: var(--text-hi); }
  .nav-cta {
    background: var(--accent); color: var(--accent-text);
    padding: 9px 18px; border-radius: 7px; font-family: var(--ui);
    font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
    transition: background 0.15s, transform 0.15s;
  }
  .nav-cta:hover { background: var(--accent-hi); transform: translateY(-1px); }
  .nav-mobile-toggle { display: none; }

  /* ── Hero ── */
  .hero {
    padding: 96px 0 80px;
    position: relative;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--ui); font-size: 12.5px; letter-spacing: 0.10em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 22px;
  }
  .eyebrow::before {
    content: '◆'; font-size: 9px; color: var(--accent-hi);
  }
  .hero h1 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(38px, 4.6vw, 58px);
    line-height: 1.08;
    color: var(--text-hi);
    letter-spacing: -0.01em;
    margin-bottom: 26px;
  }
  .hero h1 em { font-style: italic; color: var(--accent-hi); font-weight: 400; }

  /* The signature element: a real linked-text span, identical to the app's
     own styling, sitting live in the headline. */
  .demo-link {
    border-bottom: 1.5px dashed var(--accent-hi);
    color: var(--accent-hi);
    cursor: pointer;
    position: relative;
    transition: color 0.15s;
  }
  .demo-link:hover { color: var(--text-hi); }
  .demo-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--bg-raised);
    border: 1px solid var(--border-hi);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--ui); font-size: 12.5px; line-height: 1.5;
    color: var(--text-card);
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 0.18s, transform 0.18s;
    z-index: 5;
  }
  .demo-tooltip strong { color: var(--accent-hi); font-weight: 600; }
  .demo-link:hover .demo-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
  .demo-tooltip::after {
    content: ''; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: var(--border-hi);
  }

  .hero p.lede {
    font-family: var(--body); font-size: 18px; line-height: 1.7;
    color: var(--text-note);
    max-width: 50ch;
    margin-bottom: 22px;
  }
  .hero-fact-list {
    display: flex; flex-direction: column; gap: 9px;
    margin-bottom: 32px;
  }
  .hero-fact-item {
    display: flex; align-items: baseline; gap: 10px;
    font-family: var(--body); font-size: 15px; color: var(--text-card);
  }
  .hero-fact-item::before { content: '–'; color: var(--accent-hi); flex-shrink: 0; }
  .hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--accent); color: var(--accent-text);
    font-family: var(--ui); font-size: 15px; font-weight: 600;
    padding: 14px 26px; border-radius: 8px;
    box-shadow: 0 8px 24px rgba(124,92,191,0.30);
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { background: var(--accent-hi); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(124,92,191,0.4); }
  .btn-secondary {
    background: transparent; color: var(--text-hi);
    border: 1px solid var(--border-hi);
    font-family: var(--ui); font-size: 15px; font-weight: 500;
    padding: 13px 24px; border-radius: 8px;
    transition: all 0.15s;
  }
  .btn-secondary:hover { border-color: var(--accent); color: var(--accent-hi); background: var(--accent-dim); }
  .hero-meta {
    margin-top: 18px;
    font-family: var(--ui); font-size: 13px; color: var(--text-dim);
  }

  /* ── Hero visual: faithful inline recreation of a character sheet ── */
  .hero-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,92,191,0.06);
    transform: rotate(0.6deg);
  }
  .hv-titlebar {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    display: flex; align-items: center; gap: 7px;
  }
  .hv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-hi); opacity: 0.5; }
  .hv-body { padding: 22px 24px 26px; }
  .hv-entry-title {
    font-family: var(--body); font-size: 20px; color: var(--text-hi);
    margin-bottom: 4px;
  }
  .hv-entry-sub { font-family: var(--ui); font-size: 11.5px; color: var(--text-dim); margin-bottom: 16px; }

  .hv-archive-bar {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    margin-bottom: 18px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }
  .hv-archive-pill {
    display: flex; align-items: center; gap: 5px;
    background: var(--bg-input); border: 1px solid var(--border-hi);
    border-radius: 14px; padding: 4px 10px 4px 8px;
    font-family: var(--ui); font-size: 11px; color: var(--text-lo);
  }
  .hv-archive-pill.lit { color: var(--accent-hi); border-color: var(--accent-dim); background: var(--accent-dim); }

  .hv-card {
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: 8px; padding: 14px 16px; margin-bottom: 10px;
  }
  .hv-card-title {
    font-family: var(--ui); font-size: 12.5px; font-weight: 600;
    color: var(--text-card); margin-bottom: 8px;
    display: flex; align-items: center; gap: 7px;
  }
  .hv-card-title::before { content: '◆'; color: var(--accent-hi); font-size: 8px; }
  .hv-card-body {
    font-family: var(--body); font-size: 13.5px; line-height: 1.65;
    color: var(--text-note);
  }
  .hv-link {
    border-bottom: 1px dashed var(--accent-hi);
    color: var(--accent-hi);
  }
  .hv-backlinks {
    margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
    display: flex; align-items: center; gap: 8px;
    font-family: var(--ui); font-size: 11.5px; color: var(--text-lo);
  }
  .hv-backlinks .arrow { color: var(--text-dim); font-size: 9px; }
  .hv-backlinks .count {
    margin-left: auto; color: var(--text-dim);
  }

  /* ── Section scaffolding ── */
  section { padding: 92px 0; position: relative; }
  .section-head { max-width: 640px; margin-bottom: 56px; }
  .section-eyebrow {
    font-family: var(--ui); font-size: 12px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-hi);
    margin-bottom: 14px;
  }
  .section-head h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(28px, 3.2vw, 38px);
    color: var(--text-hi); line-height: 1.18;
    margin-bottom: 14px;
  }
  .section-head p {
    font-family: var(--body); font-size: 16px; color: var(--text-note); line-height: 1.7;
  }

  /* ── Interaction carousel ── */
  .carousel-wrap { max-width: 760px; margin: 0 auto; }
  .carousel-frame {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    position: relative; min-height: 360px;
  }
  .carousel-slide {
    display: none; padding: 36px 40px 32px;
  }
  .carousel-slide.active { display: block; }
  .carousel-caption {
    text-align: center; margin-bottom: 26px;
  }
  .carousel-caption .step-label {
    font-family: var(--ui); font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
  }
  .carousel-caption h3 {
    font-family: var(--serif); font-weight: 500; font-size: 19px;
    color: var(--text-hi);
  }
  .carousel-stage {
    background: var(--bg); border: 1px solid var(--border-mid);
    border-radius: 10px; padding: 18px; position: relative;
    height: 420px; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .carousel-shot {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
    display: block; cursor: zoom-in;
    transition: transform 0.15s;
  }
  .carousel-shot:hover { transform: scale(1.015); }
  .carousel-shot-hint {
    position: absolute; bottom: 10px; right: 14px;
    font-family: var(--ui); font-size: 11px; color: var(--text-faint);
    pointer-events: none; opacity: 0; transition: opacity 0.15s;
  }
  .carousel-stage:hover .carousel-shot-hint { opacity: 1; }

  .carousel-nav {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-top: 22px;
  }
  .carousel-arrow {
    background: var(--bg-input); border: 1px solid var(--border-hi);
    border-radius: 50%; width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid); cursor: pointer; transition: all 0.15s;
    font-size: 14px;
  }
  .carousel-arrow:hover { border-color: var(--accent); color: var(--accent-hi); }
  .carousel-dots { display: flex; gap: 8px; }
  .carousel-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--border-hi);
    cursor: pointer; transition: all 0.15s; border: none; padding: 0;
  }
  .carousel-dot.active { background: var(--accent); width: 20px; border-radius: 4px; }

  /* ── Image lightbox (click any screenshot to see it full size) ── */
  .lightbox-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.85); z-index: 400;
    align-items: center; justify-content: center;
    padding: 40px; box-sizing: border-box;
    cursor: zoom-out;
  }
  .lightbox-overlay.open { display: flex; }
  .lightbox-overlay img {
    max-width: 100%; max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  }
  .lightbox-close {
    position: fixed; top: 24px; right: 28px;
    background: var(--bg-card); border: 1px solid var(--border-hi);
    border-radius: 50%; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid); font-size: 16px; cursor: pointer;
    transition: all 0.15s;
  }
  .lightbox-close:hover { color: var(--text-hi); border-color: var(--accent); }

  /* ── Pain recognition section ── */
  .pain-wrap { max-width: 620px; margin: 0 auto; text-align: center; }
  .pain-wrap h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(26px, 3vw, 34px);
    color: var(--text-hi); line-height: 1.25; margin-bottom: 30px;
  }
  .pain-list {
    display: inline-flex; flex-direction: column; gap: 12px;
    text-align: left; margin-bottom: 34px;
  }
  .pain-item {
    display: flex; align-items: baseline; gap: 10px;
    font-family: var(--body); font-size: 16px; color: var(--text-note);
  }
  .pain-item::before { content: '–'; color: var(--text-faint); flex-shrink: 0; }
  .pain-resolve {
    font-family: var(--serif); font-style: italic; font-size: 20px;
    color: var(--accent-hi);
  }

  /* ── Feature constellation (replaces generic 3-col icon grid) ── */
  .feature-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
  }
  .feature-map.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .feature-cell {
    background: var(--bg-card);
    padding: 32px 28px;
    transition: background 0.2s;
  }
  .feature-cell:hover { background: var(--bg-raised); }
  .feature-cell .ftag {
    font-family: var(--ui); font-size: 10.5px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 14px;
  }
  .feature-cell h3 {
    font-family: var(--serif); font-weight: 500; font-size: 19px;
    color: var(--text-hi); margin-bottom: 10px; line-height: 1.3;
  }
  .feature-cell p {
    font-family: var(--body); font-size: 14.5px; color: var(--text-note); line-height: 1.65;
  }

  /* ── Showcase: alternating feature + visual rows ── */
  .showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 0;
  }
  .showcase-row.reverse { direction: rtl; }
  .showcase-row.reverse > * { direction: ltr; }
  .showcase-row:not(:last-child) { border-bottom: 1px solid var(--border); }
  .showcase-copy .section-eyebrow { margin-bottom: 12px; }
  .showcase-copy h3 {
    font-family: var(--serif); font-weight: 400; font-size: 30px;
    color: var(--text-hi); line-height: 1.22; margin-bottom: 16px;
  }
  .showcase-copy p {
    font-family: var(--body); font-size: 15.5px; color: var(--text-note);
    line-height: 1.75; margin-bottom: 14px;
  }
  .showcase-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
  .showcase-list-item {
    display: flex; align-items: baseline; gap: 10px;
    font-family: var(--body); font-size: 14.5px; color: var(--text-card);
  }
  .showcase-list-item::before { content: '–'; color: var(--accent-hi); flex-shrink: 0; }

  .showcase-visual {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  }
  .showcase-shot { width: 100%; height: auto; display: block; cursor: zoom-in; transition: opacity 0.15s; }
  .showcase-shot:hover { opacity: 0.92; }
  .placeholder-shot {
    aspect-ratio: 16/10.5;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 10px;
    background:
      repeating-linear-gradient(135deg, var(--bg-input), var(--bg-input) 10px, var(--bg-card) 10px, var(--bg-card) 20px);
    color: var(--text-dim);
    font-family: var(--ui); font-size: 12.5px; text-align: center;
    padding: 20px;
  }
  .placeholder-shot .ph-label {
    color: var(--text-lo); font-size: 13px; max-width: 260px;
  }

  /* Timeline mini-recreation */
  .tl-mini { padding: 24px 22px; }
  .tl-mini-row {
    display: flex; align-items: flex-start; gap: 14px; padding: 10px 0;
    position: relative;
  }
  .tl-mini-row:not(:last-child)::after {
    content: ''; position: absolute; left: 71px; top: 26px; bottom: -10px;
    width: 1px; background: var(--border-mid);
  }
  .tl-mini-date {
    width: 64px; flex-shrink: 0; text-align: right;
    font-family: var(--ui); font-size: 10.5px; color: var(--accent-hi);
    padding-top: 4px;
  }
  .tl-mini-dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
    margin-top: 6px; flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--bg-card);
  }
  .tl-mini-content { flex: 1; }
  .tl-mini-title { font-family: var(--body); font-size: 14px; color: var(--text-hi); }
  .tl-mini-desc {
    font-family: var(--body); font-size: 12.5px; color: var(--text-dim);
    margin-top: 4px; line-height: 1.5;
  }

  /* Story tab bar mini-recreation */
  .stb-mini { padding: 20px 20px 0; }
  .stb-mini-bar {
    display: flex; align-items: center; gap: 4px;
    border-bottom: 1px solid var(--border); padding-bottom: 0;
  }
  .stb-tab {
    font-family: var(--ui); font-size: 12px; color: var(--text-lo);
    padding: 8px 14px; border-radius: 6px 6px 0 0;
    display: flex; align-items: center; gap: 5px;
  }
  .stb-tab.slot1 { background: rgba(124,92,191,0.16); color: var(--accent-hi); border: 1px solid var(--accent-dim); border-bottom: none; }
  .stb-tab.fav { color: var(--text-card); }
  .stb-tab .star { color: var(--gold); font-size: 10px; }
  .stb-mini-body { padding: 18px 4px 22px; }
  .stb-chapters { display: flex; flex-direction: column; gap: 7px; }
  .stb-chapter {
    font-family: var(--body); font-size: 13px; color: var(--text-note);
    padding: 7px 10px; border-radius: 5px; background: var(--bg-input);
    display: flex; justify-content: space-between;
  }
  .stb-chapter span:last-child { color: var(--text-dim); font-family: var(--ui); font-size: 11px; }

  /* ── Pricing ── */
  .pricing-wrap { display: flex; justify-content: center; }
  .pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-hi);
    border-radius: 16px;
    padding: 44px 44px 38px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 0 0 1px rgba(124,92,191,0.08), 0 30px 70px rgba(0,0,0,0.45);
  }
  .pricing-card::before {
    content: '';
    position: absolute; inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(160deg, var(--accent-hi), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
  }
  .pricing-eyebrow {
    font-family: var(--ui); font-size: 11.5px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
  }
  .pricing-launch-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(124,92,191,0.16); border: 1px solid var(--accent-dim);
    border-radius: 20px; padding: 6px 14px;
    font-family: var(--ui); font-size: 12px; font-weight: 600;
    color: var(--accent-hi); letter-spacing: 0.02em;
    margin-bottom: 18px;
  }
  .pricing-launch-badge::before {
    content: '◆'; font-size: 8px; color: var(--gold);
  }
  .pricing-price-row {
    display: flex; align-items: baseline; gap: 12px;
    margin: 18px 0 4px; flex-wrap: wrap;
  }
  .pricing-price-was {
    font-family: var(--serif); font-size: 24px; color: var(--text-dim);
    text-decoration: line-through; text-decoration-color: var(--text-faint);
    text-decoration-thickness: 1.5px;
  }
  .pricing-price {
    font-family: var(--serif); font-size: 46px; color: var(--text-hi);
    margin: 0; font-weight: 400; line-height: 1;
  }
  .pricing-name { font-family: var(--serif); font-size: 24px; color: var(--text-hi); margin-bottom: 6px; }
  .pricing-price sup { font-size: 18px; top: -1.4em; color: var(--text-lo); }
  .pricing-price .period { font-family: var(--ui); font-size: 14px; color: var(--text-lo); margin-left: 6px; }
  .pricing-sub { font-family: var(--ui); font-size: 13px; color: var(--text-dim); margin-bottom: 28px; }
  .pricing-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
  .pf-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-family: var(--body); font-size: 14.5px; color: var(--text-card);
  }
  .pf-item .check { color: var(--accent-hi); flex-shrink: 0; margin-top: 2px; font-size: 13px; }
  .pricing-card .btn-primary { width: 100%; justify-content: center; margin-bottom: 14px; }
  .pricing-note {
    font-family: var(--ui); font-size: 12px; color: var(--text-dim);
    line-height: 1.6; text-align: center;
  }
  .pricing-note a { color: var(--text-lo); text-decoration: underline; text-underline-offset: 2px; }

  /* ── Security section ── */
  .security-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: center; padding: 12px 0;
  }
  .security-pillars { display: flex; flex-direction: column; gap: 28px; }
  .security-pillar { display: flex; gap: 16px; align-items: flex-start; }
  .security-pillar-icon {
    width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
    background: rgba(124,92,191,0.14); border: 1px solid var(--accent-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--accent-hi);
  }
  .security-pillar h3 {
    font-family: var(--serif); font-weight: 500; font-size: 17px;
    color: var(--text-hi); margin-bottom: 5px;
  }
  .security-pillar p {
    font-family: var(--body); font-size: 14px; color: var(--text-note);
    line-height: 1.65;
  }

  /* Faithful mini recreation of the launcher's combination dial lock */
  .security-visual {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 32px 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    text-align: center;
  }
  .security-visual-sub {
    font-family: var(--body); font-size: 13px; color: var(--text-dim);
    line-height: 1.6; max-width: 280px; margin: 0 auto;
  }

  /* ── Comparison table ── */
  .compare-wrap { max-width: 720px; margin: 0 auto; }
  .compare-table {
    width: 100%; border-collapse: collapse;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
  }
  .compare-table th, .compare-table td {
    padding: 16px 22px; text-align: left;
    font-family: var(--body); font-size: 14.5px;
    border-bottom: 1px solid var(--border);
  }
  .compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
  .compare-table thead th {
    font-family: var(--ui); font-size: 11px; letter-spacing: 0.08em;
    text-transform: uppercase; padding-top: 18px; padding-bottom: 14px;
  }
  .compare-table thead th:first-child { color: var(--text-lo); }
  .compare-table thead th.col-cv {
    color: var(--accent-hi); background: rgba(124,92,191,0.08);
  }
  .compare-table tbody th {
    font-weight: normal; color: var(--text-mid); width: 38%;
  }
  .compare-table td.col-cv {
    color: var(--text-hi); background: rgba(124,92,191,0.06);
    font-weight: 500;
  }
  .compare-table td.col-other { color: var(--text-dim); }
  .compare-check { color: var(--accent-hi); margin-right: 8px; }
  .compare-cross { color: var(--text-faint); margin-right: 8px; }

  /* ── Demo CTA strip ── */
  .demo-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 0;
  }
  .demo-strip-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    flex-wrap: wrap;
  }
  .demo-strip h2 {
    font-family: var(--serif); font-weight: 400; font-size: 30px;
    color: var(--text-hi); max-width: 460px; line-height: 1.25;
  }
  .demo-strip p { font-family: var(--body); color: var(--text-note); margin-top: 10px; max-width: 440px; }

  /* ── Footer ── */
  footer {
    border-top: 1px solid var(--border);
    padding: 56px 0 40px;
  }
  .footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 48px;
  }
  .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .footer-brand .mark {
    width: 22px; height: 22px; border-radius: 5px;
    background: linear-gradient(155deg, var(--accent), #4a3a7a);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 12px; color: var(--accent-text);
  }
  .footer-brand-name { font-family: var(--serif); font-size: 16px; color: var(--text-hi); }
  .footer-tagline { font-family: var(--body); font-style: italic; font-size: 13.5px; color: var(--text-dim); }
  .footer-col h4 {
    font-family: var(--ui); font-size: 12px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-lo); margin-bottom: 16px;
  }
  .footer-col a {
    display: block; font-family: var(--ui); font-size: 13.5px;
    color: var(--text-mid); margin-bottom: 11px; transition: color 0.15s;
  }
  .footer-col a:hover { color: var(--text-hi); }
  .footer-bottom {
    border-top: 1px solid var(--border); padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--ui); font-size: 12.5px; color: var(--text-faint);
    flex-wrap: wrap; gap: 12px;
  }

  /* Theme switcher: matches the launcher's "🎨 Theme" button and modal */
  .theme-trigger {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
    background: var(--bg-input); color: var(--text-mid);
    border: 1px solid var(--border-hi); border-radius: 7px;
    font-family: var(--body); font-size: 13.5px; letter-spacing: 0.03em;
    padding: 11px 20px; cursor: pointer;
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
    transition: all 0.15s;
  }
  .theme-trigger:hover { background: var(--border-hi); color: var(--border-hi-text, #fff); }

  .theme-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.75); z-index: 300;
    align-items: center; justify-content: center;
  }
  .theme-overlay.open { display: flex; }
  .theme-modal {
    background: var(--bg-modal); border: 1px solid var(--border-hi);
    border-radius: 10px; padding: 30px; width: 480px; max-width: 90vw;
    box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  }
  .theme-modal h2 { font-family: var(--body); font-size: 17px; font-weight: normal; color: var(--text-hi); margin-bottom: 8px; }
  .theme-modal > p { font-family: var(--body); font-size: 12px; color: var(--text-lo); margin-bottom: 20px; line-height: 1.6; }
  .theme-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 20px; }
  .theme-swatch {
    border: 2px solid var(--border); border-radius: 6px; padding: 10px 8px; cursor: pointer;
    transition: all 0.15s; text-align: center; font-family: var(--body); font-size: 12px;
    background: none;
  }
  .theme-swatch:hover { border-color: var(--border-hi); transform: translateY(-1px); }
  .theme-swatch.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 8px 1px var(--accent); }
  .theme-swatch-preview { height: 24px; border-radius: 3px; margin-bottom: 6px; display: flex; gap: 3px; padding: 4px; }
  .theme-swatch-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
  .theme-swatch-name { color: var(--text-mid); font-size: 11px; font-family: var(--body); }
  .theme-swatch.active .theme-swatch-name { font-weight: bold; }
  .theme-swatch.active .theme-swatch-name::before { content: "✓ "; }
  .theme-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
  .theme-modal-btn {
    border-radius: 4px; cursor: pointer; font-family: var(--body); font-size: 13px;
    padding: 8px 20px; border: 1px solid var(--border-mid);
    background: transparent; color: var(--text-mid); transition: all 0.15s;
  }
  .theme-modal-btn:hover { color: var(--text-hi); }


  /* ── Audience strip ── */

  @media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; transform: none; }
    .feature-map { grid-template-columns: 1fr; }
    .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; direction: ltr; }
    .showcase-row.reverse .showcase-visual { order: -1; }
    .security-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .demo-strip-inner { flex-direction: column; align-items: flex-start; }
  }
  @media (max-width: 540px) {
    .wrap { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero { padding: 64px 0 56px; }
    section { padding: 64px 0; }
    .compare-table th, .compare-table td { padding: 12px 12px; font-size: 12.5px; }
    .compare-table thead th { font-size: 9.5px; }
    .carousel-stage { height: 280px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  }
