:root {
  --violet: #5b45e0;
  --violet-deep: #3a27ad;
  --night: #1b1440;
  --sun: #ffc63f;
  --mist: #ecebfa;
  --ink: #1d1738;
  --ink-2: #55506f;
  --display: "Anybody", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.125rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2 { font-family: var(--display); font-stretch: 125%; font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
main :focus-visible { outline-color: var(--violet); }
.wrap { width: min(1240px, 100% - 2 * clamp(1.1rem, 4vw, 3rem)); margin-inline: auto; }
.skip { position: absolute; left: -999px; background: #fff; color: var(--ink); padding: 0.6rem 1rem; z-index: 9; }
.skip:focus { left: 1rem; top: 1rem; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); }
.note { font-size: 1rem; color: var(--ink-2); }

/* Hero */
.hero { background: var(--violet); color: #fff; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.nav { display: flex; align-items: center; gap: 2rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-stretch: 115%; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.nav nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav nav a { text-decoration: none; }
.nav nav a:hover { text-decoration: underline; }
.btn { display: inline-block; padding: 0.6rem 1.2rem; border-radius: 0.6rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd469; }
.hero-copy { display: grid; gap: 1.25rem; padding-block: clamp(1.25rem, 2.2vw, 2rem) clamp(1.5rem, 2.5vw, 2.25rem); }
h1 { font-size: clamp(2.2rem, 5vw, 4.25rem); font-stretch: 140%; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.hero-side p { margin: 0; max-width: 76ch; font-size: 1.15rem; line-height: 1.5; }

/* Demo */
.demo { background: var(--night); border-radius: 1.1rem; padding: clamp(0.6rem, 1.2vw, 1rem); }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1.5rem; }
.film { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0.5rem; background: #000; container-type: inline-size; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; transition: filter 0.6s; }
.shot.on { visibility: visible; }
.film.warm .shot { filter: sepia(0.38) saturate(1.45) hue-rotate(-12deg) brightness(1.06); }
.film-title, .film-lyric { position: absolute; font-family: var(--display); color: #fff; text-shadow: 0 0.1em 0.6em rgb(0 0 0 / 0.75); opacity: 0; }
.film-title { left: 5%; bottom: 8%; width: 60%; font-size: 8.6cqw; font-weight: 800; font-stretch: 130%; line-height: 0.95; letter-spacing: -0.04em; color: #ffe9b8; }
.film-lyric { left: 4%; right: 4%; bottom: 7%; text-align: center; text-wrap: balance; font-size: 2.5cqw; font-weight: 650; line-height: 1.15; transition: font-size 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.film.big .film-lyric { font-size: 5cqw; font-weight: 800; }
.direct { display: flex; flex-direction: column; padding: 0.75rem 0.75rem 0.25rem 0; }
.direct h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.asks { display: grid; gap: 0.5rem; }
.ask { text-align: left; padding: 0.75rem 0.9rem; border: 0; border-radius: 0.9rem 0.9rem 0.9rem 0.2rem; background: #33296a; color: #fff; line-height: 1.3; }
.ask:hover { background: #43378a; }
.ask[aria-pressed="true"] { background: var(--sun); color: var(--ink); font-weight: 600; }
.reply { margin: 1.1rem 0 0; font-size: 1.05rem; line-height: 1.45; min-height: 4.4em; }
.fine { margin: auto 0 0; font-size: 0.95rem; line-height: 1.4; color: #bcb3e6; }

.timeline { margin-top: 0.9rem; }
.transport { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.7rem; }
.round { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: #fff; color: var(--ink); }
.round svg { width: 1.3rem; fill: currentColor; }
.i-pause, .playing .i-play { display: none; }
.playing .i-pause { display: block; }
.sound { border: 0; background: none; padding: 0.6rem 0; text-decoration: underline; text-underline-offset: 0.2em; font-size: 1rem; }
.time { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 1rem; color: #cfc8f2; }
.tracks { position: relative; display: grid; gap: 4px; }
.track { position: relative; height: 1.9rem; background: #261d55; border-radius: 4px; }
.track-film { height: 3.4rem; }
.track-song { height: 2.5rem; background: #43319f; overflow: hidden; }
.track-song svg { width: 100%; height: 100%; fill: #b9adff; }
.clip { position: absolute; top: 0; bottom: 0; border-radius: 4px; overflow: hidden; font-size: 0.9rem; line-height: 1; white-space: nowrap; }
.clip span { position: absolute; left: 0.5rem; top: 0.45rem; }
.track-film .clip { background: #000 0 50% / auto 100% repeat-x; border-right: 2px solid var(--night); }
.track-film .clip span { padding: 0.2rem 0.35rem; left: 0.25rem; top: 0.25rem; border-radius: 3px; background: rgb(15 10 40 / 0.8); }
.c-street { left: 0; width: 30%; } .track-film .c-street { background-image: url(/img/fox-street-thumb.webp); }
.c-lantern { left: 30%; width: 25%; } .track-film .c-lantern { background-image: url(/img/fox-lantern-thumb.webp); }
.c-rooftop { left: 55%; width: 25%; } .track-film .c-rooftop { background-image: url(/img/fox-rooftop-thumb.webp); }
.c-hold { left: 80%; width: 20%; } .track-film .c-hold { background-image: url(/img/fox-rooftop-thumb.webp); border-right: 0; }
.clip.text { background: #fff; color: var(--ink); font-weight: 600; }
.clip.text span { top: 0.5rem; }
.c-title { left: 4%; width: 21%; transform: scaleX(0); transform-origin: 0 50%; visibility: hidden; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.45s; }
.c-title.in { transform: none; visibility: visible; }
.clip.changed { background: var(--sun); }
.c-line1 { left: 32.5%; width: 20%; }
.c-line2 { left: 57%; width: 21%; }
.playhead { position: absolute; top: -6px; bottom: -4px; left: 0; width: 3px; margin-left: -1.5px; background: var(--sun); pointer-events: none; border-radius: 2px; }
.playhead::before { content: ""; position: absolute; top: -5px; left: 50%; width: 15px; height: 13px; transform: translateX(-50%); background: var(--sun); clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%); }
#scrub { position: absolute; inset: -8px 0; width: 100%; height: calc(100% + 16px); margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.tracks:has(#scrub:focus-visible) { outline: 3px solid var(--sun); outline-offset: 10px; border-radius: 4px; }

/* App */
.app { padding-block: clamp(4rem, 8vw, 7rem) 0; }
.app .lede { margin-top: 1rem; }
.screenshot { margin-top: 2.5rem; border-radius: 0.9rem; box-shadow: 0 0 0 1px #15151b, 0 40px 80px -40px rgb(58 39 173 / 0.6); }

/* Features */
.features { padding-block: clamp(4rem, 8vw, 7rem); display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.25rem clamp(2rem, 6vw, 6rem); }
.row p:last-child { margin-bottom: 0; }
.costs { margin: 1.5rem 0; }
.costs div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid #d9d6ee; }
.costs dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.row-export { grid-template-rows: auto 1fr; }
.row-export img { grid-column: 2; width: min(22rem, 100%); border-radius: 0.8rem; }

/* Price */
.price { background: var(--sun); color: var(--ink); }
.price-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.price h2 { margin-bottom: 1.5rem; font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.price .note { color: inherit; margin: 0; }
.frames { display: grid; gap: 1rem; }
.frame { position: relative; overflow: hidden; border-radius: 0.5rem; }
.frame img { width: 100%; aspect-ratio: 2.1; object-fit: cover; object-position: 50% 60%; }
.frame b { position: absolute; left: 0.8rem; top: 0.8rem; padding: 0.25rem 0.7rem; border-radius: 0.4rem; background: #fff; }
.mark { position: absolute; right: 3%; bottom: 5%; padding: 0.15rem 0.5rem; background: rgb(0 0 0 / 0.45); color: rgb(255 255 255 / 0.9); font-size: 1rem; }

/* Download */
.download { padding-block: clamp(4rem, 8vw, 7rem) 0; }
.download .lede { margin-top: 1rem; }
.platforms { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--mist); border-radius: 0.9rem; }
.platforms li { display: grid; justify-items: start; padding: 1.6rem; }
.platforms li + li { border-left: 2px solid #fff; }
.platforms strong { font-family: var(--display); font-stretch: 120%; font-size: 1.4rem; }
.platforms span { color: var(--ink-2); }
.platforms em { font-style: normal; margin-top: 1.2rem; padding: 0.6rem 0; color: var(--ink-2); }
.platforms .btn { margin-top: 1.2rem; background: var(--violet); color: #fff; }
.platforms .btn:hover { background: var(--violet-deep); }
.donate a { color: var(--violet); font-weight: 600; }

/* Questions */
.questions { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); padding-block: clamp(4rem, 8vw, 7rem); }
details { border-bottom: 1px solid #d9d6ee; }
summary { padding: 1rem 2rem 1rem 0; font-weight: 650; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 0.4rem; top: 1.45rem; width: 0.55rem; height: 0.55rem; border: solid var(--violet); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(0.3rem) rotate(225deg); }
details p { margin: 0 0 1.25rem; color: var(--ink-2); }

footer { background: var(--night); color: #d8d2f5; padding-block: 2.5rem; font-size: 1rem; }
footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: start; }
footer p { margin: 0; }
footer .brand { color: #fff; font-size: 1.125rem; }
footer :focus-visible { outline-color: var(--sun); }

.missing { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 1.5rem; background: var(--violet); color: #fff; padding: 2rem; }
.missing p { margin: 0; }

@media (max-width: 960px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .direct { padding: 0.25rem; }
  .asks { grid-template-columns: repeat(3, 1fr); }
  .reply { min-height: 3em; margin-top: 0.8rem; }
  .row, .price-in, .questions { grid-template-columns: minmax(0, 1fr); }
  .row-export img { grid-column: 1; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav { gap: 1rem; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  h1 { font-stretch: 115%; }
  .asks { grid-template-columns: minmax(0, 1fr); }
  .ask { padding: 0.65rem 0.9rem; }
  .track-film .clip span { display: none; }
  .clip { font-size: 0.8rem; }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .platforms li + li { border-left: 0; border-top: 2px solid #fff; }
  .platforms em { margin-top: 0.2rem; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media (max-width: 640px) {
  .nav { gap: 0.75rem; }
  .nav .brand { font-size: 1rem; gap: 0.4rem; }
  .nav .brand img { width: 32px; height: 32px; }
  .nav .btn { padding: 0.55rem 0.8rem; font-size: 1rem; }
  .fine { margin-top: 0.75rem; }
}

/* Comparison and guide */
.compare { padding-bottom: clamp(4rem, 8vw, 7rem); }
.compare .lede { margin-top: 1rem; }
.table { overflow-x: auto; margin: 2rem 0; }
table { width: 100%; min-width: 36rem; border-collapse: collapse; text-align: left; }
th, td { padding: 0.9rem 1.5rem 0.9rem 0; border-bottom: 1px solid #d9d6ee; vertical-align: top; font-weight: 400; }
thead th, tbody th { font-weight: 650; }
.compare th:last-child, .compare td:last-child { background: var(--mist); padding-inline: 1.25rem; }
.more a:not(.btn) { color: var(--violet); font-weight: 600; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-deep); }
.hero-guide { padding-bottom: clamp(1rem, 2vw, 2rem); }
.guide { max-width: 800px; padding-block: 2.5rem clamp(4rem, 8vw, 7rem); }
.guide section { margin-top: 4.5rem; }
.guide h2 { margin-bottom: 0.8rem; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.steps { list-style: none; counter-reset: step; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 3rem; }
.steps li { counter-increment: step; position: relative; padding-left: 4.25rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -0.3rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 0.6rem; background: var(--sun); font: 800 1.3rem/1 var(--display); }
blockquote { margin: 0 0 1em; padding: 0.9rem 1.2rem; max-width: 62ch; background: var(--mist); border-radius: 1rem 1rem 1rem 0.2rem; }
figure { margin: 1.5rem 0 0; }
figure img { border-radius: 0.6rem; }
figcaption { margin-top: 0.6rem; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 640px) {
  .steps li { padding-left: 0; }
  .steps li::before { position: static; margin-bottom: 0.8rem; }
}
@media (max-width: 640px) {
  table { min-width: 0; font-size: 1rem; line-height: 1.4; }
  th, td { padding: 0.75rem 0.6rem 0.75rem 0; overflow-wrap: break-word; }
  .compare table { table-layout: fixed; }
  .compare th:last-child, .compare td:last-child { padding-inline: 0.6rem; }
}
@media (max-width: 640px) {
  .compare th:last-child, .compare td:last-child { width: 38%; padding-inline: 0.5rem; }
  .compare thead th { font-size: 0.95rem; overflow-wrap: normal; }
}
