:root {
  color-scheme: light dark;
  --paper: #fafaf8;
  --paper-2: #f0f0ec;
  --ink: #111214;
  --graphite: #5f636d;
  --rule: #dededa;
  --blue: #2563eb;
  --blue-mark: #3b82f6;
  --green: #16a34a;
  --amber: #f2b544;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  font-family: var(--text);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101113;
    --paper-2: #1b1c20;
    --ink: #f3f3f1;
    --graphite: #a3a7b0;
    --rule: #2d2f35;
    --blue: #7aa7ff;
    --green: #4ade80;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1.125rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue-mark); outline-offset: 3px; border-radius: 6px; }
::selection { background: #3b82f640; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--paper); padding: 8px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type: SF Pro Rounded heavy for display, SF Pro Text for reading. */
h1, h2 { font-family: var(--round); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, min(7.2vw, 9.5vh), 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h3 { font-family: var(--round); font-weight: 750; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .4em; }
.sub { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--graphite); max-width: 30em; }
.quiet { color: var(--graphite); }
.small { font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; }
.site-header nav { display: flex; gap: 26px; align-items: center; font-size: .97rem; }
.site-header nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { text-decoration: underline; }
.site-header nav a.get { background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: 10px; font-weight: 600; }
.site-header nav a.get:hover { text-decoration: none; }
@media (max-width: 720px) { .site-header nav .opt { display: none; } .site-header nav { gap: 16px; } }

.badge { display: inline-flex; flex-direction: column; justify-content: center; padding: 9px 20px 10px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; line-height: 1.1; border: 1px solid #3a3a3c; }
.badge small { font-size: .7rem; }
.badge strong { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.actions a:not(.badge) { font-weight: 600; }

/* Story: one sticky iPad, five chapters. --p (0..1) is set by script from scroll and defaults to the final frame. */
.story { position: relative; height: 560vh; }
.stage { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.chapters { position: relative; height: 100%; }
.chapter { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .45s ease, transform .45s cubic-bezier(.16,1,.3,1), visibility 0s .45s; }
.chapter.hero:not(.on) { visibility: hidden; }
.chapter.on { opacity: 1; pointer-events: auto; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.chapter .step { font-family: var(--round); font-weight: 700; color: var(--graphite); font-size: 1.05rem; margin: 0 0 .6em; }
.chapter h2 { font-size: clamp(2rem, min(4.4vw, 7vh), 3.6rem); }
@media (max-height: 760px) and (min-width: 861px) { .chapter .sub { font-size: 1.05rem; } .chapter p { font-size: 1rem; } }
.chapter p { color: var(--graphite); max-width: 26em; }
.progress { position: absolute; left: 0; bottom: 32px; display: flex; gap: 8px; }
.progress span { width: 28px; height: 4px; border-radius: 2px; background: var(--rule); }
.progress span.on { background: var(--ink); }
.device { position: relative; }
.device .ipad { width: 100%; filter: drop-shadow(0 40px 50px #0b122833); }
.story.static { height: auto; }
.story.static .stage { position: static; height: auto; display: block; padding: 40px 0; }
.story.static .device { max-width: 760px; margin-bottom: 64px; }
.story.static .chapters { height: auto; }
.story.static .chapter { position: static; opacity: 1; visibility: visible; transform: none; margin-bottom: 48px; }
.story.static .progress { display: none; }
@media (max-width: 860px) {
  .story { height: 520vh; }
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; align-content: start; padding-top: 14px; }
  .device { order: -1; max-width: 560px; width: 100%; margin: 0 auto; }
  .chapter { justify-content: flex-start; padding-top: 34px; }
  .chapter h1, .chapter h2 { font-size: clamp(2rem, 8.6vw, 3rem); }
  .chapter .sub { font-size: 1.05rem; }
  .progress { bottom: 18px; }
}
@media (max-width: 860px) and (max-height: 720px) { .chapter p { font-size: 1rem; } .chapter h1, .chapter h2 { font-size: 1.9rem; } .progress { display: none; } }

/* Scene timeline. Each animated part plays a 1 s keyframe track, paused at --p. */
.scene *, .away, .away * { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--p, 1) * -0.999s); }
.scene .dialog { animation-name: dialog; transform-box: fill-box; transform-origin: center; }
.scene .cursor { animation-name: cursor; }
.scene .allow { animation-name: allow; }
.scene .dim { animation-name: dim; }
.scene .stroke { animation-name: stroke; }
.scene .pencil { animation-name: pencil, pencil-fade; }
.scene .track { animation-name: track; }
.scene .seg-hi { animation-name: seg; }
.away { animation-name: away-in; }
.away .route { animation-name: route; }
.away .dot-far { animation-name: dot-far; transform-box: fill-box; transform-origin: center; }
.away .knob { animation-name: knob; }
.away .sw { animation-name: sw; }
.away .state-off { animation-name: fade-out-late; }
.away .state-on { animation-name: fade-in-late; }

@keyframes dialog { 0%, 17% { opacity: 1; transform: scale(1); } 20% { opacity: 1; transform: scale(.97); } 24%, 100% { opacity: 0; transform: scale(.94); } }
@keyframes dim { 0%, 18% { opacity: .5; } 24%, 100% { opacity: 0; } }
@keyframes cursor {
  0%, 7% { opacity: 1; transform: translate(700px, 540px); }
  16% { transform: translate(530px, 392px); }
  18% { transform: translate(530px, 392px) scale(.85); }
  19%, 26% { opacity: 1; transform: translate(530px, 392px); }
  29%, 100% { opacity: 0; transform: translate(530px, 392px); }
}
@keyframes allow { 0%, 17.5% { fill: #2563eb; } 18%, 22% { fill: #1e40af; } 23%, 100% { fill: #2563eb; } }
@keyframes stroke { 0%, 31% { stroke-dashoffset: 1; } 49%, 100% { stroke-dashoffset: 0; } }
@keyframes pencil-fade { 0%, 29% { opacity: 0; } 31%, 49% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes track { 0%, 55% { transform: translateX(0); } 65%, 100% { transform: translateX(-928px); } }
@keyframes seg { 0%, 55% { transform: translateX(0); } 65%, 100% { transform: translateX(150px); } }
@keyframes away-in { 0%, 69% { opacity: 0; transform: translateY(24px); } 74%, 100% { opacity: 1; transform: none; } }
@keyframes route { 0%, 73% { stroke-dashoffset: 1; } 84%, 100% { stroke-dashoffset: 0; } }
@keyframes dot-far { 0%, 83% { opacity: 0; transform: scale(.4); } 86%, 100% { opacity: 1; transform: scale(1); } }
@keyframes knob { 0%, 86% { transform: translateX(0); } 89%, 100% { transform: translateX(20px); } }
@keyframes sw { 0%, 86% { fill: #9ca3af; } 89%, 100% { fill: #16a34a; } }
@keyframes fade-out-late { 0%, 86% { opacity: 1; } 89%, 100% { opacity: 0; } }
@keyframes fade-in-late { 0%, 86% { opacity: 0; } 89%, 100% { opacity: 1; } }

.away { position: absolute; right: -16px; bottom: -9%; width: 52%; min-width: 250px; }
.away svg { width: 100%; filter: drop-shadow(0 18px 30px #0b122838); }
@media (max-width: 860px) { .away { right: -6px; bottom: -6%; width: 56%; min-width: 0; } }
.story.static .away { position: relative; left: 0; bottom: 0; margin: -60px 0 0 auto; width: 60%; }

section.band { padding: 120px 0; }
.lede { margin-bottom: 40px; }

/* What it's like: editorial rows */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--rule); align-items: start; }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.row .text { color: var(--graphite); }
.row .text p { max-width: 30em; }
.row .fig { margin-top: 26px; }
@media (max-width: 820px) { .row { grid-template-columns: 1fr; gap: 12px; padding: 44px 0; } }
.keys { display: flex; flex-wrap: wrap; gap: 8px; }
.key { min-width: 54px; padding: 10px 12px 8px; border-radius: 9px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 2px 0 var(--rule); font-weight: 600; text-align: center; color: var(--ink); }
.key small { display: block; font-size: .7rem; font-weight: 500; color: var(--graphite); }
.key.held { background: var(--paper-2); color: var(--graphite); border-style: dashed; box-shadow: none; }
.arrange { display: flex; align-items: flex-end; gap: 8px; }
.arrange div { border: 2px solid var(--ink); border-radius: 6px; background: var(--paper-2); }
.arrange div.sel { border-color: var(--blue-mark); background: #3b82f629; box-shadow: 0 0 0 3px #3b82f640; }

/* Trust */
.never { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.never li { color: var(--graphite); }
.never li strong { display: block; font-family: var(--round); font-weight: 750; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; line-height: 1.15; }
@media (max-width: 720px) { .never { grid-template-columns: 1fr; gap: 28px; } }
.note { margin-top: 48px; padding-left: 16px; border-left: 3px solid var(--amber); color: var(--graphite); max-width: 44em; font-size: 1rem; }

/* Pricing: a two-position switch built from radio inputs (no script) */
.where { display: flex; justify-content: center; margin: 8px 0 48px; }
.where fieldset { border: 0; margin: 0; padding: 6px; display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; background: var(--paper-2); border-radius: 18px; box-shadow: inset 0 1px 3px #00000024; }
.where legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.where input { position: absolute; opacity: 0; pointer-events: none; }
.where label { position: relative; z-index: 1; padding: 12px 28px; min-width: 150px; text-align: center; font-family: var(--round); font-weight: 750; font-size: 1.15rem; cursor: pointer; color: var(--graphite); transition: color .25s; }
.where label small { display: block; font-family: var(--text); font-weight: 500; font-size: .82rem; }
.where .thumb { position: absolute; top: 6px; left: 6px; width: calc(50% - 6px); height: calc(100% - 12px); border-radius: 13px; background: var(--paper); box-shadow: 0 1px 2px #0000002e, 0 6px 16px -6px #0000004d; transition: transform .35s cubic-bezier(.3,1.3,.5,1); }
@media (prefers-color-scheme: dark) { .where .thumb { background: #2c2e34; } }
#away:checked ~ .thumb { transform: translateX(100%); }
#home:checked + label, #away:checked + label { color: var(--ink); }
.where input:focus-visible + label { outline: 3px solid var(--blue-mark); outline-offset: -3px; border-radius: 12px; }
.plans-away { display: none; }
.pricing:has(#away:checked) .plans-home { display: none; }
.pricing:has(#away:checked) .plans-away { display: grid; }
@supports not selector(:has(*)) { .plans-away { display: grid; margin-top: 48px; } .where { display: none; } }
@media print { .plans-away { display: grid; } }
@media (forced-colors: active) { .where .thumb { border: 2px solid Highlight; } }
.plans-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 980px; margin: 0 auto; }
.plans-home .big { font-family: var(--round); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); letter-spacing: -0.06em; line-height: .9; margin: 0 0 12px; }
.plans-home ul, .ticket ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plans-home li { padding: 11px 0; border-top: 1px solid var(--rule); }
.plans-home p.quiet { max-width: 22em; }
@media (max-width: 760px) { .plans-home { grid-template-columns: 1fr; gap: 16px; } }
.plans-away { grid-template-columns: 1.1fr 1fr; gap: 20px; max-width: 1060px; margin: 0 auto; }
@media (max-width: 860px) { .plans-away { grid-template-columns: 1fr; } }
.passes { display: grid; gap: 18px; align-content: start; }

/* Passes look like tickets: notched sides, a dashed stub. */
.ticket { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 24px 28px; border-radius: 16px; background: var(--amber); color: #111214;
  -webkit-mask: radial-gradient(circle 11px at 0 50%, #0000 98%, #000), radial-gradient(circle 11px at 100% 50%, #0000 98%, #000); -webkit-mask-composite: source-in;
          mask: radial-gradient(circle 11px at 0 50%, #0000 98%, #000), radial-gradient(circle 11px at 100% 50%, #0000 98%, #000); mask-composite: intersect; }
.ticket .stub { border-left: 2px dashed #11121466; padding-left: 20px; display: flex; flex-direction: column; justify-content: center; text-align: right; }
.ticket h3 { margin: 0; font-size: 1.35rem; }
.ticket p { margin: 3px 0 0; font-size: .95rem; color: #2b2c30; }
.ticket .price { font-family: var(--round); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.04em; line-height: 1; }
.ticket .price small { display: block; font-family: var(--text); font-size: .8rem; font-weight: 500; letter-spacing: 0; margin-top: 4px; }
.ticket.month { background: #f7d58c; }
.ticket.life { background: var(--paper-2); color: var(--ink); }
.ticket.life p { color: var(--graphite); }
.ticket.life .stub { border-left-color: var(--rule); }
.ticket.year { grid-template-columns: 1fr; align-content: start; background: #1d4ed8; color: #fff; padding: 32px; -webkit-mask: none; mask: none; border-radius: 22px; }
.ticket.year p, .ticket.year li { color: #e3ecff; }
.ticket.year > * { order: 3; }
.ticket.year .label { order: 0; }
.ticket.year .price { order: 1; }
.ticket.year h3 { order: 2; }
.ticket.year .price { color: #fff; font-size: clamp(3.6rem, 8vw, 5.4rem); margin: 22px 0 6px; }
.ticket.year .label { justify-self: start; background: #fff; color: #1d4ed8; font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.ticket.year ul { margin: 18px 0 0; }
.ticket.year li { padding: 9px 0; border-top: 1px solid #ffffff38; }
.promise { text-align: center; margin: 64px auto 8px; font-family: var(--round); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -0.03em; }

/* Tables */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: .97rem; }
th, td { text-align: left; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-family: var(--round); font-weight: 750; font-size: 1.05rem; }
th.us, td.us { color: var(--blue); }
td.us { font-weight: 600; }
tbody th { font-weight: 550; color: var(--graphite); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--rule); color: var(--graphite); white-space: nowrap; vertical-align: 1px; }
.reviewed { margin-top: 16px; font-size: .9rem; color: var(--graphite); max-width: 52em; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 860px; }
details { border-bottom: 1px solid var(--rule); padding: 20px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--round); font-weight: 750; font-size: 1.25rem; letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .7em 0 0; color: var(--graphite); max-width: 40em; }

/* Closing and footer */
.closing { padding: 120px 0 56px; }
.closing h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: 11em; }
.site-footer { padding: 24px 0 48px; color: var(--graphite); font-size: .92rem; overflow: hidden; }
.wordmark { font-family: var(--round); font-weight: 800; letter-spacing: -0.065em; font-size: clamp(4.4rem, 19.5vw, 16.5rem); line-height: .82; color: var(--ink); margin: 0 0 36px -0.04em; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 56px; border-top: 1px solid var(--rule); padding-top: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--graphite); }
.site-footer .about { max-width: 30em; }

/* Secondary pages */
.page-head { padding: 80px 0 16px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 14em; }
.page-head + section { padding-top: 24px; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
section.plain { padding: 40px 0 88px; }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin-bottom: .55em; }
.prose pre { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.get-mac { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 12px; }
.get-mac.soon { background: var(--paper-2); color: var(--graphite); border: 1px dashed var(--rule); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chapter, .chapter.on, .where .thumb, summary::after { transition: none; }
}
