/* Re:Call website — Nocturne palette from the app. Dark only, like the app.
   Content is always visible without JavaScript: hidden-until-revealed states only apply under html.js. */
:root {
  --bg: #1A1A1A; --panel: #202421; --card: #242925; --raised: #2B332E; --line: #37423B;
  --text: #F0F3ED; --muted: #A3ABA5; --dim: #6F7A72;
  --glow: #94E56F; --glow-core: #C8F1AC; --forest: #266342; --on-glow: #12200D;
  --cyan: #64C9D6; --sky: #76A9FA; --lavender: #B69AF5; --violet: #9277D9;
  --amber: #F2BD69; --coral: #F28B82; --rose: #E78BAA; --teal: #55C6A5;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-pixel: "DotGothic16", "JetBrains Mono", ui-monospace, monospace;
  --wide: 1160px; --nav-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.45, .5, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { flex: 1; position: relative; isolation: isolate; }
a { color: var(--glow); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
em.g, h1 em, h2 em { font-style: normal; color: var(--glow); text-shadow: 0 0 28px rgba(148, 229, 111, .4); }
.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.muted { color: var(--muted); }
.fine { font-size: .85rem; color: var(--dim); }
.eyebrow { font-family: var(--f-pixel); color: var(--glow); letter-spacing: .14em; font-size: .9rem; text-transform: uppercase; }
kbd { font-family: var(--f-mono); font-size: .8em; font-weight: 700; background: var(--raised); color: var(--text); border: 1px solid var(--line); border-bottom-width: 3px; padding: 1px 7px; border-radius: 6px; white-space: nowrap; }
code { font-family: var(--f-mono); font-size: .88em; background: var(--raised); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 80; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* ---------- Scroll progress + nav ---------- */
.progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; background: var(--glow); box-shadow: 0 0 10px var(--glow); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }
.nav .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; justify-self: start; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(148, 229, 111, .35)); transition: transform .6s var(--spring); }
.brand:hover img { transform: rotate(-14deg) scale(1.1); }
.brand i { font-style: normal; color: var(--glow); text-shadow: 0 0 10px var(--glow); }
.pill-nav { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); position: relative; }
.pill-nav a { position: relative; z-index: 1; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 7px 14px; border-radius: 10px; transition: color .2s; white-space: nowrap; }
.pill-nav a:hover, .pill-nav a[aria-current="page"] { color: var(--text); }
.pill-nav .blob { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 10px; background: var(--raised); opacity: 0; transition: left .4s var(--ease), width .4s var(--ease), opacity .2s; pointer-events: none; }
.nav .right { justify-self: end; }
@media (max-width: 800px) { .pill-nav a.wide { display: none; } }
@media (max-width: 470px) { .brand span { display: none; } .pill-nav a { padding: 7px 10px; } .nav .right .btn { padding: 8px 12px; } }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; font: 700 .98rem var(--f-body); padding: 11px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text); transition: transform .25s var(--ease), box-shadow .3s, background .2s, border-color .2s; }
.btn:hover { background: var(--raised); border-color: color-mix(in srgb, var(--glow) 30%, var(--line)); }
.btn.go { background: var(--glow); color: var(--on-glow); border-color: var(--glow); box-shadow: 0 0 24px rgba(148, 229, 111, .3); }
.btn.go:hover { box-shadow: 0 0 36px rgba(148, 229, 111, .5); }
.btn.sm { padding: 8px 15px; font-size: .92rem; }
.btn.lg { padding: 14px 24px; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.mine { background: var(--glow); color: var(--on-glow); border-color: var(--glow); box-shadow: 0 0 26px rgba(148, 229, 111, .32); }
.copy { font: 600 .82rem var(--f-body); color: var(--text); background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; cursor: pointer; flex: none; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.copy:hover { border-color: var(--glow); }

.dl-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .dl-pair { grid-template-columns: minmax(0, 1fr); } }
.dl { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s, background .2s; text-align: left; }
.dl:hover { border-color: color-mix(in srgb, var(--glow) 50%, var(--line)); transform: translateY(-3px); }
.dl .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--raised); flex: none; }
.dl .ico svg { width: 22px; height: 22px; }
.dl b { display: block; font-size: 1.05rem; line-height: 1.25; }
.dl small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; margin-top: 2px; }
.dl .tag { font-family: var(--f-pixel); font-size: .72rem; letter-spacing: .1em; display: none; margin-bottom: 2px; }
.dl.mine { background: var(--glow); border-color: var(--glow); color: var(--on-glow); box-shadow: 0 0 30px rgba(148, 229, 111, .3); }
.dl.mine small, .dl.mine .tag { color: #2E4A22; }
.dl.mine .tag { display: block; }
.dl.mine .ico { background: rgba(19, 36, 12, .12); }

/* ---------- Motion primitives (only with JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.93); }
.js [data-reveal].in { opacity: 1; transform: none; }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.words .w > span { display: inline-block; }
.js .words .w > span { transform: translateY(108%) rotate(4deg); transition: transform .95s var(--ease); transition-delay: calc(var(--i) * 65ms + var(--d, 0) * 1ms); }
.js .words.in .w > span { transform: none; }
.load-rise { animation: loadRise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes loadRise { from { opacity: 0; transform: translateY(24px); } }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes spin { to { rotate: 360deg; } }

/* Spotlight cards */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(148, 229, 111, .1), transparent 45%); opacity: 0; transition: opacity .35s; z-index: -1; pointer-events: none; }
.spot:hover::before { opacity: 1; }

