/* The home page. Paper and ink, a lemon and a leaf; dark rooms for the parts
   that show the app at work. The slanted details all take the angle of the Z
   in the logo (--slant). */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 22px; height: 10px; background: var(--lemon); transform: skewX(var(--slant)); box-shadow: 0 0 0 1.5px var(--ink); }
.eyebrow--night { color: var(--bone-2); }
.eyebrow--night::before { box-shadow: none; }

.display { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: clamp(46px, 6.6vw, 96px); line-height: 0.92; letter-spacing: 0; text-wrap: balance; }
.display--xl { font-size: clamp(60px, 11.5vw, 176px); line-height: 0.86; letter-spacing: -0.035em; }
em { font-style: normal; }
.display em { font-weight: 800; color: var(--leaf-deep); }
.night .display em, .questions .display em { color: var(--lemon); }
.lede { margin-top: 24px; max-width: 52ch; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.night .lede, .questions .lede { color: var(--bone-2); }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; text-decoration-color: var(--lemon-deep); }
.arrow-link svg { transition: transform 0.25s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

.chip { height: 36px; padding: 0 16px; border-radius: 0; border: 1.5px solid var(--night-line); color: var(--bone-2); font-size: 14px; font-weight: 550; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--bone-2); color: var(--bone); }
.chip.is-on { background: var(--lemon); border-color: var(--lemon); color: var(--ink); }
.chip--leaf { border-color: rgba(10, 10, 10, 0.35); color: var(--ink); }
.chip--leaf:hover { border-color: var(--ink); color: var(--ink); }
.chip--leaf.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 0; background: var(--lemon); color: var(--ink); font-weight: 650; transition: transform 0.2s var(--ease), background 0.2s; }
.btn:hover { background: var(--lemon-2); transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }

/* Devices: a frame around a real screenshot. */
.dev { position: relative; background: #000; border: 9px solid #121210; border-radius: 20px; box-shadow: 0 0 0 1px #2c2b27, 0 40px 60px -30px rgba(10, 10, 10, 0.6); }
.dev img { width: 100%; border-radius: 11px; }
.dev--tv { border-width: 7px; border-radius: 10px; margin-bottom: 26px; }
.dev--tv img { border-radius: 3px; }
.dev--tv::after { content: ''; position: absolute; left: 50%; bottom: -27px; width: 26%; height: 20px; transform: translateX(-50%); background: linear-gradient(#1b1a18, #1b1a18) center top / 14% 100% no-repeat, linear-gradient(#1b1a18, #1b1a18) center bottom / 100% 5px no-repeat; }
.dev--phone { border-width: 6px; border-radius: 26px; }
.dev--phone img { border-radius: 20px; }
.dev--phone-land { border-width: 7px; border-radius: 24px; }
.dev--phone-land img { border-radius: 17px; }
.dev figcaption { position: absolute; left: 0; top: calc(100% + 18px); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--bone-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(120px, 13vw, 170px) 0 0; overflow: clip; }
.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; }
}
.hero__title { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: clamp(58px, 9.4vw, 148px); line-height: 0.88; letter-spacing: 0; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-weight: 800; background: linear-gradient(transparent 58%, var(--lemon) 58%, var(--lemon) 90%, transparent 90%); padding-inline: 0.06em; margin-inline: -0.06em; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(110%) rotate(4deg); transform-origin: left bottom; animation: line-up 1s var(--ease) forwards; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: 0.09s; }
  .js .hero__title .line:nth-child(3) > span { animation-delay: 0.18s; }
}
@keyframes line-up { to { transform: none; } }
.hero__lede { margin-top: 30px; max-width: 44ch; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.hero__stage { position: relative; aspect-ratio: 1 / 0.86; max-width: 640px; width: 100%; margin-inline: auto; --px: 0; --py: 0; }
.hero__sun { position: absolute; left: 12%; top: 0; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--lemon); box-shadow: inset -24px -30px 0 rgba(201, 154, 6, 0.35); transform: translate(calc(var(--px) * -8px), calc(var(--py) * -8px)); }
.hero__peel { position: absolute; inset: -6% -8% auto auto; width: 62%; transform: translate(calc(var(--px) * -20px), calc(var(--py) * -20px)) rotate(8deg); }
.hero__stage .dev { position: absolute; transition: transform 0.5s var(--ease); transform: translate(calc(var(--px) * var(--d, 0) * 1px), calc(var(--py) * var(--d, 0) * 1px)) rotate(var(--r, 0deg)); }
.hero__stage .dev--tv { width: 90%; left: 5%; top: 13%; }
.hero__stage .dev--tablet { width: 54%; left: -3%; bottom: 0; --r: -5deg; border-width: 7px; border-radius: 16px; }
.hero__stage .dev--tablet img { border-radius: 9px; }
.hero__stage .dev--phone { width: 23%; right: 1%; bottom: -1%; --r: 6deg; border-width: 5px; border-radius: 20px; }
.hero__stage .dev--phone img { border-radius: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__stage .dev, .js .hero__sun { animation: pop 1.1s var(--ease) backwards; }
  .js .hero__stage .dev--tv { animation-delay: 0.25s; }
  .js .hero__stage .dev--tablet { animation-delay: 0.4s; }
  .js .hero__stage .dev--phone { animation-delay: 0.52s; }
}
@keyframes pop { from { opacity: 0; scale: 0.86; translate: 0 40px; } }

