/* /lowpoly sales page. Light theme only (brand: light blue + white + one orange pop). */
:root {
  color-scheme: light;
  --sky-50: #f3f9fe;
  --sky-100: #e4f2fc;
  --sky-200: #d6ecfb;
  --sky-300: #b5dbf6;
  --sky-400: #8cc6ef;
  --sky-600: #2f86c6;
  --ink: #0f2a3f;
  --ink-soft: #3e5b71;
  --white: #fdfeff;
  --pop: #ff5b24;
  --pop-deep: #e8470f;
  --shadow: 0 18px 50px -18px rgb(23 78 120 / .35);
  --shadow-sm: 0 6px 18px -8px rgb(23 78 120 / .35);
  --r-card: 18px;
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "Geist", "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
/* no CSS smooth scrolling: it breaks ScrollTrigger's measurements. Anchor links are smoothed in app.js. */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sky-200);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .88em; background: var(--white); padding: .1em .4em; border-radius: 6px; color: var(--ink); }
.slash { color: var(--pop); }

/* buttons: pills everywhere */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.35em; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background-color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-pop { background: var(--pop); color: var(--ink); box-shadow: 0 8px 22px -10px rgb(232 71 15 / .9); }
.btn-pop:hover { transform: translateY(-2px); background: #ff6d3b; }
.btn-price { font-family: var(--mono); font-weight: 700; padding: .3em .55em; background: var(--white); border-radius: 999px; font-size: .85em; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--sky-400); }
.btn-sm { padding: .6em .7em .6em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1.05em 1.6em; font-size: 1.1rem; width: 100%; justify-content: center; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; }

