/* TrainDex marketing site, shared by every page.
   Layout: a light paper ground (the app's own), one bold block per section, plates as the only ornament,
   real app screens as the only colour inside a block. One look on purpose: light paper, with dark studio bands. */
@font-face { font-family: Geist; font-weight: 100 900; font-display: swap; src: url('Geist-Variable-a369fcf5.woff2') format('woff2'); }
@view-transition { navigation: auto; }

:root {
  color-scheme: light;
  /* From the TrainDex design system */
  --paper: #ededef;
  --card: #ffffff;
  --sheet: #f6f6f7;
  --ink: #0a0a0b;
  --ink-2: #38383d;
  --ink-3: #56565d;
  --line: #d9d9de;
  --control: #dcdce1;
  --action: #18181b;
  --on-action: #fafafa;
  --night: #141417;
  --night-card: #232328;
  --night-ink: #f5f5f7;
  --night-ink-2: #b5b5be;
  --night-line: #343438;
  --brand: #6056e6;
  --success: #0e6930;
  --warning: #9a5404;
  /* The plates: one colour for each part of TrainDex */
  --p-schedule: #5a50e0;
  --p-classes: #c9440e;
  --p-clients: #0b7577;
  --p-workouts: #b81f2d;
  --p-logbook: #26262c;
  --p-body: #11733f;
  --p-payments: #dd9d10;
  --p-team: #1f4fc9;
  --p-hours: #0a76a3;
  --p-analytics: #b02273;
  --p-gym: #8a3a12;
  --p-ai: #2b2566;

  --sans: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --t-display: clamp(2.9rem, 4.9vw, 5.9rem);
  --t-h1: clamp(2.6rem, 5.4vw, 5.4rem);
  --t-h2: clamp(2.15rem, 4.5vw, 4.25rem);
  --t-h3: clamp(1.4rem, 2.1vw, 1.95rem);
  --t-lead: clamp(1.125rem, 1.5vw, 1.4rem);
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bar-h: 68px;
}
@media (min-width: 900px) { :root { --gut-l: max(40px, env(safe-area-inset-left, 0px)); --gut-r: max(40px, env(safe-area-inset-right, 0px)); } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--sans); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--action); color: var(--on-action); padding: 12px 18px; border-radius: 99px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.sec { padding-block: clamp(5rem, 10vw, 10rem); }
.sec-tight { padding-block: clamp(3.5rem, 6vw, 6rem); }
.night { background: var(--night); color: var(--night-ink); }
.h1 { font-size: var(--t-h1); line-height: 0.98; letter-spacing: -0.045em; }
.h2 { font-size: var(--t-h2); line-height: 1; letter-spacing: -0.042em; }
.h3 { font-size: var(--t-h3); line-height: 1.12; letter-spacing: -0.028em; }
.lead { font-size: var(--t-lead); line-height: 1.38; letter-spacing: -0.016em; color: var(--ink-2); max-width: 34em; }
.night .lead { color: var(--night-ink-2); }
.head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
@media (min-width: 900px) {
  .head.split { grid-template-columns: 7fr 5fr; align-items: end; gap: 3rem; }
  .head.split .lead { justify-self: end; }
}

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 54px; padding: 0.7rem 1.6rem; border-radius: 99px; font-weight: 600; font-size: 1.0625rem; background: var(--action); color: var(--on-action); transition: transform 0.25s var(--ease), background-color 0.2s; white-space: nowrap; }
.btn:hover { background: #2b2b31; }
.btn:active { transform: scale(0.955); transition-duration: 0.06s; }
.btn.alt { background: var(--card); color: var(--ink); }
.btn.alt:hover { background: #fafafa; }
.btn.small { min-height: 44px; padding: 0.4rem 1.15rem; font-size: 0.975rem; }
.night .btn, .btn.light { background: var(--night-ink); color: var(--action); }
.night .btn:hover, .btn.light:hover { background: #fff; }
.night .btn.alt { background: var(--night-card); color: var(--night-ink); }
.night .btn.alt:hover { background: #2e2e35; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.go { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; min-height: 44px; }
.go svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.go:hover svg { transform: translateX(4px); }

/* Top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--bar-h); margin-bottom: calc(-1 * var(--bar-h)); }
.top::before { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--paper) 93%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); opacity: 0; transition: opacity 0.25s; }
.top.stuck::before, .top.open::before { opacity: 1; }
.top .wrap { position: relative; height: 100%; display: flex; align-items: center; gap: 2rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.045em; line-height: 44px; }
.td { width: 1.55em; height: auto; flex: none; overflow: visible; }
.td-run { opacity: 0; stroke-dasharray: 26 100; }
.td-line, .td-run { transition: opacity 0.3s; }
@keyframes glide { to { stroke-dashoffset: -74; } }
.busy > .td .td-line { opacity: 0.22; }
.busy > .td .td-run { opacity: 1; animation: glide 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate; }
@media (hover: hover) {
  .logo:hover .td-line { opacity: 0.22; }
  .logo:hover .td-run { opacity: 1; animation: glide 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate; }
}
.in-only, [data-in] .out-only { display: none !important; }
[data-in] .in-only { display: inline-flex !important; }
.nav { display: none; gap: 0.25rem; }
.nav > * { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; padding: 0 0.85rem; border-radius: 99px; font-weight: 500; font-size: 0.975rem; transition: background-color 0.2s; }
.nav > *:hover, .nav > [aria-expanded='true'] { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.nav svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav [aria-expanded='true'] svg { transform: rotate(180deg); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 0.35rem; }
.top-end .login { display: none; min-height: 44px; align-items: center; padding: 0 0.9rem; font-weight: 500; font-size: 0.975rem; border-radius: 99px; }
.top-end .login:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 99px; }
.burger svg { width: 24px; height: 24px; }
.top.on-night:not(.stuck):not(.open) { color: var(--night-ink); }
.top.on-night:not(.stuck):not(.open) .btn { background: var(--night-ink); color: var(--action); }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .top-end .login { display: inline-flex; }
  .burger { display: none; }
}
@media (max-width: 420px) { .top .wrap { gap: 0.75rem; } .top .logo { font-size: 1.35rem; gap: 0.5rem; } .top-end .btn.small { padding-inline: 1rem; } }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom-left-radius: 32px; border-bottom-right-radius: 32px; padding-block: 1.25rem 2.25rem; box-shadow: 0 40px 60px -30px rgb(10 10 11 / 0.22); }
.mega .wrap { display: block; height: auto; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.25rem; }
.mega-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0.8rem; border-radius: 22px; min-width: 0; }
.mega-item:hover { background: var(--card); }
.mega-item img { width: 60px; height: 60px; flex: none; object-fit: contain; transition: transform 0.6s var(--ease); }
.mega-item:hover img { transform: rotate(22deg) scale(1.06); }
.mega-item b { display: block; font-weight: 600; line-height: 1.25; }
.mega-item span span { display: block; font-size: 0.875rem; line-height: 1.3; color: var(--ink-3); }
.mega.who .mega-grid { grid-template-columns: repeat(5, 1fr); }
.mega.who .mega-item { display: grid; gap: 0.9rem; align-content: start; padding: 1.1rem; background: var(--card); border-radius: 24px; }
.mega.who .mega-item img { width: 104px; height: 104px; }
.mega.who .mega-item:hover img { transform: translateY(-4px) rotate(-5deg) scale(1.05); }
.mega-more { display: flex; gap: 0.5rem 2rem; flex-wrap: wrap; margin: 1.25rem 0.8rem 0; }
.mega-more a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; color: var(--ink-3); }
.mega-more a b { color: var(--ink); font-weight: 600; }
.mega-more a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.mega-item.flat { min-height: 60px; }
.mega.who .mega-item:hover { background: #fff; }
.mega.who .mega-item b { font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.sheet-nav { position: fixed; inset: calc(var(--bar-h) + env(safe-area-inset-top, 0px)) 0 0; z-index: 49; background: var(--paper); overflow-y: auto; padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
.sheet-nav details { border-bottom: 1px solid var(--line); }
.sheet-nav summary, .sheet-nav .plain { display: flex; justify-content: space-between; align-items: center; min-height: 64px; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.035em; cursor: pointer; list-style: none; }
.sheet-nav .plain { border-bottom: 1px solid var(--line); }
.sheet-nav summary::-webkit-details-marker { display: none; }
.sheet-nav summary svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.sheet-nav details[open] summary svg { transform: rotate(180deg); }
.sheet-nav .mega-item { padding-inline: 0; }
.sheet-nav .mega-item img { width: 48px; height: 48px; }
.sheet-nav details > div { padding-bottom: 1rem; }
.sheet-nav .btns { padding-top: 1.75rem; }

/* Devices: real captures inside drawn frames */
.phone { align-self: flex-start; position: relative; width: var(--w, 300px); aspect-ratio: 1206 / 2556; padding: calc(var(--w, 300px) * 0.026); background: #1c1c1e; border-radius: calc(var(--w, 300px) * 0.152); box-shadow: inset 0 0 0 1px #3d3d42, 0 calc(var(--w, 300px) * 0.09) calc(var(--w, 300px) * 0.2) calc(var(--w, 300px) * -0.06) rgb(10 10 11 / 0.42); flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w, 300px) * 0.126); }
.window { border-radius: clamp(10px, 1.3vw, 20px); overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px rgb(10 10 11 / 0.08), 0 50px 90px -40px rgb(10 10 11 / 0.45); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 0 16px; height: clamp(26px, 3vw, 42px); background: #e4e4e8; }
.window-bar i { width: 10px; height: 10px; border-radius: 99px; background: #c3c3ca; }
.window-bar span { margin-inline: auto; font-size: clamp(9px, 0.95vw, 13px); color: var(--ink-3); transform: translateX(-25px); }
.window img { width: 100%; }

/* Home: the opening picture */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #e4e4e8; }
.hero picture img { width: 100%; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 56px; z-index: -1; background: linear-gradient(transparent, var(--paper)); }
.hero-copy { display: grid; gap: 1.5rem; position: relative; z-index: 1; }
.hero .lead { text-wrap: balance; }
.hero h1 { font-size: var(--t-display); line-height: 0.94; letter-spacing: -0.052em; }
.hero .small { font-size: 0.95rem; color: var(--ink-3); }
@media (max-width: 979px) {
  .hero { background: linear-gradient(#e9e9ec, #dfdfe4); }
  .hero-copy { padding-top: calc(var(--bar-h) + 2.25rem); }
  .hero picture { display: block; margin-top: -1.5rem; -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%); }
}
@media (min-width: 980px) {
  .hero { display: grid; align-items: center; min-height: clamp(560px, 56.25vw, 940px); }
  .hero picture img { position: absolute; inset: 0; z-index: -1; height: 100%; object-fit: cover; object-position: 100% 55%; }
  .hero-copy { max-width: 31vw; padding-top: calc(var(--bar-h) + 0.75rem); padding-bottom: 1.5rem; }
  .hero .lead { max-width: 22em; }
}
/* On a wide screen the picture keeps its shape at the right edge, and its left side melts into the same light. */
@media (min-width: 1480px) {
  .hero { background: linear-gradient(#e3e2e9, #e4e4ec 30%, #e3e3ea 60%, #ededf3 88%, #efeff4); }
  .hero picture img { inset: 0 0 0 auto; width: auto; max-width: none; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%); mask-image: linear-gradient(90deg, transparent, #000 26%); }
}
@media (min-width: 1800px) { .hero-copy { max-width: 560px; } }

/* Home: who are you */
.who-grid { display: grid; gap: 2.5rem; }
.who-tabs { display: flex; flex-direction: column; align-items: flex-start; }
.who-tabs button { text-align: left; font-weight: 700; font-size: clamp(1.75rem, 3.7vw, 3.4rem); line-height: 1.12; letter-spacing: -0.042em; color: #7f7f8a; padding-block: 0.12em; transition: color 0.25s; }
.who-tabs button:hover { color: var(--ink-3); }
.who-tabs button[aria-selected='true'] { color: var(--ink); }
.who-left { display: grid; gap: 2rem; }
.who-panel { display: grid; gap: 1rem; align-content: start; }
.who-stage { position: relative; height: clamp(400px, 46vw, 640px); border-radius: 36px; overflow: hidden; background: var(--tone, var(--p-schedule)); transition: background-color 0.5s var(--ease); display: flex; justify-content: center; gap: clamp(14px, 2vw, 32px); padding-top: clamp(32px, 4vw, 60px); padding-inline: 20px; }
.who-stage .phone { --w: clamp(160px, 21vw, 290px); }
.who-stage .phone:nth-child(2) { margin-top: clamp(36px, 5vw, 84px); }
@media (min-width: 960px) {
  .who-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: center; }
}
.swap > * { animation: rise 0.55s var(--ease); }
.swap > *:nth-child(2) { animation-delay: 0.05s; animation-fill-mode: backwards; }
@keyframes rise { from { transform: translateY(34px); } }

/* Home: one hour, as stacking cards */
.stack { display: grid; gap: 1.25rem; }
.step { position: relative; border-radius: clamp(28px, 3vw, 44px); overflow: hidden; background: var(--tone); color: #fff; min-height: min(640px, 82svh); display: grid; }
.step.ink { color: var(--ink); }
.step-copy { padding: clamp(1.75rem, 3.6vw, 3.75rem); display: grid; align-content: space-between; gap: 1.5rem; }
.step-copy .lead { color: inherit; max-width: 22em; }
.step .no { font-weight: 600; font-size: 1.0625rem; }
.step-art { position: relative; min-height: 340px; }
.step-art .window { position: absolute; left: 0; top: clamp(0px, 4vw, 60px); width: max(100%, 720px); border-top-right-radius: 0; }
.step-art .phones { position: absolute; inset: 0; display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); padding-top: clamp(8px, 4vw, 56px); padding-inline: 20px; }
.step-art .phone { --w: clamp(158px, 21vw, 288px); }
.step-art .phones .phone:nth-child(2) { margin-top: clamp(24px, 6vw, 92px); }
@media (min-width: 960px) {
  .step { grid-template-columns: 5fr 7fr; position: sticky; top: calc(var(--bar-h) + 14px + var(--i) * 14px); }
  .step-art { min-height: 560px; }
}
@media (max-width: 959px) { .step { min-height: 0; } .step-art { min-height: 400px; } .step-art .window { left: 24px; } .step-art .window img { width: 121%; max-width: none; margin-left: -21%; } .step-art .window-bar span { display: none; } }

/* Home: the plates */
.plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.75rem, 4vw, 4rem) clamp(0.75rem, 2vw, 2rem); }
@media (min-width: 640px) { .plates { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .plates { grid-template-columns: repeat(4, 1fr); } }
.plates.after-bar { margin-top: clamp(3rem, 6vw, 6rem); }
@media (min-width: 1240px) { .plates.after-bar { grid-template-columns: repeat(6, 1fr); gap: 3.5rem 1.75rem; } .after-bar .plate-item b { font-size: 1.2rem; } .after-bar .plate-item span { font-size: 0.975rem; } }
.plate-item { display: block; min-width: 0; }
.plate-item img { width: 100%; max-width: 250px; aspect-ratio: 1; object-fit: contain; margin-bottom: 1rem; filter: drop-shadow(0 22px 20px rgb(10 10 11 / 0.24)); transition: transform 0.9s var(--ease); }
.plate-item:hover img { transform: translateY(-8px) rotate(24deg); }
.plate-item b { display: block; font-size: 1.3rem; letter-spacing: -0.028em; line-height: 1.2; }
.plate-item span { display: block; color: var(--ink-3); font-size: 1rem; line-height: 1.35; margin-top: 0.2rem; }
.tag { display: inline-block; font-size: 0.8125rem; font-weight: 500; line-height: 1; padding: 0.4rem 0.6rem; border-radius: 99px; background: var(--control); color: var(--ink-2); }
.night .tag { background: var(--night-card); color: var(--night-ink-2); }
.plate-item .tag { display: inline-block; margin-top: 0.55rem; font-size: 0.8125rem; line-height: 1; color: var(--ink-2); }

/* Home: notes into a workout */
.ai-grid { display: grid; gap: 1rem; }
.note, .built { border-radius: 32px; padding: clamp(1.4rem, 2.4vw, 2.25rem); min-height: 420px; }
.note { border: 2px solid transparent; background: linear-gradient(#1c1c20 0 0) padding-box, linear-gradient(#1c1c20 0 0) border-box; }
.note.working { background: linear-gradient(#1c1c20 0 0) padding-box, conic-gradient(from var(--spin, 0deg), #2b2b31 0 50%, #6d6bf0 70%, #ff8a5c 84%, #2b2b31 97%) border-box; animation: spin 2.6s linear infinite; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.note pre { margin: 0; font: 400 clamp(1rem, 1.3vw, 1.2rem)/1.65 var(--sans); letter-spacing: -0.01em; white-space: pre-wrap; color: #d4d4dc; }
.note-foot { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; min-height: 44px; }
.note-say { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--night-ink-2); font-size: 0.975rem; }
.note-say .td { width: 26px; color: var(--night-ink); }
.note-say:not(.busy) .td { display: none; }
.built { background: var(--paper); color: var(--ink); }
.built h2, .built h3 { font-size: 1.6rem; letter-spacing: -0.035em; }
.built > p { color: var(--ink-3); margin-bottom: 1.1rem; }
.rows { background: var(--card); border-radius: 28px; overflow: hidden; }
.rows li { display: flex; align-items: center; gap: 0.9rem; min-height: 64px; padding: 0.7rem 1.15rem; position: relative; transition: transform 0.5s var(--ease), opacity 0.4s; }
.rows li + li::before { content: ''; position: absolute; left: 1.15rem; right: 0; top: 0; height: 1px; background: #e5e5e8; }
.rows b { display: block; font-weight: 600; line-height: 1.25; }
.rows small { display: block; font-size: 0.875rem; color: var(--ink-3); }
.rows .end { margin-left: auto; text-align: right; font-weight: 600; white-space: nowrap; }
.built.empty .rows li { opacity: 0.18; transform: translateY(8px); }
@media (min-width: 960px) { .ai-grid { grid-template-columns: 5fr 6fr; gap: 1.25rem; } }
.ai-also { display: grid; gap: 2rem; margin-top: clamp(3.5rem, 6vw, 6rem); }
@media (min-width: 760px) { .ai-also { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.ai-also h3 { font-size: 1.2rem; letter-spacing: -0.025em; margin-bottom: 0.4rem; }
.ai-also p { color: var(--night-ink-2); }

/* Home: desk and floor */
.duo { position: relative; padding-right: clamp(0px, 9vw, 130px); padding-bottom: clamp(60px, 6vw, 90px); }
.duo .phone { --w: clamp(112px, 19vw, 262px); position: absolute; right: 0; bottom: 0; }
.split-list { display: grid; gap: 2.5rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 760px) { .split-list { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.ticks { display: grid; gap: 0.7rem; margin-top: 1.1rem; }
.ticks li { display: flex; gap: 0.7rem; align-items: baseline; }
.ticks svg { width: 17px; height: 17px; flex: none; transform: translateY(2px); }

/* Home: permissions */
.perm { display: grid; gap: 3rem; }
@media (min-width: 960px) { .perm { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; } }
.perm-art { width: min(64%, 300px); margin: 1.5rem 0 0; filter: drop-shadow(0 22px 22px rgb(10 10 11 / 0.2)); }
@media (max-width: 959px) { .perm-art { display: none; } }
.switches { background: var(--card); border-radius: 32px; padding-block: 0.5rem; }
.switches li { display: flex; align-items: center; gap: 1rem; min-height: 70px; padding: 0.6rem 1.5rem; position: relative; }
.switches li + li::before { content: ''; position: absolute; left: 1.5rem; right: 0; top: 0; height: 1px; background: #e5e5e8; }
.switches b { display: block; font-weight: 600; line-height: 1.3; }
.switches small { display: block; color: var(--ink-3); font-size: 0.875rem; }
.sw { margin-left: auto; flex: none; width: 51px; height: 44px; display: grid; place-items: center; }
.sw i { display: block; width: 51px; height: 31px; border-radius: 99px; background: #c6c6ce; position: relative; transition: background-color 0.25s; }
.sw i::after { content: ''; position: absolute; left: 2.5px; top: 2.5px; width: 26px; height: 26px; border-radius: 99px; background: #fff; transition: transform 0.35s var(--ease); }
.sw[aria-checked='true'] i { background: var(--success); }
.sw[aria-checked='true'] i::after { transform: translateX(20px); }
.facts { display: grid; gap: 2rem; margin-top: clamp(4rem, 7vw, 7rem); padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.facts h3 { font-size: 1.2rem; letter-spacing: -0.025em; margin-bottom: 0.35rem; }
.facts p { color: var(--ink-2); }

/* The loaded bar */
.bar { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--night-ink); }
.bar picture img { width: 100%; }
.bar-copy { display: grid; gap: 1.4rem; }
.bar .lead { color: var(--night-ink-2); }
.bar .btn { background: var(--night-ink); color: var(--action); }
.bar .btn:hover { background: #fff; }
@media (max-width: 859px) {
  .bar-copy { padding-top: clamp(4.5rem, 16vw, 7rem); }
  .bar:first-child .bar-copy { padding-top: calc(var(--bar-h) + 2.5rem); }
  .bar picture { display: block; -webkit-mask-image: linear-gradient(transparent, #000 16%); mask-image: linear-gradient(transparent, #000 16%); }
}
@media (min-width: 860px) {
  .bar { min-height: clamp(560px, 56.25vw, 980px); display: grid; align-items: start; }
  .bar picture img { position: absolute; inset: 0; z-index: -1; height: 100%; object-fit: cover; object-position: 50% 100%; }
  .bar-copy { padding-top: clamp(4.5rem, 7.4vw, 8.5rem); padding-bottom: 5rem; max-width: 46rem; }
}

/* Questions */
.faq { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq { grid-template-columns: 4fr 7fr; gap: 5rem; } }
.qs details { border-top: 1px solid var(--line); }
.qs details:last-child { border-bottom: 1px solid var(--line); }
.qs summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; padding-block: 1rem; cursor: pointer; list-style: none; font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.35rem); letter-spacing: -0.022em; line-height: 1.25; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary svg { width: 22px; height: 22px; flex: none; transition: transform 0.3s var(--ease); }
.qs details[open] summary svg { transform: rotate(45deg); }
.qs details p { padding-bottom: 1.6rem; max-width: 38em; color: var(--ink-2); }
.qs details p a { text-decoration: underline; text-underline-offset: 3px; }

/* Closing block and footer */
.close { position: relative; overflow: hidden; border-radius: clamp(32px, 4vw, 56px); background: var(--p-schedule); color: #fff; padding: clamp(2.25rem, 6vw, 6.5rem); min-height: clamp(420px, 40vw, 620px); display: grid; align-content: center; gap: 1.75rem; }
.close .h1 { max-width: 7.4em; position: relative; z-index: 1; }
.close .btns { position: relative; z-index: 1; }
.close .btn { background: #fff; color: var(--ink); }
.close .btn.alt { background: rgb(10 10 11 / 0.28); color: #fff; }
.close > img { position: absolute; width: min(60%, 760px); max-width: none; right: -9%; top: 50%; transform: translateY(-50%) rotate(14deg); filter: drop-shadow(0 40px 50px rgb(10 10 40 / 0.45)); }
@media (max-width: 859px) { .close { align-content: start; padding-bottom: 330px; } .close > img { width: 430px; right: -70px; top: auto; bottom: -120px; transform: rotate(14deg); } }
.foot { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px)); --line: var(--night-line); }
.stage-logo { display: grid; place-items: center; padding: clamp(3.5rem, 7vw, 6.5rem) 20px clamp(2.5rem, 5vw, 4.5rem); }
.story { --slash: #6d6bf0; display: block; width: min(430px, 86vw); color: #e4e4ea; border-radius: 32px; }
.story svg, .teller-art svg { width: 100%; font-family: var(--sans); }
.story:disabled { cursor: default; }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 3rem; } .foot-brand { grid-column: auto; } }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 1rem; align-content: start; justify-items: start; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot h2 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.foot li a { display: inline-flex; align-items: center; min-height: 34px; color: var(--night-ink-2); font-size: 0.975rem; }
@media (pointer: coarse) { .foot li a { min-height: 44px; } }
.foot li a:hover { color: var(--night-ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-end { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.925rem; color: var(--night-ink-2); }
.foot-end a { display: inline-flex; align-items: center; min-height: 34px; }
.foot-end a:hover { color: var(--night-ink); text-decoration: underline; text-underline-offset: 4px; }

/* Feature and audience pages */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--bar-h) + clamp(3rem, 7vw, 7rem)); }
.page-hero .copy { display: grid; gap: 1.5rem; max-width: 44rem; position: relative; z-index: 1; }
.page-hero .big-plate { position: absolute; width: clamp(300px, 46vw, 760px); max-width: none; right: max(-12vw, -190px); top: clamp(30px, 3vw, 60px); filter: drop-shadow(0 44px 40px rgb(10 10 11 / 0.26)); }
@media (max-width: 859px) { .page-hero .big-plate { position: relative; right: auto; top: auto; width: 320px; margin: 1.5rem -70px -140px auto; display: block; } }
.page-hero .object { width: clamp(280px, 38vw, 620px); right: clamp(-2rem, 1vw, 3rem); top: clamp(60px, 6vw, 96px); filter: drop-shadow(0 34px 34px rgb(10 10 11 / 0.2)); }
.page-hero.short { overflow: visible; overflow-x: clip; min-height: clamp(560px, 50vw, 880px); padding-bottom: clamp(3rem, 6vw, 6rem); }
.page-hero.short .big-plate:not(.object) { width: clamp(300px, 42vw, 740px); }
.page-hero.short .copy { max-width: min(44rem, 56%); }
@media (max-width: 859px) {
  .page-hero.short { min-height: 0; padding-bottom: 0; }
  .page-hero.short .copy { max-width: none; }
  .page-hero .object { position: relative; right: auto; top: auto; width: min(300px, 78vw); margin: 1.5rem auto -20px; display: block; }
  .page-hero.short .object { margin-bottom: 0; }
  .page-hero.short .big-plate:not(.object) { width: 320px; margin: 1.5rem -64px 0 auto; }
}
.page-hero .shot { position: relative; z-index: 2; margin-top: clamp(3rem, 6vw, 6rem); }
.pair { display: grid; gap: 2rem; align-items: center; }
.pair + .pair { margin-top: clamp(5rem, 9vw, 9rem); }
.pair .copy { display: grid; gap: 1rem; justify-items: start; }
.art { min-width: 0; border-radius: 36px; overflow: hidden; background: var(--tone, var(--sheet)); }
.art.phones { display: flex; justify-content: center; gap: clamp(14px, 2vw, 28px); padding: clamp(28px, 4vw, 56px) 20px 0; height: clamp(380px, 40vw, 560px); }
.art.phones .phone { --w: clamp(150px, 19vw, 250px); }
.art.phones .phone:nth-child(2) { margin-top: 48px; }
.art.crop { aspect-ratio: 10 / 8; position: relative; }
.art.crop > div { position: absolute; left: 8%; top: 10%; right: 0; bottom: 0; overflow: hidden; border-top-left-radius: clamp(14px, 1.7vw, 24px); background: var(--paper); box-shadow: 0 30px 70px -20px rgb(10 10 11 / 0.5); }
.art.crop img { position: absolute; width: var(--zoom, 190%); max-width: none; left: var(--x, 0); top: var(--y, 0); }
@media (min-width: 960px) { .pair { grid-template-columns: 5fr 7fr; gap: 5rem; } .pair.flip .copy { order: 2; } .pair.flip { grid-template-columns: 7fr 5fr; } }
.rules { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rules > div { display: grid; gap: 0.4rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.rules dt { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.028em; line-height: 1.2; }
.rules dd { color: var(--ink-2); max-width: 38em; }
@media (min-width: 860px) { .rules > div { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: baseline; } }
.table-scroll { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { position: relative; text-align: left; line-height: 1.3; padding: 1.05rem 0.75rem 1.05rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.cmp thead th { font-weight: 600; color: var(--ink-3); font-size: 0.95rem; }
.cmp td { width: 22%; }
.cmp svg { width: 20px; height: 20px; }
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.next a { display: flex; align-items: center; gap: 1rem; background: var(--card); border-radius: 28px; padding: 1.1rem 1.35rem; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.025em; }
.next img { width: 74px; height: 74px; object-fit: contain; transition: transform 0.7s var(--ease); }
.next a:hover img { transform: rotate(24deg); }
.setup { counter-reset: s; display: grid; gap: 0; }
.setup li { counter-increment: s; display: grid; grid-template-columns: 3.5rem 1fr; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.setup li::before { content: counter(s); font-weight: 700; font-size: 1.95rem; letter-spacing: -0.04em; line-height: 1.12; color: var(--brand); }
.setup h3 { margin-bottom: 0.3rem; }
.setup p { color: var(--ink-2); }

/* Roadmap */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { min-height: 44px; padding: 0 1.1rem; border-radius: 99px; background: var(--card); font-weight: 500; }
.chip[aria-pressed='true'] { background: var(--action); color: var(--on-action); }

/* Help centre */
.help-hero { background: var(--p-team); color: #fff; padding-top: calc(var(--bar-h) + clamp(3rem, 6vw, 6rem)); padding-bottom: clamp(3rem, 6vw, 6rem); position: relative; overflow: hidden; }
.help-hero .wrap { display: grid; gap: 2rem; position: relative; z-index: 1; }
.search { display: flex; align-items: center; gap: 0.9rem; background: #fff; color: var(--ink); border-radius: 99px; min-height: 68px; padding: 0 1.5rem; max-width: 720px; }
.search svg { width: 24px; height: 24px; flex: none; }
.search input { font: 500 1.2rem var(--sans); border: 0; outline: 0; background: none; color: inherit; width: 100%; min-width: 0; }
.search:focus-within { outline: 3px solid #fff; outline-offset: 4px; }
.search input::placeholder { color: var(--ink-3); opacity: 1; }
.start { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 700px) { .start { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1160px) { .start { grid-template-columns: repeat(6, 1fr); } }
.start a { background: var(--card); border-radius: 28px; padding: 1.2rem 1.3rem 1.3rem; display: grid; gap: 1rem; align-content: space-between; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.025em; line-height: 1.2; }
.start a img { width: 100%; max-width: 132px; aspect-ratio: 1; object-fit: contain; transition: transform 0.7s var(--ease); }
.start a:hover img { transform: translateY(-5px) rotate(-5deg) scale(1.04); }
.cats { display: grid; gap: 3rem; }
@media (min-width: 700px) { .cats { grid-template-columns: 1fr 1fr; gap: 3.5rem 4rem; } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat h3 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.35rem; letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.cat { scroll-margin-top: 96px; }
.cat h3 img { width: 52px; height: 52px; object-fit: contain; }
.cat li a { display: flex; align-items: center; min-height: 46px; border-top: 1px solid var(--line); color: var(--ink-2); }
.cat li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.doc { display: grid; gap: 3rem; padding-top: calc(var(--bar-h) + 2.5rem); }
.doc-side { display: none; }
@media (min-width: 1060px) {
  .doc { grid-template-columns: 240px minmax(0, 720px) 1fr; gap: 4.5rem; }
  .doc-side { display: block; position: sticky; top: calc(var(--bar-h) + 2rem); align-self: start; }
}
.side-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
.doc-side a { display: flex; align-items: center; min-height: 40px; padding-inline: 0.85rem; margin-inline: -0.85rem; border-radius: 14px; color: var(--ink-2); font-size: 0.975rem; line-height: 1.25; }
.doc-side a:hover { color: var(--ink); }
.doc-side a[aria-current] { background: var(--card); color: var(--ink); font-weight: 600; }
.doc article { display: grid; gap: 1.5rem; }
.doc .crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; color: var(--ink-3); font-size: 0.95rem; }
.doc .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.doc h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); letter-spacing: -0.045em; line-height: 1.02; }
.doc article h2 { font-size: 1.65rem; letter-spacing: -0.035em; line-height: 1.15; margin-top: 1.75rem; }
.need { background: var(--card); border-radius: 26px; padding: 1.2rem 1.4rem; display: grid; gap: 0.6rem; }
.need div { display: flex; gap: 1rem; }
.need dt { font-weight: 600; flex: 0 0 clamp(3.75rem, 12vw, 8.5rem); }
.need dd { color: var(--ink-2); }
.steps { counter-reset: s; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline; }
.steps li::before { content: counter(s); font-weight: 700; color: var(--brand); font-size: 1.15rem; }
.doc .shot { border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgb(10 10 11 / 0.1); }
.tip { border-left: 0; background: #e2e1fb; color: #25206b; border-radius: 26px; padding: 1.2rem 1.4rem; }


.more { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 1.9em; height: 1.35em; margin-inline: 0.1em; border-radius: 99px; background: var(--control); vertical-align: middle; position: relative; top: -0.08em; }
.more i { width: 3.5px; height: 3.5px; border-radius: 99px; background: var(--ink); }

/* Small helpers */
.sec.flush, .sec-tight.flush { padding-top: 0; }
.night + .sec.flush, .tone + .sec.flush { padding-top: clamp(5rem, 10vw, 10rem); }
.stackable { display: grid; gap: 1.2rem; align-content: start; justify-items: start; }
.gap-b { margin-bottom: 1.5rem; }
.after { margin-top: 1.75rem; }
.swap:not([hidden]) { display: contents; }
.art.object-art, .art.paper-art { display: grid; place-items: center; aspect-ratio: 10 / 8; padding: 6%; }
.art.object-art img { width: 74%; filter: drop-shadow(0 30px 34px rgb(0 0 0 / 0.35)); }
.art.paper-art { align-items: start; padding: 9% 0 0; }
.art.paper-art img { width: 62%; border-radius: 10px; transform: rotate(-3deg); box-shadow: 0 40px 70px -20px rgb(0 0 0 / 0.5); }

/* A window or panel of the web app on its own */
.art.card { display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 4.25rem) clamp(1.25rem, 5vw, 4.25rem); min-height: clamp(320px, 36vw, 520px); }
.art.card img { width: 100%; max-width: 560px; filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.3)); }
.art.card.plain img { border-radius: clamp(14px, 1.7vw, 24px); }
.art.card.tall { grid-auto-flow: column; align-items: start; gap: clamp(14px, 2vw, 28px); height: clamp(400px, 42vw, 600px); padding-bottom: 0; overflow: hidden; }
.art.card.tall img { max-width: 360px; }
.art.card.two img:nth-child(2) { margin-top: 48px; }

/* A stage of phones */
.stage { position: relative; height: clamp(400px, 52vw, 740px); border-radius: clamp(28px, 3.4vw, 48px); overflow: hidden; background: var(--tone); display: flex; justify-content: center; gap: clamp(14px, 3vw, 48px); padding: clamp(32px, 5vw, 76px) 20px 0; }
.stage .phone { --w: clamp(168px, 24vw, 330px); }
.stage .phone:nth-child(even) { margin-top: clamp(30px, 4vw, 62px); }
.stage-paper, .stage-panel { flex: none; width: clamp(180px, 25vw, 350px); }
.stage-paper { transform: rotate(-4deg); margin-top: clamp(20px, 3vw, 44px); }
.stage-paper img { border-radius: 8px; box-shadow: 0 40px 70px -20px rgb(0 0 0 / 0.5); }
.stage-panel img { filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.3)); }
@media (max-width: 699px) { .stage > :nth-child(3) { display: none; } }
.demo-card { border-radius: clamp(28px, 3.4vw, 48px); padding: clamp(1.1rem, 3vw, 3rem); }

/* One object, one idea */
.spot { overflow: clip; }
.page-hero + .spot.night, .page-hero + .spot.tone { margin-top: clamp(4rem, 8vw, 8rem); }
.spot .wrap { display: grid; align-items: center; gap: clamp(1rem, 4vw, 5rem); padding-block: clamp(4rem, 8vw, 8rem); }
.spot.tone { background: var(--tone); color: #fff; }
.spot.tone.ink { color: var(--ink); }
.spot.tone .lead { color: inherit; }
.spot-copy { display: grid; gap: 1.25rem; justify-items: start; position: relative; z-index: 1; }
.spot-art img { width: min(100%, 600px); margin-inline: auto; filter: drop-shadow(0 40px 40px rgb(10 10 11 / 0.24)); }
.spot.night .spot-art img, .spot.tone .spot-art img { filter: drop-shadow(0 40px 46px rgb(0 0 0 / 0.5)); }
.spot.night { position: relative; }
.spot.night .spot-art { position: relative; isolation: isolate; }
.spot.night .spot-art::before { content: ''; position: absolute; inset: -6%; z-index: -1; background: radial-gradient(closest-side, #3a3a43, transparent); }
@media (max-width: 859px) { .spot .wrap { gap: 2.25rem; } .spot-art img { width: min(78vw, 340px); } }
@media (min-width: 860px) {
  .spot .wrap { grid-template-columns: 1fr 1fr; }
  .spot.flip .spot-art { order: 2; }
}
/* Objects drift a little as they pass. Nothing moves on its own. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .float { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { transform: translateY(var(--drift, 34px)) rotate(-5deg); } to { transform: translateY(calc(-1 * var(--drift, 34px))) rotate(5deg); } }
    .role-head .float, .three .float { --drift: 12px; }
    @media (max-width: 859px) { .spot .float { --drift: 14px; } }
  }
}

/* A day, hour by hour */
.day { display: grid; border-top: 1px solid var(--line); }
.day li { display: grid; gap: 0.25rem 2rem; padding-block: clamp(1.4rem, 2.6vw, 2.4rem); border-bottom: 1px solid var(--line); }
.day time { font-weight: 700; font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -0.055em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.day p { color: var(--ink-2); margin-top: 0.3rem; max-width: 34em; }
@media (min-width: 760px) { .day li { grid-template-columns: 4fr 8fr; align-items: center; } }

/* Every part on one bar. Each plate is a picture whose bar runs off its right edge, so they line up into one. */
.loaded { --h: clamp(190px, 25vw, 372px); --w: calc(var(--h) * 0.88); --step: calc(var(--h) * 0.245); --open: calc(var(--h) * 0.4); overflow-x: clip; }
.loaded ul { position: relative; height: var(--h); width: calc(var(--step) * (var(--n) - 1) + var(--w)); margin-inline: auto; }
.loaded ul::before { content: ''; position: absolute; left: -100vw; width: calc(100vw + 100% + 100vw); top: 0; height: 100%; background: url('load-sleeve-d4996f4c.webp') 0 50% / auto 100% repeat-x; }
.loaded li { position: absolute; left: calc(var(--i) * var(--step)); top: 0; width: var(--w); height: var(--h); transition: transform 0.7s var(--ease); transition-delay: 0s; pointer-events: none; }
.loaded a { display: block; width: 100%; height: 100%; }
/* Only the part of a plate you can see is pressed: its own strip, and the whole of the last one. */
.loaded a::before { content: ''; position: absolute; left: 12%; top: 4%; bottom: 4%; width: calc(var(--step) + 1px); pointer-events: auto; }
.loaded li:last-child a::before { width: 74%; }
.loaded img { width: 100%; height: 100%; filter: drop-shadow(-10px 6px 10px rgb(10 10 11 / 0.22)); }
.loaded.off li { transform: translateX(110vw); }
.loaded.in li { transition-delay: calc(var(--i) * 75ms); transition-duration: 1s; }
@media (hover: hover) and (min-width: 1000px) {
  .loaded li:hover ~ li, .loaded li:focus-within ~ li { transform: translateX(var(--open)); }
  .loaded li:hover a::before { width: calc(var(--step) + var(--open)); }
}
/* A finger is wider than a plate's edge, so on a phone the bar is only a picture. */
@media (hover: none), (max-width: 999px) { .loaded a::before { display: none; } }
.loaded a:focus-visible { outline: 0; }
.loaded a:focus-visible img { filter: drop-shadow(0 0 0 var(--brand)) drop-shadow(0 0 5px var(--brand)); }
@media (max-width: 999px) { .loaded { --h: clamp(150px, 34vw, 300px); --step: calc((100vw - 40px - var(--w)) / (var(--n) - 1)); } }

/* Three things side by side */
.people { display: grid; gap: 3rem 2rem; }
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); } }
.people li { display: grid; gap: 1.25rem; justify-items: center; text-align: center; }
.people img { width: min(100%, 440px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 26px 26px rgb(10 10 11 / 0.22)); }
.three { display: grid; gap: 3rem 2rem; }
@media (min-width: 800px) { .three { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.three > li { display: grid; gap: 0.6rem; align-content: start; justify-items: start; }
.three > li > img { width: min(100%, 300px); aspect-ratio: 1; object-fit: contain; margin-bottom: 0.75rem; filter: drop-shadow(0 22px 22px rgb(10 10 11 / 0.2)); }
.three p { color: var(--ink-2); }
.three .ticks { margin: 0.25rem 0 0.4rem; color: var(--ink-2); }

/* Keys */
.keys { display: grid; gap: 0.75rem; }
@media (min-width: 760px) { .keys { grid-template-columns: 1fr 1fr; } }
.keys li { display: flex; align-items: center; gap: 0.5rem; background: var(--night-card); border-radius: 28px; padding: 1.25rem 1.5rem; font-weight: 500; font-size: 1.15rem; min-height: 96px; }
.keys span { margin-left: auto; text-align: right; }
kbd { display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 0.85rem; border-radius: 14px; background: #f5f5f7; color: #0a0a0b; font: 600 1.05rem var(--sans); box-shadow: 0 5px 0 #a9a9b4; transform: translateY(-2px); }
@media (max-width: 420px) { .keys li { gap: 0.35rem; padding-inline: 1.1rem; } .keys kbd { min-width: 44px; height: 46px; padding-inline: 0.6rem; } }
.doc kbd { min-width: 32px; height: 30px; padding: 0 0.5rem; border-radius: 8px; font-size: 0.875rem; background: #fff; box-shadow: 0 2px 0 #c3c3ca; transform: translateY(-1px); }

/* The laptop's page */
.hero.desk picture img { object-position: 100% 60%; }
@media (max-width: 979px) { .hero.desk picture { margin-top: 0; } }
@media (min-width: 980px) {
  .hero.desk { background: linear-gradient(#e2e1e8, #e6e6ea 60%, #f0f0f4); }
  .hero.desk .hero-copy { max-width: 31vw; }
  .hero.desk picture img { translate: 7% 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
}
@media (min-width: 980px) { .hero.desk h1 { font-size: clamp(2.7rem, 4.5vw, 5.2rem); max-width: 5.4em; } }
@media (min-width: 1480px) { .hero.desk picture img { translate: 5% 0; } }
@media (min-width: 1800px) { .hero.desk .hero-copy { max-width: 540px; } }

/* Roadmap */
.coming { display: grid; gap: 1rem; }
@media (min-width: 760px) { .coming { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.coming li { position: relative; overflow: hidden; min-height: clamp(380px, 36vw, 520px); border-radius: clamp(28px, 3vw, 44px); padding: clamp(1.5rem, 2.8vw, 2.75rem); background: var(--tone); color: #fff; display: grid; align-content: start; }
.coming li.ink { color: var(--ink); }
.coming li > div { display: grid; gap: 0.6rem; max-width: 22rem; position: relative; z-index: 1; }
.coming .h3 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); letter-spacing: -0.038em; line-height: 1.04; }
.coming p { font-size: 1.0625rem; line-height: 1.4; max-width: 20rem; }
.coming img { position: absolute; width: clamp(230px, 25vw, 360px); right: -4%; bottom: -7%; filter: drop-shadow(0 26px 30px rgb(0 0 0 / 0.4)); }
.coming .tag { background: rgb(10 10 11 / 0.26); color: #fff; }
.coming .ink .tag { background: rgb(10 10 11 / 0.12); color: var(--ink); }
/* The one that comes first is as wide as two, with its picture beside its words. */
@media (min-width: 760px) {
  .coming .wide { grid-column: 1 / -1; align-content: center; min-height: clamp(400px, 37vw, 560px); padding-left: clamp(2rem, 6vw, 6rem); }
  .coming .wide > div { max-width: 46%; }
  .coming .wide .h3 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
  .coming .wide p { font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
  .coming .wide img { --drift: 10px; width: clamp(300px, 32.5vw, 490px); right: 9%; bottom: auto; top: 50%; translate: 0 -50%; }
}
@media (min-width: 1180px) { .coming.links { grid-template-columns: repeat(3, 1fr); } .coming.links li { min-height: clamp(400px, 33vw, 480px); } .coming.links img { width: clamp(230px, 21vw, 300px); } }
.coming.links img { transition: transform 0.8s var(--ease); }
.coming.links li:hover img { transform: translateY(-10px) rotate(-5deg); }
.coming.links a::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: clamp(28px, 3vw, 44px); }
.coming.links li > div { position: static; }
.coming.links h3, .coming.links p { position: relative; z-index: 1; }
.coming.links h3 { position: static; }
.coming.links a:focus-visible { outline: 0; }
.coming.links a:focus-visible::after { outline: 3px solid var(--brand); outline-offset: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.3rem; }
.onbar, .news { border-top: 1px solid var(--line); }
.onbar li { display: grid; gap: 0.35rem 2rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.onbar time { color: var(--ink-3); }
.onbar h3 { font-size: 1.3rem; letter-spacing: -0.028em; line-height: 1.2; }
.onbar p { color: var(--ink-2); margin: 0.2rem 0 0.35rem; }
@media (min-width: 760px) { .onbar li { grid-template-columns: 3fr 9fr; } }
.ask-us { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .ask-us { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: start; } .ask-us > :only-child { grid-column: 1 / -1; } }
.note-card { background: var(--card); border-radius: 32px; padding: clamp(1.4rem, 2.4vw, 2rem); display: grid; gap: 0.5rem; }
.note-card h3 { font-size: 1.2rem; letter-spacing: -0.025em; }
.note-card p { color: var(--ink-2); }

/* What's new */
.news > li { display: grid; gap: 1rem 2rem; padding-block: clamp(2rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.news-when { display: flex; flex-wrap: wrap; align-items: center; align-content: start; gap: 0.75rem; color: var(--ink-3); }
.news-what { display: grid; gap: 1rem; min-width: 0; }
.news-what .stage { height: clamp(300px, 30vw, 430px); margin-top: 0.75rem; }
.news-what .stage .phone { --w: clamp(140px, 15vw, 210px); }
.news-what .window { margin-top: 0.75rem; }
.dots li { color: var(--ink-2); padding-left: 1.2rem; position: relative; }
.dots li + li { margin-top: 0.4rem; }
.dots li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 99px; background: var(--brand); }
@media (min-width: 860px) { .news > li { grid-template-columns: 3fr 9fr; } .news-when { flex-direction: column; align-items: flex-start; } }

/* Getting started */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; }
a.chip { display: inline-flex; align-items: center; }
.chip { transition: background-color 0.2s; }
.chip:not([aria-pressed='true']):hover { background: #fafafa; }
.role .wrap { display: grid; gap: 2rem; }
.role + .role .wrap { border-top: 0; }
.role-head { display: grid; gap: 2.25rem; align-content: start; }
.role-head img { width: min(60vw, 260px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 22px 22px rgb(10 10 11 / 0.2)); }
.role .setup a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .role .wrap { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.night .setup p { color: var(--night-ink-2); }
.night .setup { --line: var(--night-line); }
.night .setup li::before { color: #a5a3ff; }

/* Searching */
.help-hero { min-height: clamp(400px, 34vw, 560px); display: grid; align-content: center; }
.help-hero.ask { background: var(--p-hours); }
.help-hero p { min-height: 1.5em; }
.hero-plate { position: absolute; width: clamp(280px, 35vw, 600px); max-width: none; right: max(-5vw, -80px); top: calc(var(--bar-h) + 1.25rem); filter: drop-shadow(0 34px 40px rgb(0 0 0 / 0.4)); }
@media (max-width: 899px) { .hero-plate { width: 260px; right: -96px; top: auto; bottom: -110px; } .help-hero { padding-bottom: 9.5rem; } }
.q-group { display: grid; gap: 0.75rem; padding-block: 1.75rem; }
.q-group h2 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (min-width: 960px) { .q-group { grid-template-columns: 4fr 8fr; gap: 3rem; } }
.lead a, .sec .q-group + p a { text-decoration: underline; text-underline-offset: 4px; }

/* Guides */
.doc { padding-bottom: clamp(4rem, 8vw, 7rem); }
.doc-toc { display: none; }
@media (min-width: 1280px) {
  .doc { grid-template-columns: 230px minmax(0, 720px) minmax(170px, 1fr); }
  .doc-toc { display: block; position: sticky; top: calc(var(--bar-h) + 2rem); align-self: start; }
}
.doc-toc a { display: flex; align-items: center; min-height: 36px; padding-block: 0.4rem; color: var(--ink-3); font-size: 0.95rem; line-height: 1.25; }
.doc-toc a:hover { color: var(--ink); }
.doc article { min-width: 0; align-content: start; }
.doc article p { max-width: 42em; }
.doc article > p a, .doc .steps a, .doc .tip a, .doc-end a { text-decoration: underline; text-underline-offset: 3px; }
.doc .need { margin: 0; }
.doc .crumbs a { display: inline-flex; align-items: center; min-height: 28px; }
.doc .shot { width: 100%; background: var(--card); }
.doc-phone { display: grid; place-items: center; background: var(--control); border-radius: 32px; padding: 2rem 1rem; }
.doc-phone .phone { --w: 240px; align-self: auto; }
.related { display: grid; gap: 0; margin-top: -0.75rem; }
.doc-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 1rem; color: var(--ink-3); font-size: 0.975rem; }
.doc-next { display: grid; gap: 0.15rem; background: var(--card); border-radius: 28px; padding: 1.2rem 1.5rem; font-size: 1.2rem; letter-spacing: -0.025em; }
.doc-next span { font-size: 0.925rem; color: var(--ink-3); letter-spacing: -0.01em; }
.doc-next:hover b { text-decoration: underline; text-underline-offset: 4px; }
.next.plain a { justify-content: center; text-align: center; min-height: 84px; }

/* The logo's story, told step by step */
.teller { display: grid; gap: clamp(1.5rem, 4vw, 3rem); justify-items: center; }
.teller-art { --slash: #6d6bf0; width: min(760px, 100%); color: #e4e4ea; }
.teller-ui { width: min(900px, 100%); display: grid; gap: 1.5rem; }
.teller input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: none; cursor: pointer; }
.teller input::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: #7a7a85; }
.teller input::-moz-range-track { height: 6px; border-radius: 99px; background: #7a7a85; }
.teller input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 99px; background: #fff; }
.teller input::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 99px; background: #fff; }
.teller-steps { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.night .chip { background: var(--night-card); color: var(--night-ink); }
.night .chip:not([aria-pressed='true']):hover { background: #2e2e35; }
.night .chip[aria-pressed='true'] { background: var(--night-ink); color: var(--action); }
.teller-play { display: inline-flex; align-items: center; gap: 0.5rem; }
.teller-play svg { width: 17px; height: 17px; }

/* Nothing on this bar */
.bar.empty .btn.alt { background: var(--night-card); color: var(--night-ink); }
.bar.empty .btn.alt:hover { background: #2e2e35; }
@media (max-width: 859px) { .bar.empty { min-height: 78svh; display: grid; align-content: space-between; } .bar.empty picture img { aspect-ratio: 1; object-fit: cover; object-position: 62% 100%; } }

/* Going from one page to the next: the page fades, and a plate you pressed grows into the new page's own. */
.big-plate:not(.object) { view-transition-name: part; }
::view-transition-group(part) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.slide { transition: transform 0.9s var(--ease); }
.slide.wait { transform: translateY(44px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .slide.wait { transform: none; }
  .plate-item:hover img, .mega-item:hover img, .mega.who .mega-item:hover img, .next a:hover img, .coming.links li:hover img, .start a:hover img, .loaded.off li { transform: none; }
}