/* Two ribbons that cross under the hero. */
.ribbons { position: relative; height: clamp(150px, 17vw, 220px); margin-top: clamp(36px, 5vw, 64px); }
.ribbon { position: absolute; left: -6vw; right: -6vw; top: 50%; padding: 15px 0; overflow: hidden; white-space: nowrap; font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: clamp(20px, 2.5vw, 30px); letter-spacing: 0; border-block: 2px solid var(--ink); }
.ribbon--lemon { background: var(--lemon); transform: translateY(-50%) rotate(-3deg); z-index: 1; }
.ribbon--ink { background: var(--ink); color: var(--paper); transform: translateY(-50%) rotate(2.2deg); font-weight: 500; }
.ribbon__run { display: inline-flex; align-items: center; gap: 28px; padding-left: 28px; animation: run 46s linear infinite; }
.ribbon--ink .ribbon__run { animation-direction: reverse; animation-duration: 250s; }
.ribbon i { flex: none; width: 20px; height: 11px; background: var(--ink); transform: skewX(var(--slant)); }
.ribbon--ink i { background: var(--leaf); }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- Six jobs, one app ---------- */
.stack { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.stack__grid { display: grid; gap: 48px; align-items: center; }
.stack__hint { display: none; }
.stack__scene { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.jobs { display: grid; gap: 12px; }
.job { display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: #fffdf6; border: 2px solid var(--ink); border-radius: 0; box-shadow: 5px 5px 0 var(--ink); will-change: transform; transition: background 0.3s; }
.job__n { flex: none; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.job h3 { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 21px; line-height: 1.15; letter-spacing: 0; }
.job p { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); margin-top: 2px; }
.job.is-now { background: var(--lemon); }
.stack__one { display: none; }

/* Wide and tall enough, with motion allowed: the section pins and the scroll drives it. */
@media (min-width: 1000px) and (min-height: 660px) and (prefers-reduced-motion: no-preference) {
  .js .stack { height: 440vh; padding: 0; }
  .js .stack__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: clip; }
  .js .stack__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .js .stack__hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); transition: opacity 0.4s; }
  .js .stack__hint svg { animation: nudge 1.6s var(--ease) infinite; }
  .js .stack.is-done .stack__hint { opacity: 0; }
  .js .stack__one { position: absolute; left: 50%; top: 50%; width: min(340px, 78%); margin: 0; display: grid; justify-items: center; gap: 30px; transform: translate(-50%, -50%); pointer-events: none; text-align: center; }
  .js .stack__icon { width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: var(--ink); border-radius: 22.5%; box-shadow: 12px 12px 0 var(--lemon); opacity: 0; will-change: transform, opacity; }
  .js .stack__icon svg { width: 82%; height: 82%; overflow: visible; }
  .js .stack__one p { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: 0; opacity: 0; will-change: transform, opacity; }
  .js .stack__one p em { font-weight: 800; color: var(--leaf-deep); }
}
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- The dark rooms ---------- */
.night { background: var(--night); color: var(--bone); }
.demo { padding: clamp(84px, 11vw, 150px) 0; }
.demo + .demo { padding-top: 0; }
.demo__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
  .demo__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; }
  .demo__grid--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .demo__grid--flip .demo__copy { order: 2; }
}
.ticks { margin-top: 28px; display: grid; gap: 12px; max-width: 52ch; }
.ticks li { position: relative; padding-left: 34px; color: var(--bone); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 18px; height: 9px; background: var(--leaf); transform: skewX(var(--slant)); }