/* ---------- Sections ---------- */
section { padding-block: 112px; position: relative; }
.title-c { text-align: center; max-width: 780px; margin: 0 auto 56px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.title-c p { color: var(--muted); font-size: 1.14rem; max-width: 54ch; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 0; text-align: center; position: relative; }
.pixfield { position: absolute; z-index: -1; left: 0; top: calc(var(--nav-h) * -1); width: 100%; height: 860px; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 34%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 70% 62% at 50% 34%, #000 30%, transparent 78%); }
.hero .glowblob { position: absolute; z-index: -2; left: 50%; top: 40px; width: 760px; height: 520px; margin-left: -380px; background: radial-gradient(closest-side, rgba(38, 99, 66, .55), transparent); filter: blur(10px); pointer-events: none; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 7px; border-radius: 99px; background: color-mix(in srgb, var(--card) 85%, transparent); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); backdrop-filter: blur(6px); }
.hero-pill b { font-family: var(--f-pixel); font-weight: 400; color: var(--on-glow); background: var(--glow); border-radius: 99px; padding: 1px 9px; font-size: .74rem; letter-spacing: .1em; }
#wordmark { display: block; margin: 26px auto 8px; max-width: min(520px, 90vw); height: auto; cursor: default; touch-action: manipulation; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); max-width: 16ch; margin-inline: auto; }
.hero .lede { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 46ch; margin: 22px auto 0; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 18px; font-size: .86rem; color: var(--dim); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 1.5px; background: var(--glow); box-shadow: 0 0 6px var(--glow); }

/* Stage: tilted app screen that straightens on scroll */
.stage-wrap { perspective: 1600px; margin-top: 64px; position: relative; overflow-x: clip; padding: 30px 2px 0; }
.stage { --t: 0; position: relative; max-width: 1060px; margin-inline: auto; transform-origin: 50% 0; transform: rotateX(calc((1 - var(--t)) * var(--tilt, 24deg))) rotateZ(calc((1 - var(--t)) * -2.5deg)) scale(calc(.9 + var(--t) * .1)); will-change: transform; }
.stage .layer { position: absolute; inset: 0; border-radius: 28px; }
.stage .layer.l1 { background: var(--glow); transform: translate(12px, -20px) rotate(1.8deg); opacity: .9; }
.stage .layer.l2 { background: var(--teal); transform: translate(-6px, -10px) rotate(.9deg); opacity: .9; }
.stage .screen { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 40px 120px rgba(0, 0, 0, .65); }
.stage .screen img { display: block; width: 100%; height: auto; }
.float { position: absolute; z-index: 3; background: color-mix(in srgb, var(--raised) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; text-align: left; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); font-size: .85rem; }
.float > .in2 { display: flex; align-items: center; gap: 12px; animation: bob 6s ease-in-out infinite; animation-delay: var(--bd, 0s); }
.float .lbl { color: var(--muted); font-size: .76rem; display: block; }
.float b { font-size: .95rem; }
.float.f1 { left: -3%; top: 14%; }
.float.f2 { right: -4%; top: 8%; --bd: -2s; }
.float.f3 { left: -5%; bottom: 14%; --bd: -4s; }
.float.f3 > .in2 { display: block; }
.float.f4 { right: -2%; bottom: 20%; --bd: -1s; padding: 8px; border-radius: 99px; }
.float.f4 span { padding: 5px 11px; border-radius: 99px; font-weight: 700; font-size: .8rem; background: var(--card); }
.float.f4 span.on { background: var(--glow); color: var(--on-glow); box-shadow: 0 0 16px rgba(148, 229, 111, .5); }
.bell { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--forest); flex: none; animation: ring 3.2s ease-in-out infinite; }
@keyframes ring { 0%, 70%, 100% { rotate: 0deg; } 75% { rotate: 14deg; } 80% { rotate: -12deg; } 85% { rotate: 8deg; } 90% { rotate: -4deg; } }
.ring { width: 46px; height: 46px; flex: none; }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: var(--glow); stroke-linecap: round; stroke-dasharray: 126; stroke-dashoffset: 9; transform: rotate(-90deg); transform-origin: center; filter: drop-shadow(0 0 4px var(--glow)); }
.js .ring .fg { stroke-dashoffset: 126; transition: stroke-dashoffset 1.8s var(--ease) .5s; }
.js .ring.in .fg { stroke-dashoffset: 9; }
.mini-grid { display: grid; grid-template-columns: repeat(10, 9px); gap: 3px; margin-top: 8px; }
.mini-grid i { width: 9px; height: 9px; border-radius: 2.5px; background: var(--raised); }
.mini-grid i.on { background: var(--glow); box-shadow: 0 0 6px var(--glow); animation: tile 2.6s ease-in-out infinite; animation-delay: calc(var(--k) * 90ms); }
@keyframes tile { 50% { opacity: .4; } }
.big-pix { font-family: var(--f-pixel); font-size: 1.5rem; color: var(--glow); line-height: 1; text-shadow: 0 0 12px rgba(148, 229, 111, .5); }
@media (max-width: 1200px) and (min-width: 901px) { .float.f1, .float.f3 { left: 1.5%; } .float.f2, .float.f4 { right: 1.5%; } }
@media (max-width: 900px) { .stage { --tilt: 10deg; } .stage-wrap { margin-top: 40px; } .float { font-size: .78rem; padding: 9px 11px; } .float.f1 { left: 2%; top: -4%; } .float.f2 { right: 3%; top: 4%; } .float.f3 { display: none; } .float.f4 { right: 3%; bottom: 5%; } .float.f2 .ring { width: 36px; height: 36px; } }
@media (max-width: 560px) { .float.f1 { display: none; } .float.f4 span:nth-child(-n+2) { display: none; } }