/* nav */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 40; width: min(1100px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgb(253 254 255 / .82); backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm);
}
.wordmark { font: 700 1.25rem/1 var(--mono); text-decoration: none; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* hero */
.hero {
  position: relative; isolation: isolate;
  min-height: 100dvh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
  padding: 110px var(--gutter) 60px;
  max-width: 1280px; margin: 0 auto;
}
.facets { position: absolute; inset: 0 calc(50% - 50vw); width: 100vw; height: 100%; z-index: -1; }
.eyebrow { font: 700 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--sky-600); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); line-height: .98; font-weight: 800; letter-spacing: -0.035em; max-width: 12ch; }
.lede { margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 44ch; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; height: min(78dvh, 680px); }
.phone {
  position: absolute; margin: 0; aspect-ratio: 9 / 16; height: 100%;
  border-radius: 26px; overflow: hidden; background: var(--white);
  border: 10px solid var(--white); box-shadow: var(--shadow);
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.phone-front { right: 14%; top: 0; transform: rotate(-4deg); }
.phone-back { right: -2%; top: 8%; height: 84%; transform: rotate(7deg); opacity: .95; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .phone-front { animation: pop-in .9s .15s cubic-bezier(.34,1.56,.64,1) both; }
  .phone-back { animation: pop-in-b .9s .3s cubic-bezier(.34,1.56,.64,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes pop-in { from { opacity: 0; transform: rotate(-12deg) scale(.7); } }
@keyframes pop-in-b { from { opacity: 0; transform: rotate(18deg) scale(.6) translateX(40px); } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; gap: 28px; min-height: auto; }
  .hero-visual { height: 62vh; max-height: 520px; }
  .phone-front { right: auto; left: 8%; }
  .phone-back { right: 4%; }
}

/* 3D reel */
.reel { position: relative; height: 900vh; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  perspective: 1000px; perspective-origin: 50% 64%;
}
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-300) 0%, var(--sky-100) 52%, var(--sky-50) 60%, var(--sky-200) 100%); }
.floor {
  position: absolute; left: -100%; right: -100%; top: 64%; height: 260%;
  transform-origin: 50% 0; transform: rotateX(82deg);
  background-image:
    linear-gradient(90deg, rgb(255 255 255 / .9) 2px, transparent 2px),
    linear-gradient(0deg, rgb(255 255 255 / .9) 2px, transparent 2px);
  background-size: 140px 140px;
  background-position: 50% calc(var(--cam, 0) * 1px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
.hud {
  position: absolute; left: 50%; top: 13%; transform: translateX(-50%); z-index: 2;
  width: min(560px, 90vw); text-align: center; pointer-events: none;
}
.hud-title { font: 800 clamp(1.5rem, 3.2vw, 2.4rem)/1.08 var(--display); letter-spacing: -0.025em; }
.hud-counter { margin-top: 22px; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.hud-label { font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.hud-value { font: 700 clamp(2.6rem, 6vw, 4.6rem)/1 var(--mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hud-value.bump { animation: bump .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes bump { 40% { transform: scale(1.12); color: var(--pop-deep); } }
.hud-badge { font: 700 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--pop); color: var(--ink); padding: 5px 8px; border-radius: 4px; }
.hud-hint { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); }

.world { position: absolute; left: 50%; top: 64%; z-index: 1; width: 0; height: 0; transform-style: preserve-3d; }
.card {
  position: absolute; left: 0; top: 0;
  width: var(--card-w, 230px); margin-left: calc(var(--card-w, 230px) / -2); margin-top: calc(var(--card-w, 230px) * -1.25);
  transform-style: preserve-3d; will-change: transform, opacity;
  opacity: 0; visibility: hidden;
}
.card-pop {
  display: block; width: 100%; padding: 8px 8px 0; border: 0; text-align: left; cursor: pointer;
  background: var(--white); color: var(--ink); border-radius: var(--r-card);
  box-shadow: 0 30px 60px -24px rgb(23 78 120 / .55);
  transform: scale(.35) rotate(var(--tilt, 0deg)); opacity: 0;
  transition: transform .7s cubic-bezier(.34,1.56,.64,1), opacity .35s ease, box-shadow .2s;
}
.card.is-in .card-pop { transform: scale(1) rotate(0deg); opacity: 1; }
.card-pop:hover { box-shadow: 0 34px 70px -22px rgb(232 71 15 / .55); }
.card-media { display: block; position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--sky-300); }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media video { opacity: 0; transition: opacity .25s; }
.card-media video.playing { opacity: 1; }
.card-play {
  position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pop); color: var(--ink); font-size: 18px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.card-pop:hover .card-play { transform: scale(1.15); }
.card-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 4px 12px; }
.card-cap b { font: 700 1rem/1.15 var(--display); }
.card-cap span { font: 500 .78rem/1 var(--mono); color: var(--ink-soft); white-space: nowrap; }

.reel-end {
  position: absolute; left: 50%; bottom: 12%; transform: translate(-50%, 20px);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  opacity: 0; pointer-events: none; transition: opacity .5s, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.reel-end p { font: 800 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--display); letter-spacing: -0.03em; }
.reel-end.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* Reduced motion / no-JS-3D fallback: a plain grid */
.flat .reel { height: auto; padding: 100px var(--gutter); }
.flat .stage { position: static; height: auto; perspective: none; overflow: visible; }
.flat .sky, .flat .floor, .flat .hud-counter, .flat .hud-hint { display: none; }
.flat .hud { position: static; transform: none; margin: 0 auto 40px; width: auto; }
.flat .world { position: static; width: auto; height: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.flat .card { position: static; margin: 0; width: auto; opacity: 1; visibility: visible; transform: none !important; }
.flat .card-pop { transform: none; opacity: 1; }
.flat .reel-end { position: static; transform: none; opacity: 1; pointer-events: auto; margin-top: 48px; }

/* how it works */
.how { max-width: 1180px; margin: 0 auto; padding: 140px var(--gutter) 120px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 72px; }
.how-head { position: sticky; top: 120px; align-self: start; }
.how-head p { margin-top: 20px; color: var(--ink-soft); max-width: 40ch; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 28px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.how-steps li > i { font-size: 34px; color: var(--sky-600); width: 56px; height: 56px; display: grid; place-items: center; background: var(--sky-100); border-radius: 14px; }
.how-steps p { margin-top: 8px; color: var(--ink-soft); }
.pipeline { grid-column: 1 / -1; margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; font: 500 .95rem/1 var(--mono); }
.pipeline span { padding: 10px 16px; border-radius: 999px; background: var(--sky-100); border: 2px solid var(--white); }
.pipeline i { color: var(--sky-600); }
.pipeline .pipeline-out { background: var(--pop); border-color: var(--pop); font-weight: 700; }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; padding-top: 100px; }
  .how-head { position: static; }
  .how-steps li { grid-template-columns: 1fr; padding: 22px; }
}

/* bento */
.inside { max-width: 1180px; margin: 0 auto; padding: 60px var(--gutter) 120px; }
.inside h2 { max-width: 16ch; margin-bottom: 44px; }
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(270px, auto)); gap: 16px; }
.cell { position: relative; overflow: hidden; border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; isolation: isolate; }
.cell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.cell:hover > img { transform: scale(1.04); }
.cell > img + .cell-text::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(10 30 46 / .6) 58%, rgb(10 30 46 / .9)); }
section[id] { scroll-margin-top: 84px; }
.cell-text { color: var(--white); }
.cell-text p { margin-top: 6px; color: rgb(253 254 255 / .88); font-size: .97rem; max-width: 40ch; }
.cell-scenes { grid-row: span 2; min-height: 560px; }
.cell-audio { background: var(--pop); justify-content: space-between; }
.cell-audio > i { font-size: 46px; }
.cell-audio p { font-size: .97rem; }
.cell-speed { background: var(--white); justify-content: flex-start; }
.cell-speed p:last-child { color: var(--ink-soft); font-size: .97rem; margin-top: auto; }
.big-num { font: 700 clamp(2.8rem, 5vw, 4rem)/1 var(--mono); letter-spacing: -0.05em; color: var(--sky-600); }
.cell-hud { grid-column: 2 / 4; }
.cell-hud > img { object-position: 50% 30%; }
.bento { grid-template-areas: "scenes fx audio" "scenes hud speed"; }
.cell-scenes { grid-area: scenes; } .cell-fx { grid-area: fx; } .cell-audio { grid-area: audio; } .cell-hud { grid-area: hud; } .cell-speed { grid-area: speed; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "scenes scenes" "fx audio" "hud speed"; }
  .cell-scenes { min-height: 420px; }
  .cell { min-height: 280px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "scenes" "fx" "audio" "hud" "speed"; }
}