.panel { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 0; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 50px 80px -50px #000; }
.panel__head { display: flex; align-items: center; gap: 16px; }
.panel__title { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 26px; line-height: 1.1; letter-spacing: 0; }
.panel__title span { font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--bone-2); margin-left: 6px; letter-spacing: 0; }
.panel__sub { font-family: var(--mono); font-size: 12.5px; color: var(--bone-2); margin-top: 6px; min-height: 1.6em; }
.panel__foot { margin-top: 18px; font-size: 13px; color: #8a8576; }

/* Choosing a version */
.pick__poster { width: 52px; border-radius: 0; flex: none; }
.pick__again { margin-left: auto; height: 34px; padding: 0 14px; border-radius: 0; border: 1.5px solid var(--night-line); font-size: 13px; font-weight: 550; color: var(--bone-2); white-space: nowrap; }
.pick__again:hover { color: var(--bone); border-color: var(--bone-2); }
.pick__prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 16px; }
.pick__prefs-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-2); margin-right: 6px; }
.pick__rows { display: grid; gap: 6px; }
.v { display: grid; grid-template-columns: minmax(0, 1.25fr) 62px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 46px; padding: 8px 14px; border-radius: 0; background: var(--night-3); border: 1.5px solid transparent; transition: opacity 0.4s, background 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.v__what { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.v__what b { font-weight: 650; font-size: 15px; margin-right: 4px; }
.v__what i { font-style: normal; font-family: var(--mono); font-size: 11.5px; padding: 2px 7px; border-radius: 6px; background: #2d2c27; color: var(--bone-2); }
.v__size { font-family: var(--mono); font-size: 13px; color: var(--bone-2); text-align: right; white-space: nowrap; }
.v__meter { height: 6px; border-radius: 3px; background: #2d2c27; overflow: hidden; }
.v__meter span { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--bone-2); transition: width 0.9s var(--ease), background 0.4s; }
.v__note { display: none; font-family: var(--mono); font-size: 12.5px; }
.v.is-checking { background: linear-gradient(100deg, var(--night-3) 30%, #34322c 50%, var(--night-3) 70%) 0 0 / 300% 100%; animation: sweep 0.9s linear infinite; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.v.is-out, html:not(.js) .v[data-reject] { background: transparent; border-color: var(--night-line); border-style: dashed; }
.v.is-out .v__what, .v.is-out .v__size, html:not(.js) .v[data-reject] .v__what, html:not(.js) .v[data-reject] .v__size { opacity: 0.4; text-decoration: line-through; }
.v.is-out .v__meter, html:not(.js) .v[data-reject] .v__meter { display: none; }
.v.is-out .v__note, html:not(.js) .v[data-reject] .v__note { display: block; color: var(--red); }
.v.is-pick { background: rgba(244, 196, 48, 0.12); border-color: var(--lemon); }
.v.is-pick .v__meter span { background: var(--lemon); }
.v.is-pick .v__what b { color: var(--lemon); }
.pick__why { margin-top: 16px; padding: 14px 16px; border-radius: 0; background: var(--lemon); color: var(--ink); font-size: 15px; line-height: 1.45; font-weight: 500; transition: opacity 0.4s, transform 0.5s var(--ease); }
.pick__why-tag { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 0; background: var(--ink); color: var(--lemon); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px; }
.pick.is-busy .pick__why { opacity: 0; transform: translateY(8px); }

/* Play now */
.play__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 0; overflow: hidden; background: #000; }
.play__screen img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: opacity 0.8s, transform 6s linear; }
.play.is-playing .play__screen img { opacity: 1; transform: scale(1.06); }
.play__button { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%; background: var(--lemon); color: var(--ink); transition: transform 0.25s var(--ease), opacity 0.3s; }
.play__button:hover { transform: scale(1.07); }
.play.is-playing .play__button, .play.is-sampling .play__button { opacity: 0; pointer-events: none; }
.play__bar { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 5px; border-radius: 3px; background: rgba(245, 240, 225, 0.25); overflow: hidden; }
.play__bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; }
.play__buffered { background: rgba(245, 240, 225, 0.55); }
.play__played { background: var(--lemon); }
.play__status { margin: 16px 0 12px; min-height: 1.6em; font-family: var(--mono); font-size: 13px; color: var(--bone); }
.play__status::before { content: '> '; color: var(--leaf); }
.play__cells { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.play__cells span { aspect-ratio: 1; border-radius: 3px; background: #2d2c27; transition: background 0.3s; }
.play__cells .is-check { background: var(--bone); }
.play__cells .is-have { background: var(--lemon); }
.play__cells .is-miss { background: var(--red); }
.play__cells .is-backup { background: var(--leaf); }
.play__cells .is-past { background: #5d5223; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 12.5px; color: var(--bone-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 3px; }
.dot--idle { background: #2d2c27; box-shadow: 0 0 0 1px #45433b; }
.dot--check { background: var(--bone); }
.dot--have { background: var(--lemon); }
.dot--backup { background: var(--leaf); }
.play__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--night-line); min-height: 62px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 550; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 44px; height: 26px; border-radius: 13px; background: #3a3832; padding: 3px; transition: background 0.25s; }
.switch__track span { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--bone); transition: transform 0.25s var(--ease); }
.switch input:checked + .switch__track { background: var(--leaf); }
.switch input:checked + .switch__track span { transform: translateX(18px); background: var(--ink); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--lemon); outline-offset: 3px; }
.did { flex: 1 1 240px; font-size: 13.5px; line-height: 1.4; color: var(--bone); animation: did-in 0.6s var(--ease); }
.did span { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leaf); }
@keyframes did-in { from { opacity: 0; transform: translateY(8px); } }

/* Downloads: what happened, line by line */
.rescue__head { max-width: 820px; }
.rescue__grid { margin-top: 56px; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) {
  .rescue__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
}
.log { position: relative; display: grid; gap: 0; font-size: 15.5px; }
.log::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: var(--night-line); }
.log li { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 10px 0 10px 30px; align-items: baseline; }
.log li::before { content: ''; position: absolute; left: 0; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--night); border: 2px solid var(--bone-2); }
.log time { font-family: var(--mono); font-size: 12.5px; color: #8a8576; }
.log b { font-weight: 650; }
.log--bad p { color: #f08c79; }
.log--bad::before { border-color: var(--red) !important; background: var(--red) !important; }
.log--fix p { color: var(--leaf); }
.log--fix::before { border-color: var(--leaf) !important; background: var(--leaf) !important; }
.log--done p { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 24px; line-height: 1.2; color: var(--lemon); }
.log--done::before { border-color: var(--lemon) !important; background: var(--lemon) !important; }
@media (prefers-reduced-motion: no-preference) {
  /* The log writes itself as you scroll: each line lands as it comes up the screen, and the
     line down the side fills to wherever the download has got to. */
  .js .log li { opacity: 0.12; transform: translateX(-18px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
  .js .log li.is-on { opacity: 1; transform: none; }
  .js .log li::before { transition: scale 0.35s var(--ease); scale: 0.4; }
  .js .log li.is-on::before { scale: 1; }
  .js .log::after { content: ''; position: absolute; left: 5px; top: 10px; width: 2px; height: calc((100% - 20px) * var(--fill, 0)); background: var(--lemon); }
}
.rescue__shot { margin-bottom: 40px; }

/* ---------- Proof ---------- */
.proof { padding: clamp(96px, 12vw, 170px) 0; }
.proof__head { max-width: 980px; }
.proof__grid { margin-top: 64px; display: grid; gap: 28px; }
.ledger { background: #fffdf6; border: 2px solid var(--ink); border-radius: 0; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.ledger__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--ink); color: var(--bone-2); }
.ledger__bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3832; }
.ledger__bar span:nth-child(1) { background: var(--red); }
.ledger__bar span:nth-child(2) { background: var(--lemon); }
.ledger__bar span:nth-child(3) { background: var(--leaf); }
.ledger__bar p { margin-left: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.ledger thead th { text-align: left; padding: 14px 22px 10px; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ledger tbody th, .ledger tfoot th { text-align: left; font-weight: 650; white-space: nowrap; }
.ledger tbody th::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 12px; border-radius: 50%; background: var(--leaf-deep); }
.ledger tfoot th::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--red); }
.ledger td, .ledger tbody th, .ledger tfoot th { padding: 13px 22px; border-top: 1px solid var(--paper-2); vertical-align: top; }
.ledger td { color: var(--ink-2); }
.ledger tfoot tr { background: var(--paper); }
.ledger tfoot th { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.ledger tfoot td { font-weight: 550; color: var(--ink); }
.ledger__foot { padding: 16px 22px 18px; border-top: 2px solid var(--ink); font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) {
  .ledger thead { display: none; }
  .ledger tr { display: block; padding: 14px 18px; border-top: 1px solid var(--paper-2); }
  .ledger td, .ledger tbody th, .ledger tfoot th { display: block; padding: 0; border: 0; white-space: normal; }
  .ledger td { font-size: 14.5px; margin-top: 3px; }
  .ledger td:last-child:not(:first-of-type) { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
  .ledger__foot { padding-inline: 18px; }
}
.proof__side { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; border: 2px solid var(--ink); border-radius: 0; font-size: 15.5px; line-height: 1.55; }
.card h3 { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 25px; line-height: 1.1; letter-spacing: 0; }
.card .arrow-link { margin-top: auto; padding-top: 8px; font-size: 15px; text-decoration-color: currentColor; }
.card--lemon { background: var(--lemon); }
.card--ink { background: var(--ink); color: var(--bone); }
.card--ink p { color: var(--bone-2); }
.card--paper { background: #fffdf6; }
.card--leaf { background: var(--leaf); }
.card__stat { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--night-line); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.card--ink .card__stat b { font-size: 34px; font-weight: 500; color: var(--leaf); letter-spacing: 0; line-height: 1; }

.tests { margin-top: 20px; padding: clamp(26px, 3.4vw, 44px); background: var(--ink); color: var(--bone); border-radius: 0; }
.tests__lead { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: 0; color: var(--lemon); }
.tests dl { margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 32px; }
.tests dl div { padding-top: 16px; border-top: 1px solid var(--night-line); }
.tests dt { font-family: var(--mono); font-weight: 500; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.03em; color: var(--bone); font-variant-numeric: tabular-nums; }
.tests dl div:first-child dt { color: var(--leaf); }
.tests dd { margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: var(--bone-2); max-width: 22ch; }

/* ---------- Everything else ---------- */
.more { padding: 0 0 clamp(96px, 12vw, 170px); }
.more__head { max-width: 900px; margin-bottom: 56px; }
.bento { display: grid; gap: 20px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.tile { grid-column: span 12; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: 0; border: 2px solid var(--ink); background: #fffdf6; font-size: 16px; line-height: 1.55; }
.tile h3 { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: clamp(27px, 2.9vw, 38px); line-height: 1.04; letter-spacing: 0; text-wrap: balance; }
.tile__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.tile__text { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tile__small { font-size: 12.5px; opacity: 0.65; }
.tile > p, .tile__text > p { max-width: 54ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pills li { padding: 5px 13px; border-radius: 0; border: 1.5px solid var(--night-line); font-size: 13.5px; color: var(--bone); }

@media (min-width: 1000px) {
  .tile--spin { grid-column: span 7; }
  .tile--follow { grid-column: span 5; }
  .tile--kids { grid-column: span 7; }
  .tile--anime { grid-column: span 5; }
  .tile--subs { grid-column: span 7; }
  .tile--remind { grid-column: span 5; }
  .tile--sound, .tile--activity, .tile--backup { grid-column: span 4; }
  .tile--tv, .tile--player { flex-direction: row; align-items: center; gap: 48px; }
  .tile--tv > *, .tile--player > * { flex: 1 1 0; min-width: 0; }
  .tile--player .dev { order: 2; flex-grow: 1.25; }
}

.tile--spin { background: var(--ink); color: var(--bone); flex-direction: row; align-items: center; gap: 28px; }
.tile--spin .tile__text { flex: 1 1 0; }
.tile--spin p { color: var(--bone-2); }
.tile--spin .btn { margin-top: 10px; }
.spin { flex: none; width: clamp(120px, 34%, 210px); text-align: center; }
.spin__card { aspect-ratio: 2 / 3; border-radius: 0; overflow: hidden; background: var(--night-3); box-shadow: 8px 8px 0 var(--lemon); transform: rotate(4deg); transition: transform 0.5s var(--ease); }
.spin__card img { width: 100%; height: 100%; object-fit: cover; }
.spin.is-spinning .spin__card { transform: rotate(-3deg) scale(0.96); }
.spin.is-landed .spin__card { animation: land 0.6s var(--ease); }
@keyframes land { 0% { transform: rotate(-8deg) scale(1.12); } 100% { transform: rotate(4deg); } }
.spin__name { margin-top: 20px; font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 18px; color: var(--lemon); min-height: 1.5em; }
@media (max-width: 560px) {
  .tile--spin { flex-direction: column; align-items: flex-start; }
  .spin { width: 150px; align-self: center; }
}

.tile--tv, .tile--player { background: var(--night); color: var(--bone); }
.tile--tv p, .tile--player p { color: var(--bone-2); }
.tile--tv .tile__kicker, .tile--player .tile__kicker { color: var(--lemon); opacity: 1; }
.tile--tv .dev, .tile--player .dev { width: 100%; }

.tile--follow { background: var(--lemon); }
.notif { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: var(--ink); color: var(--bone); border-radius: 0; box-shadow: 0 18px 30px -18px rgba(10, 10, 10, 0.7); transform: rotate(-1.5deg); }
.notif img { width: 44px; border-radius: 0; flex: none; }
.notif__app { font-family: var(--mono); font-size: 11.5px; color: var(--bone-2); }
.notif__title { font-weight: 650; font-size: 15px; line-height: 1.3; }
.notif__body { font-size: 14px; color: var(--bone-2); line-height: 1.3; }
.tile--follow > p:not(.tile__kicker) { margin-bottom: 18px; }

.tile--kids { background: #d5ecc9; }
.kids { margin-top: auto; padding-top: 14px; display: grid; gap: 16px; }
.kids__ages { display: flex; flex-wrap: wrap; gap: 8px; }
.kids__shelf { display: flex; gap: 10px; height: clamp(120px, 15vw, 168px); }
.kids__shelf li { flex: 0 1 auto; aspect-ratio: 2 / 3; height: 100%; min-width: 0; border-radius: 0; overflow: hidden; border: 2px solid var(--ink); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.kids__shelf img { width: 100%; height: 100%; object-fit: cover; }
.kids__shelf li.is-gone { opacity: 0; transform: translateY(14px) scale(0.9); }
.kids__shelf { overflow: hidden; }

.tile--anime { background: var(--ink); color: var(--bone); }
.tile--anime > p:not(.tile__kicker) { color: var(--bone-2); }
.tile--anime .tile__kicker { color: var(--leaf); opacity: 1; }
.countdown { margin-top: auto; padding-top: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--night-line); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-2); }
.countdown b { font-size: clamp(20px, 2.3vw, 28px); font-weight: 500; color: var(--leaf); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }

.subs { margin-top: auto; padding: 34px 16px 22px; border-radius: 0; background: linear-gradient(#26241f, #0a0a0a); text-align: center; font-size: clamp(17px, 1.9vw, 22px); line-height: 1.5; font-weight: 550; color: #fff; }
.subs span { background: rgba(0, 0, 0, 0.7); padding: 2px 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tile--subs > p:not(.tile__kicker) { margin-bottom: 14px; }

.bars { margin-top: auto; padding-top: 22px; height: 130px; display: flex; align-items: flex-end; gap: 6px; }
.bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--ink); height: 30%; transform-origin: bottom; }
.bars span:nth-child(2) { height: 46%; }
.bars span:nth-child(3) { height: 38%; }
.bars span:nth-child(4) { height: 62%; }
.bars span:nth-child(5) { height: 54%; }
.bars span:nth-child(6) { height: 80%; background: var(--leaf-deep); }
.bars span:nth-child(7) { height: 100%; background: var(--lemon); box-shadow: inset 0 0 0 2px var(--ink); }
.bars span:nth-child(8) { height: 72%; background: var(--leaf-deep); }
.bars span:nth-child(9) { height: 50%; }
.bars span:nth-child(10) { height: 58%; }
.bars span:nth-child(11) { height: 34%; }
.bars span:nth-child(12) { height: 44%; }
@media (prefers-reduced-motion: no-preference) {
  .js .tile--activity .bars span { transform: scaleY(0); transition: transform 0.9s var(--ease); }
  .js .tile--activity.is-in .bars span { transform: none; }
  .js .tile--activity.is-in .bars span:nth-child(n+4) { transition-delay: 0.12s; }
  .js .tile--activity.is-in .bars span:nth-child(n+7) { transition-delay: 0.24s; }
  .js .tile--activity.is-in .bars span:nth-child(n+10) { transition-delay: 0.36s; }
}
.more__note { margin-top: 28px; font-size: 14px; color: var(--ink-3); }

/* ---------- Hard questions ---------- */
.questions { background: var(--night); color: var(--bone); padding: clamp(96px, 12vw, 160px) 0; }
.questions__grid { display: grid; gap: 56px; }
@media (min-width: 1000px) {
  .questions__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .questions__head { position: sticky; top: 120px; }
}
.qa details { border-top: 1px solid var(--night-line); }
.qa details:last-child { border-bottom: 1px solid var(--night-line); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 24px 0; font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.2; letter-spacing: 0; transition: color 0.2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--lemon); }
.qa summary::after { content: ''; flex: none; width: 18px; height: 18px; translate: 0 2px; background: linear-gradient(var(--lemon), var(--lemon)) center / 100% 2.5px no-repeat, linear-gradient(var(--lemon), var(--lemon)) center / 2.5px 100% no-repeat; transition: transform 0.35s var(--ease); }
.qa details[open] summary::after { transform: rotate(135deg); }
.qa details > div { display: grid; gap: 14px; padding: 0 0 28px; max-width: 62ch; color: var(--bone-2); font-size: 17px; }
.qa a { color: var(--bone); text-decoration-color: var(--lemon); text-decoration-thickness: 2px; }
.qa a:hover { color: var(--lemon); }

/* ---------- What you need ---------- */
.needs { padding: clamp(96px, 12vw, 160px) 0; }
.needs__head { max-width: 900px; margin-bottom: 56px; }
.needs__list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.needs__list li { position: relative; padding: 30px 28px 32px; border: 2px solid var(--ink); border-radius: 0; background: #fffdf6; }
.needs__n { display: block; font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 84px; line-height: 0.8; color: var(--lemon); -webkit-text-stroke: 2px var(--ink); margin-bottom: 26px; }
.needs__list h3 { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 27px; line-height: 1.1; letter-spacing: 0; margin-bottom: 10px; }
.needs__list p { color: var(--ink-2); font-size: 16px; }
.needs__foot { margin-top: 20px; display: grid; gap: 20px; }
@media (min-width: 900px) {
  .needs__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.notfor { padding: 30px 28px; border-radius: 0; background: var(--ink); color: var(--bone); }
.notfor h3 { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 27px; line-height: 1.1; color: var(--lemon); margin-bottom: 16px; }
.notfor ul { display: grid; gap: 10px; }
.notfor li { position: relative; padding-left: 30px; color: var(--bone-2); }
.notfor li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; background: linear-gradient(var(--red), var(--red)) center / 100% 2.5px no-repeat, linear-gradient(var(--red), var(--red)) center / 2.5px 100% no-repeat; transform: rotate(45deg); }
.specs { padding: 14px 28px; border: 2px solid var(--ink); border-radius: 0; display: grid; align-content: center; }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-top: 1px solid var(--paper-3); }
.specs div:first-child { border-top: 0; }
.specs dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.specs dd { font-weight: 600; text-align: right; }

/* ---------- The end ---------- */
.end { position: relative; overflow: clip; background: var(--lemon); padding: clamp(100px, 14vw, 200px) 0 clamp(90px, 11vw, 150px); text-align: center; border-top: 2px solid var(--ink); }
.end .wrap { display: grid; justify-items: center; gap: 0; }
.end__z { width: clamp(64px, 8vw, 110px); height: auto; margin-bottom: 40px; }
.end .display em { color: var(--ink); background: linear-gradient(transparent 60%, #fffdf6 60%, #fffdf6 90%, transparent 90%); padding-inline: 0.06em; }
.end .lede { margin: 30px auto 40px; color: var(--ink); }
.cta--end { background: var(--ink); color: var(--paper); }
.cta--end .cta__icon { color: var(--lemon); }
a.cta--end:hover { background: var(--night-3); }
.end__small { margin-top: 36px; max-width: 60ch; font-size: 14px; color: rgba(10, 10, 10, 0.72); }


/* ==========================================================================
   Edge. Headlines in the logo's own lettering; hard corners and hard shadows;
   everything that leans, leans at the Z's angle; sections cut on the slant.
   ========================================================================== */
:root { --slope: clamp(36px, 6vw, 110px); }

.display { font-size: clamp(54px, 7.8vw, 118px); line-height: 0.88; }
.display--xl { font-size: clamp(76px, 14.5vw, 232px); line-height: 0.82; }
.hero__title { font-size: clamp(66px, 8.3vw, 134px); line-height: 0.86; }
.js .hero__title .line:nth-child(4) > span { animation-delay: 0.27s; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hero__title .line { padding-bottom: 0.04em; margin-bottom: -0.04em; }

/* Emphasis is a strip of lemon tape under ink. */
.display em, .hero__title em, .night .display em, .questions .display em { color: var(--ink); background: linear-gradient(var(--lemon), var(--lemon)) 0 46% / 100% 84% no-repeat; padding: 0 0.1em; margin: 0 -0.03em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.end .display em { color: var(--lemon); background: linear-gradient(var(--ink), var(--ink)) 0 46% / 100% 84% no-repeat; padding: 0 0.1em; }

.eyebrow { --cut: 9px; gap: 0; padding: 7px 20px 6px; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: 0.1em; clip-path: var(--lean); }
.eyebrow::before { display: none; }
.eyebrow--night { background: var(--lemon); color: var(--ink); }

.chip { --cut: 8px; height: 38px; padding: 0 20px; border: 0; background: var(--night-3); color: var(--bone-2); font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; clip-path: var(--lean); }
.chip:hover { background: #34322c; color: var(--bone); }
.chip.is-on { background: var(--lemon); color: var(--ink); }
.chip--leaf { background: rgba(10, 10, 10, 0.12); color: var(--ink); }
.chip--leaf:hover { background: rgba(10, 10, 10, 0.22); color: var(--ink); }
.chip--leaf.is-on { background: var(--ink); color: var(--paper); }
.btn { --cut: 12px; height: 52px; padding: 0 30px 0 26px; font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; clip-path: var(--lean); }
.btn:hover { transform: translate(2px, -2px); }
.pick__again { --cut: 8px; border: 0; background: var(--night-3); padding: 0 18px; font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; clip-path: var(--lean); }
.pills li { --cut: 7px; border: 0; background: var(--night-3); padding: 5px 16px; font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; clip-path: var(--lean); }
.pick__why-tag { --cut: 6px; padding: 3px 12px 2px; font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: 0.08em; clip-path: var(--lean); }
.arrow-link { font-family: var(--display); font-weight: 900; font-size: 1.18em; letter-spacing: 0.05em; text-transform: uppercase; text-decoration-thickness: 3px; }

/* Hard shadows, and a shove when you point at something. */
.tile, .card, .needs__list li, .specs { box-shadow: 8px 8px 0 var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.tile--spin, .tile--tv, .tile--player, .tile--anime, .card--ink, .notfor { box-shadow: 8px 8px 0 var(--lemon); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.tile--follow { box-shadow: 8px 8px 0 var(--leaf-deep); }
@media (hover: hover) {
  .tile:hover, .card:hover, .needs__list li:hover, .specs:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--ink); }
  .tile--spin:hover, .tile--tv:hover, .tile--player:hover, .tile--anime:hover, .card--ink:hover, .notfor:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--lemon); }
  .tile--follow:hover { box-shadow: 12px 12px 0 var(--leaf-deep); }
}
.panel { border: 2px solid var(--bone); box-shadow: 10px 10px 0 var(--lemon); }
.tests { box-shadow: 10px 10px 0 var(--leaf); }
.tests__lead { color: var(--lemon); font-size: clamp(34px, 4vw, 54px); line-height: 0.92; }
.tests dt { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 4.6vw, 68px); letter-spacing: 0.01em; line-height: 0.86; }
.tests dl { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 24px; }
.job { box-shadow: 6px 6px 0 var(--ink); }
.job h3 { font-size: 26px; line-height: 1; letter-spacing: 0.01em; }
.tile h3 { font-size: clamp(34px, 3.8vw, 54px); line-height: 0.92; }
.card h3 { font-size: 32px; line-height: 0.95; }
.panel__title { font-size: 34px; line-height: 0.95; }
.needs__list h3 { font-size: 36px; line-height: 0.95; }
.notfor h3 { font-size: 36px; line-height: 0.95; }
.needs__n { font-size: 120px; line-height: 0.78; margin-bottom: 18px; }
.qa summary { font-size: clamp(25px, 2.5vw, 34px); line-height: 1; letter-spacing: 0.01em; }
.log--done p { font-size: 34px; line-height: 0.95; }
.spin__name { font-size: 24px; letter-spacing: 0.03em; }
.countdown b { font-family: var(--mono); }
.play__button { border-radius: 0; clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); width: 104px; margin-left: -52px; }
.v { border-radius: 0; }
.v.is-pick { box-shadow: 5px 5px 0 var(--lemon); }
.pick__why { box-shadow: 5px 5px 0 var(--bone); }
.ledger__bar span { border-radius: 0; transform: skewX(-20deg); }
.notif { box-shadow: 6px 6px 0 var(--leaf-deep); }
.stack__one p { letter-spacing: 0.01em; }
.js .stack__one p em { color: var(--ink); background: linear-gradient(var(--lemon), var(--lemon)) 0 46% / 100% 84% no-repeat; padding: 0 0.1em; }

/* The hero's backdrop: the Z's own diagonal, in lemon, with a leaf's edge behind it. */
.hero__sun { left: 4%; top: -4%; width: 96%; height: 104%; aspect-ratio: auto; border-radius: 0; box-shadow: none; clip-path: polygon(63.6% 0, 100% 0, 36.4% 100%, 0 100%); }
.hero__peel { display: none; }
.hero__stage::before { content: ''; position: absolute; left: 22%; top: 6%; width: 86%; height: 96%; background: var(--leaf); clip-path: polygon(63.6% 0, 72% 0, 8.4% 100%, 0 100%); transform: translate(calc(var(--px) * -22px), calc(var(--py) * -22px)); }

/* Sections cut on the slant. */
.night { clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%); margin-top: calc(-1 * var(--slope)); padding-top: var(--slope); }
.questions { clip-path: polygon(0 0, 100% var(--slope), 100% 100%, 0 100%); margin-top: calc(-0.4 * var(--slope)); padding-top: calc(clamp(96px, 12vw, 160px) + var(--slope)); }
.end { border-top: 0; clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%); margin-top: calc(-1 * var(--slope)); padding-top: calc(clamp(100px, 14vw, 200px) + var(--slope)); }
.needs { padding-bottom: calc(clamp(96px, 12vw, 160px) + var(--slope)); }
.proof { padding-top: clamp(110px, 13vw, 190px); }

/* Giant outlined words that slide past as you scroll. */
.demo, .proof, .more, .questions, .needs { position: relative; }
.proof, .more, .needs, .demo--pick, .questions { overflow: clip; }
.demo > .wrap, .proof > .wrap, .more > .wrap, .questions > .wrap, .needs > .wrap { position: relative; z-index: 1; }
.ghost { position: absolute; left: 0; top: clamp(20px, 4vw, 70px); z-index: 0; margin: 0; white-space: nowrap; font-family: var(--display); font-weight: 900; font-size: clamp(130px, 24vw, 380px); line-height: 0.8; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(10, 10, 10, 0.11); pointer-events: none; user-select: none; will-change: transform; }
.night .ghost, .questions .ghost { -webkit-text-stroke-color: rgba(245, 240, 225, 0.09); }
.questions .ghost { top: calc(var(--slope) + 20px); }
.more { padding-top: clamp(60px, 8vw, 120px); }

/* Headlines arrive a word at a time, up through a slit. */
@media (prefers-reduced-motion: no-preference) {
  .js .display[data-rise] { opacity: 1; transform: none; }
  .js .w { display: inline-block; overflow: hidden; vertical-align: top; }
  .js .w > span { display: inline-block; transform: translateY(108%) rotate(5deg); transform-origin: left bottom; transition: transform 0.75s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
  .js .is-in .w > span { transform: none; }
  .js .bento .tile[data-rise], .js .proof__side .card[data-rise], .js .needs__list li[data-rise] { transform: translateY(40px) rotate(-1.5deg); }
  .js .bento .tile[data-rise].is-in, .js .proof__side .card[data-rise].is-in, .js .needs__list li[data-rise].is-in { transform: none; }
  /* A device's frame is always there; its screen wipes on, on the slant. (The frame itself must
     stay unclipped: an element clipped to nothing never counts as seen.) */
  .js .dev[data-rise] { opacity: 1; transform: none; }
  .js .dev[data-rise] picture { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); transition: clip-path 1.2s var(--ease) 0.15s; }
  .js .dev[data-rise].is-in picture { clip-path: polygon(0 0, 130% 0, 100% 100%, 0 100%); }
}
@media (max-width: 560px) {
  .eyebrow { font-size: 14px; padding-inline: 15px; letter-spacing: 0.08em; }
}

/* Downloads: the words and the log on one side, the real screen on the other.
   The log is the longer of the two, so the screen stays put beside it. */
.rescue__grid { margin-top: 0; }
.rescue__head { max-width: none; }
.rescue__copy .log { margin-top: 36px; }
@media (min-width: 1000px) {
  .rescue__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .rescue__shot { position: sticky; top: calc(50vh - 17vw); margin-bottom: 40px; }
  .demo--rescue .display { font-size: clamp(54px, 6.2vw, 96px); }
  .demo--rescue .log li { padding-block: 8px; }
}

/* The notice: what Twizt is not, said early and said again. */
.notice { margin-top: 28px; padding: clamp(26px, 3.4vw, 44px); background: var(--lemon); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); display: grid; gap: 14px; }
.notice h3 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 68px); line-height: 0.88; text-transform: uppercase; }
.notice p { max-width: 68ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; font-weight: 500; }
.notice .arrow-link { justify-self: start; text-decoration-color: var(--ink); }
.needs__foot { margin-top: 28px; }

/* ---------- Price ---------- */
.price { position: relative; overflow: clip; padding: 0 0 calc(clamp(96px, 12vw, 160px) + var(--slope)); }
.price > .wrap { position: relative; z-index: 1; }
.needs { padding-bottom: clamp(96px, 12vw, 160px); }
.price__head { max-width: 900px; margin-bottom: 56px; }
.plans { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); align-items: stretch; }
}
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 32px; background: #fffdf6; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.plan h3, .plan__both h3 { font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 0.95; text-transform: uppercase; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
/* Sized for a price with cents ($29.99) in the narrowest card. */
.plan__price b { font-family: var(--display); font-weight: 900; font-size: clamp(60px, 6.4vw, 90px); line-height: 0.8; }
.plan__price span { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.plan > p:last-child { color: var(--ink-2); font-size: 16px; }
.plan--life { background: var(--ink); color: var(--bone); box-shadow: 8px 8px 0 var(--lemon); }
.plan--life .plan__price b { color: var(--lemon); }
.plan--life .plan__price span, .plan--life > p:last-child { color: var(--bone-2); }
.plan__flag { --cut: 8px; position: absolute; right: 18px; top: -16px; padding: 6px 18px 5px; background: var(--lemon); color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; clip-path: var(--lean); }
.plan__both { display: flex; flex-direction: column; gap: 16px; padding: 30px 28px 32px; border: 2px solid var(--ink); }
.plan__both ul { display: grid; gap: 10px; }
.plan__both li { position: relative; padding-left: 32px; font-weight: 500; }
.plan__both li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 18px; height: 9px; background: var(--leaf-deep); transform: skewX(var(--slant)); }
/* With the monthly plan: three plans in a row, yearly in the middle as the ink
   card, and what every plan includes below them. */
@media (min-width: 900px) {
  .plans--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans--three .plan__both { grid-column: 1 / -1; }
}
.plan--best { background: var(--ink); color: var(--bone); box-shadow: 8px 8px 0 var(--lemon); }
.plan--best .plan__price b { color: var(--lemon); }
.plan--best .plan__price span, .plan--best > p:last-child, .plan--best .plan__per { color: var(--bone-2); }
.plan__per { font-weight: 600; font-size: 16px; color: var(--ink-2); }
.plan__price s { font-family: var(--display); font-weight: 900; font-size: 32px; color: var(--ink-3); text-decoration-thickness: 3px; }
.plan .founders, .plan .founders-after { display: flex; flex-direction: column; gap: 14px; }
.plan .founders[hidden], .plan .founders-after[hidden] { display: none; }
.plan__small { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--paper-3); font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .js .plans [data-rise] { transform: translateY(40px) rotate(-1.5deg); }
  .js .plans [data-rise].is-in { transform: none; }
}
@media (hover: hover) {
  .plan { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
  .plan:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--ink); }
  .plan--life:hover, .plan--best:hover { box-shadow: 12px 12px 0 var(--lemon); }
}

/* The hero's own pieces arrive on load, not on scroll: the call to action and the notice must
   never wait below a line the page has not been scrolled to. */
.hero { padding-top: clamp(108px, 10.5vw, 150px); }
.hero__title { font-size: clamp(66px, 7.6vw, 124px); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-rise] { opacity: 1; transform: none; transition: none; animation: hero-rise 0.8s var(--ease) backwards; animation-delay: var(--delay, 0s); }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } }
.hero { padding-top: clamp(104px, 8.6vw, 128px); }
.hero__title { font-size: clamp(64px, 7vw, 116px); }
.hero .eyebrow { margin-bottom: 16px; }
.hero__lede { margin-top: 22px; }
.hero__actions { margin-top: 26px; }

/* Three lines Twizt draws: what the app itself refuses to do. */
.lines { margin-top: 28px; padding: clamp(26px, 3.4vw, 44px); background: var(--ink); color: var(--bone); box-shadow: 8px 8px 0 var(--leaf); }
.lines__lead { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.8vw, 52px); line-height: 0.92; text-transform: uppercase; color: var(--lemon); }
.lines ol { margin-top: 28px; display: grid; gap: 28px 36px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); counter-reset: line; }
.lines li { counter-increment: line; padding-top: 18px; border-top: 2px solid var(--night-line); }
.lines li::before { content: '0' counter(line); display: block; font-family: var(--mono); font-size: 13px; color: var(--leaf); margin-bottom: 10px; }
.lines h3 { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 0.95; text-transform: uppercase; margin-bottom: 10px; }
.lines li p { color: var(--bone-2); font-size: 15.5px; line-height: 1.55; }

