/* ═══════════════════════════════════════════════════════════════════════════
   Kaio — international launch · shared dark "click demo" design system
   Used by: index.html + how-kaio-works/index.html
   Fonts are referenced relative to THIS file (folder root), so paths resolve
   correctly from any page depth.
   No trackers, no cookies, no third-party requests — privacy company.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family:'Inter'; src:url('Inter-Regular.woff2')  format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('Inter-Medium.woff2')   format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('Inter-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('Inter-Bold.woff2')     format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

:root {
  --primary:  #F4F2EC;            /* warm off-white */
  --bg:       #0A0A0A;            /* near black */
  --bg2:      #111111;
  --bg3:      #161616;
  --border:   rgba(255,255,255,0.09);
  --border-s: rgba(255,255,255,0.16);
  --muted:    #8E8E8E;
  --orange:   #E86A1E;            /* brand orange */
  --orange-h: #F08A3E;
  --green:    #4FAE6A;
  --red:      #C94B4B;
  --cream:    #EFEAE0;            /* paper card surface */
  --radius:   10px;
  --dur:      500ms;
  --ease:     cubic-bezier(.22,.61,.36,1);
  --maxw:     1120px;
}
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  background:var(--bg); color:var(--primary);
  font-family:'Inter', system-ui, sans-serif;
  line-height:1.6; overflow-x:hidden; font-size:16px;
  -webkit-font-smoothing:antialiased;
}
a { color:inherit; }
::selection { background:rgba(232,106,30,0.3); }
img { max-width:100%; display:block; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline:2px solid var(--orange-h); outline-offset:3px; border-radius:6px;
}
.skip-link { position:absolute; left:-999px; top:0; z-index:200; background:var(--orange); color:#fff; padding:10px 18px; border-radius:0 0 8px 0; font-weight:600; }
.skip-link:focus { left:0; }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 40px;
  background:rgba(10,10,10,0.72); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transition:padding 0.25s var(--ease), background 0.25s var(--ease);
}
nav.scrolled { padding:10px 40px; background:rgba(10,10,10,0.9); }
.nav-logo { display:flex; align-items:center; gap:10px; font-size:1.2rem; font-weight:700; color:var(--primary); letter-spacing:-0.3px; text-decoration:none; }
.nav-logo .mark { color:var(--orange); }
.nav-logo .by { font-size:0.68rem; font-weight:500; color:var(--muted); letter-spacing:0.2px; }
.nav-right { display:flex; align-items:center; gap:8px; }

/* nav links + dropdown */
.nav-links { display:flex; align-items:center; gap:4px; }
.nav-item { position:relative; }
.nav-link {
  display:inline-flex; align-items:center; gap:6px; background:none; border:none;
  color:var(--primary); font-family:inherit; font-size:0.88rem; font-weight:500;
  padding:9px 14px; border-radius:999px; cursor:pointer; text-decoration:none;
  transition:background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background:rgba(255,255,255,0.06); color:var(--primary); }
.nav-link .caret { width:11px; height:11px; transition:transform 0.2s var(--ease); }
.nav-link[aria-expanded="true"] .caret { transform:rotate(180deg); }

.nav-dropdown {
  position:absolute; top:calc(100% + 10px); left:0; min-width:290px;
  background:var(--bg3); border:1px solid var(--border-s); border-radius:14px;
  padding:8px; box-shadow:0 24px 60px rgba(0,0,0,0.55);
  opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-item:hover .nav-dropdown,
.nav-dropdown.open { opacity:1; visibility:visible; transform:translateY(0); }
.nav-dropdown a {
  display:block; padding:11px 13px; border-radius:9px; text-decoration:none;
  transition:background 0.15s;
}
.nav-dropdown a:hover { background:rgba(232,106,30,0.1); }
.nav-dropdown .dd-title { font-size:0.9rem; font-weight:600; color:var(--primary); }
.nav-dropdown .dd-desc { font-size:0.76rem; color:var(--muted); margin-top:2px; }

.nav-cta {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--orange); color:#fff; border:1.5px solid var(--orange);
  padding:10px 20px; border-radius:999px; font-size:0.85rem; font-weight:600;
  cursor:pointer; text-decoration:none;
  transition:background 0.2s, border-color 0.2s, transform 0.15s;
  box-shadow:0 0 24px rgba(232,106,30,0.28); white-space:nowrap;
}
.nav-cta:hover { background:var(--orange-h); border-color:var(--orange-h); }
.nav-cta:active { transform:translateY(1px); }

.nav-toggle { display:none; background:none; border:none; color:var(--primary); cursor:pointer; padding:8px; }
.nav-toggle svg { width:24px; height:24px; }