/* faq */
.faq { max-width: 860px; margin: 0 auto; padding: 60px var(--gutter) 120px; }
.faq h2 { margin-bottom: 36px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r-card); padding: 0 26px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 700 1.12rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--pop-deep); transition: transform .3s cubic-bezier(.34,1.56,.64,1); flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }

/* pricing */
.pricing { padding: 40px var(--gutter) 140px; display: grid; place-items: center; }
.price-card {
  width: min(460px, 100%); background: var(--white); border-radius: 28px; padding: 40px 36px 36px;
  box-shadow: 0 40px 90px -40px rgb(23 78 120 / .6); position: relative;
}
.price-name { font: 700 1.15rem/1 var(--mono); }
.price { margin-top: 18px; font: 800 6rem/.9 var(--display); letter-spacing: -0.05em; display: flex; align-items: flex-start; }
.price .cur { font-size: .4em; margin-top: .25em; margin-right: .05em; }
.price .cents { font-size: .4em; margin-top: .25em; }
.price-note { margin-top: 10px; color: var(--ink-soft); }
.price-list { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: baseline; }
.price-list i { color: var(--pop-deep); }
.checkout-msg { margin-top: 14px; font-size: .95rem; color: var(--ink-soft); text-align: center; }

/* footer */
.foot { max-width: 1180px; margin: 0 auto; padding: 36px var(--gutter) 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 2px solid var(--white); color: var(--ink-soft); }
.foot a { text-decoration: none; }
.foot p a { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* popup player */
.player { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.player::backdrop { background: rgb(15 42 63 / .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.player-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 16px; }
.player-frame { height: min(78dvh, 820px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); border-radius: 22px; overflow: hidden; background: #0b1d2b; border: 8px solid var(--white); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .5); }
.player-frame video { width: 100%; height: 100%; object-fit: contain; background: #0b1d2b; }
.player-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.player-title { color: var(--white); font: 700 1.15rem/1.2 var(--display); }
.player-close, .player-nav { position: absolute; border: 0; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 22px; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.player-close:hover, .player-nav:hover { transform: scale(1.08); }
.player-close { top: 20px; right: 20px; }
.player-nav { top: 50%; margin-top: -26px; }
.player-nav.prev { left: max(16px, calc(50% - min(78dvh, 820px) * 9 / 32 - 90px)); }
.player-nav.next { right: max(16px, calc(50% - min(78dvh, 820px) * 9 / 32 - 90px)); }
.player[open] .player-frame { animation: player-pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes player-pop { from { transform: scale(.7) rotate(-3deg); opacity: 0; } }
@media (max-width: 600px) {
  .player-frame { height: auto; width: calc(100vw - 32px); max-height: 72dvh; }
  .player-nav { top: auto; bottom: 22px; margin-top: 0; width: 46px; height: 46px; }
  .player-nav.prev { left: 16px; } .player-nav.next { right: 16px; }
  .player-meta { padding: 0 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- trust line, footer links ---------- */
.price-trust { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.price-trust a { color: var(--ink); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- agree-to-terms dialog ---------- */
.agree { border: 0; padding: 0; background: transparent; width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; }
.agree::backdrop { background: rgb(15 42 63 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.agree-card { position: relative; background: var(--white); border-radius: 26px; padding: 26px 26px 22px; box-shadow: 0 40px 90px -30px rgb(15 42 63 / .6); }
.agree[open] .agree-card { animation: player-pop .45s cubic-bezier(.34,1.56,.64,1); }
.agree-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sky-100); color: var(--ink); font-size: 18px; display: grid; place-items: center; cursor: pointer; }
.agree-cover { width: 92px; height: 92px; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow-sm); }
.agree h2 { margin-top: 16px; font-size: 1.7rem; }
.agree-lede { margin-top: 4px; color: var(--ink-soft); }
.agree-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 9px; }
.agree-list li { display: flex; gap: 10px; align-items: baseline; font-size: .98rem; }
.agree-list .yes i { color: #1f8a4c; }
.agree-list .no i { color: var(--pop-deep); }
.agree-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--sky-100); cursor: pointer; font-size: .95rem; line-height: 1.45; }
.agree-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pop-deep); flex: none; cursor: pointer; }
.agree-check a { color: var(--ink); font-weight: 600; }
.agree-card .btn-lg { margin-top: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.agree-foot { margin-top: 12px; display: flex; gap: 6px; align-items: center; justify-content: center; font-size: .85rem; color: var(--ink-soft); }

/* ---------- plain pages (terms, download) ---------- */
.page-plain { background: var(--sky-200); }
.page-plain .nav { padding-right: 8px; }
.doc { max-width: 720px; margin: 0 auto; padding: 130px var(--gutter) 80px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; }
.doc-meta { margin-top: 8px; font: 500 .85rem/1 var(--mono); color: var(--ink-soft); }
.doc h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc > p:first-of-type { margin-top: 24px; color: var(--ink); font-size: 1.08rem; }
.doc ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0; }
.doc p + p { margin-top: 12px; }
.doc a { color: var(--ink); font-weight: 600; }

/* ---------- download page ---------- */
.dl { max-width: 600px; margin: 0 auto; padding: 108px 16px 60px; }
.dl-card { background: var(--white); border-radius: 28px; padding: 22px; box-shadow: 0 40px 90px -40px rgb(23 78 120 / .6); }
.dl-hero { display: grid; place-items: center; padding: 22px; border-radius: 20px; background: linear-gradient(160deg, var(--sky-100), var(--sky-300)); }
.dl-cover { display: block; width: min(100%, 280px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 6px solid var(--white); box-shadow: var(--shadow); }
.dl-body { padding: 22px 8px 6px; }
.dl-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; background: #e3f6ea; color: #17673a; }
.dl-status.wait { background: var(--sky-100); color: var(--ink-soft); }
.dl-status.bad { background: #ffe9e1; color: #a33a12; }
.dl h1 { margin-top: 14px; font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; }
.dl-sub { margin-top: 6px; color: var(--ink-soft); }
.dl-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.dl-meta span { font: 500 .8rem/1 var(--mono); padding: 7px 10px; border-radius: 999px; background: var(--sky-100); }
.dl .btn-lg { margin-top: 20px; }
.dl-keep { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--sky-50); border: 2px dashed var(--sky-300); }
.dl-keep p { font-size: .95rem; }
.dl-keep-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.btn-quiet { background: var(--white); border-color: var(--sky-300); color: var(--ink); padding: .6em 1em; font-size: .9rem; }
.btn-quiet:hover { border-color: var(--sky-600); }
.dl-steps { margin-top: 28px; }
.dl-steps h2 { font-size: 1.3rem; }
.dl-steps ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.dl-steps li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; color: var(--ink-soft); font-size: .97rem; }
.dl-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--sky-100); color: var(--ink); display: grid; place-items: center; font: 700 .85rem/1 var(--mono); }
.dl-steps code { overflow-wrap: anywhere; }
.dl-fine { margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--sky-100); display: grid; gap: 8px; font-size: .92rem; color: var(--ink-soft); }
.dl-fine p { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: baseline; }
.dl-fine i { color: var(--sky-600); }
.dl-fine a { color: var(--ink); font-weight: 600; }
.skel { border-radius: 10px; background: linear-gradient(90deg, var(--sky-100), var(--sky-50), var(--sky-100)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; font-size: .92rem; z-index: 60; }