/* The test block without figures: four plain statements. */
.tests dt { font-size: clamp(30px, 3vw, 42px); line-height: 0.95; }
.tests dl div:first-child dt { color: var(--leaf); }
.tests dd { max-width: 34ch; }
.tests dt { text-transform: uppercase; letter-spacing: 0.01em; }


/* ==== The closed beta round (2026-11): own files, the wider grid, the beta section ==== */

/* Hero: the second line and what it plays */
.hero__also { margin-top: 14px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3.1vw, 44px); line-height: 1; color: var(--leaf-deep); }

/* Your own files */
.own__free { margin-top: 34px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4vw, 58px); line-height: 0.95; color: var(--bone); }
.own__free em { color: var(--ink); background: linear-gradient(var(--lemon), var(--lemon)) 0 46% / 100% 84% no-repeat; padding: 0 0.1em; }
.own__small { margin-top: 14px; max-width: 48ch; font-size: 15px; line-height: 1.5; color: var(--bone-2); }
.own { display: grid; gap: 22px; }
.own__label { margin-bottom: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-2); }
.own__half--after .own__label { color: var(--lemon); }
.own__files { display: grid; gap: 6px; font-family: var(--mono); font-size: 13.5px; color: var(--bone-2); }
.own__files li { padding: 7px 12px; background: var(--night-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.own__wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.own__wall li { aspect-ratio: 2 / 3; background: var(--night-3); overflow: hidden; }
.own__wall img { width: 100%; height: 100%; object-fit: cover; display: block; }
.own__mine { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 10px; border: 1.5px dashed var(--night-line); }
.own__mine span { font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--bone); line-height: 1; }
.own__mine b { font-family: var(--mono); font-weight: 500; font-size: 22px; color: var(--leaf); line-height: 1; }
@media (min-width: 620px) {
  .own { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .own .panel__foot { grid-column: 1 / -1; margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .own .own__files li, .js .own .own__wall li { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .js .own.is-in .own__files li, .js .own.is-in .own__wall li { opacity: 1; transform: none; }
  .js .own.is-in .own__files li:nth-child(n+3) { transition-delay: 0.08s; }
  .js .own.is-in .own__files li:nth-child(n+5) { transition-delay: 0.16s; }
  .js .own.is-in .own__files li:nth-child(n+7) { transition-delay: 0.24s; }
  .js .own.is-in .own__wall li { transition-delay: 0.55s; }
  .js .own.is-in .own__wall li:nth-child(n+3) { transition-delay: 0.65s; }
  .js .own.is-in .own__wall li:nth-child(n+5) { transition-delay: 0.75s; }
  .js .own.is-in .own__wall li:nth-child(n+7) { transition-delay: 0.85s; }
}

/* Proof: no account, first */
.proof__first { margin-top: 26px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 52px); line-height: 0.98; }
.proof__first em { color: var(--bone); background: linear-gradient(var(--ink), var(--ink)) 0 46% / 100% 84% no-repeat; padding: 0 0.12em; }
.proof__first + .lede { margin-top: 18px; }

/* The grid's new tiles */
.tile--subs { background: var(--ink); color: var(--bone); box-shadow: 8px 8px 0 var(--lemon); }
.tile--subs > p:not(.tile__kicker) { color: var(--bone-2); }
.tile--subs .tile__kicker { color: var(--lemon); opacity: 1; }
.subs { position: relative; overflow: hidden; padding: 0; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--night-line); }
.subs__line { padding: 0 16px 22px; }
.subs__bar { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 5px; background: rgba(255, 255, 255, 0.25); opacity: 0; }
.subs__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; background: var(--lemon); }
.subs__bar b { position: absolute; left: 42%; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: var(--lemon); }
@media (prefers-reduced-motion: no-preference) {
  .subs__line { animation: subs-step 6s var(--ease) infinite; }
  .subs__bar { animation: subs-bar 6s var(--ease) infinite; }
}
@keyframes subs-step { 0%, 30% { transform: none; } 38%, 78% { transform: translateY(-34px); } 86%, 100% { transform: none; } }
@keyframes subs-bar { 0%, 30% { opacity: 0; } 38%, 78% { opacity: 1; } 86%, 100% { opacity: 0; } }
@media (hover: hover) { .tile--subs:hover { box-shadow: 12px 12px 0 var(--lemon); } }

.tile--remind { background: #d5ecc9; }
.tile--remind > p:not(.tile__kicker) { margin-bottom: 18px; }
.tile--remind .notif { transform: rotate(1.5deg); }

.tile--sound { background: var(--lemon); box-shadow: 8px 8px 0 var(--leaf-deep); }
.modes { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.modes li { --cut: 8px; padding: 8px 18px 7px; background: rgba(10, 10, 10, 0.12); color: var(--ink-2); font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; clip-path: var(--lean); }
.modes li.is-on { background: var(--ink); color: var(--lemon); }
@media (hover: hover) { .tile--sound:hover { box-shadow: 12px 12px 0 var(--leaf-deep); } }

.best { margin-top: auto; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--ink); color: var(--bone); box-shadow: 6px 6px 0 var(--leaf-deep); }
.best__tag { --cut: 6px; padding: 3px 12px 2px; background: var(--lemon); color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; clip-path: var(--lean); }
.best__what { font-family: var(--mono); font-size: 14px; color: var(--bone-2); }
.best__what b { color: var(--bone); font-weight: 600; }
.tile--best > p:not(.tile__kicker):not(.best) { margin-bottom: 18px; }

.tile--backup { background: var(--ink); color: var(--bone); box-shadow: 8px 8px 0 var(--lemon); }
.tile--backup > p:not(.tile__kicker) { color: var(--bone-2); }
.tile--backup .tile__kicker { color: var(--leaf); opacity: 1; }
.days { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days li { padding: 10px 0 9px; text-align: center; background: var(--night-3); color: var(--bone-2); font-family: var(--mono); font-size: 13px; }
.days li.is-on { background: var(--leaf); color: var(--ink); font-weight: 600; }
@media (hover: hover) { .tile--backup:hover { box-shadow: 12px 12px 0 var(--lemon); } }

.more__close { margin-top: 56px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4.4vw, 64px); line-height: 0.95; text-wrap: balance; max-width: 22ch; }
.more__close em { color: var(--ink); background: linear-gradient(var(--lemon), var(--lemon)) 0 46% / 100% 84% no-repeat; padding: 0 0.1em; }

/* What you bring: the line for own files */
.needs__also { margin-top: 26px; font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); }
.needs__also em { color: var(--ink); font-weight: 650; }

/* The closed beta, where the prices were */
.beta .plan__price b { font-size: clamp(48px, 5vw, 72px); line-height: 0.85; text-transform: uppercase; }
.beta .plan > p:last-child { font-size: 17px; }
.beta__door > p:not(.plan__small) { max-width: 60ch; color: var(--ink-2); }

/* The closing mark: the whole wordmark, as the earlier site drew it (the Z smaller than the caps, on purpose). */
.end__mark { display: inline-flex; align-items: baseline; gap: 0.04em; margin-bottom: 26px; font-family: var(--display); font-weight: 900; font-size: clamp(96px, 17vw, 250px); line-height: 0.8; letter-spacing: 0.02em; color: var(--ink); white-space: nowrap; }
.end__mark-z { overflow: visible; flex: none; height: 0.74em; width: calc(0.74em * 22 / 30); margin-bottom: 0.03em; }
.end__line { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4.6vw, 66px); line-height: 1; text-wrap: balance; }
.end__line em { color: var(--lemon); background: linear-gradient(var(--ink), var(--ink)) 0 46% / 100% 84% no-repeat; padding: 0 0.1em; }
.end .lede { margin-bottom: 0; }
.end [data-rise]:empty { display: none; }