/* Marquee */
.marquee { overflow: hidden; padding-block: 40px 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); display: flex; flex-direction: column; gap: 12px; }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: scrollx 46s linear infinite; }
.marquee .track.rev { animation-direction: reverse; animation-duration: 54s; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-weight: 600; white-space: nowrap; font-size: .95rem; }
.marquee span i { width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--glow)); box-shadow: 0 0 8px var(--c, var(--glow)); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Problem: the Sunday pile-up ---------- */
.week-card { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 22px; max-width: 980px; margin-inline: auto; display: flex; flex-direction: column; gap: 18px; }
.week-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.week-top .verdict { font-weight: 600; transition: color .3s; }
.week-top .verdict.bad { color: var(--coral); }
.week-top .verdict.good { color: var(--glow); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.day .col { height: 230px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 6px; display: flex; flex-direction: column-reverse; gap: 5px; position: relative; transition: border-color .3s, background .3s; }
.day.over .col { border-color: var(--coral); background: color-mix(in srgb, var(--coral) 9%, var(--card)); animation: shake .5s 1.4s ease-in-out; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.blk { flex: none; height: 30px; border-radius: 8px; background: var(--c); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; color: var(--on-glow); white-space: nowrap; overflow: hidden; animation: blkDrop .7s var(--spring) both; animation-delay: calc(var(--k) * 80ms); }
.blk.rev { height: 16px; background: transparent; border: 1.5px solid var(--c); color: var(--c); font-size: .6rem; }
.blk.lost { opacity: .3; border: 1.5px dashed var(--c); background: transparent; color: var(--c); }
@keyframes blkDrop { from { transform: translateY(-160px); opacity: 0; } 30% { opacity: 1; } }
.js .week:not(.in) .blk { animation-play-state: paused; }
.day .lab { text-align: center; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.day .lab b { display: block; color: var(--text); font-size: .85rem; }
.day.over .lab b { color: var(--coral); }
@media (max-width: 640px) { .week { gap: 5px; } .day .col { height: 190px; padding: 4px; } .blk { height: 24px; font-size: 0; } .blk.rev { height: 12px; font-size: 0; } .day .lab { font-size: .66rem; } }
.why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin: 18px auto 0; }
@media (max-width: 760px) { .why3 { grid-template-columns: minmax(0, 1fr); } }
.why3 > div { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.why3 .n { font-family: var(--f-pixel); color: var(--coral); font-size: .82rem; letter-spacing: .1em; }
.why3 p { color: var(--muted); font-size: .97rem; }
.punch { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.3rem); letter-spacing: -.02em; line-height: 1.2; text-align: center; max-width: 30ch; margin: 64px auto 0; }

/* Seg / tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); align-self: flex-start; }
.tabs button { font: 600 .86rem var(--f-body); color: var(--muted); background: none; border: 0; padding: 7px 14px; border-radius: 99px; cursor: pointer; transition: background .25s, color .25s; }
.tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* ---------- Steps 01/02/03 ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; max-width: 1000px; margin-inline: auto; }
.steps3 .card { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 22px 12px 12px; display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease), border-color .3s; }
.steps3 .card:nth-child(1), .steps3 .card:nth-child(3) { margin-top: 56px; }
.steps3 .card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); }
.steps3 .card > h3 { padding-inline: 12px; font-size: 1.22rem; }
.steps3 .card > p { padding-inline: 12px; color: var(--muted); font-size: .95rem; margin-bottom: 34px; }
.steps3 .inner { background: var(--c); color: var(--on-glow); border-radius: 20px; padding: 16px 18px 12px; position: relative; overflow: hidden; min-height: 176px; display: flex; flex-direction: column; justify-content: space-between; }
.steps3 .inner small { font-weight: 700; font-size: .85rem; opacity: .75; }
.steps3 .num { font-family: var(--f-display); font-weight: 400; font-size: clamp(4.4rem, 8vw, 6.6rem); line-height: .9; letter-spacing: -.05em; transition: transform .6s var(--ease); }
.steps3 .card:hover .num { transform: translateX(8px); }
.steps3 .obj { position: absolute; right: 14px; top: 16px; width: 64px; height: 64px; animation: bob 5s ease-in-out infinite; animation-delay: var(--bd, 0s); }
.steps3 .arr { position: absolute; right: 16px; bottom: 14px; font-weight: 800; transition: transform .4s var(--ease); }
.steps3 .card:hover .arr { transform: translateX(5px); }
@media (max-width: 820px) { .steps3 { grid-template-columns: minmax(0, 1fr); max-width: 460px; } .steps3 .card:nth-child(1), .steps3 .card:nth-child(3) { margin-top: 0; } }

/* ---------- Live demo ---------- */
.demo { position: relative; max-width: 780px; margin-inline: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 0 1px rgba(148, 229, 111, .05); overflow: hidden; outline: none; }
.demo:focus-visible { box-shadow: 0 0 0 2px var(--glow), 0 40px 100px rgba(0, 0, 0, .5); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: .82rem; color: var(--muted); }
.demo-bar .dots { display: flex; gap: 6px; }
.demo-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); }
.demo-bar .ttl { font-weight: 600; color: var(--text); margin-left: 6px; }
.demo-bar .keys { margin-left: auto; display: flex; gap: 4px; align-items: center; }
@media (max-width: 600px) { .demo-bar .keys { display: none; } }
.demo-head { padding: 20px 22px 8px; display: flex; flex-direction: column; gap: 8px; }
.demo-head h3 { font-size: 1.5rem; font-weight: 700; }
.demo-prog { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.demo-prog .track { flex: 1; max-width: 300px; height: 7px; border-radius: 99px; background: var(--raised); overflow: hidden; }
.demo-prog .fill { height: 100%; width: 0; background: var(--glow); box-shadow: 0 0 10px var(--glow); border-radius: 99px; transition: width .6s var(--ease); }
.demo-exam { color: var(--amber); font-size: .88rem; }
.demo-list { padding: 8px 14px 6px; display: flex; flex-direction: column; gap: 8px; }
.drow { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; align-items: center; transition: background .3s, opacity .4s, border-color .3s, box-shadow .3s; }
.drow.sel { box-shadow: inset 3px 0 0 var(--glow); background: color-mix(in srgb, var(--raised) 60%, var(--card)); }
.drow .t { font-weight: 700; }
.drow .m { font-size: .8rem; color: var(--muted); }
.drow .m i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); display: inline-block; margin-right: 6px; vertical-align: 1px; }
.drow .acts { display: flex; gap: 8px; align-items: center; }
.badge { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; border: 1px solid; white-space: nowrap; }
.badge.coral { color: var(--coral); background: rgba(242, 139, 130, .12); border-color: rgba(242, 139, 130, .3); }
.badge.glow { color: var(--glow); background: rgba(148, 229, 111, .12); border-color: rgba(148, 229, 111, .3); box-shadow: 0 0 8px rgba(148, 229, 111, .25); }
.badge.amber { color: var(--amber); background: rgba(242, 189, 105, .12); border-color: rgba(242, 189, 105, .3); }
@media (max-width: 520px) { .drow .badge { display: none; } }
.circ { width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--spring), box-shadow .2s; }
.circ:hover { transform: scale(1.12); }
.circ.x { background: #8E9590; }
.circ.ok { background: var(--glow); box-shadow: 0 0 12px rgba(148, 229, 111, .4); }
.circ svg { width: 14px; height: 14px; }
.rates { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s, margin .45s var(--ease); }
.drow.open .rates { max-height: 120px; opacity: 1; margin-top: 12px; }
.rates button { border: 0; border-radius: 10px; padding: 9px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px; font: inherit; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); transition: transform .2s var(--spring), background .2s; }
.rates button:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--c) 26%, transparent); }
.rates b { font-size: .92rem; } .rates span { font-size: .7rem; opacity: .75; } .rates em { font-style: normal; font-size: .72rem; font-weight: 600; }
.drow.done { opacity: .62; }
.drow.done .t { text-decoration: line-through; text-decoration-color: var(--dim); }
.res { font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 6px; color: var(--c); animation: loadRise .5s var(--ease) both; white-space: nowrap; }
.demo-foot { min-height: 64px; padding: 6px 18px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.undo { display: inline-flex; align-items: center; gap: 10px; background: var(--raised); border: 1px solid var(--line); padding: 7px 8px 7px 14px; border-radius: 99px; font-size: .86rem; animation: loadRise .4s var(--ease) both; }
.undo button, .demo-done button { font: 700 .82rem var(--f-body); background: var(--glow); color: var(--on-glow); border: 0; border-radius: 99px; padding: 5px 12px; cursor: pointer; }
.demo-done { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; animation: loadRise .6s var(--ease) both; }
.demo-done b { color: var(--glow); }
.demo-hint { font-size: .85rem; color: var(--dim); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; width: 9px; height: 9px; border-radius: 2.5px; background: var(--c); box-shadow: 0 0 8px var(--c); animation: conf 1.5s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes conf { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
.demo-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: .9rem; color: var(--muted); }
.demo-notes b { color: var(--text); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; }
.bento .full { grid-column: 1 / -1; }
@media (max-width: 900px) { .bento { grid-template-columns: minmax(0, 1fr); } }
.bcard { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bcard > h3 { font-size: 1.5rem; }
.bcard .sub { color: var(--muted); font-size: .96rem; margin-top: -8px; }
.perf { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 620px) { .perf { grid-template-columns: minmax(0, 1fr); } }
.tiles { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 620px) { .tiles { flex-direction: row; } .tiles > div { flex: 1; } }
.tiles > div { border-radius: 16px; padding: 12px 14px; color: var(--on-glow); display: flex; flex-direction: column; justify-content: space-between; min-height: 112px; }
.tiles small { font-weight: 700; font-size: .78rem; opacity: .75; }
.tiles .v { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tiles .t1 { background: var(--glow); } .tiles .t2 { background: var(--amber); }
.chart-box svg { display: block; width: 100%; height: auto; }
.timeline-box { overflow-x: auto; }
.timeline-box svg { display: block; width: 100%; min-width: 520px; height: auto; }
.verdict-t { color: var(--muted); font-size: .95rem; }
.pile { position: relative; height: 270px; border-radius: 18px; background: var(--card); overflow: hidden; }
.pile span { position: absolute; left: var(--x); bottom: var(--y); padding: 8px 15px; border-radius: 99px; border: 1.5px solid var(--c); color: var(--text); background: color-mix(in srgb, var(--c) 12%, var(--card)); font-weight: 600; font-size: .88rem; white-space: nowrap; transform: rotate(var(--r)); }
.js .pile span { transform: translateY(-360px); opacity: 0; }
.js .pile.in span { animation: drop 1.1s var(--spring) forwards; animation-delay: calc(var(--i) * 110ms); }
@keyframes drop { 0% { transform: translateY(-360px) rotate(0deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(0) rotate(var(--r)); opacity: 1; } }
.bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bars div { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; color: var(--muted); }
.bars i { display: block; height: 6px; border-radius: 99px; background: var(--raised); overflow: hidden; }
.bars i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--c); border-radius: 99px; box-shadow: 0 0 8px var(--c); }
.js .bars i::after { width: 0; transition: width 1.6s var(--ease) .6s; }
.js .bars.in i::after { width: var(--w); }
.facts4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .facts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts4 div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.facts4 .v { font-family: var(--f-mono); font-weight: 700; font-size: 1.08rem; }
.facts4 .l { font-size: .8rem; color: var(--muted); }
.ex-head { display: flex; align-items: center; gap: 14px; }
.ex-head .emo { font-size: 2.2rem; line-height: 1; }
.ex-head b { font-family: var(--f-display); font-size: 1.3rem; }
#exTimeline .dot { transform-box: fill-box; transform-origin: center; animation: pop .55s var(--spring) both; animation-delay: calc(var(--k) * 70ms); }
@keyframes pop { from { transform: scale(0); } }

/* ---------- Tour (sticky) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; }
.tour-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; transition: opacity .5s; }
.js .tour-step { opacity: .28; }
.js .tour-step.on { opacity: 1; }
.tour-step .k { font-family: var(--f-pixel); color: var(--glow); letter-spacing: .12em; font-size: .85rem; }
.tour-step h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; }
.tour-step p { color: var(--muted); font-size: 1.08rem; max-width: 40ch; }
.tour-step .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tour-step .chips span { font-size: .8rem; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 4px 10px; color: var(--muted); }
.tour-step .inline { display: none; }
.tour-frame { position: sticky; top: calc(50vh - 230px); align-self: start; }
.tour-screen { position: relative; aspect-ratio: 1600 / 1025; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 40px 100px rgba(0, 0, 0, .55); }
.tour-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.05); filter: blur(6px); transition: opacity .7s var(--ease), transform 1.1s var(--ease), filter .7s; }
.tour-screen img.on { opacity: 1; transform: none; filter: none; }
.tour-rail { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.tour-rail i { width: 28px; height: 4px; border-radius: 99px; background: var(--raised); transition: background .3s, width .4s var(--ease); }
.tour-rail i.on { background: var(--glow); width: 48px; box-shadow: 0 0 8px var(--glow); }
@media (max-width: 900px) { .tour { grid-template-columns: minmax(0, 1fr); gap: 0; } .tour-frame { display: none; } .tour-step, .js .tour-step { min-height: 0; opacity: 1; padding-block: 22px; } .tour-step .inline { display: block; border-radius: 14px; border: 1px solid var(--line); margin-top: 8px; width: 100%; height: auto; } }

/* ---------- Statement + numbers ---------- */
.statement { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 5.6vw, 4.2rem); line-height: 1.12; letter-spacing: -.03em; text-align: center; max-width: 18ch; margin-inline: auto; }
.js .statement .sw { opacity: .14; transition: opacity .3s linear; }
.js .statement .sw.lit { opacity: 1; }
.chipimg { display: inline-block; width: 1.5em; height: .95em; border-radius: 99px; vertical-align: -.08em; background-size: cover; background-position: left top; border: 1px solid var(--line); margin-inline: .08em; }
.chipimg.logo { width: 1em; border-radius: 50%; background-color: var(--card); background-size: 80%; background-position: center; background-repeat: no-repeat; box-shadow: 0 0 20px rgba(148, 229, 111, .4); }
.bignums { display: flex; flex-direction: column; margin-top: 72px; }
.bignum { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 320px); gap: 28px; align-items: center; padding-block: 26px; border-bottom: 1px solid var(--line); }
.bignum:first-child { border-top: 1px solid var(--line); }
.bignum .tile { width: 120px; height: 120px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: transform .6s var(--spring); }
.bignum:hover .tile { transform: rotate(-6deg) scale(1.06); }
.bignum .tile img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.bignum .n { font-family: var(--f-display); font-weight: 400; font-size: clamp(4rem, 12vw, 9rem); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bignum .n small { font-size: .3em; letter-spacing: -.01em; color: var(--glow); margin-left: .2em; }
.bignum p { color: var(--muted); }
@media (max-width: 760px) { .bignum { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; } .bignum .tile { width: 72px; height: 72px; border-radius: 14px; } .bignum p { grid-column: 1 / -1; } }

/* ---------- Maker ---------- */
.maker3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.maker3 > div { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.maker3 > div:nth-child(2) { margin-top: -40px; }
.maker3 .q { font-family: var(--f-display); font-size: 3.4rem; line-height: .6; color: var(--glow); height: 24px; }
.maker3 p { color: var(--muted); }
.maker3 .sig { width: 100%; height: auto; filter: drop-shadow(0 0 10px rgba(148, 229, 111, .35)); }
.js .maker3 .sig { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.6, .1, .3, 1) .4s; }
.js .maker3 .in .sig { clip-path: inset(0 0 0 0); }
@media (max-width: 860px) { .maker3 { grid-template-columns: minmax(0, 1fr); } .maker3 > div:nth-child(2) { margin-top: 0; } }
.ig-badge { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 10px 40px rgba(214, 36, 159, .35); flex: none; }
.ig-badge svg { width: 55%; height: 55%; }
.ig-badge.sm { width: 52px; height: 52px; border-radius: 15px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: border-color .3s; }
.acc.open { border-color: color-mix(in srgb, var(--glow) 35%, var(--line)); }
.acc .q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; font: 600 1.05rem var(--f-body); background: none; border: 0; color: var(--text); cursor: pointer; text-align: left; }
.acc .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .45s var(--ease), background .3s, border-color .3s; }
.acc .plus::before, .acc .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--glow); border-radius: 2px; }
.acc .plus::after { transform: rotate(90deg); }
.acc.open .plus { transform: rotate(135deg); background: var(--raised); border-color: var(--glow); }
.acc .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
html:not(.js) .acc .a, .acc.open .a { grid-template-rows: 1fr; }
.acc .a > div { overflow: hidden; }
.acc .a > div > div { padding: 0 20px 20px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }

