/* The Nerd Flow site styles: apple.com layout with Apple product-page motion. Used by every page.
   Slim dark menu bar, a sticky local nav, a mosaic banner that assembles itself, pinned scroll scenes
   (laptop lid opening into gameplay, a sideways chapter road, Henry's story), words that light up as
   you read, count-up numbers, tiles whose devices rise in and play gameplay, a wide-card slider,
   fine print and a gray link footer, plus the other pages (sign in, account, Pass, policies).
   Every starting "hidden" state sits behind html.motion, which site-head.js adds only when the visitor
   has not asked for reduced motion. Without it, the page shows everything in its final state. */
:root {
  --ink: #1d1d1f; --gray: #6e6e73; --gray-2: #86868b; --line: #d2d2d7; --bg-2: #f5f5f7;
  --blue: #0071e3; --link: #0066cc; --link-dark: #2997ff; --new: #bf4800; --new-dark: #f56300;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: #fff; }
body { margin: 0; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; background: #fff; overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; }
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 52px; }

/* ---------- global nav (44px, dark glass; scrolls away like apple.com product pages) ---------- */
.gnav { position: relative; z-index: 51; height: 44px; background: #161617; }
.gnav .in { max-width: 1024px; height: 44px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.gnav a { color: rgba(255, 255, 255, 0.8); font-size: 12px; letter-spacing: -0.01em; transition: color 0.2s; }
.gnav a:hover { color: #fff; text-decoration: none; }
.gnav .logo img { width: 22px; height: 22px; }
.gnav .item { display: none; }
.gnav .icons { display: flex; align-items: center; gap: 22px; }
.gnav .acct svg, .gnav .menu svg { width: 17px; height: 17px; display: block; }
.gnav .menu { background: none; border: 0; padding: 4px; color: rgba(255, 255, 255, 0.8); cursor: pointer; }
@media (min-width: 834px) {
  .gnav .item { display: inline; }
  .gnav .menu { display: none; }
}
.sheet { position: fixed; inset: 0; z-index: 90; background: #161617; padding: 0 44px 40px; display: grid; align-content: start; gap: 6px; overflow-y: auto; }
.sheet-top { height: 52px; display: flex; align-items: center; justify-content: space-between; margin: 0 -22px 14px; }
.sheet-top img { width: 22px; height: 22px; }
.sheet-top button { background: none; border: 0; color: #e8e8ed; padding: 8px; cursor: pointer; }
.sheet-top svg { width: 18px; height: 18px; display: block; }
.sheet a { color: #e8e8ed; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.5; }
.sheet a:hover { text-decoration: none; color: #fff; }
html.motion .sheet:not([hidden]) a { animation: sheetIn 0.5s var(--ease) both; }
html.motion .sheet a:nth-of-type(2) { animation-delay: 0.03s; } html.motion .sheet a:nth-of-type(3) { animation-delay: 0.06s; }
html.motion .sheet a:nth-of-type(4) { animation-delay: 0.09s; } html.motion .sheet a:nth-of-type(5) { animation-delay: 0.12s; }
html.motion .sheet a:nth-of-type(6) { animation-delay: 0.15s; } html.motion .sheet a:nth-of-type(7) { animation-delay: 0.18s; }
html.motion .sheet a:nth-of-type(8) { animation-delay: 0.21s; } html.motion .sheet a:nth-of-type(9) { animation-delay: 0.24s; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- local nav (52px, sticky, frosted; dark over dark scenes) ---------- */
.lnav { position: sticky; top: 0; z-index: 50; height: 52px; background: rgba(251, 251, 253, 0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); transition: background 0.4s, border-color 0.4s; }
.lnav .in { max-width: 1024px; height: 52px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 24px; }
.lnav .t { margin-right: auto; font-size: 21px; font-weight: 600; letter-spacing: 0.011em; color: var(--ink); transition: color 0.4s; }
.lnav .t:hover { text-decoration: none; }
.lnav nav { display: flex; gap: 24px; }
.lnav nav a { font-size: 12px; color: var(--ink); opacity: 0.85; transition: opacity 0.2s, color 0.4s; }
.lnav nav a:hover { opacity: 1; text-decoration: none; }
.lnav nav a.on { opacity: 0.5; }
.lnav.dark { background: rgba(22, 22, 23, 0.72); border-color: rgba(255, 255, 255, 0.1); }
.lnav.dark .t, .lnav.dark nav a { color: #f5f5f7; }
@media (max-width: 734px) { .lnav nav { display: none; } .lnav .t { font-size: 19px; } }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; padding: 11px 21px; border-radius: 980px; background: var(--blue); color: #fff; font: 400 17px/1.18 var(--font); letter-spacing: -0.022em; border: 1px solid var(--blue); white-space: nowrap; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.btn:hover { background: #0077ed; text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn.line { background: transparent; color: var(--blue); }
.btn.line:hover { background: var(--blue); color: #fff; }
.dk .btn.line, .henry .btn.line { color: var(--link-dark); border-color: var(--link-dark); }
.dk .btn.line:hover, .henry .btn.line:hover { background: var(--link-dark); color: #000; }
.sm .btn, .btn.sm { font-size: 14px; padding: 8px 15px; }
.btn.tiny { font-size: 12px; padding: 4px 11px; }
@media (max-width: 734px) { .btn { font-size: 15px; padding: 9px 17px; } .sm .btn, .btn.sm { font-size: 14px; padding: 8px 14px; } .btn.tiny { font-size: 12px; padding: 4px 11px; } }
.watch { background: none; border: 0; padding: 0; color: var(--link); font: 400 17px/1.18 var(--font); letter-spacing: -0.022em; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.watch:hover { text-decoration: underline; }
.watch .pic { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.watch:hover .pic { transform: scale(1.12); }
.watch svg { width: 12px; height: 12px; margin-left: 2px; }

/* ---------- reveal on scroll (fade up, slight blur) ---------- */
html.motion .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
html.motion .rv.in { opacity: 1; transform: none; }

/* ---------- 1. mosaic banner ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 273px 273px; background: #0b2a2f; margin-bottom: 12px; transform-origin: 50% 0; overflow: hidden; }
.mosaic .m { overflow: hidden; background: #000; }
.mosaic .m img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .a { grid-column: 1 / 3; } .mosaic .b { grid-column: 3 / 4; } .mosaic .c { grid-column: 4 / 5; } .mosaic .d { grid-column: 5 / 7; }
.mosaic .e { grid-column: 1 / 3; } .mosaic .f { grid-column: 5 / 7; }
.mosaic .say { grid-column: 3 / 5; background: #123a40; color: #fff; display: grid; place-content: center; text-align: center; padding: 20px; position: relative; overflow: hidden; }
.mosaic .say::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(93, 202, 165, 0.32), transparent 70%); animation: breathe 7s ease-in-out infinite alternate; pointer-events: none; }
.mosaic .say > * { position: relative; }
.mosaic .say h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.003em; font-weight: 600; }
.mosaic .say p { font-size: 24px; line-height: 1.17; letter-spacing: 0.009em; margin-top: 8px; color: #e8e8ed; }
@keyframes breathe { from { transform: translate(-6%, -4%) scale(0.9); opacity: 0.6; } to { transform: translate(6%, 5%) scale(1.1); opacity: 1; } }
@media (max-width: 1068px) { .mosaic { grid-template-rows: 220px 220px; } .mosaic .say h1 { font-size: 40px; } .mosaic .say p { font-size: 21px; } }
@media (max-width: 734px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto 150px 150px; }
  .mosaic .say { grid-column: 1 / 3; grid-row: 1; padding: 56px 20px 48px; }
  .mosaic .say h1 { font-size: 32px; } .mosaic .say p { font-size: 19px; }
  .mosaic .a, .mosaic .d, .mosaic .e, .mosaic .f { grid-column: auto; }
  .mosaic .b, .mosaic .c { display: none; }
}
/* intro: tiles fade in from a zoom, the headline rises word by word, then everything drifts slowly */
html.motion .mosaic .m { opacity: 0; }
html.motion .mosaic .m img { transform: scale(1.3); }
html.motion .mosaic.go .m { opacity: 1; transition: opacity 1.1s ease var(--d); }
html.motion .mosaic.go .m img { transform: scale(1); transition: transform 2.6s var(--ease) var(--d); animation: drift 22s ease-in-out calc(var(--d) + 2.6s) infinite alternate; }
.mosaic .m:nth-child(even) img { animation-direction: alternate-reverse; }
@keyframes drift { from { scale: 1; translate: 0 0; } to { scale: 1.09; translate: -2% 1.5%; } }
.split .w { display: inline-block; }
html.motion .split .w { opacity: 0; transform: translateY(0.45em); filter: blur(10px); }
html.motion .mosaic.go .split .w { opacity: 1; transform: none; filter: blur(0); transition: opacity 0.9s ease, transform 1.1s var(--ease), filter 1s ease; transition-delay: calc(0.35s + var(--i) * 0.09s); }
html.motion .mosaic .fadein { opacity: 0; transform: translateY(14px); }
html.motion .mosaic.go .fadein { opacity: 1; transform: none; transition: opacity 1s ease 0.85s, transform 1.2s var(--ease) 0.85s; }
html.motion .mosaic.go .ctas.fadein { transition-delay: 1s; }

/* ---------- pinned scenes (shared) ---------- */
.scene, .road { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html:not(.motion) .scene, html:not(.motion) .road { height: auto !important; }
html:not(.motion) .pin { position: relative; height: auto; }

/* ---------- 2. Yellow Brick: the laptop scene ---------- */
.lidscene { height: 320vh; background: var(--bg-2); margin-bottom: 12px; }
.lidscene .pin { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: max(76px, 9vh); background: var(--bg-2); }
.lidscene .copy { position: relative; z-index: 3; will-change: transform, opacity; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--new); margin-bottom: 2px; letter-spacing: -0.02em; }
.dk .eyebrow, .henry .eyebrow { color: var(--new-dark); }
.lidscene h2, .henry h2 { font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.005em; }
.lidscene .sub, .henry .sub { font-size: 28px; line-height: 1.14; letter-spacing: 0.007em; margin-top: 6px; }
@media (max-width: 1068px) { .lidscene h2, .henry h2 { font-size: 48px; } .lidscene .sub, .henry .sub { font-size: 24px; } }
@media (max-width: 734px) { .lidscene h2, .henry h2 { font-size: 32px; line-height: 1.125; } .lidscene .sub, .henry .sub { font-size: 19px; line-height: 1.21; } }

.lt { position: relative; z-index: 2; margin: auto 0 6vh; width: min(760px, 78vw, calc((100vh - 340px) * 1.1)); width: min(760px, 78vw, calc((100svh - 340px) * 1.1)); perspective: 2200px; perspective-origin: 50% -30%; transform-origin: 50% 47%; will-change: transform; }
@media (max-width: 734px) { .lt { width: 90vw; margin-bottom: 16vh; } }
.lt3d { position: relative; transform-style: preserve-3d; }
.lt::after { content: ""; display: block; aspect-ratio: 100 / 18; } /* room for the keyboard deck, which is drawn in 3D outside the layout */
.lid { position: relative; aspect-ratio: 16 / 10.4; transform-origin: 50% 100%; transform-style: preserve-3d; transform: rotateX(0deg); }
.face { position: absolute; inset: 0; border-radius: 18px 18px 3px 3px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.face.front { background: #0b0b0d; padding: 2.1% 2.1% 4.6%; box-shadow: inset 0 0 0 2px #2c2c31; }
.face.front video { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; background: #000; }
.face.front::after { content: ""; position: absolute; inset: 2.1% 2.1% 4.6%; border-radius: 3px; background: linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 38%); pointer-events: none; }
.face.back { transform: rotateY(180deg); background: linear-gradient(170deg, #e2e3e7, #c3c4c9 55%, #a9aaaf); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.face.back img { width: 11%; opacity: 0.35; filter: grayscale(1) brightness(0.6); }
.deck { position: absolute; left: -7%; right: -7%; top: calc(100% + 2px); aspect-ratio: 1.14 / 0.62; transform-origin: 50% 0; transform: rotateX(90deg); transform-style: preserve-3d; border-radius: 6px 6px 16px 16px; background: linear-gradient(180deg, #cfd0d5, #bfc0c5); }
.deck .keys { position: absolute; left: 9%; right: 9%; top: 7%; height: 45%; border-radius: 4px; background: repeating-linear-gradient(90deg, #2b2b2f 0 calc(100% / 14 - 3px), transparent calc(100% / 14 - 3px) calc(100% / 14)); -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 calc(100% / 6 - 3px), transparent calc(100% / 6 - 3px) calc(100% / 6)); mask-image: repeating-linear-gradient(180deg, #000 0 calc(100% / 6 - 3px), transparent calc(100% / 6 - 3px) calc(100% / 6)); }
.deck .pad { position: absolute; left: 33%; right: 33%; top: 58%; height: 34%; border-radius: 8px; background: rgba(0, 0, 0, 0.05); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
.deck .lip { position: absolute; left: 0; right: 0; top: 100%; height: 14px; transform-origin: 50% 0; transform: rotateX(-90deg); border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #b9bac0, #8a8b91); }
.lt .floor { position: absolute; left: -10%; right: -10%; bottom: -26px; height: 60px; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.22), transparent); filter: blur(6px); }
.lidscene .over { position: absolute; z-index: 4; left: 0; right: 0; top: 50%; transform: translateY(-50%); color: #fff; font-size: 64px; line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; }
@media (max-width: 1068px) { .lidscene .over { font-size: 48px; } }
@media (max-width: 734px) { .lidscene .over { font-size: 32px; } }
html:not(.motion) .lidscene .lt { margin: 40px 0 60px; }
html:not(.motion) .lidscene .over { display: none; }

/* ---------- 3. the road (sideways chapter gallery) ---------- */
.road { background: #000; color: #f5f5f7; margin-bottom: 12px; }
.road .pin { display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 70px 0 40px; }
.road h2 { font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.005em; padding: 0 max(22px, calc((100vw - 980px) / 2)); }
.road .rail { overflow: visible; }
.road .track { display: flex; gap: 24px; padding: 0 max(22px, calc((100vw - 980px) / 2)); will-change: transform; width: max-content; }
.road .ch { flex: 0 0 auto; width: min(560px, 62vw, 80vh); margin: 0; transition: opacity 0.4s; }
.road .ph { overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; background: #111; }
.road .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.road figcaption { margin-top: 18px; font-size: 17px; line-height: 1.35; color: #a1a1a6; max-width: 480px; }
.road figcaption span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #f5c518; margin-bottom: 4px; }
.road figcaption b { display: block; font-size: 24px; font-weight: 600; color: #f5f5f7; letter-spacing: 0.009em; margin-bottom: 4px; }
.road .bricks { display: flex; gap: 5px; padding: 0 max(22px, calc((100vw - 980px) / 2)); }
.road .bricks i { flex: 1; height: 9px; border-radius: 2px; background: #2a2a2d; transition: background 0.35s, box-shadow 0.35s; }
.road .bricks i:nth-child(even) { transform: translateY(5px); }
.road .bricks i.lit { background: #f5c518; box-shadow: 0 0 14px rgba(245, 197, 24, 0.55); }
@media (max-width: 1068px) { .road h2 { font-size: 48px; } }
/* phones and reduced motion: a plain swipe row instead of the pinned slide */
@media (max-width: 734px) {
  .road { height: auto !important; }
  .road .pin { position: relative; height: auto; padding: 60px 0 50px; gap: 26px; }
  .road h2 { font-size: 32px; }
  .road .rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .road .rail::-webkit-scrollbar { display: none; }
  .road .track { transform: none !important; padding: 0 22px; gap: 14px; }
  .road .ch { width: 82vw; scroll-snap-align: center; }
  .road .ph img { transform: none !important; }
  .road .bricks { display: none; }
}
html:not(.motion) .road .rail { overflow-x: auto; }
html:not(.motion) .road .ph img { transform: none; }

/* ---------- 4. Henry's story ---------- */
.henry { height: 420vh; background: #000; color: #f5f5f7; margin-bottom: 12px; }
.henry .pin { background: #000; text-align: center; }
.henry .swamp { position: absolute; inset: -4%; background: url(/art/hero-henry.jpg) center 62% / cover no-repeat; opacity: 0.25; transform: scale(1.35); will-change: transform, opacity; }
.henry .shade { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 70%, transparent 30%, rgba(0, 0, 0, 0.85) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 45%); pointer-events: none; }
.henry .fog { position: absolute; left: -50%; width: 200%; height: 45%; bottom: -6%; background: radial-gradient(40% 50% at 30% 60%, rgba(140, 200, 210, 0.18), transparent 70%), radial-gradient(35% 45% at 75% 50%, rgba(160, 140, 220, 0.14), transparent 70%); animation: fog 38s linear infinite alternate; pointer-events: none; }
.henry .fog.f2 { bottom: 10%; height: 35%; opacity: 0.7; animation-duration: 55s; animation-direction: alternate-reverse; }
@keyframes fog { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.henry .flies { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.henry .glow { position: absolute; left: 50%; bottom: 4%; width: min(70vh, 90vw); aspect-ratio: 1; margin-left: calc(min(70vh, 90vw) / -2); border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 110, 255, 0.55), rgba(110, 70, 220, 0.18) 55%, transparent 75%); opacity: 0; pointer-events: none; animation: pulse 3.2s ease-in-out infinite alternate; }
@keyframes pulse { from { scale: 0.92; } to { scale: 1.06; } }
.henry .hen { position: absolute; left: 50%; bottom: 6%; height: min(46vh, 430px); width: auto; max-width: none; transform: translate(-50%, 110%) scale(0.85); transform-origin: 50% 100%; filter: drop-shadow(0 0 40px rgba(170, 130, 255, 0.45)); will-change: transform; }
.henry .stmt { position: absolute; left: 0; right: 0; top: 38%; padding: 0 22px; font-size: 80px; line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; opacity: 0; will-change: transform, opacity, filter; pointer-events: none; }
.henry .end { position: absolute; left: 0; right: 0; top: max(84px, 11vh); padding: 0 22px; opacity: 0; visibility: hidden; }
.henry .end .ctas { margin-top: 18px; }
@media (max-width: 1068px) { .henry .stmt { font-size: 64px; } }
@media (max-width: 734px) { .henry .stmt { font-size: 40px; } .henry .hen { height: min(40vh, 330px); } }
html:not(.motion) .henry .pin { height: 100vh; min-height: 640px; }
html:not(.motion) .henry .swamp { opacity: 1; transform: none; }
html:not(.motion) .henry .hen { transform: translate(-50%, 0); }
html:not(.motion) .henry .glow { opacity: 1; }
html:not(.motion) .henry .stmt { display: none; }
html:not(.motion) .henry .end { opacity: 1; visibility: visible; }

/* ---------- 5. words that light up + numbers ---------- */
.words { background: #fff; padding: 160px 22px 150px; }
.words .hl { max-width: 980px; margin: 0 auto; font-size: 56px; line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
.words .hl .w { transition: color 0.35s; }
html.motion .words .hl .w { color: #d2d2d7; }
html.motion .words .hl .w.lit { color: var(--ink); }
@media (max-width: 1068px) { .words .hl { font-size: 44px; } }
@media (max-width: 734px) { .words { padding: 100px 22px 90px; } .words .hl { font-size: 30px; line-height: 1.17; } }
.stats { max-width: 980px; margin: 110px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat b { display: block; font-size: 80px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, #0071e3, #8e6bff 60%, #e0559e); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 6px; }
.stat span { display: block; margin-top: 10px; font-size: 17px; line-height: 1.35; color: var(--gray); font-weight: 600; max-width: 200px; }
@media (max-width: 1068px) { .stat b { font-size: 64px; } }
@media (max-width: 734px) { .stats { grid-template-columns: 1fr 1fr; margin-top: 70px; gap: 40px 20px; } .stat b { font-size: 56px; } }

/* ---------- 6. tiles grid ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; margin-bottom: 12px; }
@media (max-width: 734px) { .grid { grid-template-columns: 1fr; } }
.tile { position: relative; height: 580px; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 46px 20px 0; background: var(--bg-2); }
.tile h3 { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.tile .sub { font-size: 21px; line-height: 1.19; font-weight: 400; letter-spacing: 0.011em; margin-top: 6px; max-width: 420px; }
.tile .ctas { margin-top: 14px; }
.tile .media { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; padding: 18px 0 30px; }
.tile.dk { background: #000; color: #f5f5f7; }
.tile.sand { background: linear-gradient(180deg, #faf3e6, #efdfc3); }
.tile.navy { background: radial-gradient(120% 90% at 50% 100%, #163773, #050b1d 72%); color: #f5f5f7; }
.tile.night { background: linear-gradient(180deg, #0a0a12, #1b1233); color: #f5f5f7; }
.tile .mono { font-family: "SF Mono", ui-monospace, Menlo, monospace; letter-spacing: 0.03em; color: #5cc8ff; }
@media (max-width: 1068px) { .tile { height: 500px; } .tile h3 { font-size: 32px; } .tile .sub { font-size: 19px; } }
@media (max-width: 734px) { .tile { height: 490px; padding-top: 40px; } .tile h3 { font-size: 28px; } .tile .sub { font-size: 17px; } }
/* devices rise into place, then lean in a little on hover */
.tile .media > * { transition: opacity 1s ease 0.2s, translate 1.4s var(--ease) 0.2s, scale 1.4s var(--ease) 0.2s; }
html.motion .tile .media > * { opacity: 0; translate: 0 90px; scale: 0.9; }
html.motion .tile.in .media > * { opacity: 1; translate: 0 0; scale: 1; }
html.motion .tile.in:hover .media > * { scale: 1.035; transition: scale 0.8s var(--ease); }

/* tablet and phone frames */
.tablet { position: relative; width: min(440px, 80%); background: #111114; border-radius: 26px; padding: 13px; box-shadow: inset 0 0 0 2px #2d2d33, 0 24px 50px rgba(0, 0, 0, 0.28); overflow: hidden; }
.tablet img, .tablet video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #000; }
.tablet.glint::after { content: ""; position: absolute; inset: 13px; border-radius: 14px; background: linear-gradient(105deg, transparent 40%, rgba(255, 230, 160, 0.35) 50%, transparent 60%) no-repeat; background-size: 250% 100%; animation: glint 5s ease-in-out infinite; pointer-events: none; }
@keyframes glint { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.tablet.glint img { animation: slowpan 16s ease-in-out infinite alternate; }
@keyframes slowpan { from { object-position: 0% 50%; } to { object-position: 100% 50%; } }
.phone-l { width: min(470px, 86%); background: #111114; border-radius: 40px; padding: 11px; box-shadow: inset 0 0 0 2px #34343a, 0 24px 60px rgba(0, 0, 0, 0.45); position: relative; }
.phone-l img { width: 100%; aspect-ratio: 19.5 / 9; object-fit: cover; border-radius: 30px; }
.phone-l::after { content: ""; position: absolute; left: 22px; top: 50%; width: 9px; height: 34px; transform: translateY(-50%); border-radius: 6px; background: #000; z-index: 3; }
/* Spades: a hand is dealt onto the phone, shown, then swept away */
.deal { position: absolute; inset: 11px; border-radius: 30px; overflow: hidden; pointer-events: none; }
.deal i { position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 5 / 7; margin: calc(15% * -0.7) 0 0 -7.5%; border-radius: 7px; background: #fff; color: #1d1d1f; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45); font: 600 clamp(11px, 1.3vw, 16px)/1 var(--font); font-style: normal; padding: 6px 0 0 7px; text-align: left; opacity: 0; animation: dealt 7s var(--ease) infinite; animation-delay: calc(var(--i) * 0.18s); }
.deal i em { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); font-style: normal; font-size: 220%; }
.deal i.red { color: #d70015; }
@keyframes dealt {
  0% { opacity: 0; transform: translate(0, 160%) rotate(0deg); }
  14% { opacity: 1; transform: translate(var(--x), 0) rotate(var(--r)); }
  70% { opacity: 1; transform: translate(var(--x), 0) rotate(var(--r)); }
  84%, 100% { opacity: 0; transform: translate(calc(var(--x) * 0.2), -170%) rotate(calc(var(--r) * -1)); }
}
/* UNKNOWN HOST: an old security monitor with scanlines */
.crt { position: relative; width: min(420px, 78%); padding: 16px 16px 30px; border-radius: 22px; background: linear-gradient(180deg, #2a2a2e, #161618); box-shadow: inset 0 0 0 2px #3a3a3f, 0 30px 70px rgba(92, 200, 255, 0.12); }
.crt video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px / 14px; background: #000; animation: flicker 4s steps(1) infinite; }
.crt::before { content: ""; position: absolute; inset: 16px 16px 30px; border-radius: 10px / 14px; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px), radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55)); pointer-events: none; z-index: 1; }
.crt::after { content: ""; position: absolute; left: 50%; bottom: 11px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #34c759; box-shadow: 0 0 8px #34c759; }
.crt .rec { position: absolute; z-index: 2; right: 30px; top: 28px; font: 600 11px/1 "SF Mono", ui-monospace, Menlo, monospace; letter-spacing: 0.1em; color: #fff; display: flex; align-items: center; gap: 6px; }
.crt .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: 0.92; } 48% { opacity: 1; } 83% { opacity: 0.95; } }

/* the Pass card: lies flat, lifts into a tilt, shimmers, and leans toward your mouse */
.cardstage { perspective: 1200px; }
.passcard { width: 340px; height: 214px; border-radius: 18px; position: relative; overflow: hidden; transform: rotateX(calc(48deg + var(--ry, 0deg))) rotateZ(calc(-32deg + var(--rx, 0deg))); transition: transform 0.6s var(--ease);
  background: linear-gradient(135deg, #ffffff 0%, #f1f3f7 45%, #e4e8ef 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, -30px 50px 50px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05); text-align: left; }
.passcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(93, 202, 165, 0.22) 42%, rgba(41, 151, 255, 0.22) 52%, rgba(142, 107, 255, 0.2) 62%, transparent 75%) no-repeat; background-size: 260% 100%; animation: holo 6s ease-in-out infinite alternate; }
@keyframes holo { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.passcard img { position: absolute; left: 24px; top: 22px; width: 40px; height: 40px; }
.passcard b { position: absolute; left: 24px; bottom: 24px; font-size: 15px; font-weight: 500; color: #6e6e73; letter-spacing: 0.02em; }
.passcard i { position: absolute; right: 24px; top: 26px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; background: linear-gradient(90deg, #2bb59a, #2997ff, #8e6bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.motion .tile:not(.in) .passcard { transform: rotateX(0deg) rotateZ(0deg); }
html.motion .tile.in .passcard { transition: transform 1.6s var(--ease) 0.35s; }
html.motion .tile.in .passcard.live { transition: transform 0.5s var(--ease); }
@media (max-width: 734px) { .passcard { width: 270px; height: 170px; } }

/* Idea Room: the icons start stacked, fan out, bob, and spread wider on hover */
.fan { position: relative; width: 420px; height: 260px; }
.fan img { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; border-radius: 30px; margin: -66px 0 0 -66px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.6); transform-origin: 50% 260%; transform: rotate(var(--a)); transition: transform 0.7s var(--ease); }
html.motion .tile:not(.in) .fan img { transform: rotate(0deg); }
html.motion .tile.in .fan img { transition: transform 1.3s var(--ease) calc(0.45s + var(--d)); animation: bob 4s ease-in-out calc(1.8s + var(--d) * 4) infinite alternate; }
html.motion .tile.in:hover .fan img { transform: rotate(calc(var(--a) * 1.35)); transition: transform 0.6s var(--ease); }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -8px; } }
@media (max-width: 734px) { .fan { transform: scale(0.72); } }

/* ---------- 7. wide-card slider ---------- */
.ee { background: var(--bg-2); padding: 64px 0 40px; margin-bottom: 0; overflow: hidden; }
.ee h2 { text-align: center; font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 40px; padding: 0 20px; }
@media (max-width: 1068px) { .ee h2 { font-size: 48px; } }
@media (max-width: 734px) { .ee h2 { font-size: 32px; margin-bottom: 28px; } }
.ee .track { display: flex; gap: 20px; transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.ee .card { flex: 0 0 min(1250px, 78vw); aspect-ratio: 1250 / 668; position: relative; overflow: hidden; background: #000; opacity: 0.55; transition: opacity 0.6s; cursor: pointer; }
.ee .card.on { opacity: 1; cursor: default; }
@media (max-width: 734px) { .ee .card { flex-basis: 86vw; aspect-ratio: 4 / 5; } }
.ee .card img { width: 100%; height: 100%; object-fit: cover; transition: transform 7s ease-out; }
.ee .card.on img { transform: scale(1.07); }
.ee .card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 36px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent); color: #fff; text-align: left; }
.ee .card .cap > * { transition: opacity 0.7s ease, transform 0.9s var(--ease); }
html.motion .ee .card:not(.on) .cap > * { opacity: 0; transform: translateY(16px); }
html.motion .ee .card.on .cap > * { transition-delay: 0.35s; }
.ee .card .cap p { font-size: 17px; line-height: 1.3; }
.ee .card .cap b { display: block; font-size: 24px; font-weight: 600; letter-spacing: 0.009em; }
.ee .card .cap a { background: #fff; color: #1d1d1f; border-radius: 980px; padding: 10px 20px; font-size: 17px; white-space: nowrap; }
.ee .card .cap a:hover { text-decoration: none; background: #e8e8ed; }
@media (max-width: 734px) { .ee .card .cap { padding: 60px 20px 22px; flex-direction: column; align-items: flex-start; } .ee .card .cap b { font-size: 21px; } }
.ee .ctl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; position: relative; }
.ee .dots { display: flex; gap: 10px; padding: 9px 14px; border-radius: 980px; background: rgba(210, 210, 215, 0.64); }
.ee .dots button { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: rgba(0, 0, 0, 0.42); cursor: pointer; transition: width 0.4s, background 0.4s; }
.ee .dots button[aria-current=true] { width: 30px; background: rgba(0, 0, 0, 0.8); }
.ee .pp { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(210, 210, 215, 0.64); color: #1d1d1f; cursor: pointer; font-size: 12px; display: grid; place-items: center; }

/* ---------- 8. Get The Flow ---------- */
.flow { background: var(--bg-2); text-align: center; padding: 56px 20px 64px; border-top: 1px solid #e8e8ed; }
.flow h2 { font-size: 40px; line-height: 1.1; font-weight: 600; }
.flow p.sub { font-size: 21px; line-height: 1.19; margin-top: 6px; color: var(--ink); }
@media (max-width: 734px) { .flow h2 { font-size: 28px; } .flow p.sub { font-size: 17px; } }
.flow-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 500px; margin: 24px auto 0; }
.flow-form input[type=email] { flex: 1 1 240px; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); font: 400 17px var(--font); background: #fff; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.flow-form input[type=email]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16); }
.flow-form label { flex-basis: 100%; font-size: 12px; color: var(--gray); display: flex; gap: 6px; justify-content: center; align-items: center; }
.flow-form label input { accent-color: var(--blue); }
.msg { margin-top: 12px; font-size: 14px; }
.msg.err { color: #d70015; } .msg.ok { color: #248a3d; }

/* ---------- trailer lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 70px 20px 40px; background: rgba(0, 0, 0, 0.94); opacity: 0; transition: opacity 0.45s ease; }
.lb.open { opacity: 1; }
.lb video { width: min(1200px, 100%); max-height: 80vh; border-radius: 14px; background: #000; transform: scale(0.94) translateY(20px); transition: transform 0.7s var(--ease); }
.lb.open video { transform: none; }
.lb .x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.2s; }
.lb .x:hover { background: rgba(255, 255, 255, 0.28); }
.lb .x svg { width: 16px; height: 16px; }

/* ---------- fine print + footer ---------- */
.foot { background: var(--bg-2); color: rgba(0, 0, 0, 0.56); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.foot .in { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.foot .fine { padding: 17px 0 11px; border-bottom: 1px solid var(--line); }
.foot .fine ol { padding-left: 16px; display: grid; gap: 8px; margin-bottom: 10px; }
.foot .fine p { margin-bottom: 10px; }
.foot .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 20px; padding: 26px 0 20px; border-bottom: 1px solid var(--line); }
@media (max-width: 834px) { .foot .cols { grid-template-columns: 1fr 1fr; gap: 18px 20px; } }
.foot h4 { margin: 0 0 9px; font-size: 12px; font-weight: 600; color: #1d1d1f; }
.foot .cols a { display: block; color: #424245; margin-bottom: 8px; }
.foot .shop { padding: 14px 0; border-bottom: 1px solid var(--line); }
.foot .legal { padding: 14px 0 22px; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; }
.foot .legal nav { display: flex; flex-wrap: wrap; gap: 0; }
.foot .legal nav a { color: #424245; padding: 0 9px; border-left: 1px solid var(--line); }
.foot .legal nav a:first-child { padding-left: 0; border-left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

/* =====================================================================
   Other pages (built by pages.py): sign in, account, Pass, story,
   businesses, policies, 404, and the small server notes.
   ===================================================================== */
.page { background: #fff; }
.muted { color: var(--gray); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.list { display: grid; gap: 10px; font-size: 17px; }
.link { background: none; border: 0; padding: 0; font: 400 17px/1.3 var(--font); letter-spacing: -0.022em; color: var(--link); cursor: pointer; }
.link:hover { text-decoration: underline; }
.link.center { justify-self: center; margin-top: 4px; }
.btn.wide { width: 100%; padding: 14px 21px; margin-top: 6px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 980px; font-size: 14px; font-weight: 600; }
.pill.gold { background: #fff4e0; color: #9a5b00; }
.draft { display: inline-block; background: #fff4e0; color: #9a5b00; border-radius: 980px; padding: 6px 14px; font-size: 14px; font-weight: 600; margin-bottom: 26px; }

/* sign in: an Apple ID style column with floating labels */
.auth-page { padding: 76px 22px 110px; }
.auth { max-width: 460px; margin: 0 auto; text-align: center; }
.auth-logo { width: 64px; height: 64px; margin: 0 auto 20px; }
.auth h1 { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.auth .for { font-size: 21px; color: var(--gray); margin-top: 6px; }
.auth .for:empty { display: none; }
.auth .lead { font-size: 17px; color: var(--gray); margin: 12px auto 0; max-width: 380px; }
.seg { display: inline-flex; padding: 2px; margin: 30px auto 24px; background: #e8e8ed; border-radius: 9px; }
.seg button { border: 0; background: transparent; font: 500 14px var(--font); padding: 7px 24px; border-radius: 7px; color: var(--ink); cursor: pointer; transition: background 0.25s, box-shadow 0.25s; }
.seg button[aria-selected=true] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }
.fields { display: grid; gap: 12px; text-align: left; }
.fields[hidden] { display: none; }
html.motion form.fields:not([hidden]):not(.rv) { animation: sheetIn 0.45s var(--ease) both; }
.field { position: relative; display: block; }
.field input { width: 100%; height: 56px; padding: 22px 16px 6px; border: 1px solid #86868b; border-radius: 12px; font: 400 17px var(--font); color: var(--ink); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16); }
.field > span { position: absolute; left: 17px; top: 17px; font-size: 17px; line-height: 1.3; color: var(--gray); pointer-events: none; transition: top 0.2s var(--ease), font-size 0.2s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span { top: 8px; font-size: 12px; }
.field small { display: block; font-size: 12px; color: var(--gray); margin: 6px 4px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--ink); }
.check input { margin: 2px 0 0; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.auth .small { font-size: 12px; line-height: 1.4; color: var(--gray); text-align: center; }
.auth .msg { text-align: center; }

/* account */
.acct-page { padding: 64px 22px 110px; }
.acct { max-width: 980px; margin: 0 auto; }
.acct-head { padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.acct-head h1 { font-size: 48px; line-height: 1.08; font-weight: 600; }
.acct-head .muted { font-size: 19px; margin-top: 4px; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--bg-2); border-radius: 18px; padding: 30px; }
.panel h2 { font-size: 24px; line-height: 1.17; font-weight: 600; margin-bottom: 10px; }
.panel p { font-size: 17px; }
.panel.wide { grid-column: 1 / -1; }
.panel .row { margin-top: 18px; }
.list a { font-weight: 600; }
.pass-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.mini-card { flex: none; width: 190px; height: 120px; border-radius: 14px; position: relative; overflow: hidden; background: linear-gradient(135deg, #fff, #e4e8ef); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05); transform: rotate(-6deg); }
.mini-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(93, 202, 165, 0.25) 45%, rgba(41, 151, 255, 0.25) 55%, rgba(142, 107, 255, 0.22) 65%, transparent 80%) no-repeat; background-size: 260% 100%; animation: holo 6s ease-in-out infinite alternate; }
.mini-card img { position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; }
.mini-card i { position: absolute; right: 14px; top: 16px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #2997ff; }
.signout { margin-top: 36px; text-align: center; }
.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: 17px; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .knob { flex: none; width: 51px; height: 31px; border-radius: 31px; background: #e9e9ea; position: relative; transition: background 0.3s; }
.switch .knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16); transition: transform 0.3s var(--ease); }
.switch input:checked + .knob { background: #34c759; }
.switch input:checked + .knob::after { transform: translateX(20px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 734px) {
  .acct-page { padding-top: 44px; }
  .acct-grid { grid-template-columns: 1fr; }
  .acct-head h1 { font-size: 32px; }
  .panel { padding: 24px; }
  .mini-card { display: none; }
}

/* the Pass page */
.pass-hero { text-align: center; padding: 70px 22px 110px; background: radial-gradient(60% 50% at 50% 30%, rgba(41, 151, 255, 0.08), transparent 70%), #fff; overflow: hidden; }
.pass-stage { perspective: 1400px; height: 330px; display: grid; place-items: center; margin-bottom: 18px; }
.passcard.big { width: 420px; height: 264px; border-radius: 22px; }
.passcard.big img { width: 52px; height: 52px; left: 30px; top: 28px; }
.passcard.big b { left: 30px; bottom: 30px; font-size: 18px; }
.passcard.big i { right: 30px; top: 34px; font-size: 15px; }
html.motion .pass-stage:not(.in) .passcard { transform: rotateX(0deg) rotateZ(0deg) translateY(40px); opacity: 0; }
html.motion .pass-stage.in .passcard { transition: transform 1.8s var(--ease) 0.15s, opacity 0.8s ease 0.15s; }
html.motion .pass-stage.in .passcard.live { transition: transform 0.5s var(--ease); }
.pass-stage .passcard { animation: float 6s ease-in-out 2s infinite alternate; }
@keyframes float { from { translate: 0 0; } to { translate: 0 -12px; } }
.grad { font-size: 80px; line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; padding-bottom: 0.08em; background: linear-gradient(90deg, #2bb59a, #2997ff 45%, #8e6bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pass-hero .sub { font-size: 28px; line-height: 1.14; margin-top: 4px; }
.price-note { font-size: 17px; color: var(--gray); margin-top: 18px; }
.perks { background: var(--bg-2); padding: 100px 0; }
.perks h2, .plans h2, .faq h2 { text-align: center; font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.005em; padding: 0 22px; }
.marquee { overflow: hidden; margin-top: 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .belt { display: flex; gap: 24px; width: max-content; padding: 10px 0 24px; animation: belt 34s linear infinite; }
.marquee img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14); }
@keyframes belt { to { transform: translateX(calc(-50% - 12px)); } }
.perk-grid { max-width: 980px; margin: 40px auto 0; padding: 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.perk { background: #fff; border-radius: 28px; padding: 38px; transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.perk:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08); }
.perk .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, #2bb59a, #2997ff 60%, #8e6bff); color: #fff; margin-bottom: 22px; }
.perk .ic svg { width: 28px; height: 28px; }
.perk h3 { font-size: 28px; line-height: 1.14; font-weight: 600; margin-bottom: 8px; }
.perk p { font-size: 17px; color: var(--gray); }
.plans { padding: 110px 22px 90px; }
.plan-grid { max-width: 820px; margin: 50px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 28px; padding: 38px 32px 32px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08); }
.plan.best { border: 2px solid var(--blue); }
.plan .tag { position: absolute; top: -13px; left: 30px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 980px; }
.plan h3 { font-size: 24px; font-weight: 600; }
.plan .price { color: var(--gray); font-size: 17px; }
.plan .price b { font-size: 48px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.plan .per { font-size: 14px; color: var(--gray); margin-top: -10px; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 17px; flex: 1; margin: 6px 0 10px; }
.plan li::before { content: "\2713"; color: var(--blue); font-weight: 700; margin-right: 10px; }
.plans .fine-c { max-width: 680px; margin: 30px auto 0; text-align: center; font-size: 14px; color: var(--gray); }
.one-game { max-width: 980px; margin: 0 auto 110px; border-radius: 28px; padding: 60px 40px; text-align: center; color: #f5f5f7; background: radial-gradient(90% 120% at 50% 0%, #1f2b4d, #000 70%); }
.one-game h2 { font-size: 40px; font-weight: 600; line-height: 1.1; }
.one-game p { font-size: 21px; color: #a1a1a6; margin: 10px auto 0; max-width: 560px; }
.faq { background: var(--bg-2); padding: 100px 22px 110px; }
.faq-list { max-width: 820px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 21px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 300; color: var(--blue); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 26px; font-size: 17px; color: var(--gray); max-width: 680px; }
html.motion .faq details[open] p { animation: sheetIn 0.45s var(--ease) both; }
@media (max-width: 1068px) { .grad { font-size: 64px; } .perks h2, .plans h2, .faq h2 { font-size: 48px; } }
@media (max-width: 734px) {
  .pass-hero { padding: 40px 22px 80px; }
  .pass-stage { height: 230px; }
  .passcard.big { width: 280px; height: 176px; border-radius: 16px; }
  .passcard.big img { width: 38px; height: 38px; left: 20px; top: 20px; }
  .passcard.big b { left: 20px; bottom: 20px; font-size: 14px; }
  .passcard.big i { right: 20px; top: 24px; font-size: 12px; }
  .grad { font-size: 44px; }
  .pass-hero .sub { font-size: 21px; }
  .perks { padding: 70px 0; }
  .perks h2, .plans h2, .faq h2 { font-size: 32px; }
  .marquee img { width: 72px; height: 72px; border-radius: 17px; }
  .perk-grid, .plan-grid { grid-template-columns: 1fr; }
  .perk { padding: 30px; }
  .perk h3 { font-size: 24px; }
  .plans { padding: 70px 22px; }
  .one-game { margin: 0 22px 70px; padding: 44px 26px; }
  .one-game h2 { font-size: 28px; }
  .one-game p { font-size: 17px; }
  .faq { padding: 70px 22px; }
  .faq summary { font-size: 19px; }
}

/* story, businesses and the policies */
.doc-page { padding: 80px 22px 110px; }
.doc { max-width: 692px; margin: 0 auto; }
.doc h1 { font-size: 48px; line-height: 1.08; font-weight: 600; letter-spacing: -0.003em; margin-bottom: 20px; }
.doc h2 { font-size: 28px; line-height: 1.14; font-weight: 600; margin: 44px 0 12px; }
.doc p, .doc li { font-size: 19px; line-height: 1.47; letter-spacing: 0.012em; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc .muted { font-size: 17px; margin-bottom: 8px; }
.legal-doc h1 { font-size: 40px; }
.legal-doc h2 { font-size: 24px; margin-top: 36px; }
.legal-doc p, .legal-doc li { font-size: 17px; }
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.biz-grid .panel h2 { margin: 0 0 6px; }
.big-price { font-size: 40px !important; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.big-price span { font-size: 17px; font-weight: 400; color: var(--gray); letter-spacing: 0; }
.center-p { text-align: center; }
@media (max-width: 734px) {
  .doc-page { padding: 50px 22px 80px; }
  .doc h1 { font-size: 32px; } .legal-doc h1 { font-size: 32px; }
  .doc h2 { font-size: 22px; }
  .doc p, .doc li { font-size: 17px; }
  .biz-grid { grid-template-columns: 1fr; }
}

/* not found */
.lost { text-align: center; padding: 100px 22px 140px; }
.lost h1 { font-size: 56px; line-height: 1.07; font-weight: 600; }
.lost p { font-size: 21px; color: var(--gray); margin-top: 10px; }
.lost-fan { position: relative; width: 260px; height: 150px; margin: 0 auto 30px; }
.lost-fan img { position: absolute; left: 50%; top: 20px; width: 104px; height: 104px; margin-left: -52px; border-radius: 24px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); transform-origin: 50% 240%; animation: sway 4s ease-in-out infinite alternate; }
.lost-fan img:nth-child(1) { rotate: -16deg; } .lost-fan img:nth-child(3) { rotate: 16deg; animation-delay: -2s; }
.lost-fan img:nth-child(2) { z-index: 1; animation-delay: -1s; }
@keyframes sway { from { translate: 0 0; } to { translate: 0 -10px; } }
@media (max-width: 734px) { .lost h1 { font-size: 36px; } .lost p { font-size: 19px; } }

/* small notes made by the server (checkout thanks, "opens December 8", errors) */
body.note-page { background: var(--bg-2); min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 22px; }
.note { background: #fff; border-radius: 28px; padding: 48px 40px; max-width: 520px; width: 100%; text-align: center; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.07); animation: noteIn 0.8s var(--ease) both; }
.note .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 26px; }
.note .brand:hover { text-decoration: none; }
.note .brand img { width: 36px; height: 36px; }
.note h1 { font-size: 40px; line-height: 1.1; font-weight: 600; }
.note p { font-size: 19px; color: var(--gray); margin: 12px 0 26px; }
@keyframes noteIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@media (max-width: 734px) { .note { padding: 40px 24px; } .note h1 { font-size: 32px; } }