/* The audit round: one box for "Software only" and the three lines; more questions elsewhere */
.lines__what { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--bone); }
.lines__sub { margin-top: 34px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--leaf); }
.lines__sub + ol { margin-top: 16px; }
.lines .arrow-link { display: inline-flex; margin-top: 28px; color: var(--bone); text-decoration-color: var(--lemon); }
.qa__more { padding-top: 26px; color: var(--bone-2); font-size: 17px; }

/* Short lines that wrap one word alone read as a mistake; spread them evenly. */
.eyebrow, .hero__also { text-wrap: balance; }

/* Six jobs on a narrow or short screen: no pinning, the page scrolls as normal.
   Each job lights as it passes the middle, then the icon comes up under the
   list and the lemon twists into the Z (home.js sets is-flow). */
.stack.is-flow .stack__one { display: grid; justify-items: center; gap: 26px; width: min(250px, 66%); margin: 64px auto 8px; text-align: center; }
.stack.is-flow .stack__icon { width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: var(--ink); border-radius: 22.5%; box-shadow: 10px 10px 0 var(--lemon); opacity: 0; will-change: transform, opacity; }
.stack.is-flow .stack__icon svg { width: 82%; height: 82%; overflow: visible; }
.stack.is-flow .stack__one p { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 30px; line-height: 1.1; letter-spacing: 0; opacity: 0; will-change: transform, opacity; }
.stack.is-flow .stack__one p em { font-weight: 800; color: var(--leaf-deep); }