/* ── Shared type + buttons ─────────────────────────────────────────────────── */
.eyebrow, .section-label {
  display:inline-flex; align-items:center; gap:10px;
  font-size:0.72rem; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:var(--orange); margin-bottom:16px;
}
.eyebrow .dot, .section-label .dot { width:6px; height:6px; border-radius:50%; background:var(--orange); box-shadow:0 0 10px var(--orange); animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; border-radius:999px;
  font-size:0.92rem; font-weight:600; font-family:inherit;
  cursor:pointer; text-decoration:none;
  border:1.5px solid var(--border-s);
  transition:background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn:active { transform:translateY(1px); }
.btn-primary { background:var(--orange); border-color:var(--orange); color:#fff; box-shadow:0 0 28px rgba(232,106,30,0.35); }
.btn-primary:hover { background:var(--orange-h); border-color:var(--orange-h); }
.btn-secondary { background:rgba(255,255,255,0.03); color:var(--primary); }
.btn-secondary:hover { border-color:var(--border-s); background:rgba(255,255,255,0.06); }
.btn .arrow, .btn-secondary .arrow { transition:transform 0.2s var(--ease); }
.btn:hover .arrow { transform:translateX(4px); }

.section-title { font-size:clamp(1.6rem, 2.8vw, 2.3rem); font-weight:700; letter-spacing:-0.6px; line-height:1.2; margin-bottom:18px; color:var(--primary); }
.section-title em { font-style:italic; font-weight:400; color:var(--orange); }
.section-sub { font-size:1rem; color:var(--muted); max-width:620px; line-height:1.7; }
.center { text-align:center; }
.center .section-sub, .center .eyebrow, .center .section-label { margin-left:auto; margin-right:auto; }

/* generic section shell */
.section { padding:88px 24px; }
.section.alt { background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.inner { max-width:var(--maxw); margin:0 auto; }
.inner-narrow { max-width:820px; margin:0 auto; }

/* ── Image slots (swap the <img> src later; box renders cleanly meanwhile) ── */
.img-slot {
  position:relative; width:100%; border-radius:14px; overflow:hidden;
  background:
    linear-gradient(135deg, rgba(232,106,30,0.08), rgba(255,255,255,0.02)),
    var(--bg3);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; text-align:center;
  color:var(--muted); font-size:0.78rem; letter-spacing:0.4px;
}
.img-slot::after {
  content:attr(data-label); padding:0 14px; max-width:80%;
  opacity:0.75;
}
.img-slot.ratio-16-9 { aspect-ratio:16/9; }
.img-slot.ratio-4-3  { aspect-ratio:4/3; }
.img-slot.ratio-1-1  { aspect-ratio:1/1; }
.img-slot.ratio-3-2  { aspect-ratio:3/2; }
.img-slot img { width:100%; height:100%; object-fit:cover; }

/* Pillars — all three visuals share a fixed height (decoupled from column width) so
   they stay equal at every breakpoint; the chat font clamps so text always fits. */
.card.pillar .img-slot { aspect-ratio:auto; height:274px; min-height:0; }
.img-slot.chat-mock { background:#FAF9FB; align-items:stretch; justify-content:flex-start; padding:0; }
.chat-mock::after { content:none; }
.cm-inner { width:100%; height:100%; padding:clamp(10px, 1.6vw, 14px); display:flex;
  align-items:center; overflow:hidden; }
.cm-row { position:relative; width:100%; padding-right:30px; }
.cm-bubble { background:#ECEAF6; color:#2f2f38; border-radius:16px 16px 16px 6px;
  padding:clamp(9px, 1.1vw, 13px) clamp(10px, 1.2vw, 14px);
  font-size:clamp(0.62rem, 0.92vw, 0.8rem); line-height:1.46; letter-spacing:0.1px;
  box-shadow:0 1px 2px rgba(30,20,60,0.06); }
.cm-bubble p { margin:0; color:#2f2f38; font-size:inherit; line-height:inherit; }
.cm-bubble p + p { margin-top:11px; }
.cm-bubble strong { color:#1f1f27; font-weight:600; }
.cm-avatar { position:absolute; top:-6px; right:0; width:30px; height:30px; border-radius:50%;
  background:#8B6FD0; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(90,60,160,0.35); }
.cm-avatar svg { width:17px; height:17px; color:#fff; }

/* Pillar 1 — a short two-bubble exchange (assistant question + casual user reply) */
.cm-thread { width:100%; display:flex; flex-direction:column; gap:clamp(7px, 0.9vw, 10px); }
.cm-bubble.user { align-self:flex-end; max-width:82%; background:#E4E6EA; color:#33363b;
  border-radius:16px 16px 6px 16px; }
.cm-bubble.user p { color:#33363b; }

/* Pillar 3 — the connected-assessment graphic (same asset as the How-it-works page) */
.img-slot.slot-graph { background:var(--bg3); }
.img-slot.slot-graph img { width:100%; height:100%; max-width:none; object-fit:contain; padding:12px; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height:100vh; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center;
  padding:130px 24px 90px; position:relative; overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero::before {
  content:''; position:absolute; top:-160px; left:50%; transform:translateX(-50%);
  width:760px; height:760px; border-radius:50%; max-width:120vw;
  background:radial-gradient(circle, rgba(232,106,30,0.16) 0%, transparent 65%);
  pointer-events:none;
}
.hero > * { position:relative; z-index:1; }
.hero-tag {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(232,106,30,0.1); border:1px solid rgba(232,106,30,0.35);
  color:var(--orange-h); padding:5px 14px; border-radius:20px;
  font-size:0.76rem; font-weight:600; letter-spacing:0.4px; margin-bottom:30px;
}
.hero-tag::before { content:'●'; font-size:0.45rem; animation:pulse 2s infinite; }
h1 { font-size:clamp(2.1rem, 4.6vw, 3.5rem); font-weight:700; line-height:1.12; letter-spacing:-1px; max-width:900px; margin-bottom:22px; color:var(--primary); }
h1 em { font-style:italic; font-weight:400; color:var(--orange); }
/* Homepage hero: on wide screens widen the heading so the closing clause stays on one
   unbroken line. Below this it wraps normally (nowrap would clip on small viewports). */
@media (min-width:1000px) {
  .hero h1 { max-width:1040px; }
  .hero h1 em { white-space:nowrap; }
}
/* Hero heading typewriter slot — width locked in JS so the line never re-wraps */
.type-rotate { display:inline-block; text-align:left; white-space:nowrap; vertical-align:baseline; }
.type-word { color:var(--orange); font-weight:400; }
.type-caret { display:inline-block; width:2px; height:0.95em; margin-left:2px; vertical-align:baseline;
  transform:translateY(0.08em); background:var(--orange); animation:type-blink 1s steps(1) infinite; }
@keyframes type-blink { 50% { opacity:0; } }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.hero-sub { font-size:1.05rem; color:var(--muted); max-width:680px; margin-bottom:38px; line-height:1.75; }
.hero-sub-aside { color:#6f6f6f; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.hero-microcopy { margin-top:16px; font-size:0.82rem; color:#6f6f6f; letter-spacing:0.2px; }

/* Hero living product screenshot — faithful HTML recreation of the real Kaio app.
   Reads as a genuine screenshot but every element is live DOM so the chat can animate. */
.hero-app { margin-top:56px; width:100%; max-width:1040px; }
.app-frame {
  border-radius:16px; overflow:hidden; text-align:left; color:#1a1a1a;
  border:1px solid rgba(255,255,255,0.08); box-shadow:0 40px 100px rgba(0,0,0,0.6);
  background:#fff;
}
/* Browser window chrome */
.app-titlebar { display:flex; align-items:center; gap:14px; padding:10px 16px; background:#0d1424; }
.app-dots { display:inline-flex; gap:7px; }
.app-dots i { width:11px; height:11px; border-radius:50%; background:#3a4152; display:block; }
.app-dots i:nth-child(1) { background:#ec6a5e; }
.app-dots i:nth-child(2) { background:#f4bf4f; }
.app-dots i:nth-child(3) { background:#61c554; }
.app-url {
  flex:1; max-width:340px; margin:0 auto; text-align:center;
  background:#1b2338; color:#9aa4bd; border-radius:8px; padding:5px 12px;
  font-size:0.74rem; letter-spacing:0.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
/* Top product nav — matches the real PrivacyDesigner app header */
.app-nav { display:flex; align-items:center; gap:28px; padding:0 18px; height:56px; background:#0e1b35; color:#c7cfe0; }
.app-logo-mark { height:30px; width:auto; display:block; flex-shrink:0; }
.app-navlinks { display:inline-flex; align-items:center; gap:26px; font-size:0.78rem; font-weight:600; letter-spacing:0.6px; text-transform:uppercase; }
.app-navlink { position:relative; display:inline-flex; align-items:center; gap:8px; color:#aeb7cd; white-space:nowrap; }
.app-navlink.is-active { color:#fff; }
.app-caret { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border:1px solid rgba(255,255,255,0.22); border-radius:5px; }
.app-caret svg { width:13px; height:13px; }
.app-navtools { margin-left:auto; display:inline-flex; align-items:center; gap:16px; }
.app-search { display:inline-flex; align-items:center; gap:9px; background:#1b2740; color:#8590aa; border-radius:8px; padding:8px 16px; font-size:0.78rem; white-space:nowrap; min-width:200px; }
.app-search-ico { width:15px; height:15px; flex-shrink:0; }
.app-bell { position:relative; width:22px; height:22px; color:#c7cfe0; display:inline-flex; }
.app-bell svg { width:100%; height:100%; }
.app-badge { position:absolute; top:-6px; right:-7px; min-width:15px; height:15px; padding:0 3px; border-radius:8px; background:#e23b3b; color:#fff; font-size:0.6rem; font-weight:700; line-height:15px; text-align:center; }
.app-user { width:22px; height:22px; color:#c7cfe0; display:inline-flex; }
.app-user svg { width:100%; height:100%; }
/* Body: sidebar + chat */
.app-main { display:flex; min-height:440px; }
.app-side { width:250px; flex-shrink:0; background:#f4f4f6; border-right:1px solid rgba(0,0,0,0.08); padding:10px 0; overflow:hidden; }
.app-side-item { padding:11px 18px; border-left:3px solid transparent; }
.app-side-item.is-active { background:#fff; border-left-color:var(--orange); }
.app-side-title { font-size:0.82rem; font-weight:600; color:#2a2a2a; line-height:1.3; }
.app-side-date { font-size:0.7rem; color:#9a9a9a; margin-top:3px; }
.app-chat { flex:1; min-width:0; background:var(--cream); display:flex; flex-direction:column; padding:20px 22px; }
.app-chat .chat-header { margin-bottom:16px; }
/* Fixed-height log so the frame never resizes as the loop plays; messages fill from the top
   (Kaio's first message up top, replies stack downward toward the input). The typing indicator
   lives inside the log so toggling it never changes the frame height. */
.app-chat .chat-log { flex:none; height:440px; overflow:hidden; justify-content:flex-start; }
/* Typing indicator */
.chat-typing { display:flex; align-items:center; gap:10px; margin-top:4px; min-height:22px; }
.chat-typing[hidden] { display:none; }
.chat-typing-dots { display:inline-flex; gap:4px; }
.chat-typing-dots i { width:6px; height:6px; border-radius:50%; background:#9a9a9a; display:block; animation:typing-bounce 1.2s infinite ease-in-out; }
.chat-typing-dots i:nth-child(2) { animation-delay:0.15s; }
.chat-typing-dots i:nth-child(3) { animation-delay:0.3s; }
.chat-typing-label { font-size:0.76rem; color:#8a8a8a; }
@keyframes typing-bounce { 0%,60%,100% { transform:translateY(0); opacity:0.5; } 30% { transform:translateY(-4px); opacity:1; } }
/* Disabled input bar (visual only) */
.chat-input { display:flex; align-items:center; gap:12px; margin-top:16px; background:#fff; border:1px solid rgba(0,0,0,0.1); border-radius:12px; padding:11px 14px; }
.chat-input-text { flex:1; color:#a0a0a0; font-size:0.86rem; }
.chat-input-send { width:20px; height:20px; color:var(--orange); display:inline-flex; }
.chat-input-send svg { width:100%; height:100%; }

/* ── CREDIBILITY STRIP ─────────────────────────────────────────────────────── */
.cred-strip { border-bottom:1px solid var(--border); background:var(--bg2); padding:28px 24px; text-align:center; }
.cred-text { font-size:0.82rem; color:var(--muted); letter-spacing:0.3px; margin-bottom:16px; }
.cred-badges { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.cred-badge { font-size:0.72rem; font-weight:700; letter-spacing:1px; color:var(--orange-h); border:1px solid rgba(232,106,30,0.35); background:rgba(232,106,30,0.07); padding:6px 14px; border-radius:20px; }

/* ── SELF-SEGMENTATION (two paths) ─────────────────────────────────────────── */
.paths-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:44px; }
.path-card {
  background:var(--bg3); border:1px solid var(--border); border-radius:16px; padding:34px;
  transition:border-color 0.25s, transform 0.25s;
}
.path-card:hover { border-color:rgba(232,106,30,0.35); transform:translateY(-4px); }
.path-card .path-icon { width:46px; height:46px; margin-bottom:20px; color:var(--orange); background:rgba(232,106,30,0.1); border-radius:12px; display:flex; align-items:center; justify-content:center; padding:11px; }
.path-card h3 { font-size:1.15rem; font-weight:700; margin-bottom:12px; }
.path-card p { color:var(--muted); font-size:0.94rem; line-height:1.7; }

/* ── PROBLEM / PAIN band ───────────────────────────────────────────────────── */
.pain-inner { max-width:820px; margin:0 auto; text-align:center; }
.pain-inner p { color:var(--muted); font-size:1.08rem; line-height:1.85; margin-top:8px; }
.pain-inner strong { color:var(--primary); font-weight:600; }

/* ── PRODUCT DEMO framed slot ──────────────────────────────────────────────── */
.proddemo-frame {
  max-width:940px; margin:44px auto 0; border-radius:16px; overflow:hidden;
  border:1px solid var(--border-s); box-shadow:0 30px 80px rgba(0,0,0,0.5);
  position:relative;
}
.proddemo-bar { display:flex; align-items:center; gap:7px; padding:12px 16px; background:var(--bg3); border-bottom:1px solid var(--border); }
.proddemo-bar .dot { width:11px; height:11px; border-radius:50%; }
.proddemo-bar .r { background:#E86A6A; } .proddemo-bar .y { background:#E8B84E; } .proddemo-bar .g { background:#4FAE6A; }
.proddemo-bar .url { margin-left:12px; font-size:0.74rem; color:var(--muted); }
.proddemo-cta { text-align:center; margin-top:28px; }

/* ── FEATURE / PILLAR / GENERIC CARDS ──────────────────────────────────────── */
.cards-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:52px; }
.cards-grid.cols-2 { grid-template-columns:1fr 1fr; }
.cards-grid.cols-4 { grid-template-columns:repeat(2,1fr); }
.card {
  background:var(--bg3); border:1px solid var(--border); border-radius:14px; padding:30px;
  transition:border-color 0.25s, transform 0.25s, box-shadow 0.25s; position:relative; overflow:hidden;
}
.card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg, transparent, var(--orange), transparent); opacity:0; transition:opacity 0.3s; }
.card:hover { border-color:rgba(232,106,30,0.35); transform:translateY(-4px); box-shadow:0 24px 60px rgba(0,0,0,0.45); }
.card:hover::before { opacity:1; }
.card-icon { width:44px; height:44px; margin-bottom:18px; color:var(--orange); background:rgba(232,106,30,0.1); border-radius:10px; display:flex; align-items:center; justify-content:center; padding:10px; }
.card-icon svg { width:100%; height:100%; }
.card h3 { font-size:1.08rem; font-weight:700; margin-bottom:10px; color:var(--primary); }
.card p { font-size:0.92rem; color:var(--muted); line-height:1.7; }
.card .card-img { margin-bottom:20px; border-radius:10px; overflow:hidden; }

/* Pillar cards get an image slot on top */
.pillar .img-slot { margin-bottom:22px; }

/* ── NOT JUST DPIAs (framework grid) ───────────────────────────────────────── */
.fw-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:44px; }
.fw-item {
  display:block; text-decoration:none; background:var(--bg3); border:1px solid var(--border);
  border-radius:14px; padding:26px 28px; transition:border-color 0.25s, transform 0.2s, background 0.25s;
}
.fw-item:hover { border-color:rgba(232,106,30,0.4); transform:translateY(-3px); background:var(--bg2); }
.fw-item h4 { font-size:1.02rem; font-weight:700; color:var(--primary); margin-bottom:8px; display:flex; align-items:center; gap:10px; }
.fw-item h4 .fw-arrow { color:var(--orange); margin-left:auto; transition:transform 0.2s var(--ease); }
.fw-item:hover h4 .fw-arrow { transform:translateX(4px); }
.fw-item p { font-size:0.9rem; color:var(--muted); line-height:1.7; }
.closing-line { text-align:center; margin-top:36px; font-size:1.05rem; color:var(--primary); font-weight:500; }
.closing-line em { color:var(--orange); font-style:italic; }

/* ── DATA MODEL (component list) ───────────────────────────────────────────── */
.dm-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:44px; }
.dm-item { display:flex; align-items:center; gap:14px; background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:16px 20px; transition:border-color 0.2s; }
.dm-item:hover { border-color:rgba(232,106,30,0.3); }
.dm-item .dm-ico { width:34px; height:34px; flex-shrink:0; color:var(--orange); background:rgba(232,106,30,0.1); border-radius:9px; display:flex; align-items:center; justify-content:center; padding:8px; }
.dm-item .dm-ico svg { width:100%; height:100%; }
.dm-item span { font-size:0.94rem; font-weight:500; color:var(--primary); }

/* ── DATA-MODEL CAROUSEL (real app screenshots, module-strip navigation) ───── */
.carousel { margin-top:52px; display:flex; flex-direction:column; }
.carousel-stage { position:relative; }
/* soft brand glow behind the stage so the light screenshot doesn't feel pasted on */
.carousel-stage::before {
  content:""; position:absolute; inset:-7% 2% -11% 2%; z-index:-1;
  background:radial-gradient(60% 60% at 50% 0%, rgba(232,106,30,0.15), transparent 70%);
  filter:blur(10px); pointer-events:none;
}
.carousel-viewport { overflow:hidden; border-radius:14px; }
.carousel-track { display:flex; transition:transform 480ms var(--ease); }
.cslide { flex:0 0 100%; min-width:0; margin:0; }
.shot-frame {
  position:relative; border-radius:14px; overflow:hidden;
  border:1px solid rgba(255,255,255,0.09);
  box-shadow:0 40px 80px -32px rgba(0,0,0,0.85), 0 8px 24px -12px rgba(0,0,0,0.6);
  background:var(--bg3);
}
.shot-frame img { display:block; width:100%; height:auto; }

/* Arrows */
.carousel-arrow {
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:46px; height:46px; border-radius:50%; padding:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(10,10,10,0.6); color:var(--primary);
  border:1px solid rgba(232,106,30,0.55); cursor:pointer;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  transition:background 0.2s, border-color 0.2s, color 0.2s;
}
.carousel-arrow:hover { background:var(--orange); border-color:var(--orange); color:#0A0A0A; }
.carousel-arrow:focus-visible { outline:2px solid var(--orange-h); outline-offset:2px; }
.carousel-arrow svg { width:22px; height:22px; }
.carousel-arrow.prev { left:-22px; }
.carousel-arrow.next { right:-22px; }

/* Dots + counter */
.carousel-status { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:24px; }
.carousel-dots { display:inline-flex; gap:9px; }
.cdot { width:8px; height:8px; border-radius:50%; padding:0; border:none; cursor:pointer;
  background:rgba(244,242,236,0.25); transition:background 0.2s, transform 0.2s; }
.cdot.is-active { background:var(--orange); transform:scale(1.15); }
.carousel-count { font-size:0.9rem; color:var(--muted); letter-spacing:0.04em; font-variant-numeric:tabular-nums; }
.carousel-count b { color:var(--primary); font-weight:600; }

/* Module strip (doubles as navigation) — sits above the image on wide screens */
.carousel-tabs { order:-1; margin:0 0 28px; padding-bottom:22px; border-bottom:1px solid var(--border); }
.carousel-tabs-label { font-size:0.72rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--orange-h); margin-bottom:18px; }
.carousel-tabs-row { display:flex; flex-wrap:nowrap; gap:10px; }
.ctab {
  position:relative; flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:8px;
  background:transparent; border:none; cursor:pointer; padding:6px 4px 14px; text-align:left; color:var(--muted);
  transition:color 0.2s;
}
.ctab::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px; border-radius:2px;
  background:var(--orange); transform:scaleX(0); transform-origin:left; transition:transform 0.25s var(--ease);
}
.ctab:hover { color:var(--primary); }
.ctab.is-active { color:var(--primary); }
.ctab.is-active::after { transform:scaleX(1); }
.ctab:focus-visible { outline:2px solid var(--orange-h); outline-offset:3px; border-radius:6px; }
.ctab-num { font-size:0.9rem; font-weight:700; color:inherit; }
.ctab.is-active .ctab-num { color:var(--orange); }
.ctab-ico { width:22px; height:22px; color:currentColor; }
.ctab-ico svg { width:100%; height:100%; }
.ctab-label { font-size:0.78rem; font-weight:600; line-height:1.3; color:inherit; }

/* ── HOW IT WORKS ──────────────────────────────────────────────────────────── */
.steps { display:flex; flex-direction:column; gap:0; margin-top:52px; position:relative; text-align:left; max-width:720px; margin-left:auto; margin-right:auto; }
.steps::before { content:''; position:absolute; left:27px; top:28px; bottom:28px; width:2px; background:linear-gradient(180deg, var(--orange), transparent); }
.step { display:flex; gap:24px; align-items:flex-start; padding:26px 0; }
.step-num { width:56px; height:56px; border-radius:50%; flex-shrink:0; background:var(--orange); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.1rem; font-weight:700; position:relative; z-index:1; box-shadow:0 0 24px rgba(232,106,30,0.35); }
.step-content h4 { font-size:1.08rem; font-weight:600; margin-bottom:6px; color:var(--primary); }
.step-content p { color:var(--muted); font-size:0.94rem; }

/* ── SOCIAL PROOF ──────────────────────────────────────────────────────────── */
.social-lead { max-width:760px; margin:0 auto; text-align:center; }
.social-lead p { font-size:1.08rem; color:var(--primary); line-height:1.75; font-weight:500; margin-top:8px; }
.social-lead .muted { color:var(--muted); font-weight:400; }
.logo-strip { display:flex; flex-wrap:wrap; gap:16px; justify-content:center; margin-top:40px; }
.logo-slot { width:150px; height:56px; border-radius:10px; }
.testimonials { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:44px; max-width:920px; margin-left:auto; margin-right:auto; }
.quote { background:var(--bg3); border:1px solid var(--border); border-radius:16px; padding:32px; }
.quote .q-mark { color:var(--orange); font-size:2.4rem; line-height:0.6; font-weight:700; font-family:Georgia, serif; }
.quote blockquote { font-size:1.02rem; color:var(--primary); line-height:1.65; margin:14px 0 18px; font-weight:500; }
.quote cite { font-style:normal; font-size:0.85rem; color:var(--muted); }

/* ── WHY NOW (AI ACT) ──────────────────────────────────────────────────────── */
.whynow-inner { max-width:820px; margin:0 auto; background:var(--bg3); border:1px solid rgba(232,106,30,0.3); border-radius:16px; padding:48px; position:relative; overflow:hidden; }
.whynow-inner::before { content:''; position:absolute; top:-120px; right:-120px; width:360px; height:360px; border-radius:50%; background:radial-gradient(circle, rgba(232,106,30,0.14) 0%, transparent 68%); pointer-events:none; }
.whynow-inner > * { position:relative; }
.whynow-inner h2 { font-size:clamp(1.5rem, 2.6vw, 2.1rem); font-weight:700; letter-spacing:-0.5px; line-height:1.22; margin-bottom:18px; color:var(--primary); }
.whynow-inner p { color:var(--muted); font-size:1rem; line-height:1.8; }

/* ── PRODUCT DEMO chat/report stage (also reused) ──────────────────────────── */
.demo-stage { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:stretch; max-width:1000px; margin:44px auto 0; }
.chat-card { background:var(--cream); color:#1a1a1a; border-radius:16px; padding:22px; display:flex; flex-direction:column; min-height:440px; box-shadow:0 30px 80px rgba(0,0,0,0.55); }
.chat-header { display:flex; align-items:center; gap:12px; padding-bottom:14px; border-bottom:1px solid rgba(0,0,0,0.09); margin-bottom:16px; }
.chat-av { width:34px; height:34px; border-radius:50%; background:#1a1a1a; color:var(--primary); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.9rem; flex-shrink:0; }
.chat-who { font-weight:600; font-size:0.9rem; color:#1a1a1a; }
.chat-role { font-size:0.74rem; color:#888; }
.chat-ok { margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-size:0.72rem; color:var(--green); font-weight:600; }
.chat-ok::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--green); }
.chat-log { display:flex; flex-direction:column; gap:12px; flex:1; }
.bubble { max-width:86%; padding:10px 14px; border-radius:14px; font-size:0.88rem; line-height:1.55; opacity:0; transform:translateY(8px); transition:opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.bubble.show { opacity:1; transform:translateY(0); }
.bubble.in { background:#fff; border:1px solid rgba(0,0,0,0.06); color:#1a1a1a; align-self:flex-start; border-top-left-radius:4px; }
.bubble.out { background:#1a1a1a; color:var(--primary); align-self:flex-end; border-top-right-radius:4px; }
.bubble.in strong { color:var(--orange); font-weight:600; }
.bubble.out strong { color:var(--orange-h); font-weight:600; }
.typing { display:none; align-self:flex-start; gap:4px; padding:11px 14px; background:#fff; border:1px solid rgba(0,0,0,0.06); border-radius:14px; border-top-left-radius:4px; }
.typing.show { display:flex; }
.typing span { width:6px; height:6px; border-radius:50%; background:#888; animation:typedot 1.2s infinite; }
.typing span:nth-child(2) { animation-delay:0.2s; }
.typing span:nth-child(3) { animation-delay:0.4s; }
@keyframes typedot { 0%,60%,100%{opacity:0.3; transform:translateY(0)} 30%{opacity:1; transform:translateY(-3px)} }
.report-card { background:var(--bg3); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; flex-direction:column; box-shadow:0 24px 60px rgba(0,0,0,0.45); }
.report-head { display:flex; align-items:center; gap:10px; padding-bottom:16px; border-bottom:1px solid var(--border); margin-bottom:6px; }
.report-head .doticon { width:36px; height:36px; border-radius:9px; background:rgba(232,106,30,0.12); color:var(--orange); display:flex; align-items:center; justify-content:center; }
.report-head .doticon svg { width:18px; height:18px; }
.report-title { font-weight:600; font-size:0.95rem; }
.report-status { font-size:0.75rem; color:var(--muted); }
.report-block { padding:15px 0; border-bottom:1px solid var(--border); opacity:0; transform:translateY(8px); transition:opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.report-block.show { opacity:1; transform:translateY(0); }
.report-block:last-child { border-bottom:none; }
.report-block .rb-label { font-size:0.66rem; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:var(--orange); margin-bottom:6px; }
.report-block .rb-body { font-size:0.86rem; color:var(--primary); line-height:1.55; }
.report-block .rb-body .muted { color:var(--muted); }
.risk-pill { display:inline-flex; align-items:center; gap:6px; font-size:0.72rem; font-weight:600; padding:3px 10px; border-radius:20px; margin:3px 4px 0 0; }
.risk-high { color:#f5a0a0; background:rgba(201,75,75,0.15); border:1px solid rgba(201,75,75,0.35); }
.risk-med { color:var(--orange-h); background:rgba(232,106,30,0.12); border:1px solid rgba(232,106,30,0.35); }
.risk-low { color:#8ed9a6; background:rgba(79,174,106,0.15); border:1px solid rgba(79,174,106,0.35); }
.demo-replay { margin-top:22px; text-align:center; }
.demo-fulllink { color:var(--orange-h); text-decoration:none; font-weight:600; }
.demo-fulllink:hover { text-decoration:underline; }

/* ── DEMO ARC: scroll-revealed acts (scope → flow → risk → report) ─────────── */
.demo-arc { max-width:1120px; margin:80px auto 0; display:flex; flex-direction:column; gap:120px; }
.demo-act { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:center; }
.demo-act.rev .demo-act-copy { order:2; }
.demo-act .eyebrow { margin-bottom:14px; }
.demo-act h3 { font-size:clamp(1.5rem,2.6vw,2.1rem); font-weight:700; line-height:1.14; letter-spacing:-0.6px; color:var(--primary); margin:0 0 16px; }
.demo-act h3 em { font-style:italic; font-weight:400; color:var(--orange); }
.demo-act .demo-act-sub { font-size:1rem; color:var(--muted); line-height:1.7; max-width:520px; margin:0; }
.demo-act-visual { display:flex; justify-content:center; }
@media (max-width:820px) {
  .demo-arc { gap:72px; margin-top:56px; }
  .demo-act { grid-template-columns:1fr; gap:28px; }
  .demo-act.rev .demo-act-copy { order:0; }
}

/* Scope map */
.scope-wrap { position:relative; width:100%; max-width:560px; aspect-ratio:5/4; min-height:280px; }
.scope-wrap svg { width:100%; height:100%; overflow:visible; }

/* Real product graphic (connected.svg) cropped to its content region and blended onto the dark page */
.scope-shot { position:relative; width:100%; max-width:560px; aspect-ratio:662/523; overflow:hidden; border-radius:14px; }
.scope-shot::after { content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:radial-gradient(120% 120% at 50% 45%, transparent 60%, rgba(10,10,10,0.55) 100%); }
.scope-shot img { position:absolute; top:0; left:0; width:255%; max-width:none; height:auto; transform:translate(-29.9%,-18.9%);
  opacity:0; transition:opacity 800ms var(--ease); }
.demo-act.in-view .scope-shot img { opacity:1; }
.scope-edge { fill:none; stroke:rgba(244,242,236,0.22); stroke-width:1; stroke-dasharray:220; stroke-dashoffset:220; }
.demo-act.in-view .scope-edge { animation:scope-draw 700ms var(--ease) forwards; }
@keyframes scope-draw { to { stroke-dashoffset:0; } }
.scope-node { opacity:0; }
.demo-act.in-view .scope-node { animation:scope-pop 420ms var(--ease) forwards; }
@keyframes scope-pop { to { opacity:1; } }
.scope-node rect { stroke-width:1.2; }
.scope-node.center rect { fill:var(--orange); stroke:none; }
.scope-node.main rect { fill:var(--bg3); stroke:var(--orange); }
.scope-node.sub rect { fill:transparent; stroke:rgba(244,242,236,0.3); }
.scope-node text { font-family:inherit; text-anchor:middle; dominant-baseline:middle; }
.scope-node.center text { fill:#fff; font-size:13px; font-weight:700; }
.scope-node.main text { fill:var(--primary); font-size:12px; font-weight:600; }
.scope-node.sub text { fill:rgba(244,242,236,0.7); font-size:10px; font-weight:500; }
.demo-act.in-view .scope-node.center { animation-delay:120ms; }
.demo-act.in-view .scope-edge.e-main { animation-delay:400ms; }
.demo-act.in-view .scope-node.main.m1 { animation-delay:700ms; }
.demo-act.in-view .scope-node.main.m2 { animation-delay:780ms; }
.demo-act.in-view .scope-node.main.m3 { animation-delay:860ms; }
.demo-act.in-view .scope-node.main.m4 { animation-delay:940ms; }
.demo-act.in-view .scope-node.main.m5 { animation-delay:1020ms; }
.demo-act.in-view .scope-node.main.m6 { animation-delay:1100ms; }
.demo-act.in-view .scope-edge.e-sub { animation-delay:1300ms; }
.demo-act.in-view .scope-node.sub.s1 { animation-delay:1500ms; }
.demo-act.in-view .scope-node.sub.s2 { animation-delay:1560ms; }
.demo-act.in-view .scope-node.sub.s3 { animation-delay:1620ms; }
.demo-act.in-view .scope-node.sub.s4 { animation-delay:1680ms; }
.demo-act.in-view .scope-node.sub.s5 { animation-delay:1740ms; }
.demo-act.in-view .scope-node.sub.s6 { animation-delay:1800ms; }
.demo-act.in-view .scope-node.sub.s7 { animation-delay:1860ms; }
.demo-act.in-view .scope-node.sub.s8 { animation-delay:1920ms; }
.demo-act.in-view .scope-node.sub.s9 { animation-delay:1980ms; }
.demo-act.in-view .scope-node.sub.s10 { animation-delay:2040ms; }
.demo-act.in-view .scope-node.sub.s11 { animation-delay:2100ms; }
.demo-act.in-view .scope-node.sub.s12 { animation-delay:2160ms; }

/* Data-flow map */
.flowmap { position:relative; width:100%; max-width:600px; aspect-ratio:5/4; min-height:280px; background:var(--cream); border-radius:var(--radius); padding:16px; box-shadow:0 24px 60px rgba(0,0,0,0.45); }
.flowmap svg { width:100%; height:100%; overflow:visible; }
.fm-node { opacity:0; transform:translateY(4px); transform-box:fill-box; transform-origin:center; }
.demo-act.in-view .fm-node { animation:fm-fade 500ms var(--ease) forwards; }
@keyframes fm-fade { to { opacity:1; transform:translateY(0); } }
.fm-node .icon-bg { stroke:rgba(0,0,0,0.08); stroke-width:1; }
.fm-node.subject .icon-bg { fill:var(--orange); }
.fm-node.system .icon-bg { fill:#F2C94C; stroke:#b8902a; stroke-width:1; }
.fm-node.sub .icon-bg { fill:var(--green); }
.fm-node.sub.warn .icon-bg { fill:var(--orange); }
.fm-node.store .icon-bg { fill:#2f6d44; stroke:#4FAE6A; stroke-width:1; }
.fm-node .glyph { fill:#fff; }
.fm-node.system .glyph { fill:#1a1a1a; }
.trust-boundary { fill:rgba(20,20,20,0.05); stroke:rgba(20,20,20,0.18); stroke-width:1; stroke-dasharray:5 4; }
.trust-boundary-label { fill:rgba(20,20,20,0.55); font-family:inherit; font-size:8.5px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; }
.trust-boundary-group { opacity:0; }
.demo-act.in-view .trust-boundary-group { animation:fm-fade 500ms var(--ease) forwards; }
.fm-node .flag rect.bg { fill:#fff; stroke:#1a1a1a; stroke-width:0.4; }
.fm-node .flag use { pointer-events:none; }
.fm-node .num-badge circle { fill:var(--orange); stroke:#fff; stroke-width:1; }
.fm-node .num-badge text { fill:#fff; font-family:inherit; font-size:8px; font-weight:700; text-anchor:middle; dominant-baseline:central; }
.fm-node .label { fill:#1a1a1a; font-family:inherit; font-size:10px; font-weight:600; text-anchor:middle; }
.fm-node .sub-label { fill:#888; font-family:inherit; font-size:8.5px; font-weight:500; text-anchor:middle; }
.fm-arrow { fill:none; stroke:#2a2a2a; stroke-width:1; stroke-linecap:round; stroke-dasharray:300; stroke-dashoffset:300; opacity:0; }
.fm-arrow.hot { stroke:var(--orange); stroke-width:1.6; }
.fm-arrow.dashed { stroke:#6a6a6a; stroke-dasharray:4 3; stroke-dashoffset:0; }
.demo-act.in-view .fm-arrow { animation:fm-draw 900ms linear forwards; }
.demo-act.in-view .fm-arrow.dashed { animation:fm-draw-dashed 900ms linear forwards; }
@keyframes fm-draw { 0%{opacity:0; stroke-dashoffset:300;} 10%{opacity:1;} 100%{opacity:1; stroke-dashoffset:0;} }
@keyframes fm-draw-dashed { 0%{opacity:0;} 40%{opacity:0.4;} 100%{opacity:1;} }
.demo-act.in-view .trust-boundary-group.b1 { animation-delay:80ms; }
.demo-act.in-view .trust-boundary-group.b2 { animation-delay:160ms; }
.demo-act.in-view .trust-boundary-group.b3 { animation-delay:240ms; }
.demo-act.in-view .fm-node.subject.n1 { animation-delay:400ms; }
.demo-act.in-view .fm-node.subject.n2 { animation-delay:550ms; }
.demo-act.in-view .fm-node.subject.n3 { animation-delay:700ms; }
.demo-act.in-view .fm-arrow.a1 { animation-delay:1050ms; }
.demo-act.in-view .fm-arrow.a2 { animation-delay:1200ms; }
.demo-act.in-view .fm-arrow.a3 { animation-delay:1350ms; }
.demo-act.in-view .fm-node.system.n4 { animation-delay:1600ms; }
.demo-act.in-view .fm-node.system.n5 { animation-delay:1750ms; }
.demo-act.in-view .fm-node.system.n6 { animation-delay:1900ms; }
.demo-act.in-view .fm-arrow.a4 { animation-delay:2250ms; }
.demo-act.in-view .fm-arrow.a5 { animation-delay:2400ms; }
.demo-act.in-view .fm-arrow.a6 { animation-delay:2550ms; }
.demo-act.in-view .fm-arrow.a7 { animation-delay:2700ms; }
.demo-act.in-view .fm-node.sub.n7 { animation-delay:2900ms; }
.demo-act.in-view .fm-node.sub.n8 { animation-delay:3050ms; }
.demo-act.in-view .fm-node.sub.n9 { animation-delay:3200ms; }
.demo-act.in-view .fm-arrow.a8 { animation-delay:3350ms; }
.demo-act.in-view .fm-arrow.a9 { animation-delay:3500ms; }
.demo-act.in-view .fm-node.store.n10 { animation-delay:3650ms; }
.demo-act.in-view .fm-node.subject.n11 { animation-delay:3800ms; }

/* Risk cards */
.risk-stack { display:flex; width:100%; max-width:520px; flex-direction:column; gap:14px; }
.risk-card { display:grid; grid-template-columns:4px 1fr; gap:16px; background:var(--bg2); border:1px solid var(--border); border-radius:12px; padding:16px 18px 16px 0; overflow:hidden; opacity:0; transform:translateY(12px); }
.demo-act.in-view .risk-card { animation:risk-in 500ms var(--ease) forwards; }
@keyframes risk-in { to { opacity:1; transform:translateY(0); } }
.demo-act.in-view .risk-card:nth-of-type(1) { animation-delay:300ms; }
.demo-act.in-view .risk-card:nth-of-type(2) { animation-delay:650ms; }
.demo-act.in-view .risk-card:nth-of-type(3) { animation-delay:1000ms; }
.risk-card .bar { background:var(--orange); }
.risk-card.sev-high .bar { background:var(--red); }
.risk-card.sev-med .bar { background:var(--orange); }
.risk-card.sev-low .bar { background:var(--green); }
.risk-card .body { padding:2px 0 2px 14px; }
.risk-card .head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.risk-card .pill { font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; padding:3px 8px; border-radius:4px; }
.risk-card.sev-high .pill { background:rgba(201,75,75,0.15); color:#f5a0a0; }
.risk-card.sev-med .pill { background:rgba(232,106,30,0.15); color:var(--orange-h); }
.risk-card.sev-low .pill { background:rgba(79,174,106,0.15); color:#8ed9a6; }
.risk-card .statement { font-size:0.92rem; font-weight:600; color:var(--primary); line-height:1.45; margin-bottom:10px; }
.risk-card .rec { display:flex; gap:10px; padding:10px 12px; background:rgba(232,106,30,0.06); border:1px solid rgba(232,106,30,0.18); border-radius:8px; font-size:0.82rem; color:var(--muted); line-height:1.55; }
.risk-card .rec .rec-label { color:var(--orange); font-weight:700; white-space:nowrap; }

/* PDF report */
.pdf { position:relative; width:100%; max-width:400px; aspect-ratio:3/4; background:var(--cream); color:#1a1a1a; border-radius:4px; overflow:hidden; box-shadow:0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04); transform:translateY(20px); opacity:0; }
.demo-act.in-view .pdf { animation:rise 500ms var(--ease) forwards; }
@keyframes rise { to { opacity:1; transform:translateY(0); } }
.pdf::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg, rgba(0,0,0,0.05), transparent 8%, transparent 92%, rgba(0,0,0,0.05)); }
.pdf-track { display:flex; flex-direction:column; transform:translateY(0); }
.demo-act.in-view .pdf-track { animation:pdf-scroll 42s linear 400ms 1 forwards; }
@keyframes pdf-scroll {
  0%,4% { transform:translateY(0); }
  14%,22% { transform:translateY(-16.6667%); }
  32%,40% { transform:translateY(-33.3333%); }
  50%,60% { transform:translateY(-50%); }
  70%,78% { transform:translateY(-66.6667%); }
  88%,100% { transform:translateY(-83.3333%); }
}
.pdf-page { flex-shrink:0; width:100%; aspect-ratio:3/4; padding:24px 24px 20px; position:relative; }
.pdf-cover { display:flex; flex-direction:column; justify-content:space-between; }
.pdf-cover .brand { font-size:0.7rem; letter-spacing:3px; text-transform:uppercase; color:#888; font-weight:600; }
.pdf-cover .brand .dot { color:var(--orange); }
.pdf-cover .title { font-size:clamp(1.4rem,2.6vw,1.8rem); font-weight:700; line-height:1.15; color:#1a1a1a; margin-top:36%; letter-spacing:-0.5px; }
.pdf-cover .title em { font-style:italic; font-weight:400; color:var(--orange); }
.pdf-cover .sub { font-size:0.8rem; color:#555; margin-top:8px; }
.pdf-cover .meta { display:flex; justify-content:space-between; font-size:0.68rem; color:#888; border-top:1px solid rgba(0,0,0,0.08); padding-top:10px; }
.pdf-page h3 { font-size:0.78rem; letter-spacing:2px; text-transform:uppercase; color:#888; margin:0 0 14px; font-weight:700; }
.pdf-toc ol { list-style:none; counter-reset:toc; margin:0; padding:0; }
.pdf-toc li { counter-increment:toc; display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px dotted rgba(0,0,0,0.12); font-size:0.82rem; color:#1a1a1a; }
.pdf-toc li::before { content:counter(toc, decimal-leading-zero); color:var(--orange); font-weight:700; font-size:0.72rem; }
.pdf-toc li .fill { flex:1; border-bottom:1px dotted rgba(0,0,0,0.2); margin:0 4px 4px; }
.pdf-toc li .pg { color:#888; font-size:0.72rem; }
.pdf-flow svg { width:100%; }
.pdf-flow .pf-arrow { fill:none; stroke:#1a1a1a; stroke-width:1; stroke-dasharray:3 3; }
.pdf-flow .pf-arrow.hot { stroke:var(--orange); }
.pdf-flow .pf-caption { font-size:0.72rem; color:#666; margin-top:8px; font-style:italic; }
.pdf-flow.s-saas .pf-arrow { stroke-dasharray:none; }
.pdf-flow.s-saas .pf-arrow.dashed { stroke-dasharray:3 3; stroke:#6a6a6a; }
.pdf-flow.s-saas .pf-boundary { fill:rgba(20,20,20,0.05); stroke:rgba(20,20,20,0.22); stroke-width:0.7; stroke-dasharray:3 3; }
.pdf-flow.s-saas .pf-boundary-label { fill:rgba(20,20,20,0.55); font-family:inherit; font-size:5.2px; font-weight:600; text-transform:uppercase; letter-spacing:0.06em; }
.pdf-flow.s-saas .pf-node .icon-bg { stroke:rgba(0,0,0,0.08); stroke-width:0.5; }
.pdf-flow.s-saas .pf-node.subject .icon-bg { fill:var(--orange); }
.pdf-flow.s-saas .pf-node.system .icon-bg { fill:#F2C94C; stroke:#b8902a; stroke-width:0.6; }
.pdf-flow.s-saas .pf-node.sub .icon-bg { fill:var(--green); }
.pdf-flow.s-saas .pf-node.sub.warn .icon-bg { fill:var(--orange); }
.pdf-flow.s-saas .pf-node.store .icon-bg { fill:#2f6d44; stroke:#4FAE6A; stroke-width:0.6; }
.pdf-flow.s-saas .pf-node .glyph { fill:#fff; }
.pdf-flow.s-saas .pf-node.system .glyph { fill:#1a1a1a; }
.pdf-flow.s-saas .pf-node .pf-label { fill:#1a1a1a; font-family:inherit; font-size:5.6px; font-weight:600; text-anchor:middle; dominant-baseline:auto; }
.pdf-flow.s-saas .pf-node .pf-sublabel { fill:#888; font-family:inherit; font-size:4.6px; font-weight:500; text-anchor:middle; dominant-baseline:auto; }
.pdf-flow.s-saas .pf-flag rect.bg { fill:#fff; stroke:#1a1a1a; stroke-width:0.3; }
.pdf-flow.s-saas .pf-num circle { fill:var(--orange); stroke:#fff; stroke-width:0.4; }
.pdf-flow.s-saas .pf-num text { fill:#fff; font-family:inherit; font-size:4.6px; font-weight:700; text-anchor:middle; dominant-baseline:central; }
.pdf-desc p { font-size:0.78rem; color:#1a1a1a; line-height:1.65; margin:0 0 10px; }
.pdf-desc p strong { font-weight:600; }
.pdf-desc .lead-para::first-letter { font-size:2em; float:left; line-height:0.9; padding:2px 6px 0 0; font-weight:700; color:var(--orange); }
.pdf-comp .row { display:grid; grid-template-columns:64px 1fr 18px; gap:10px; align-items:center; padding:7px 0; border-bottom:1px solid rgba(0,0,0,0.08); font-size:0.76rem; }
.pdf-comp .row .art { font-weight:700; font-size:0.72rem; color:#555; }
.pdf-comp .row .what { color:#1a1a1a; }
.pdf-comp .row .mk { width:14px; height:14px; border-radius:3px; background:var(--green); color:#fff; font-size:0.7rem; display:grid; place-items:center; }
.pdf-comp .row.warn .mk { background:var(--orange); }
.pdf-risk .matrix { display:grid; grid-template-columns:70px repeat(3,1fr); grid-template-rows:20px repeat(3,1fr); gap:4px; margin-bottom:12px; }
.pdf-risk .matrix .h, .pdf-risk .matrix .v { font-size:0.62rem; color:#888; text-transform:uppercase; letter-spacing:1.5px; display:grid; place-items:center; }
.pdf-risk .matrix .c { border:1px solid rgba(0,0,0,0.08); border-radius:4px; position:relative; display:grid; place-items:center; font-size:0.62rem; color:#666; min-height:40px; }
.pdf-risk .matrix .c.l { background:rgba(79,174,106,0.15); }
.pdf-risk .matrix .c.m { background:rgba(232,106,30,0.15); }
.pdf-risk .matrix .c.h { background:rgba(201,75,75,0.18); }
.pdf-risk .matrix .c .pt { position:absolute; width:9px; height:9px; border-radius:50%; background:#1a1a1a; }
.pdf-risk .matrix .c.h .pt { background:var(--red); }
.pdf-risk .matrix .c.m .pt { background:var(--orange); }
.pdf-risk .findings { font-size:0.72rem; color:#1a1a1a; margin:0; padding:0; }
.pdf-risk .findings li { list-style:none; padding:4px 0 4px 18px; position:relative; }
.pdf-risk .findings li::before { content:''; position:absolute; left:0; top:10px; width:8px; height:8px; border-radius:50%; background:var(--orange); }
.pdf-page .pf-footer { position:absolute; left:24px; right:24px; bottom:14px; display:flex; justify-content:space-between; font-size:0.62rem; color:#888; letter-spacing:1px; border-top:1px solid rgba(0,0,0,0.06); padding-top:8px; }
.pdf-hint { position:absolute; bottom:14px; right:14px; display:flex; align-items:center; gap:6px; font-size:0.62rem; color:var(--muted); letter-spacing:1.5px; text-transform:uppercase; padding:6px 10px; background:rgba(10,10,10,0.75); border:1px solid var(--border); border-radius:999px; pointer-events:none; opacity:0; }
.demo-act.in-view .pdf-hint { animation:hint-show 42s var(--ease) 400ms 1 forwards; }
@keyframes hint-show { 0%{opacity:0;} 4%{opacity:1;} 92%{opacity:1;} 100%{opacity:0;} }
.pdf-hint .bar { display:inline-block; width:14px; height:1.5px; background:var(--orange); animation:scroll-dash 1.8s var(--ease) infinite; }
@keyframes scroll-dash { 0%{transform:translateY(-3px); opacity:0.3;} 50%{transform:translateY(0); opacity:1;} 100%{transform:translateY(3px); opacity:0.3;} }

/* Reduced motion: show final states, no auto-scroll; stack PDF pages */
@media (prefers-reduced-motion:reduce) {
  .type-caret { display:none !important; }
  .chat-typing-dots i { animation:none !important; }
  .chat-typing { display:none !important; }
  .scope-edge, .scope-node, .fm-node, .trust-boundary-group, .fm-arrow, .risk-card, .pdf { opacity:1 !important; transform:none !important; animation:none !important; }
  .scope-edge { stroke-dashoffset:0 !important; }
  .fm-arrow { stroke-dashoffset:0 !important; }
  .pdf { aspect-ratio:auto; height:auto; overflow:visible; }
  .pdf-track { animation:none !important; }
  .pdf-page { aspect-ratio:auto; min-height:0; border-bottom:1px solid rgba(0,0,0,0.08); }
  .pdf-hint { display:none; }
}

/* ── WHAT YOU GET (use-case) ───────────────────────────────────────────────── */
.wyg-inner { max-width:900px; margin:0 auto; display:grid; grid-template-columns:1.1fr 0.9fr; gap:44px; align-items:center; }
.wyg-inner p { color:var(--muted); font-size:1rem; line-height:1.8; margin-top:8px; }

/* ── "When is X required" list + micro note (use-case SEO sections) ─────────── */
.check-list { list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.check-list li { position:relative; padding-left:30px; color:var(--muted); font-size:1rem; line-height:1.6; }
.check-list li::before { content:''; position:absolute; left:0; top:2px; width:18px; height:18px; border-radius:50%; background:rgba(232,106,30,0.14); }
.check-list li::after { content:''; position:absolute; left:6px; top:6px; width:6px; height:9px; border:solid var(--orange); border-width:0 2px 2px 0; transform:rotate(40deg); }
.micro-note { margin-top:18px; font-size:0.9rem; color:var(--muted); font-style:italic; }

/* ── FAQ accordion ─────────────────────────────────────────────────────────── */
.faq-inner { max-width:780px; margin:0 auto; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-item summary { list-style:none; cursor:pointer; padding:22px 0; display:flex; align-items:center; gap:16px; font-size:1.02rem; font-weight:600; color:var(--primary); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary .faq-plus { margin-left:auto; flex-shrink:0; width:20px; height:20px; position:relative; transition:transform 0.25s var(--ease); }
.faq-item summary .faq-plus::before, .faq-item summary .faq-plus::after { content:''; position:absolute; background:var(--orange); border-radius:2px; }
.faq-item summary .faq-plus::before { top:9px; left:0; right:0; height:2px; }
.faq-item summary .faq-plus::after { left:9px; top:0; bottom:0; width:2px; transition:transform 0.25s var(--ease); }
.faq-item[open] summary .faq-plus::after { transform:rotate(90deg); opacity:0; }
.faq-item .faq-body { padding:0 0 24px; color:var(--muted); font-size:0.95rem; line-height:1.8; max-width:680px; }
.faq-todo { color:var(--orange-h); font-style:italic; }

/* ── OTHER ASSESSMENTS block ───────────────────────────────────────────────── */
.other-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:40px; }
.other-item { display:flex; align-items:center; gap:12px; text-decoration:none; background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:18px 20px; transition:border-color 0.2s, transform 0.2s; }
.other-item:hover { border-color:rgba(232,106,30,0.4); transform:translateY(-3px); }
.other-item .oa-arrow { margin-left:auto; color:var(--orange); transition:transform 0.2s var(--ease); }
.other-item:hover .oa-arrow { transform:translateX(4px); }
.other-item span { font-weight:600; color:var(--primary); font-size:0.96rem; }

/* ── CTA BAND ──────────────────────────────────────────────────────────────── */
.cta-section { padding:100px 24px; text-align:center; background:var(--bg); border-top:1px solid var(--border); position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; bottom:-300px; left:50%; transform:translateX(-50%); width:800px; height:800px; border-radius:50%; max-width:130vw; background:radial-gradient(circle, rgba(232,106,30,0.12) 0%, transparent 68%); pointer-events:none; }
.cta-section > * { position:relative; }
.cta-section h2 { font-size:clamp(1.8rem, 3.5vw, 2.7rem); font-weight:700; letter-spacing:-0.6px; margin-bottom:16px; color:var(--primary); }
.cta-section p { color:var(--muted); font-size:1rem; max-width:560px; margin:0 auto 36px; line-height:1.75; }

/* ── MID-PAGE CTA (conversion repeat) ──────────────────────────────────────── */
.midcta { padding:64px 24px; text-align:center; background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.midcta-inner { max-width:620px; margin:0 auto; }
.midcta h2 { font-size:clamp(1.5rem, 3vw, 2.1rem); font-weight:700; letter-spacing:-0.5px; color:var(--primary); margin-bottom:12px; }
.midcta p { color:var(--muted); font-size:0.98rem; line-height:1.7; margin:0 auto 26px; max-width:520px; }

/* ── STICKY MOBILE CTA ─────────────────────────────────────────────────────── */
.sticky-cta { display:none; position:fixed; left:16px; right:16px; bottom:16px; z-index:90; text-align:center; padding:15px 20px; border-radius:var(--radius); background:var(--orange); color:#fff; font-weight:600; font-size:0.98rem; text-decoration:none; box-shadow:0 10px 30px rgba(0,0,0,0.5); }
.sticky-cta:hover { background:var(--orange-h); }
.sticky-cta .arrow { margin-left:4px; }

/* ── TRUST MICROLINE ───────────────────────────────────────────────────────── */
.trust-microline { text-align:center; padding:32px 24px; font-size:0.85rem; color:var(--muted); background:var(--bg2); border-top:1px solid var(--border); }
.trust-microline strong { color:var(--orange-h); font-weight:600; }

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
footer { padding:32px 40px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:0.82rem; flex-wrap:wrap; gap:16px; background:var(--bg2); }
.footer-logo { font-weight:700; color:var(--primary); }
.footer-logo span { color:var(--orange); }
.footer-links { display:flex; gap:24px; align-items:center; }
.footer-links a { color:var(--muted); text-decoration:none; transition:color 0.2s; }
.footer-links a:hover { color:var(--primary); }
.lang-toggle { display:inline-flex; border:1px solid var(--border-s); border-radius:20px; overflow:hidden; }
.lang-toggle a { padding:4px 12px; font-size:0.75rem; font-weight:600; color:var(--muted); text-decoration:none; }
.lang-toggle a.active { background:var(--orange); color:#fff; }

/* ── SCROLL REVEAL ─────────────────────────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(20px); transition:opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width:980px) {
  .wyg-inner { grid-template-columns:1fr; gap:28px; }
}
/* Pillars: collapse to one centered column while 3 columns would be too narrow to
   stay legible (chat text + card body get cramped below ~1040px). */
@media (max-width:1040px) {
  .cards-grid.pillars { grid-template-columns:1fr; max-width:560px; margin-left:auto; margin-right:auto; }
}
@media (max-width:900px) {
  .demo-stage { grid-template-columns:1fr; }
  .cards-grid, .cards-grid.cols-4 { grid-template-columns:1fr; }
  .paths-grid, .fw-grid, .dm-grid, .testimonials, .other-grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  nav, nav.scrolled { padding:12px 20px; }
  .nav-links { display:none; }
  .nav-toggle { display:inline-flex; }
  /* mobile menu panel */
  .mobile-menu { display:none; position:fixed; inset:0 0 0 auto; top:0; z-index:99; width:min(86vw,340px); background:var(--bg2); border-left:1px solid var(--border); padding:88px 22px 30px; overflow-y:auto; transform:translateX(100%); transition:transform 0.3s var(--ease); }
  .mobile-menu.open { display:block; transform:translateX(0); }
  .mobile-menu a { display:block; padding:14px 12px; border-bottom:1px solid var(--border); text-decoration:none; color:var(--primary); font-weight:500; }
  .mobile-menu .mm-sub a { padding-left:26px; font-size:0.9rem; color:var(--muted); }
  .mobile-menu .mm-head { font-size:0.72rem; text-transform:uppercase; letter-spacing:1.5px; color:var(--orange); padding:18px 12px 6px; font-weight:700; }
  .mobile-scrim { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:98; }
  .mobile-scrim.open { display:block; }
  .whynow-inner { padding:32px 22px; }
  .hero { padding:110px 20px 70px; }
  footer { flex-direction:column; text-align:center; }
  .sticky-cta { display:block; }
  .carousel-arrow { width:40px; height:40px; }
  .carousel-arrow.prev { left:8px; }
  .carousel-arrow.next { right:8px; }
  /* keep all modules on a single row — just tighter on small screens */
  .carousel-tabs-row { gap:5px; }
  .ctab { gap:6px; padding:5px 2px 12px; }
  .ctab-num { font-size:0.72rem; }
  .ctab-ico { width:18px; height:18px; }
  .ctab-label { font-size:0.6rem; line-height:1.25; }
  /* strip drops back below the image on small screens */
  .carousel-tabs { order:0; margin:34px 0 0; padding:26px 0 0; border-top:1px solid var(--border); border-bottom:none; }
  /* Hero product screenshot — condense the app chrome, hide the sidebar, chat goes full width */
  .hero-app { margin-top:40px; }
  .app-side { display:none; }
  .app-navlinks, .app-search { display:none; }
  .app-nav { gap:14px; padding:0 14px; height:48px; }
  .app-url { max-width:none; }
  .app-main { min-height:0; }
  .app-chat { padding:16px 16px 18px; }
}
.mobile-menu, .mobile-scrim { display:none; }
@media (max-width:768px) { .mobile-menu.open, .mobile-scrim.open { display:block; } }

/* ── REDUCED MOTION ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  .carousel-track { transition:none !important; }
  .cursor { display:none; }
  .reveal { opacity:1; transform:none; }
}

/* ── EARLY-ACCESS FORM (shared conversion point; wired to instance-engine API) ── */
.ea-form { max-width:520px; margin:34px auto 0; text-align:left; }
.ea-row { display:flex; gap:16px; }
.ea-row .ea-field { flex:1; }
.ea-field { display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
.ea-label { font-size:0.82rem; font-weight:600; color:var(--primary); display:flex; align-items:center; gap:4px; }
.ea-label .req { color:var(--orange); font-size:0.75rem; }
.ea-label .opt { color:var(--muted); font-size:0.72rem; font-weight:500; }
.ea-input {
  width:100%; padding:11px 14px; border-radius:var(--radius);
  border:1.5px solid var(--border-s); background:rgba(255,255,255,0.04);
  color:var(--primary); font-size:0.92rem; font-family:inherit;
  outline:none; transition:border-color 0.2s;
}
.ea-input:focus { border-color:var(--orange); }
.ea-input.error { border-color:#ef4444; }
.ea-input::placeholder { color:#5a5a5a; }
.ea-error { font-size:0.78rem; color:#ef4444; margin-top:2px; min-height:1em; }
.ea-yesno { display:flex; gap:10px; }
.ea-yesno-btn {
  flex:1; padding:10px; border-radius:var(--radius);
  border:1.5px solid var(--border-s); background:rgba(255,255,255,0.03);
  color:var(--muted); font-size:0.88rem; font-weight:600;
  cursor:pointer; transition:border-color 0.2s, color 0.2s, background 0.2s;
  font-family:inherit;
}
.ea-yesno-btn.selected { border-color:var(--orange); color:var(--orange); background:rgba(232,106,30,0.08); }
.ea-captcha { display:flex; align-items:center; gap:12px; }
.ea-captcha .ea-input { flex:1; }
.ea-captcha-img { height:44px; width:auto; border-radius:8px; border:1px solid var(--border-s); background:#fff; }
.ea-note { font-size:0.78rem; color:var(--muted); margin-top:14px; text-align:center; line-height:1.6; }
.ea-submit-wrap { text-align:center; margin-top:8px; }
.ea-confirm {
  display:none; max-width:520px; margin:34px auto 0;
  background:rgba(79,174,106,0.10); border:1px solid rgba(79,174,106,0.32);
  border-radius:14px; padding:28px 26px; text-align:left;
}
.ea-confirm h3 { font-size:1.15rem; font-weight:700; color:var(--primary); margin-bottom:10px; }
.ea-confirm p { color:var(--muted); font-size:0.95rem; line-height:1.7; margin-bottom:10px; }
.ea-confirm .ea-signoff { color:var(--green); font-weight:600; font-size:0.88rem; margin-bottom:0; }
