:root {
  --bg: #f5f4f0;
  --tint: #edece6;
  --ink: #14171c;
  --muted: #5a606c;
  --line: rgba(20, 23, 28, 0.1);
  --blue: #3b7be8;
  --blue-deep: #2a5cc0;
  --hl: #ffe27a;
  --card: #fffffd;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.ic { width: 1em; height: 1em; display: inline-block; flex: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 244, 240, 0.78); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav nav a { text-decoration: none; transition: color 0.15s; }
.nav nav a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: pointer; font: 600 16px/1 var(--sans);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; height: 44px; border-radius: 999px; text-decoration: none;
  background: var(--ink); color: #fff; transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
a.btn:hover, button.btn:not([aria-disabled="true"]):hover { background: #000; transform: translateY(-1px); }
.btn[aria-disabled="true"] { background: #d9d8d2; color: #6c717c; cursor: not-allowed; box-shadow: inset 0 0 0 1px var(--line); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20, 23, 28, 0.2); }
a.btn-ghost:hover { background: rgba(20, 23, 28, 0.06); }

.note { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 14px; }
.note.nudge { animation: nudge 0.6s ease; }
@keyframes nudge { 0%, 100% { transform: none; color: var(--muted); } 25% { transform: translateX(-4px); color: var(--ink); } 60% { transform: translateX(4px); color: var(--ink); } }

/* Hero */
.hero { padding: 84px 0 40px; text-align: center; background:
  radial-gradient(900px 420px at 50% -80px, rgba(59, 123, 232, 0.16), transparent 70%),
  radial-gradient(600px 300px at 85% 10%, rgba(255, 226, 122, 0.22), transparent 70%); }
h1 { font-size: clamp(46px, 8vw, 92px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 680; margin: 26px 0 22px; text-wrap: balance; }
h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.03em; color: var(--blue-deep); }
.lede { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: var(--muted); max-width: 44ch; margin: 0 auto 34px; text-wrap: balance; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 22px; font-size: 14.5px; font-weight: 550; }
.facts li { display: flex; align-items: center; gap: 22px; }
.facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #b7b8b4; margin-left: -0; }
.facts li + li { gap: 22px; }

/* Stage */
.stage { margin-top: 56px; text-align: left; }
.stage figcaption { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.desk {
  position: relative; border-radius: 30px; padding: 56px 56px 120px; min-height: 480px; overflow: hidden;
  background:
    radial-gradient(700px 360px at 12% 0%, #c9d8ff 0%, transparent 70%),
    radial-gradient(640px 380px at 95% 100%, #ffd9c2 0%, transparent 70%),
    linear-gradient(135deg, #a9c3f7, #cdbdf0 55%, #f3c9c4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 80px -30px rgba(42, 92, 192, 0.35), 0 0 0 1px var(--line);
}
.win { width: min(640px, 100%); background: #fffffd; border-radius: 14px; box-shadow: 0 24px 60px -18px rgba(20, 30, 70, 0.35), 0 0 0 1px rgba(20, 23, 28, 0.08); position: relative; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 10px; }
.win-body { padding: 26px 32px 30px; }
.win-body h3 { font: 600 22px/1.2 var(--serif); letter-spacing: -0.01em; margin-bottom: 12px; }
#passage { font: 19px/1.7 var(--serif); color: #2a2e36; }
#passage span { border-radius: 5px; padding: 1px 0; transition: background 0.25s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#passage span.reading { background: rgba(59, 123, 232, 0.22); }
.ghost-lines { margin-top: 14px; display: grid; gap: 10px; }
.ghost-lines b { height: 9px; border-radius: 5px; background: #ecebe6; }
.ghost-lines b:nth-child(2) { width: 86%; }
.ghost-lines b:nth-child(3) { width: 58%; }
.keys { position: absolute; right: 22px; top: -18px; display: flex; gap: 6px; }
kbd { font: 600 14px/1 var(--sans); min-width: 34px; height: 34px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 9px; background: linear-gradient(#fff, #f1f0ec); color: var(--ink); box-shadow: 0 1px 0 #fff inset, 0 2px 0 #c9c8c2, 0 6px 14px -4px rgba(20, 23, 28, 0.3), 0 0 0 1px rgba(20, 23, 28, 0.12); }

/* Reader (mirrors the app's floating panel) */
.reader {
  position: absolute; right: 48px; bottom: 36px; width: 420px; max-width: calc(100% - 32px); padding: 16px; border-radius: 26px;
  background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75) inset, 0 30px 70px -20px rgba(20, 30, 80, 0.45), 0 0 0 1px rgba(20, 23, 28, 0.06);
}
.r-head { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 550; color: var(--muted); margin-bottom: 10px; }
.r-head .x { margin-left: auto; width: 14px; height: 14px; }
.r-text { font-size: 16px; font-weight: 530; line-height: 1.5; height: 72px; overflow: hidden; }
.w { color: #6b707b; border-radius: 5px; padding: 1px 1px; transition: color 0.15s, background 0.15s; }
.w.past { color: var(--ink); }
.w.now { color: #1b1500; background: var(--hl); }
.r-bar { height: 5px; background: rgba(20, 23, 28, 0.1); border-radius: 9px; margin: 8px 0 12px; overflow: hidden; }
.r-bar span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 9px; transition: width 0.3s linear; }
.r-ctl { display: flex; align-items: center; gap: 8px; }
.r-ctl button { appearance: none; border: 0; background: transparent; color: var(--ink); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 15px; }
.r-ctl button:hover { background: rgba(20, 23, 28, 0.08); }
.r-ctl .play { background: var(--ink); color: #fff; font-size: 16px; }
.r-ctl .play:hover { background: #000; }
.play .i-play, .play.paused .i-pause { display: none; }
.play.paused .i-play { display: inline-block; }
.grow { flex: 1; }
.r-left { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.speed { font: 600 12px/28px var(--sans); padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 1px rgba(20, 23, 28, 0.08); font-variant-numeric: tabular-nums; }

/* Sections */
.sec { padding: 112px 0; }
.sec-tint { background: var(--tint); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head.left { text-align: left; margin: 0; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 660; text-wrap: balance; }
.sub { color: var(--muted); font-size: 19px; line-height: 1.5; margin-top: 18px; max-width: 46ch; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--r); padding: 18px 18px 28px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgba(20, 23, 28, 0.25); display: flex; flex-direction: column; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; margin: 22px 10px 8px; line-height: 1.2; }
.card > p { color: var(--muted); font-size: 16px; margin: 0 10px; }
.kbd-inline { font: 600 14px var(--mono); background: var(--tint); padding: 2px 7px; border-radius: 6px; white-space: nowrap; color: var(--ink); }
.viz { position: relative; height: 190px; border-radius: 14px; background: linear-gradient(160deg, #e8efff, #f7ece6); overflow: hidden; display: grid; place-items: center; padding: 22px; }
.viz .keys { top: auto; bottom: 14px; right: 14px; }
.viz kbd { min-width: 28px; height: 28px; font-size: 12.5px; border-radius: 8px; }
.viz-sel p { font: 17px/1.6 var(--serif); background: #fffffd; padding: 16px 18px; border-radius: 10px; box-shadow: 0 8px 24px -12px rgba(20, 30, 70, 0.3); }
.viz-sel mark { background: rgba(59, 123, 232, 0.28); color: inherit; border-radius: 4px; padding: 1px 0; }
.page { position: relative; width: 150px; height: 160px; background: #fffffd; border-radius: 8px; padding: 30px 16px; display: grid; gap: 8px; align-content: center; box-shadow: 0 8px 24px -12px rgba(20, 30, 70, 0.35); }
.page i { height: 6px; border-radius: 4px; background: #d9dbe2; display: block; }
.page i.s { width: 70%; }
.skip-line { position: absolute; left: 12px; right: 12px; font: 600 7px/1 var(--mono); letter-spacing: 0.04em; color: #a3a6ae; text-decoration: line-through; text-decoration-color: #e0603f; }
.skip-line.top { top: 12px; }
.skip-line.bot { bottom: 12px; }
.viz-pdf .tag { position: absolute; right: 22px; top: 30px; font: 600 11px/1 var(--sans); color: #b24a2e; background: #ffe8df; padding: 5px 9px; border-radius: 999px; }
.shot { position: relative; width: 78%; height: 120px; background: #fffffd; border-radius: 10px; box-shadow: 0 8px 24px -12px rgba(20, 30, 70, 0.35); padding: 54px 18px 0; display: grid; gap: 8px; align-content: start; }
.shot i { height: 6px; border-radius: 4px; background: #d9dbe2; display: block; }
.shot i.s { width: 55%; }
.cross { position: absolute; inset: 14px 14px auto 14px; height: 36px; border: 1.5px dashed var(--blue); background: rgba(59, 123, 232, 0.1); border-radius: 4px; display: flex; align-items: center; padding: 0 10px; }
.cross span { font: 600 13px var(--sans); color: var(--blue-deep); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid li { background: var(--card); border-radius: 18px; padding: 20px 20px 22px; box-shadow: 0 0 0 1px var(--line); }
.grid b { display: block; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px; }
.grid span { display: block; font-size: 15px; line-height: 1.5; color: var(--muted); }

.dark { background: #0f1218; color: #f0f1f4; }
.dark .kicker { color: #8fb4ff; }
.dark .sub { color: #a3a9b6; }
.privacy-card { border-radius: 26px; padding: 34px; background: linear-gradient(160deg, #181d27, #12161e); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ticks { display: grid; gap: 14px; font-size: 19px; font-weight: 550; letter-spacing: -0.01em; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(143, 180, 255, 0.16); color: #8fb4ff; }
.perms { margin-top: 28px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.perms h3 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #a3a9b6; margin-bottom: 14px; font-weight: 600; }
.perms dt { font-weight: 600; margin-top: 12px; }
.perms dd { color: #a3a9b6; font-size: 15px; line-height: 1.5; }

.price { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--card); border-radius: 30px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(20, 23, 28, 0.35); overflow: hidden; max-width: 960px; margin: 0 auto; }
.price-main { padding: 44px 40px; background: linear-gradient(160deg, #eaf0ff, #fbf1e8); text-align: center; }
.amount { font-size: 112px; font-weight: 680; letter-spacing: -0.06em; line-height: 1; }
.amount span { font-size: 0.4em; vertical-align: 0.9em; margin-right: 4px; letter-spacing: 0; color: var(--muted); font-weight: 600; }
.per { color: var(--muted); margin: 6px 0 28px; font-weight: 550; }
.price-main .note { margin-top: 16px; font-size: 13.5px; }
.price-list { padding: 44px 40px; display: grid; gap: 22px; align-content: center; }
.price-list li { display: flex; gap: 14px; }
.price-list .ic { width: 22px; height: 22px; padding: 3px; margin-top: 2px; border-radius: 50%; background: rgba(59, 123, 232, 0.14); color: var(--blue-deep); }
.price-list span { color: var(--muted); font-size: 16px; line-height: 1.5; }
.price-list b { color: var(--ink); font-weight: 620; }

.faq { display: grid; gap: 10px; }
details { background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; position: relative; border-radius: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { padding: 0 24px 22px; color: var(--muted); font-size: 16.5px; max-width: 62ch; }

.foot { padding: 44px 0 56px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 10px; justify-items: start; }
.foot p { color: var(--muted); font-size: 15px; }
.foot .legal { font-size: 13px; opacity: 0.85; }

@media (max-width: 960px) {
  .ways { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .price { grid-template-columns: 1fr; max-width: 520px; }
  .nav nav { display: none; }
  .nav-cta { margin-left: auto; }
  .sec { padding: 80px 0; }
  .desk { padding: 36px 24px 36px; min-height: 0; }
  .reader { position: relative; right: auto; bottom: auto; margin: -24px 0 0 auto; max-width: 100%; }
  .win { margin-top: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: min(100% - 32px, 1120px); }
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: 1fr; }
  .desk { padding: 28px 14px; border-radius: 22px; }
  .win-body { padding: 18px 18px 22px; }
  #passage { font-size: 16.5px; }
  .keys { display: none; }
  .viz .keys { display: flex; }
  .privacy-card, .price-main, .price-list { padding: 28px 24px; }
  .amount { font-size: 92px; }
  .facts li + li::before { display: none; }
  .facts { gap: 4px 16px; }
  .reader { margin-top: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