/* Phones: the demos keep their rows whole. */
@media (max-width: 560px) {
  /* Choosing a version: Run it again goes under the line instead of squeezing it */
  .pick .panel__head { flex-wrap: wrap; row-gap: 12px; }
  .pick .panel__head > div { flex: 1 1 calc(100% - 68px); min-width: 0; }
  .pick__again { margin-left: 68px; }
  /* the hero's label hugs its two balanced lines */
  .hero .eyebrow { max-width: 15em; }
  /* the label on its own line, the three resolutions together under it */
  .pick__prefs-label { flex-basis: 100%; margin: 0 0 2px; }
  /* each version on one line; a set-aside reason goes on a line of its own */
  .v { grid-template-columns: minmax(0, 1fr) 52px 48px; gap: 10px; padding: 8px 12px; }
  .v__what { flex-wrap: nowrap; gap: 5px; }
  .v__what b { font-size: 14px; margin-right: 2px; }
  .v__what i { font-size: 10.5px; padding: 1px 5px; }
  .v__size { font-size: 12px; }
  .v.is-out .v__note, html:not(.js) .v[data-reject] .v__note { grid-column: 1 / -1; margin-top: -4px; font-size: 12px; }
  /* Kids mode and Sound: each set of choices in one row */
  .kids__ages { flex-wrap: nowrap; gap: 6px; }
  .kids__ages .chip { --cut: 6px; height: 34px; padding: 0 12px; font-size: 15px; letter-spacing: 0.04em; }
  .modes { flex-wrap: nowrap; gap: 6px; }
  .modes li { --cut: 6px; padding: 7px 10px 6px; font-size: 14px; letter-spacing: 0.03em; white-space: nowrap; }
  /* the posters keep their shape */
  .kids__shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; height: auto; }
  .kids__shelf li { height: auto; width: 100%; aspect-ratio: 2 / 3; }
}
