/* Savedshot: void navy ground, magenta / cyan / yellow signals,
   Space Grotesk for reading, IBM Plex Mono for labels. */
:root {
  --void: #0d0a1e;
  --void-deep: #070512;
  --panel: #151129;
  --panel-2: #1a1530;
  --line: rgba(255, 255, 255, .10);
  --line-soft: rgba(255, 255, 255, .06);
  --text: #f0f0ff;
  --muted: #a8a8c4;
  --magenta: #ff006e;
  --cyan: #00d9ff;
  --yellow: #fff95b;
  --ink: #0d0a1e;
  --signal: linear-gradient(110deg, var(--magenta) 0%, var(--magenta) 30%, var(--cyan) 100%);
  --cut: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --wide: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px;
  background:
    radial-gradient(ellipse 900px 520px at 88% -8%, rgba(255, 0, 110, .16), transparent 62%),
    radial-gradient(ellipse 800px 520px at -6% 108%, rgba(0, 217, 255, .12), transparent 62%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 44px 100%,
    var(--void);
  background-attachment: fixed;
}
body { margin: 0; min-height: 100vh; color: var(--text); font: 16px/1.55 var(--font-body); overflow-x: hidden; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.wrap { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.grad { background: var(--signal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font: 500 12px var(--font-mono); color: var(--yellow); letter-spacing: .08em; text-transform: uppercase; }
.kicker::before { content: "// "; opacity: .6; }
.lede { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 56ch; }
.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(7, 5, 18, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--signal); opacity: .55; }
.topbar-row { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand-mark { width: 22px; height: 22px; flex: none; background: var(--signal); clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%); }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topnav a:not(.btn) { padding: 8px 10px; text-decoration: none; color: var(--muted); font: 500 13px var(--font-mono); }
.topnav a:not(.btn):hover { color: var(--cyan); }
@media (max-width: 640px) { .topnav a.hide-s { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); background: transparent; text-decoration: none; cursor: pointer; font: 600 14px var(--font-body); white-space: nowrap; transition: transform .2s var(--ease), border-color .2s, color .2s, box-shadow .2s;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.btn:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }
.btn-primary { background: var(--signal); border-color: transparent; color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.12); }
.btn-small { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }

/* sections */
section { padding: clamp(56px, 9vw, 112px) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); }

/* hero */
.hero { padding-top: clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); margin: 16px 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 14px; font: 12px var(--font-mono); color: var(--muted); }
.hero-art { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(10px, 2vw, 22px); }
.hero-arrow { font: 600 26px var(--font-mono); color: var(--cyan); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.hero-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-covers .cover:nth-child(1) { animation: rise .7s var(--ease) .15s both; }
.hero-covers .cover:nth-child(2) { animation: rise .7s var(--ease) .3s both; }
.hero-covers .cover:nth-child(3) { animation: rise .7s var(--ease) .45s both; }
.hero-covers .cover:nth-child(4) { animation: rise .7s var(--ease) .6s both; }
@keyframes rise { from { transform: translateY(18px) scale(.96); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hero-art { grid-template-columns: 1fr; justify-items: center; } .hero-arrow { transform: rotate(90deg); animation: none; } .hero-covers { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } }

/* a drawn screenshot (never a real one) */
.shot { width: 200px; flex: none; position: relative; border: 1px solid var(--line); border-radius: 22px; background: #0a0816; padding: 14px 10px 12px; font-size: 11px; line-height: 1.35; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.shot-bar { display: flex; justify-content: space-between; font: 600 9px var(--font-mono); color: var(--muted); margin: 0 6px 8px; }
.shot-title { font-weight: 700; font-size: 12px; margin: 0 4px 8px; }
.shot-body { display: grid; gap: 6px; }
.bubble { justify-self: start; max-width: 88%; padding: 6px 9px; border-radius: 12px 12px 12px 3px; background: var(--panel-2); }
.bubble.me { justify-self: end; border-radius: 12px 12px 3px 12px; background: #2b2060; }
.bubble b { display: block; font: 600 9px var(--font-mono); color: var(--cyan); margin-bottom: 1px; }
.reply { padding: 6px 8px; border-left: 2px solid var(--line); color: #d6d6ea; }
.reply b { font: 600 9px var(--font-mono); color: var(--muted); display: block; }
.shot-row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 4px; border-bottom: 1px dashed var(--line-soft); color: #d6d6ea; }
.shot mark { background: none; color: inherit; border-radius: 3px; transition: background .4s, color .4s, box-shadow .4s; }
.shot.is-read mark { background: rgba(0, 217, 255, .2); color: #fff; box-shadow: 0 0 0 1px var(--cyan); }
.shot.is-reading::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36%; background: linear-gradient(to bottom, transparent, rgba(0, 217, 255, .28)); border-bottom: 2px solid var(--cyan); animation: scan 1.1s linear infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(290%); } }

/* drawn covers: same size for every kind of thing */
.cover { position: relative; aspect-ratio: 2 / 3; min-width: 0; overflow: hidden; display: grid; align-content: end; gap: 4px; padding: 10px;
  background: radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, .16), transparent 55%), linear-gradient(160deg, var(--a, #2a1f5e), var(--b, #4a2d8c)); border: 1px solid rgba(255, 255, 255, .12); }
.cover::before { content: ""; position: absolute; right: -22%; top: -12%; width: 78%; aspect-ratio: 1; border-radius: var(--r, 50%); background: rgba(255, 255, 255, .09); transform: rotate(var(--rot, 18deg)); }
.cover::after { content: ""; position: absolute; left: 10px; top: 34px; width: 28px; height: 2px; background: var(--accent, var(--cyan)); }
.cover-kind { position: absolute; left: 10px; top: 10px; font: 600 9px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent, var(--cyan)); }
.cover { container-type: inline-size; }
.cover strong { position: relative; font-size: clamp(9px, 13.5cqw, 19px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
.cover em { position: relative; font: 10px var(--font-mono); font-style: normal; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* real cover art: the drawn cover stays underneath as the fallback while it loads */
.cover.has-art { background-image: linear-gradient(to top, rgba(7, 5, 18, .94) 0%, rgba(7, 5, 18, .55) 30%, rgba(7, 5, 18, 0) 58%), linear-gradient(to bottom, rgba(7, 5, 18, .55), rgba(7, 5, 18, 0) 22%), var(--art), linear-gradient(160deg, var(--a, #2a1f5e), var(--b, #4a2d8c)); background-size: cover; background-position: center; }
.cover.has-art::before { display: none; }
.cover.has-art strong { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

.k-movie { --a: #2a1f5e; --b: #4a2d8c; --accent: #b8b0ff; }
.k-show  { --a: #0f3040; --b: #1b6b7a; --accent: #7dddd5; --r: 12%; }
.k-anime { --a: #3d1030; --b: #7a2460; --accent: #ff9ec4; --rot: 45deg; --r: 30%; }
.k-manga { --a: #3a1814; --b: #70302a; --accent: #f0b0a0; --r: 0; --rot: 30deg; }
.k-book  { --a: #2d2010; --b: #5c4020; --accent: #e0c97a; --r: 4%; --rot: 8deg; }
.k-game  { --a: #3d1608; --b: #7a3518; --accent: #ffab80; --r: 24%; --rot: 60deg; }
.k-app   { --a: #0c2a2a; --b: #16524f; --accent: #7fd6cf; --r: 28%; --rot: 0deg; }

/* cards and panels */
.panel { background: rgba(21, 17, 41, .82); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 28px); }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; counter-increment: step; }
.step::before { content: "0" counter(step); font: 600 13px var(--font-mono); color: var(--cyan); }
.step h3 { font-size: 21px; }
.step p, .feature p, .faq p, .versus li { color: var(--muted); font-size: 15px; }
.features { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { display: grid; gap: 8px; align-content: start; }
.feature h3 { font-size: 18px; }
.feature .tag { justify-self: start; }
.tag { display: inline-block; padding: 3px 9px; font: 600 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--cyan); transform: skewX(-10deg); }
.tag.t-m { background: var(--magenta); color: #fff; } .tag.t-y { background: var(--yellow); }
.kinds { display: flex; flex-wrap: wrap; gap: 10px; }
.kind { padding: 9px 14px; border: 1px solid var(--line); font: 500 13px var(--font-mono); background: rgba(21, 17, 41, .7); }
.kind b { color: var(--accent, var(--cyan)); font-weight: 600; }
.versus { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.versus ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.versus li::before { content: "– "; color: var(--muted); }
.versus .is-us { border-color: rgba(0, 217, 255, .5); box-shadow: 0 0 40px rgba(0, 217, 255, .08) inset; }
.versus .is-us li { color: var(--text); }
.versus .is-us li::before { content: "+ "; color: var(--cyan); }
.demo-teaser { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); background: rgba(21, 17, 41, .7); padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 10px; max-width: 70ch; }
@media (max-width: 820px) { .steps, .features, .versus, .demo-teaser { grid-template-columns: 1fr; } }

/* waitlist */
.waitlist { text-align: center; display: grid; gap: 18px; justify-items: center; }
.waitlist h2 { font-size: clamp(30px, 5vw, 52px); }
.waitlist-form { display: flex; gap: 10px; width: min(480px, 100%); }
.waitlist-form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; background: var(--void-deep); border: 1px solid var(--line); }
.waitlist-form input:focus { border-color: var(--cyan); outline: none; }
.form-msg { min-height: 1.5em; font: 13px var(--font-mono); color: var(--cyan); }
.form-msg.is-error { color: var(--magenta); }
@media (max-width: 480px) { .waitlist-form { flex-direction: column; } }

.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font: 12px var(--font-mono); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer a:hover { color: var(--cyan); }
.prose { max-width: 68ch; display: grid; gap: 16px; }
.prose h1 { font-size: clamp(32px, 5vw, 48px); }
.prose h2 { font-size: 22px; margin-top: 12px; }
.prose p, .prose li { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
