/* Ecrin site (landing). Same fonts, tokens and light/dark themes as the app (app.css). */
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 400; font-display: swap; src: url("fonts/unbounded-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url("fonts/unbounded-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url("fonts/unbounded-latin-600-normal.woff2") format("woff2"); }
:root, [data-theme="light"] {
  --bg: #f6f6f3; --panel: #ffffff; --panel-2: #f1f1ed; --line: #e6e6e1; --line-2: #d6d6cf;
  --ink: #101114; --text: #45484f; --muted: #8b8d93; --blue: #2f5bff; --blue-soft: #eef1ff; --on-ink: #ffffff;
  --good: #10915c; --good-soft: #e6f4ed; --warn: #b7700a; --warn-soft: #fbf3e4; --bad: #d4553c; --bad-soft: #fdf1ed;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0c0d0f; --panel: #131417; --panel-2: #1a1b1f; --line: #23252a; --line-2: #33363c;
  --ink: #f3f3ef; --text: #b5b7bd; --muted: #7c7f87; --blue: #7d97ff; --blue-soft: #1a1f33; --on-ink: #0c0d0f;
  --good: #3ccf8e; --good-soft: #13241c; --warn: #f0b04a; --warn-soft: #231c10; --bad: #ff8a6b; --bad-soft: #2a1712;
  color-scheme: dark;
}
:root { --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --num: "Unbounded", "Manrope", ui-sans-serif, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.025em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font: 500 14.5px/1 var(--font); text-decoration: none; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.btn:hover { border-color: var(--ink); }
.btn.primary { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.btn.primary:hover { opacity: .88; }
.btn.ghost { background: transparent; }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15.5px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 18px/1 var(--font); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.logo.small { font-size: 15px; gap: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 8px; margin-left: auto; }

.eyebrow { display: inline-block; color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .01em; margin-bottom: 14px; }

/* hero */
.hero-s { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy h1 { text-wrap: balance; font-size: 64px; line-height: 1.02; font-weight: 700; letter-spacing: -.045em; }
.accent { color: var(--blue); }
.lede { margin: 22px 0 0; max-width: 520px; color: var(--text); font-size: 18px; line-height: 1.6; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.center-row { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13.5px; }
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--blue); }

/* hero mock */
.hero-visual { position: relative; }
.mock { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: 0 40px 80px -48px rgba(13, 15, 20, .35); }
.mock-top { display: flex; justify-content: space-between; align-items: center; }
.mock-k { color: var(--muted); font-size: 13px; font-weight: 500; }
.pill-s { padding: 4px 10px; border-radius: 999px; background: var(--panel-2); font-size: 12px; font-weight: 500; }
.mock-bal { margin-top: 10px; font: 600 46px/1 var(--font); color: var(--ink); letter-spacing: -.04em; }
.mock-bal small { font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.mock-sub { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.mock-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff6f3; border: 1px solid #fbe0d8; }
.mock-alert b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.mock-alert span { display: block; margin-top: 2px; color: #9a5a48; font-size: 13px; }
.pulse { position: relative; flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: #e2603f; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #e2603f; opacity: 0; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
.mock-clock { display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin-top: 16px; padding: 20px 8px 16px; border-radius: 16px; background: var(--blue-soft); }
.mock-clock span { display: grid; justify-items: center; min-width: 56px; }
.mock-clock b { color: var(--ink); font: 700 40px/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mock-clock small { margin-top: 6px; color: var(--muted); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.mock-clock i { font-style: normal; color: #b4c2ff; font: 600 30px/1.15 var(--font); }
.mock-keep { display: flex; align-items: center; justify-content: center; gap: 9px; height: 52px; margin-top: 16px; border-radius: 999px; background: linear-gradient(180deg, #3d67ff, var(--blue)); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 10px 28px -10px rgba(47, 91, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .22); animation: press 6s ease-in-out infinite; }
@keyframes press { 0%, 50% { transform: scale(1); } 54% { transform: scale(.97); } 58%, 100% { transform: scale(1); } }
.mock-foot { display: flex; justify-content: space-between; margin-top: 16px; color: var(--muted); font-size: 12.5px; }
.mock-bar { margin-top: 14px; height: 4px; border-radius: 4px; background: var(--panel-2); overflow: hidden; }
.mock-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--blue); animation: fill 6s ease-in-out infinite; }
@keyframes fill { 0% { width: 4%; } 52% { width: 22%; } 100% { width: 4%; } }
.mock-toast { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 12px 28px -12px rgba(13, 15, 20, .5); animation: toast 6s ease-in-out infinite; }
@keyframes toast { 0%, 55% { opacity: 0; transform: translate(-50%, 6px); } 62%, 92% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* sections */
.band { padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.band h2, .sec h2, .cta-s h2 { font-size: 40px; line-height: 1.12; font-weight: 700; }
.muted-p { margin: 18px auto 0; color: var(--text); font-size: 17px; max-width: 640px; }
.sec { padding: 96px 0; }
.sec.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; }

.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.path { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.path-n { color: var(--muted); font-size: 13px; font-weight: 600; }
.path h3 { margin-top: 18px; font-size: 20px; font-weight: 600; }
.path p { margin: 10px 0 22px; color: var(--text); font-size: 15px; }
.path-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--panel-2); color: var(--ink); font-size: 13px; font-weight: 600; }
.path-tag.fast { background: var(--good-soft); color: var(--good); }
.path-tag.slow { background: var(--blue-soft); color: var(--blue); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--text); font-size: 15px; }
.steps li::before { content: counter(s); display: block; margin-bottom: 10px; color: var(--blue); font-weight: 700; }
.steps b { color: var(--ink); }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.feat { padding: 30px 28px; background: var(--panel); }
.ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); }
.ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin-top: 18px; font-size: 17px; font-weight: 600; }
.feat p { margin: 8px 0 0; color: var(--text); font-size: 14.5px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.tier.hot { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.badge { position: absolute; top: -12px; left: 28px; padding: 4px 10px; border-radius: 999px; background: var(--blue); color: var(--on-ink); font-size: 12px; font-weight: 600; }
.tier h3 { font-size: 22px; font-weight: 600; }
.tier-d { margin: 6px 0 18px; color: var(--muted); font-size: 14.5px; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tier li { position: relative; padding-left: 24px; font-size: 14.5px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.sec-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.table-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { padding: 14px 20px; text-align: left; color: var(--muted); font-weight: 500; font-size: 13px; background: var(--panel-2); }
td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
td:first-child { color: var(--ink); font-weight: 500; width: 44%; }
.status { display: grid; gap: 4px; }
.status-row { display: flex; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-row b { color: var(--ink); font-weight: 600; }
.status-row p { margin: 4px 0 0; font-size: 14.5px; }
.status-row a { color: var(--blue); }
.dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; }
.dot.ok { background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }

.help { margin: 28px auto 0; max-width: 560px; padding: 16px 20px; border-radius: 14px; background: var(--blue-soft); color: var(--ink); font-size: 14.5px; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; color: var(--ink); font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 4px 22px; color: var(--text); font-size: 15.5px; max-width: 640px; }

.cta-s { padding: 104px 0; }
.foot-s { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.foot-in p { margin: 0; }
.foot-links { display: flex; gap: 18px; margin-left: auto; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* threats */
.threats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.threat { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.threat h3 { margin-top: 18px; font-size: 18px; font-weight: 600; }
.threat p { margin: 8px 0 20px; font-size: 14.5px; }
.vs { display: grid; gap: 6px; margin-top: auto; font-size: 13px; font-weight: 500; }
.vs span { display: flex; align-items: center; gap: 8px; }
.vs span::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; }
.vs .bad { color: var(--muted); } .vs .bad::before { background: var(--line-2); }
.vs .ok { color: var(--blue); } .vs .ok::before { background: var(--blue); }
.threat.cta-card { justify-content: center; align-items: flex-start; border: 0; background: var(--ink); color: #c9ccd4; }
.threat.cta-card h3 { margin: 0; color: #fff; font-size: 22px; }
.threat.cta-card p { margin: 10px 0 22px; }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 0 0 34px; }
.timeline li::before { content: ""; position: absolute; left: 95px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--panel); border: 2px solid var(--blue); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 100px; top: 12px; bottom: -4px; width: 1px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--blue); }
.t-time { padding-top: 2px; color: var(--muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.timeline li > div { padding-left: 30px; }
.timeline b { color: var(--ink); font-size: 17px; font-weight: 600; }
.timeline p { margin: 6px 0 0; font-size: 15px; }

/* compare */
.compare th, .compare td { text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td:first-child { width: 34%; }
.compare .us { background: var(--blue-soft); }
.compare th.us { color: var(--blue); font-weight: 600; }
.compare i { font-style: normal; font-weight: 500; font-size: 13.5px; }
.compare i.no { color: var(--muted); }
.compare i.yes { color: var(--ink); }
.compare td.us i.yes { color: var(--blue); font-weight: 600; }

/* roadmap */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stage { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.stage.now { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.stage-k { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); color: var(--ink); font-size: 12px; font-weight: 600; }
.stage.now .stage-k { background: var(--ink); color: var(--on-ink); }
.stage h3 { margin-top: 16px; font-size: 20px; font-weight: 600; }
.stage ul { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.stage li { position: relative; padding-left: 18px; font-size: 14.5px; }
.stage li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.stage.now li::before { background: var(--blue); }

/* who */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who article { padding: 28px; border-top: 2px solid var(--blue); background: var(--bg); border-radius: 0 0 18px 18px; }
.who h3 { font-size: 18px; font-weight: 600; }
.who p { margin: 8px 0 0; font-size: 15px; }
.sec-head .muted-p { margin-left: 0; }
.sec-head.center .muted-p { margin-left: auto; }

@media (max-width: 960px) {
  .threats, .road, .who { grid-template-columns: 1fr 1fr; }
  .hero-grid, .sec-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy h1 { font-size: 52px; }
  .paths, .steps, .tiers { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero-s { padding: 48px 0 56px; }
  .hero-copy h1 { font-size: 40px; }
  .lede { font-size: 16.5px; }
  .band h2, .sec h2, .cta-s h2 { font-size: 30px; }
  .sec { padding: 64px 0; }
  .feats, .threats, .road, .who { grid-template-columns: 1fr; }
  .nav-cta .ghost { display: none; }
  .mock-clock { gap: 2px; } .mock-clock span { min-width: 44px; } .mock-clock b { font-size: 30px; } .mock-clock i { font-size: 22px; }
  .mock-keep { font-size: 14px; }
  .timeline li { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline li::before { left: 55px; } .timeline li::after { left: 60px; }
  .timeline li > div { padding-left: 18px; }
  .compare { overflow-x: auto; } .compare table { min-width: 520px; }
  .hero-cta .btn { flex: 1; }
  .mock { padding: 22px; }
  .mock-bal { font-size: 38px; }
  td, th { padding: 12px 14px; }
  .foot-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .mock-bar i, .mock-toast, .mock-keep, .pulse::after { animation: none; } .mock-bar i { width: 20%; } .mock-toast { opacity: 1; } }

/* ---------------- motion (landing only) ---------------- */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.hero-s { position: relative; overflow: hidden; isolation: isolate; }
.glow { position: absolute; z-index: -1; top: -20%; right: -10%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 91, 255, .16), rgba(47, 91, 255, 0)); transform: translate3d(0, calc(var(--sy, 0) * .25px), 0); pointer-events: none; }
.hero-s .wrap { position: relative; }
.mock { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, calc(var(--sy, 0) * -.08px), 0); transition: transform .25s ease-out; will-change: transform; }

.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; } .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; } .js .hero-copy > :nth-child(5) { animation-delay: .32s; }
.js .hero-visual { opacity: 0; animation: rise 1s .2s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* cursor spotlight on cards */
.threat, .feat, .path, .tier, .stage { position: relative; isolation: isolate; }
.threat::after, .feat::after, .path::after, .tier::after, .stage::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(320px circle at var(--mx, -999px) var(--my, -999px), rgba(47, 91, 255, .09), transparent 60%); pointer-events: none; }
.threat.cta-card::after { background: radial-gradient(320px circle at var(--mx, -999px) var(--my, -999px), rgba(47, 91, 255, .35), transparent 60%); }
.threat, .path, .tier, .stage { transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease; }
.threat:hover, .path:hover, .stage:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(13, 15, 20, .35); }

/* scroll story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.story-steps { display: grid; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s ease; }
.step:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 8vh; }
.step:last-child { min-height: 60vh; }
.step.on { opacity: 1; }
.step .t-time { text-align: left; color: var(--blue); }
.step h3 { margin-top: 10px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.step p { margin: 12px 0 0; max-width: 440px; font-size: 16.5px; }
.story-pin { position: relative; }
.device { position: sticky; top: calc(50vh - 210px); padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); box-shadow: 0 50px 90px -50px rgba(13, 15, 20, .4); overflow: hidden; transition: box-shadow .5s ease, border-color .5s ease; }
.device[data-state="1"] { border-color: #f6cdbf; box-shadow: 0 50px 90px -50px rgba(226, 96, 63, .45); }
.device[data-state="3"] { border-color: #cbd7ff; box-shadow: 0 50px 90px -50px rgba(47, 91, 255, .5); }
.dv-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; font-weight: 500; }
.dv-pill { padding: 4px 10px; border-radius: 999px; background: var(--panel-2); color: var(--ink); font-size: 12px; }
.dv-bal { margin-top: 8px; color: var(--ink); font: 700 52px/1 var(--font); letter-spacing: -.04em; }
.dv-bal small { color: var(--muted); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.dv-status { position: relative; height: 46px; margin-top: 18px; }
.st { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: var(--panel-2); color: var(--text); font-size: 13.5px; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; white-space: nowrap; overflow: hidden; }
.st b { color: var(--ink); }
.st1 { background: #fff6f3; } .st3, .st2 { background: var(--blue-soft); }
.device[data-state="0"] .st0, .device[data-state="1"] .st1, .device[data-state="2"] .st2, .device[data-state="3"] .st3 { opacity: 1; transform: none; }
.st-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.st-dot.ok { background: var(--blue); } .st-dot.bad { background: #e2603f; box-shadow: 0 0 0 4px rgba(226, 96, 63, .18); }
.dv-clock { display: flex; justify-content: center; gap: 6px; margin-top: 14px; padding: 18px 8px 14px; border-radius: 16px; background: var(--blue-soft); transition: opacity .45s ease, filter .45s ease, max-height .5s ease, margin .5s ease, padding .5s ease; max-height: 120px; overflow: hidden; }
.dv-clock span { display: grid; justify-items: center; min-width: 64px; }
.dv-clock b { color: var(--ink); font: 700 40px/1 var(--font); font-variant-numeric: tabular-nums; }
.dv-clock small { margin-top: 6px; color: var(--muted); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.dv-clock i { font-style: normal; color: #b4c2ff; font: 600 30px/1.15 var(--font); }
.dv-keep { display: flex; align-items: center; justify-content: center; gap: 9px; height: 54px; margin-top: 14px; border-radius: 999px; background: linear-gradient(180deg, #3d67ff, var(--blue)); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 10px 28px -10px rgba(47, 91, 255, .65); transition: transform .3s ease, opacity .45s ease, max-height .5s ease, margin .5s ease; max-height: 60px; overflow: hidden; }
.device[data-state="0"] .dv-clock, .device[data-state="0"] .dv-keep { opacity: .25; filter: grayscale(1); }
.device[data-state="2"] .dv-keep { transform: scale(.96); background: var(--ink); box-shadow: none; }
.device[data-state="2"] .dv-clock { opacity: .3; filter: grayscale(1); }
.device[data-state="3"] .dv-clock, .device[data-state="3"] .dv-keep { opacity: 0; max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; }
.dv-safe { display: grid; justify-items: center; gap: 4px; max-height: 0; opacity: 0; overflow: hidden; color: var(--blue); text-align: center; transition: max-height .6s ease, opacity .5s ease .1s, margin .5s ease; }
.dv-safe b { margin-top: 6px; color: var(--ink); font-size: 20px; }
.dv-safe span { color: var(--muted); font-size: 14px; }
.device[data-state="3"] .dv-safe { max-height: 200px; opacity: 1; margin-top: 18px; }
.dv-safe .tick { stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset .6s ease .35s; }
.device[data-state="3"] .dv-safe .tick { stroke-dashoffset: 0; }
.dv-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.dv-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: width .3s ease, background .3s ease; }
.device[data-state="0"] .dv-dots i:nth-child(1), .device[data-state="1"] .dv-dots i:nth-child(2), .device[data-state="2"] .dv-dots i:nth-child(3), .device[data-state="3"] .dv-dots i:nth-child(4) { width: 20px; border-radius: 3px; background: var(--blue); }

@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-pin { order: -1; position: sticky; top: 76px; z-index: 2; }
  .device { position: relative; top: 0; padding: 18px; border-radius: 20px; }
  .dv-bal { font-size: 32px; margin-top: 4px; }
  .dv-top { font-size: 12px; } .dv-status { margin-top: 12px; }
  .dv-dots { margin-top: 12px; }
  .dv-clock { padding: 12px 6px 10px; } .dv-clock b { font-size: 28px; } .dv-clock i { font-size: 22px; } .dv-clock span { min-width: 48px; }
  .dv-keep { height: 46px; font-size: 14px; }
  .dv-safe b { font-size: 17px; }
  .step, .step:first-child, .step:last-child { min-height: 62vh; padding-top: 0; justify-content: flex-end; padding-bottom: 6vh; }
  .step:last-child { padding-bottom: 22vh; }
  .step h3 { font-size: 24px; }
  .glow { width: 480px; height: 480px; }
}
@media (max-width: 560px) { .st { font-size: 12.5px; padding: 0 10px; } .dv-status { height: 42px; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .hero-visual, .rv { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .mock, .glow { transform: none !important; }
  .step { opacity: 1; }
}

/* ------------------------------------------------------------------ match the app: type, objects, theme */
html, body { transition: background .25s, color .25s; }
h1, h2, .big-n, .num { font-family: var(--num); font-weight: 500; letter-spacing: -.04em; }
h3 { font-weight: 700; letter-spacing: -.01em; }
.hero-copy h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; text-wrap: balance; }
.band h2, .sec h2, .cta-s h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; text-wrap: balance; }
.step h3 { font-family: var(--num); font-weight: 500; letter-spacing: -.03em; }
.logo { font-family: var(--num); font-weight: 500; letter-spacing: -.02em; }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.accent { color: var(--blue); }
.btn { font-family: var(--font); font-weight: 600; }
.theme { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.theme:hover { border-color: var(--ink); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme .i-sun, [data-theme="dark"] .theme .i-moon { display: none; }
[data-theme="dark"] .theme .i-sun { display: block; }
.feat, .tier, .path, .stage, .table-card, .threat:not(.cta-card), .who article { background: var(--panel); }
.threat { background: var(--panel); }
.glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 18%, transparent), transparent); }

/* the case (same object as the app) */
.case { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; aspect-ratio: 1.58; padding: 26px 26px 22px; border-radius: 24px; overflow: hidden; color: #f1f0ea; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, #23263a 0%, #121318 55%, #0b0b0e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -36px rgba(10, 12, 30, .7), 0 14px 28px -18px rgba(10, 12, 30, .5);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, calc(var(--sy, 0) * -.06px), 0); transition: transform .3s ease-out; }
.case .guilloche, .device .guilloche { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: none; stroke: rgba(160, 175, 255, .085); stroke-width: .6; }
.case .sheen { position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(140, 160, 255, .18), transparent 45%); }
.case::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .06) 48%, transparent 60%); background-size: 250% 100%; animation: glint 7s ease-in-out infinite; }
@keyframes glint { 0%, 60% { background-position: 120% 0; } 100% { background-position: -60% 0; } }
.case-top { display: flex; align-items: center; justify-content: space-between; }
.case-mark { display: inline-flex; align-items: center; gap: 8px; }
.case-mark b { color: #f1f0ea; font: 500 11px/1 var(--num); letter-spacing: .28em; }
.case-lvl { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; color: #c9cbe0; font-size: 12px; font-weight: 500; }
.case-k { color: #9aa3cf; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.case-bal { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.case-bal .num { color: #fff; font-size: clamp(40px, 4.6vw, 56px); line-height: 1; }
.case-bal small { color: #9aa3cf; font-size: 15px; font-weight: 600; }
.case-foot { display: flex; align-items: center; gap: 10px; color: #c9cbe0; font-size: 13.5px; }
.case-foot b { color: #fff; }
.cs-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #ffb547; box-shadow: 0 0 0 4px rgba(255, 181, 71, .2); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 7px rgba(255, 181, 71, 0); } }

/* hero: the case with a floating dial */
.hero-visual { position: relative; padding: 0 0 70px 0; }
.mock { display: none; }
.float-dial { position: absolute; right: -14px; bottom: -6px; width: 230px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4); transform: translate3d(0, calc(var(--sy, 0) * -.14px), 0); }
.dial { position: relative; width: 100%; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; }
.dial .ticks line { stroke: var(--line-2); stroke-width: 1; stroke-linecap: round; }
.dial .ticks line.maj { stroke: var(--muted); stroke-width: 1.5; }
.dial .d-track { fill: none; stroke: var(--line); stroke-width: 3; }
.dial .d-arc { fill: none; stroke: var(--warn); stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg) scale(1, -1); transform-origin: 50% 50%; transition: stroke-dashoffset 1s linear; }
.d-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.d-in b { color: var(--ink); font-size: 26px; line-height: 1; }
.d-in span { margin-top: 3px; color: var(--warn); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.d-in small { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.float-dial .mock-keep { height: 42px; margin-top: 12px; font-size: 13px; gap: 7px; background: var(--blue); color: var(--on-ink); box-shadow: none; animation: press 6s ease-in-out infinite; }
[data-theme="dark"] .float-dial .mock-keep { color: #0c0d0f; }
.mock-toast { background: var(--ink); color: var(--on-ink); bottom: 0; left: 36%; }

/* the scroll-story vault: an obsidian case too */
.device { color: #f1f0ea; border: 0; isolation: isolate; background: radial-gradient(120% 90% at 85% 0%, #23263a 0%, #121318 55%, #0b0b0e 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 50px 90px -50px rgba(10, 12, 30, .8); }
.device[data-state="1"] { box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .4), 0 50px 90px -50px rgba(226, 140, 40, .5); }
.device[data-state="3"] { box-shadow: inset 0 0 0 1px rgba(125, 151, 255, .45), 0 50px 90px -50px rgba(80, 110, 255, .55); }
.dv-top { color: #9aa3cf; } .dv-pill { background: rgba(255, 255, 255, .08); color: #e6e7f2; }
.dv-bal { color: #fff; font-family: var(--num); font-weight: 500; letter-spacing: -.04em; }
.dv-bal small { color: #9aa3cf; font-family: var(--font); }
.st { background: rgba(255, 255, 255, .06); color: #c9cbe0; } .st b { color: #fff; }
.st1 { background: rgba(255, 181, 71, .1); } .st2, .st3 { background: rgba(125, 151, 255, .12); }
.st-dot.bad { background: #ffb547; box-shadow: 0 0 0 4px rgba(255, 181, 71, .2); } .st-dot.ok { background: #7d97ff; }
.dv-clock { background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.dv-clock b { color: #fff; font-family: var(--num); font-weight: 500; letter-spacing: -.03em; }
.dv-clock small { color: #8e93ad; }
.dv-clock i { color: rgba(255, 255, 255, .25); }
.dv-keep { background: #7d97ff; color: #0c0d0f; box-shadow: none; }
.device[data-state="2"] .dv-keep { background: #f1f0ea; color: #0c0d0f; }
.dv-safe { color: #7d97ff; } .dv-safe b { color: #fff; font-family: var(--num); font-weight: 500; letter-spacing: -.02em; } .dv-safe span { color: #9aa3cf; }
.dv-dots i { background: rgba(255, 255, 255, .15); }
.device[data-state="0"] .dv-dots i:nth-child(1), .device[data-state="1"] .dv-dots i:nth-child(2), .device[data-state="2"] .dv-dots i:nth-child(3), .device[data-state="3"] .dv-dots i:nth-child(4) { background: #7d97ff; }

/* the dark call-to-action card is an obsidian object in both themes */
.threat.cta-card { background: radial-gradient(120% 90% at 85% 0%, #23263a 0%, #121318 55%, #0b0b0e 100%); color: #c9cbe0; }
.threat.cta-card .btn.primary { background: #f1f0ea; border-color: #f1f0ea; color: #0c0d0f; }
.compare .us { background: var(--blue-soft); }
.help { background: var(--blue-soft); }

@media (max-width: 960px) { .float-dial { right: 6px; width: 200px; } .hero-visual { padding-bottom: 90px; } }
@media (max-width: 560px) {
  .float-dial { position: relative; right: auto; bottom: auto; width: 74%; margin: -40px 0 0 auto; }
  .hero-visual { padding-bottom: 24px; }
  .mock-toast { display: none; }
  .nav-cta .theme { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .case { transform: none !important; } .case::after, .cs-dot { animation: none; } }
.hero-visual .case { width: 84%; }
.float-dial { right: -8px; bottom: 0; width: 210px; }
.hero-visual { padding-bottom: 120px; }
@media (max-width: 960px) { .hero-visual .case { width: 100%; } .float-dial { width: 190px; } }
@media (max-width: 560px) { .hero-visual { padding-bottom: 24px; } .float-dial { width: 70%; margin-top: -24px; } }
[data-theme="dark"] .case, [data-theme="dark"] .device, [data-theme="dark"] .threat.cta-card { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .1), 0 40px 80px -36px rgba(0, 0, 0, .9); }