/* ---------- CTA panel ---------- */
.cta-panel { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(28px, 6vw, 72px); background: radial-gradient(120% 140% at 85% 30%, #2f7a50 0%, var(--forest) 38%, #173d29 100%); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; border: 1px solid color-mix(in srgb, var(--glow) 25%, transparent); }
@media (max-width: 820px) { .cta-panel { grid-template-columns: minmax(0, 1fr); } }
.cta-panel h2 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); color: #fff; }
.cta-panel p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; margin-top: 14px; max-width: 38ch; }
.cta-panel .dl-pair { margin-top: 28px; max-width: 560px; }
@media (max-width: 1180px) { .cta-panel .dl-pair { grid-template-columns: minmax(0, 1fr); max-width: 380px; } }
.cta-panel .dl { background: rgba(10, 25, 16, .35); border-color: rgba(255, 255, 255, .18); }
.cta-panel .dl small { color: rgba(255, 255, 255, .72); }
.cta-panel .dl.mine { background: var(--glow); }
.cta-panel .dl.mine small { color: #2E4A22; }
.cta-panel .sub { margin-top: 18px; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.cta-panel .sub a { color: #fff; }
.orbit { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; margin-inline: auto; }
.orbit img { position: absolute; inset: 18%; width: 64%; filter: drop-shadow(0 0 40px rgba(148, 229, 111, .55)); animation: bob 7s ease-in-out infinite; }
.orbit .o { position: absolute; inset: 0; border: 1.5px dashed rgba(200, 241, 172, .35); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit .o.o2 { inset: 10%; border-style: solid; border-color: rgba(200, 241, 172, .18); animation-duration: 26s; animation-direction: reverse; }
.orbit .o::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 16px var(--glow); }
.orbit .o.o2::after { background: var(--amber); box-shadow: 0 0 16px var(--amber); top: auto; bottom: 8%; left: 6%; width: 10px; height: 10px; }

/* ---------- Inner pages ---------- */
.page-head { padding-block: 64px 12px; position: relative; text-align: center; }
.page-head::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -140px; width: 760px; height: 420px; margin-left: -380px; background: radial-gradient(closest-side, rgba(38, 99, 66, .55), transparent); pointer-events: none; }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 56ch; }
.inner-sec { padding-block: 48px 64px; }

/* Download */
.notice { border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); background: var(--card); text-align: left; }
.notice[hidden] { display: none; }
.notice.ok { border-color: color-mix(in srgb, var(--glow) 50%, var(--line)); background: color-mix(in srgb, var(--glow) 8%, var(--card)); }
.notice.info { border-color: color-mix(in srgb, var(--sky) 50%, var(--line)); }
.notice .i { font-size: 1.2rem; line-height: 1.5; }
.notice .body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
.platform { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 18px; transition: border-color .3s, box-shadow .3s; }
.platform.mine { border-color: color-mix(in srgb, var(--glow) 55%, var(--line)); box-shadow: 0 0 0 1px rgba(148, 229, 111, .12), 0 24px 70px rgba(0, 0, 0, .4); }
.platform-head { display: flex; align-items: center; gap: 14px; }
.platform-head .ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--raised); flex: none; }
.platform-head .ico svg { width: 26px; height: 26px; }
.platform-head h2 { font-size: 1.7rem; font-weight: 700; }
.platform-head .badge { margin-left: auto; font-family: var(--f-pixel); font-size: .72rem; letter-spacing: .1em; color: var(--on-glow); background: var(--glow); border: 0; padding: 3px 9px; display: none; }
.platform.mine .badge { display: inline-block; }
.platform .btn { width: 100%; }
.reqs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.reqs li { display: flex; gap: 10px; align-items: baseline; font-size: .97rem; }
.reqs li::before { content: "✓"; color: var(--glow); font-weight: 700; flex: none; }
.reqs li.no::before { content: "✕"; color: var(--coral); }
.reqs li.no { color: var(--muted); }
.fileinfo { font-size: .86rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.fileinfo summary { cursor: pointer; }
.hash { font-family: var(--f-mono); font-size: .76rem; word-break: break-all; color: var(--dim); margin-top: 6px; display: block; }
.install { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .install { grid-template-columns: minmax(0, 1fr); } }
.install > div { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 16px; transition: border-color .3s; }
.install > div.mine { border-color: color-mix(in srgb, var(--glow) 40%, var(--line)); }
.install h3 { font-size: 1.4rem; }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
ol.steps > li::before { content: counter(s); font-family: var(--f-mono); font-weight: 700; color: var(--on-glow); background: var(--glow); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; margin-top: 1px; font-size: .9rem; }
.callout { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.callout.warn { border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); }
.callout .t { font-weight: 700; }
.callout.warn .t { color: var(--amber); }
.cmd { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 8px 8px 12px; }
.cmd code { background: none; border: 0; padding: 0; flex: 1; min-width: 0; font-size: .8rem; }
.then3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .then3 { grid-template-columns: minmax(0, 1fr); } }
.then3 > div { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.then3 .n { font-family: var(--f-pixel); color: var(--glow); letter-spacing: .1em; font-size: .85rem; }
.then3 p { color: var(--muted); font-size: .96rem; }
.help-band { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; text-align: left; }
.help-band .t { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.help-band .t b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; }
.help-band .t span { color: var(--muted); }
.sec-title { text-align: center; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.sec-title h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.sec-title p { color: var(--muted); max-width: 56ch; }

/* Contact */
.contact-hero { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.ig-orb { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.ig-orb .ig-badge { width: 104px; height: 104px; border-radius: 30px; animation: bob 5s ease-in-out infinite; }
.ig-orb::before, .ig-orb::after { content: ""; position: absolute; inset: 0; border-radius: 38px; border: 1.5px solid rgba(214, 36, 159, .45); animation: pulse 2.8s ease-out infinite; }
.ig-orb::after { animation-delay: 1.4s; }
@keyframes pulse { from { transform: scale(.82); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.handle { font-family: var(--f-mono); font-size: 1.4rem; font-weight: 700; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.how3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 860px; margin-inline: auto; }
@media (max-width: 700px) { .how3 { grid-template-columns: minmax(0, 1fr); } }
.how3 > div { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; gap: 14px; align-items: center; text-align: left; }
.how3 .n { font-family: var(--f-display); font-size: 2.2rem; font-weight: 400; color: var(--glow); line-height: 1; }
.templates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin-inline: auto; }
@media (max-width: 700px) { .templates { grid-template-columns: minmax(0, 1fr); } }
.tpl { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease), border-color .3s; text-align: left; }
.tpl:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.tpl .k { font-family: var(--f-pixel); font-size: .8rem; letter-spacing: .1em; color: var(--c); }
.tpl p { color: var(--text); font-size: 1rem; flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 12px 14px; }
.tpl .row { display: flex; gap: 8px; flex-wrap: wrap; }
.tips { max-width: 980px; margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .tips { grid-template-columns: minmax(0, 1fr); } }
.tips > div { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.tips ul { margin: 0; padding-left: 1.2em; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }

/* Docs hub */
.docs-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 30px; padding: clamp(22px, 4vw, 40px); text-decoration: none; color: var(--text); transition: border-color .3s, transform .5s var(--ease); }
.docs-feature:hover { border-color: color-mix(in srgb, var(--glow) 45%, var(--line)); transform: translateY(-4px); }
@media (max-width: 820px) { .docs-feature { grid-template-columns: minmax(0, 1fr); } }
.docs-feature h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.docs-feature p { color: var(--muted); font-size: 1.08rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-row span { font-size: .8rem; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 4px 10px; color: var(--muted); }
.docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 760px) { .docs-grid { grid-template-columns: minmax(0, 1fr); } }
.dcard { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--text); transition: border-color .3s, transform .5s var(--ease); }
.dcard:hover { border-color: color-mix(in srgb, var(--c, var(--glow)) 45%, var(--line)); transform: translateY(-4px); }
.dcard h3 { font-size: 1.5rem; }
.dcard p { color: var(--muted); font-size: .97rem; flex: 1; }
.gol { font-weight: 700; color: var(--c, var(--glow)); display: inline-flex; gap: 6px; align-items: center; }
.gol .arrow { transition: transform .3s var(--ease); }
.dcard:hover .gol .arrow, .docs-feature:hover .gol .arrow { transform: translateX(5px); }
.pv { position: relative; height: 190px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
@property --lvl { syntax: "<integer>"; inherits: true; initial-value: 0; }
.pv-guide { height: auto; min-height: 260px; padding: 22px; display: flex; flex-direction: column; gap: 14px; animation: lvl 8s ease-in-out infinite; }
@keyframes lvl { 0%, 6% { --lvl: 0; } 82%, 100% { --lvl: 100; } }
.pv-guide .meter { height: 8px; border-radius: 99px; background: var(--raised); overflow: hidden; }
.pv-guide .meter i { display: block; height: 100%; width: calc(var(--lvl) * 1%); background: var(--glow); box-shadow: 0 0 10px var(--glow); border-radius: 99px; }
.pv-guide .lab { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); counter-reset: l var(--lvl); }
.pv-guide .lab b::after { content: counter(l); color: var(--glow); }
.pv-guide ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; font-size: .86rem; }
.pv-guide li { display: flex; gap: 8px; align-items: center; color: var(--dim); animation: litup 8s ease-in-out infinite; animation-delay: calc(var(--k) * .55s); }
.pv-guide li i { width: 9px; height: 9px; border-radius: 2.5px; background: var(--raised); flex: none; animation: litbox 8s ease-in-out infinite; animation-delay: calc(var(--k) * .55s); }
@keyframes litup { 0%, 4% { color: var(--dim); } 10%, 86% { color: var(--text); } 96%, 100% { color: var(--dim); } }
@keyframes litbox { 0%, 4% { background: var(--raised); box-shadow: none; } 10%, 86% { background: var(--glow); box-shadow: 0 0 8px var(--glow); } 96%, 100% { background: var(--raised); box-shadow: none; } }
.pv-tech { padding: 18px; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.pv-tech .ln { white-space: nowrap; overflow: hidden; width: 0; animation: type 7s steps(36) infinite; animation-delay: calc(var(--k) * .7s); }
.pv-tech .ln b { color: var(--glow); font-weight: 600; }
.pv-tech .ln s { color: var(--amber); text-decoration: none; }
@keyframes type { 0% { width: 0; } 28%, 100% { width: 100%; } }
.pv-brand { display: grid; place-items: center; }
.pv-brand img { width: 96px; filter: drop-shadow(0 0 24px rgba(148, 229, 111, .55)); animation: bob 5s ease-in-out infinite; }
.pv-brand .strip { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; display: flex; }
.pv-brand .strip i { flex: 1; background: var(--c); transform: translateY(100%); transition: transform .5s var(--spring); transition-delay: calc(var(--k) * 45ms); }
.dcard:hover .pv-brand .strip i, .dcard.in .pv-brand .strip i { transform: none; }
.pv-letter { display: grid; place-items: center; }
.env { position: relative; width: 170px; height: 110px; margin-top: 30px; }
.env .back { position: absolute; inset: 0; background: var(--forest); border-radius: 10px; }
.env .paper { position: absolute; left: 12px; right: 12px; top: 10px; height: 120px; background: var(--text); border-radius: 8px; padding: 12px; transform: translateY(18px); transition: transform .7s var(--spring); display: flex; flex-direction: column; gap: 6px; }
.env .paper i { display: block; height: 6px; border-radius: 3px; background: #c9cfc6; }
.env .paper i:first-child { width: 60%; background: var(--forest); height: 9px; }
.env .front { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; background: #2f7a50; border-radius: 0 0 10px 10px; clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); }
.dcard:hover .env .paper { transform: translateY(-46px); }
.pv-letter .stamp { position: absolute; right: 18px; top: 16px; font-family: var(--f-pixel); font-size: .7rem; color: var(--glow); border: 1px dashed var(--glow); padding: 4px 8px; border-radius: 6px; rotate: 8deg; }
.pv-pdf { display: grid; place-items: center; }
.pages { position: relative; width: 116px; height: 156px; }
.pages i { position: absolute; inset: 0; background: #F5F7F3; border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); transition: transform .6s var(--spring); }
.pages i:nth-child(1) { transform: rotate(-8deg) translateX(-14px); background: #E3E9E0; }
.pages i:nth-child(2) { transform: rotate(-3deg) translateX(-6px); background: #ECF0EA; }
.pages i:nth-child(3) { padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.pages b { display: block; height: 8px; width: 55%; background: var(--forest); border-radius: 3px; }
.pages s { display: block; height: 5px; background: #cdd4ca; border-radius: 3px; }
.dcard:hover .pages i:nth-child(1) { transform: rotate(-16deg) translateX(-40px); }
.dcard:hover .pages i:nth-child(2) { transform: rotate(-7deg) translateX(-20px); }
.dcard:hover .pages i:nth-child(3) { transform: rotate(4deg) translateX(10px); }
.pv-pdf .tag { position: absolute; right: 16px; bottom: 14px; font-family: var(--f-mono); font-size: .75rem; color: var(--on-glow); background: var(--glow); border-radius: 6px; padding: 2px 8px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.jump a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 8px 14px; transition: border-color .2s, transform .3s var(--ease); }
.jump a:hover { border-color: var(--glow); transform: translateY(-2px); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding-block: 56px calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--bg); position: relative; overflow: hidden; }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand p { color: var(--muted); font-size: .95rem; max-width: 32ch; }
.foot h4 { font-family: var(--f-pixel); font-weight: 400; color: var(--dim); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.foot .col { display: flex; flex-direction: column; gap: 6px; }
.foot .col a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.foot .col a:hover { color: var(--text); }
.foot-word { font-family: var(--f-display); font-weight: 800; font-size: clamp(4.6rem, 19vw, 15rem); letter-spacing: -.05em; line-height: .8; text-align: center; margin-top: 48px; color: transparent; -webkit-text-stroke: 1px var(--line); user-select: none; white-space: nowrap; }
.foot-word i { font-style: normal; -webkit-text-stroke: 0; color: var(--glow); text-shadow: 0 0 40px rgba(148, 229, 111, .5); }
.foot-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--dim); }

/* ---------- Overlays ---------- */
dialog#zoom { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog#zoom::backdrop { background: rgba(10, 12, 10, .9); }
dialog#zoom img { display: block; max-width: 96vw; max-height: 90vh; border-radius: 12px; border: 1px solid var(--line); }
dialog#zoom button { position: absolute; top: 10px; right: 10px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(30px); background: var(--raised); border: 1px solid var(--glow); color: var(--text); padding: 10px 16px; border-radius: 99px; opacity: 0; transition: all .35s var(--ease); z-index: 90; font-weight: 600; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.nf { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.nf .stack { align-items: center; }
.nf .code { font-family: var(--f-pixel); font-size: 5rem; color: var(--glow); text-shadow: 0 0 24px rgba(148, 229, 111, .4); line-height: 1; }

/* Prof. Mozer's quote (home page) */

/* Name + email before downloading */
html.gate-open { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(10, 12, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gate[hidden] { display: none; }
.gate-card { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 40px rgba(148, 229, 111, .08); }
.gate-card h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
.gate-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.gate-x:hover { color: var(--text); border-color: var(--glow); }
.gate form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.gate label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.gate input { font: 500 1rem var(--f-body); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; }
.gate input:focus { border-color: color-mix(in srgb, var(--glow) 60%, var(--line)); box-shadow: 0 0 0 3px rgba(148, 229, 111, .15); }
.gate .btn { width: 100%; margin-top: 4px; }
.gate .btn[disabled] { opacity: .7; cursor: wait; }
.gate-err { color: var(--coral); font-size: .92rem; }
.gate-err[hidden] { display: none; }
.gate .fine { text-align: center; }

/* "Noticed by" cards under the hero buttons (loop on their own) */
.voices { margin: 34px auto 0; text-align: left; }
.voices-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.voices-head .eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; }
.voices-head .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--glow); box-shadow: 0 0 8px var(--glow); animation: tickBlink 1.6s steps(1) infinite; }
@keyframes tickBlink { 50% { opacity: .25; } }
.voices-nav { display: flex; align-items: center; gap: 10px; flex: none; }
.voices-nav[hidden] { display: none; }
.vn { width: 36px; height: 36px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: .95rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s, opacity .2s, transform .25s var(--ease); }
.vn:hover:not(:disabled) { border-color: color-mix(in srgb, var(--glow) 45%, var(--line)); background: var(--raised); transform: translateY(-2px); }
.vn:disabled { opacity: .35; cursor: default; }
.vn-bar { position: relative; width: 110px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.vn-bar i { position: absolute; inset: 0 auto 0 0; width: 20%; border-radius: 3px; background: var(--glow); box-shadow: 0 0 8px var(--glow); }

.voices-row { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc((100% - 100vw) / 2); padding-inline: calc((100vw - 100%) / 2); padding-block: 14px 60px; margin-block: -14px -46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.voices-row::-webkit-scrollbar { display: none; }
.voices-row:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }
.voice { flex: none; width: 300px; min-height: 250px; display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 16px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(0, 0, 0, .35); transition: border-color .3s, transform .4s var(--ease); }
.voice:hover { border-color: color-mix(in srgb, var(--glow) 30%, var(--line)); transform: translateY(-4px); }
.voice.featured { width: 360px; background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--glow) 16%, var(--panel)), var(--panel) 62%), var(--panel); border-color: color-mix(in srgb, var(--glow) 35%, var(--line)); box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 50px -20px rgba(148, 229, 111, .35); }
.v-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v-ava { position: relative; flex: none; width: 52px; height: 52px; border-radius: 99px; display: grid; place-items: center; overflow: hidden; font-family: var(--f-pixel); font-size: 1rem; letter-spacing: .04em; color: var(--glow); background: var(--raised); border: 2px solid var(--line); box-shadow: 0 6px 18px rgba(0, 0, 0, .4); text-decoration: none; transition: transform .3s var(--ease), border-color .2s; }
.v-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.v-ava:hover { transform: scale(1.06); border-color: var(--glow); }
.org .v-ava { border-radius: 14px; background: var(--raised); border-color: var(--line); }
.org .v-ava img { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: contain; object-position: center; }
.featured .v-ava { border-color: var(--glow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--glow) 18%, transparent), 0 0 22px rgba(148, 229, 111, .45); }
.v-tag { font-family: var(--f-pixel); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); border: 1px solid color-mix(in srgb, var(--glow) 35%, var(--line)); border-radius: 99px; padding: 2px 9px; white-space: nowrap; }
.voice blockquote { margin: 0; }
.voice blockquote p { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.32; letter-spacing: -.01em; color: var(--text); }
.featured blockquote p { font-size: 1.16rem; }
.v-note { color: var(--muted); font-size: .98rem; line-height: 1.5; margin: 0; }
.voice footer { margin-top: auto; display: flex; flex-direction: column; gap: 1px; }
.voice footer a { text-decoration: none; }
.v-sig { align-self: flex-start; font-family: "Mrs Saint Delafield", "Snell Roundhand", cursive; font-size: 1.9rem; line-height: 1.1; color: var(--text); white-space: nowrap; }
.v-word { align-self: flex-start; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.3; color: var(--text); }
.v-sig:hover, .v-word:hover { color: var(--glow); }
.featured .v-sig { color: var(--glow-core); text-shadow: 0 0 16px rgba(148, 229, 111, .35); }
.v-name { display: flex; flex-direction: column; }
.v-name b { color: var(--text); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.v-name > span { color: var(--dim); font-size: .8rem; line-height: 1.4; }
.v-name .v-arrow { color: var(--glow); font-size: .8rem; opacity: .6; transition: transform .25s var(--ease), opacity .2s; }
.v-name:hover b { color: var(--glow); }
.v-name:hover .v-arrow { opacity: 1; transform: translate(2px, -2px); }
.v-credit { margin-top: 4px; color: var(--dim); font-size: .66rem; opacity: .7; }
.v-credit:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 560px) { .voice { width: 270px; min-height: 230px; } .voice.featured { width: 290px; } .vn-bar { width: 70px; } }

.foot-bottom .credit { font-size: .72rem; opacity: .7; }
.foot-bottom .credit a { color: inherit; }
.voice.long { width: 460px; }
.voice.long blockquote p { font-size: .98rem; line-height: 1.42; }
@media (max-width: 560px) { .voice.long { width: 300px; } .voice.long blockquote p { font-size: .92rem; } }

.v-after { margin-top: 12px; font-size: .9rem; }
