/* StartList marketing site. Shared by every page in web/. */
/* DM Sans + DM Mono, self-hosted (SIL Open Font License). Latin + Latin Extended. */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-400-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-400-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #121015;
  --ink-2: #5C5952;
  --ink-3: #6F6B63;
  --ink-secondary: #5C5952;
  --ink-tertiary: #6F6B63;
  --paper: #FFFFFF;
  --off: #F6F5F1;
  --bg: #F6F5F1;
  --line: #E6E3DC;
  --border: #E6E3DC;
  --night: #0E0B12;
  --purple: #6B2FA0;
  --purple-deep: #4A1D75;
  --purple-bright: #B48AE0;
  --purple-soft: #F3EAFA;
  --teal: #2EC4A0;
  --teal-soft: #E4F9F3;
  --pink: #E8457A;
  --pink-soft: #FDE8EF;
  --going: #2D8A56;
  --going-soft: #E4F5EB;
  --maybe: #C6880E;
  --maybe-soft: #FFF6E0;
  --surface: #FFFFFF;
  --surface-alt: #F0EDE7;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --gutter: 48px;
  --nav-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { display: block; }
::selection { background: rgba(107,47,160,0.2); }
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.display { font-family: var(--sans); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-size: clamp(38px, 4.4vw, 60px); }
.h2 em, .display em { font-style: normal; color: var(--purple); }
.label {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px;
}
.label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.label--light { color: rgba(255,255,255,0.72); }
.label--light::before { background: var(--purple-bright); }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 560px; }
.num { font-family: var(--mono); font-size: 13px; color: var(--purple); letter-spacing: 0.06em; }

/* Buttons: square, mono caps */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 17px 26px; border: 1px solid transparent; border-radius: 0; background: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.btn svg { width: 14px; height: 14px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--purple-soft); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--purple); }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--accent { background: var(--purple); color: #fff; }
.btn--accent:hover { background: #7D3BB8; }
.btn--sm { padding: 12px 18px; font-size: 12px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand span b { color: var(--purple); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  position: relative; text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  padding: 6px 0; transition: color 0.2s;
}
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-links a.btn { padding: 12px 18px; color: #fff; font-size: 12px; }
.nav-links a.btn::after { display: none; }
.footer .brand span { font-family: var(--sans); font-size: 19px; letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: 0 28px; gap: 6px; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a.mm-link { text-decoration: none; font-weight: 800; font-size: 44px; letter-spacing: -0.04em; line-height: 1.2; }
.mobile-menu a.mm-link span { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--purple-bright); letter-spacing: 0.1em; margin-right: 14px; vertical-align: middle; }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.mm-close { position: absolute; top: 22px; right: 22px; background: none; border: none; cursor: pointer; }

/* ── Hero ── */
.hero { position: relative; height: calc(100svh - var(--nav-h)); min-height: 680px; max-height: 1000px; background: var(--night); overflow: hidden; color: #fff; }
.hero-stage {
  position: absolute; top: 9%; right: -9%; width: 70%; max-width: 1100px;
  transform: perspective(2000px) rotateY(-16deg) rotateX(7deg) rotateZ(1deg) translateY(var(--sy, 0px));
  transform-origin: 70% 50%;
  animation: stageIn 1.6s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}
@keyframes stageIn { from { opacity: 0; transform: perspective(2000px) rotateY(-24deg) rotateX(10deg) translateY(60px) scale(0.96); } }
.hero-stage .preview-window { box-shadow: 0 60px 140px rgba(0,0,0,0.6); border-radius: 14px; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(14,11,18,0.92) 30%, rgba(14,11,18,0.35) 62%, rgba(14,11,18,0.05) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(14,11,18,0) 42%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.18; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.hero-glow { position: absolute; width: 900px; height: 900px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(107,47,160,0.45), transparent); pointer-events: none; }
.hero-content { position: absolute; left: 0; right: 0; bottom: 96px; }
.hero h1 { font-size: clamp(60px, 8.6vw, 136px); max-width: 9.5ch; margin-bottom: 26px; }
.hero h1 em { color: var(--purple-bright); }
.hero .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero .line > span { display: block; transform: translateY(105%); animation: lineUp 1.1s cubic-bezier(0.16,1,0.3,1) forwards; animation-delay: calc(var(--l) * 120ms + 250ms); }
@keyframes lineUp { to { transform: none; } }
.hero-sub { font-size: 20px; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 470px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.fade-in { animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.hero-foot .wrap { display: flex; justify-content: space-between; align-items: center; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.scroll-cue i { display: block; width: 1px; height: 28px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: cue 1.8s cubic-bezier(0.65,0,0.35,1) infinite; }
@keyframes cue { to { top: 100%; } }

/* Live toasts over the stage */
.toasts { position: absolute; right: 7%; bottom: 120px; z-index: 4; width: 310px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px; background: rgba(255,255,255,0.96); color: var(--ink);
  border-radius: 4px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); font-size: 14px; line-height: 1.3;
  animation: toastIn 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.toast.is-leaving { animation: toastOut 0.45s ease-in both; }
.toast small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-2); margin-top: 3px; text-transform: uppercase; }
.toast-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.toast-ic svg { width: 18px; height: 18px; }
.toast-ic--go { background: var(--going); }
.toast-ic--new { background: var(--purple); }
.toast-ic--win { background: #D99A1E; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }
.cal-chip-cnt b.bump { display: inline-block; animation: bump 0.6s cubic-bezier(0.34,1.56,0.64,1); color: var(--going); }
@keyframes bump { 40% { transform: scale(1.7); } }
.cal-mini.is-new { animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both; background: var(--going) !important; color: #fff !important; }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.cal-chip.is-pulse { animation: chipPulse 1.2s ease-out; }
@keyframes chipPulse { 0% { box-shadow: 0 0 0 0 rgba(45,138,86,0.55); } 100% { box-shadow: 0 0 0 10px rgba(45,138,86,0); } }

/* ── Marquee band ── */
.band { background: var(--night); border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; overflow: hidden; }
.marquee { display: flex; overflow: hidden; }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; list-style: none; animation: marquee 42s linear infinite; }
.marquee-track li { display: flex; align-items: center; white-space: nowrap; font-family: var(--mono); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.marquee-track li::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--purple-bright); margin: 0 32px; }
.band:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ── Intro columns ── */
.intro { padding: 120px 0; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.col { padding: 44px 36px 48px; border-left: 1px solid var(--line); }
.col:first-child { border-left: none; padding-left: 0; }
.col h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 10px; }
.col p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ── Why (split) ── */
.why { padding: 0 0 140px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; background: var(--night); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.portrait::before { content: ''; position: absolute; width: 140%; height: 70%; left: -20%; bottom: -20%; background: radial-gradient(closest-side, rgba(107,47,160,0.55), transparent); }
.portrait .phone { transform: scale(0.82) rotate(-4deg); }
.portrait-cap { position: absolute; left: 20px; bottom: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.split-copy .h2 { margin-bottom: 30px; max-width: 14ch; }
.split-copy p { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin-bottom: 18px; max-width: 600px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.stat { padding: 22px 40px 0 0; margin-right: 40px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* ── Numbered rows (features, FAQ) ── */
.section-off { background: var(--off); }
.rows-section { padding: 128px 0; }
.rows-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.rows-head .lede { max-width: 420px; }
.rows { list-style: none; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.25fr) 40px; align-items: center; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--line); position: relative;
  transition: padding 0.35s cubic-bezier(0.16,1,0.3,1);
}
.row::before { content: ''; position: absolute; inset: 0 calc(var(--gutter) * -0.5); background: var(--paper); opacity: 0; transition: opacity 0.3s; z-index: 0; }
.row > * { position: relative; z-index: 1; }
.row h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), color 0.2s; }
.row p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.row .arrow { justify-self: end; width: 18px; height: 18px; color: var(--purple); opacity: 0; transform: translateX(-10px); transition: opacity 0.3s, transform 0.3s; }
.row:hover::before { opacity: 1; }
.row:hover h3 { transform: translateX(10px); color: var(--purple); }
.row:hover .arrow { opacity: 1; transform: none; }
.tag { display: inline-block; margin-left: 10px; vertical-align: middle; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); border: 1px solid currentColor; padding: 2px 7px; }

/* ── Story (sticky phone) ── */
.story { padding: 128px 0 40px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 24px; }
.story-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: 0.28; transition: opacity 0.5s; }
.story-step.is-active { opacity: 1; }
.story-step:first-child { min-height: 52vh; }
.story-step .num { margin-bottom: 18px; }
.story-step h3 { font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; font-size: clamp(44px, 5vw, 72px); margin-bottom: 20px; }
.story-step p { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 460px; }
.story-stage { position: sticky; top: calc(var(--nav-h) + 4vh); display: flex; flex-direction: column; align-items: center; gap: 22px; padding-bottom: 6vh; }
.story-canvas { width: 100%; background: var(--night); display: flex; justify-content: center; padding: 48px 0; position: relative; overflow: hidden; }
.story-canvas::before { content: ''; position: absolute; width: 120%; height: 80%; left: -10%; bottom: -30%; background: radial-gradient(closest-side, rgba(107,47,160,0.55), transparent); }
.story-cap { align-self: flex-start; display: flex; gap: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.story-cap button { font: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: none; cursor: pointer; color: var(--ink-3); padding: 4px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.story-cap button.is-active { color: var(--ink); border-bottom-color: var(--purple); }

/* ── Showcase (portfolio grid) ── */
.showcase { padding: 128px 0; }
.tile-media { position: relative; background: var(--night); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tile-media::before { content: ''; position: absolute; width: 80%; height: 120%; right: -20%; bottom: -50%; background: radial-gradient(closest-side, rgba(232,69,122,0.28), transparent); transition: transform 1.2s cubic-bezier(0.16,1,0.3,1); }
.tile-media::after { content: ''; position: absolute; width: 80%; height: 120%; left: -25%; top: -50%; background: radial-gradient(closest-side, rgba(107,47,160,0.5), transparent); transition: transform 1.2s cubic-bezier(0.16,1,0.3,1); }
.tile:hover .tile-media::before { transform: translate(-60px, -40px); }
.tile:hover .tile-media::after { transform: translate(60px, 40px); }
.tile-media > * { position: relative; z-index: 1; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.tile:hover .tile-media > * { transform: scale(1.03); }
.tile-media .media-tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.tile:hover .tile-media .media-tag { transform: none; }
.tile-meta { padding-top: 18px; }
.tile-meta h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 4px; }
.tile-meta p { font-size: 15px; color: var(--ink-2); }
.tile--wide .tile-media { aspect-ratio: 16 / 7; gap: 32px; padding: 40px; }
.tile--wide .mock-card { width: 400px; flex-shrink: 0; }
.tiles-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.tiles-3 .tile-media { aspect-ratio: 4 / 5; padding: 28px; }
.showcase-foot { display: flex; justify-content: center; margin-top: 56px; }

/* Mock card (shared) */
.mock-card { position: relative; background: var(--surface); border-radius: 6px; padding: 20px; box-shadow: 0 30px 70px rgba(0,0,0,0.45); font-size: 15px; text-align: left; }
.mock-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mock-cat { width: 6px; height: 36px; border-radius: 2px; flex-shrink: 0; }
.mock-title { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.mock-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.mock-count { margin-left: auto; font-size: 14px; color: var(--ink-2); }
.mock-count b { color: var(--ink); font-size: 20px; }
.mock-bar { display: flex; height: 4px; background: var(--surface-alt); overflow: hidden; margin-bottom: 12px; }
.mock-bar i { display: block; height: 100%; width: 0; transition: width 1.2s cubic-bezier(0.16,1,0.3,1) 0.5s; }
.bar-go { background: var(--going); }
.bar-maybe { background: var(--maybe); }
.is-visible .bar-go { width: var(--go, 44%); }
.is-visible .bar-maybe { width: var(--mb, 11%); }
.mock-riders, .mock-results { list-style: none; }
.mock-riders li, .mock-results li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateX(-12px); }
.is-visible .mock-riders li, .is-visible .mock-results li { animation: slideRow 0.6s cubic-bezier(0.16,1,0.3,1) forwards; animation-delay: calc(var(--i) * 100ms + 300ms); }
@keyframes slideRow { to { opacity: 1; transform: none; } }
.mock-av { width: 28px; height: 28px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mock-pill { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; transition: background 0.35s, color 0.35s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.mock-pill--go, .mock-pill.is-flipped { background: var(--going-soft); color: #1F6B41; }
.mock-pill--maybe { background: var(--maybe-soft); color: #8A5A00; }
.mock-pill.is-flipped { transform: scale(1.1); }
.mock-riders li.mock-riders-more { color: #8A5A00; background: var(--maybe-soft); border: none; padding: 9px 12px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.mock-pos { width: 26px; height: 26px; background: var(--surface-alt); font-family: var(--mono); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; overflow: hidden; }
.mock-pos--1 { background: #F5D76E; } .mock-pos--2 { background: #DADDE2; } .mock-pos--3 { background: #E8B98A; }
.mock-pos--1::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.9) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s ease-in-out 1.5s infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.mock-results li.is-team { background: var(--purple-soft); margin: 0 -10px; padding: 8px 10px; border-top-color: transparent; font-weight: 700; }
.mock-team { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); }
.mock-time { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--ink-2); font-weight: 400; }
.js-count.bump { display: inline-block; animation: bump 0.6s cubic-bezier(0.34,1.56,0.64,1); color: var(--going); }

/* IG story card + pushes + weeks */
.ig { width: 62%; aspect-ratio: 9 / 16; padding: 18px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(165deg, #E8457A, #6B2FA0 58%, #1A0A2E); box-shadow: 0 30px 60px rgba(0,0,0,0.5); transform: rotate(-5deg); }
.tile:hover .ig { transform: rotate(2deg) scale(1.04); }
.ig small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.ig b { font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 0.95; margin: 6px 0 12px; }
.ig ul { list-style: none; font-family: var(--mono); font-size: 11px; line-height: 1.8; opacity: 0.9; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 8px; }
.pushes { position: relative; width: 100%; height: 190px; }
.mini-push { position: absolute; left: 0; right: 0; top: 0; background: rgba(255,255,255,0.97); padding: 12px 14px; font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 16px 40px rgba(0,0,0,0.4); animation: pushCycle 7.5s cubic-bezier(0.16,1,0.3,1) infinite; animation-delay: calc(var(--i) * 2.5s); opacity: 0; }
.mini-push img { width: 26px; height: 26px; border-radius: 6px; }
.mini-push b { display: block; color: var(--ink); font-size: 14px; }
@keyframes pushCycle { 0% { opacity: 0; transform: translateY(-16px) scale(0.96); } 8%, 33% { opacity: 1; transform: none; } 40%, 66% { opacity: 0.5; transform: translateY(72px) scale(0.94); } 75%, 100% { opacity: 0; transform: translateY(120px) scale(0.9); } }
.weeks { width: 100%; display: grid; gap: 14px; color: #fff; }
.week { display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.week span { color: rgba(255,255,255,0.6); }
.week b { text-align: right; font-weight: 500; }
.week i { position: relative; height: 10px; background: rgba(255,255,255,0.1); overflow: hidden; }
.week i::before, .week i::after { content: ''; position: absolute; top: 0; bottom: 0; width: 0; transition: width 1.3s cubic-bezier(0.16,1,0.3,1); }
.week i::before { left: 0; background: #3FB673; }
.week i::after { left: var(--go); background: #E0A526; }
.is-visible .week i::before { width: var(--go); }
.is-visible .week i::after { width: var(--mb); transition-delay: 0.9s; }
.week:nth-child(2) i::before { transition-delay: 0.1s; } .week:nth-child(3) i::before { transition-delay: 0.2s; } .week:nth-child(4) i::before { transition-delay: 0.3s; }
.week--warn b { color: #E0A526; }

/* ── Pricing ── */
.pricing { padding: 128px 0; }
.billing-toggle { display: inline-flex; border: 1px solid var(--ink); }
.billing-toggle button { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border: none; background: transparent; color: var(--ink); padding: 12px 18px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save { color: var(--purple-bright); margin-left: 8px; }
.billing-toggle button[aria-pressed="false"] .save { color: var(--purple); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.plan { position: relative; padding: 40px 36px 44px; border-left: 1px solid var(--line); display: flex; flex-direction: column; background: var(--paper); }
.plan:first-child { border-left: none; }
.plan--featured { background: var(--off); }
.plan--featured::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--purple); }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.plan-name { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.plan-badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--purple); padding: 4px 8px; }
.plan-price { font-weight: 800; letter-spacing: -0.05em; font-size: 64px; line-height: 1; }
.plan-price .per { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.plan-price .amt { display: inline-block; }
.plan-price .amt.is-swap { animation: priceSwap 0.45s cubic-bezier(0.16,1,0.3,1); }
@keyframes priceSwap { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.plan-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); margin-top: 12px; min-height: 18px; }
.plan-tagline { font-size: 17px; line-height: 1.5; margin: 22px 0 26px; }
.plan .btn { width: 100%; }
.plan-feats { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.plan-feats li { font-size: 15px; line-height: 1.4; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.plan-feats li::before { content: '+'; font-family: var(--mono); color: var(--purple); }
.plan-feats li.head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.plan-feats li.head::before { content: none; }
.compare { margin-top: 32px; border-top: 1px solid var(--line); }
.compare summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: '+'; font-size: 22px; color: var(--purple); transition: transform 0.3s; }
.compare[open] summary::after { transform: rotate(45deg); }
.table-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.ptable th, .ptable td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.ptable thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.ptable th:first-child, .ptable td:first-child { text-align: left; }
.ptable tr.grp th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple); padding-top: 26px; }
.ptable .hl { background: var(--off); }
.ptable .y { color: var(--purple); font-weight: 700; }
.ptable .n span { display: inline-block; width: 12px; height: 1px; background: #B9B5AC; vertical-align: middle; overflow: hidden; text-indent: 100%; white-space: nowrap; }
.fine { margin-top: 28px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.fine a { color: var(--purple); }

/* ── FAQ ── */
.faq-row { border-bottom: 1px solid var(--line); }
.faq-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 24px; padding: 28px 0; }
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; transition: color 0.2s; }
.faq-row summary:hover h3 { color: var(--purple); }
.faq-row summary::after { content: '+'; justify-self: end; font-size: 26px; color: var(--purple); transition: transform 0.3s; }
.faq-row[open] summary::after { transform: rotate(45deg); }
.faq-row p { padding: 0 0 30px calc(110px + 24px); max-width: 860px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }

/* ── CTA band ── */
.cta { background: var(--night); color: #fff; padding: 140px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 1100px; height: 1100px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(107,47,160,0.4), transparent); }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(48px, 7vw, 112px); max-width: 11ch; margin: 0 auto 24px; }
.cta p { font-size: 19px; color: rgba(255,255,255,0.75); margin-bottom: 38px; }
.cta-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stores { display: flex; gap: 28px; justify-content: center; margin-top: 40px; }
.stores a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.72); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 4px; transition: color 0.2s, border-color 0.2s; }
.stores a:hover { color: #fff; border-color: #fff; }
.stores svg { width: 16px; height: 16px; }

/* ── Footer ── */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer ul { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
.footer a, .footer small { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--purple); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); transition-delay: var(--rd, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.rows .row.reveal { transform: translateY(18px); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: var(--purple); pointer-events: none; }

/* ── Responsive ── */
@media (max-width: 1023px) {
  :root { --gutter: 28px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hero-stage { width: 120%; right: -50%; top: 4%; opacity: 0.7; }
  .hero-shade { background: linear-gradient(0deg, var(--night) 0%, var(--night) 48%, rgba(14,11,18,0.55) 72%, rgba(14,11,18,0.2) 100%); }
  .toasts { display: none; }
  .cols { grid-template-columns: 1fr; }
  .col, .col:first-child { border-left: none; padding: 32px 0; border-top: 1px solid var(--line); }
  .col:first-child { border-top: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .portrait { max-width: 460px; }
  .rows-head { flex-direction: column; align-items: flex-start; }
  .row { grid-template-columns: 64px 1fr; gap: 6px 16px; }
  .row p { grid-column: 2; }
  .row .arrow { display: none; }
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-stage { position: relative; top: 0; order: -1; padding-bottom: 0; }
  .story-step, .story-step:first-child { min-height: 0; display: none; opacity: 1; border-top: none; }
  .story-step.is-active { display: flex; animation: fadeUp 0.5s ease both; }
  .story-cap { align-self: center; }
  .tile--wide .tile-media { aspect-ratio: auto; flex-direction: column; padding: 32px 20px; }
  .tile--wide .mock-card { width: 100%; max-width: 420px; }
  .tiles-3 { grid-template-columns: 1fr; }
  .tiles-3 .tile-media { aspect-ratio: 5 / 4; }
  .ig { width: 34%; }
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: none; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: none; }
  .faq-row summary { grid-template-columns: 48px 1fr 28px; gap: 12px; }
  .faq-row p { padding-left: 60px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --nav-h: 68px; }
  .hero { min-height: 640px; height: calc(100svh - var(--nav-h)); }
  .hero-content { bottom: 84px; }
  .hero h1 { font-size: 58px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-foot .wrap span:first-child { display: none; }
  .intro, .rows-section, .story, .showcase, .pricing { padding: 80px 0; }
  .why { padding-bottom: 80px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding-right: 12px; margin-right: 12px; }
  .stat b { font-size: 30px; }
  .stat span { font-size: 10px; }
  .row h3, .faq-row summary h3 { font-size: 19px; }
  .row { padding: 22px 0; }
  .row p { font-size: 15px; }
  .faq-row p { padding-left: 0; font-size: 16px; }
  .phone { width: 280px; height: 570px; border-radius: 46px; }
  .phone-screen { border-radius: 36px; }
  .screen { padding: 56px 14px 14px; font-size: 13px; }
  .fed-list li { padding: 8px 9px; gap: 8px; }
  .fed-list .date { width: 28px; }
  .fed-list li div b { font-size: 12.5px; }
  .add { padding: 3px 8px; font-size: 11px; }
  .portrait .phone { transform: scale(0.7) rotate(-4deg); }
  .story-canvas { padding: 28px 0; }
  .plan { padding: 32px 22px 36px; }
  .cta { padding: 96px 0; }
  .stores { flex-direction: column; align-items: center; gap: 16px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
  .mini-push { opacity: 1; }
  .mini-push:not(:first-child) { display: none; }
}

/* ── Calendar preview ── */
.preview-window {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2);
  overflow: hidden;
}
.preview-topbar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.preview-dots {
  display: flex;
  gap: 6px;
}
.preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.preview-dot--red { background: #FF6159; }
.preview-dot--yellow { background: #FFBD2E; }
.preview-dot--green { background: #28CA42; }
.preview-url {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  font-size: 12px;
  color: var(--ink-tertiary);
  font-weight: 500;
}
.preview-body {
  display: flex;
  min-height: 320px;
}
.preview-sidebar {
  width: 180px;
  min-width: 180px;
  background: var(--surface-alt);
  padding: 20px 16px;
  border-right: 1px solid var(--border);
}
.preview-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.preview-sidebar-logo-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-sidebar-logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-sidebar-logo-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.preview-sidebar-logo-text span:first-child { color: var(--purple); }
.preview-sidebar-logo-text span:last-child { color: var(--ink); }
.preview-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 2px;
}
.preview-nav-item--active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.preview-nav-item svg { width: 16px; height: 16px; opacity: 0.5; }
.preview-nav-item--active svg { opacity: 0.8; }
.preview-main {
  flex: 1;
  padding: 16px 18px 18px;
  min-width: 0;
}
.preview-main h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--ink);
}

/* ── Calendar mockup ──
   Mirrors the desktop month grid: week gutter with ISO week number and
   coverage bar, wider tinted weekend columns, category-colored race chips
   and success-tinted team-event chips. */
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}
.cal-month {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.cal-toggle {
  display: flex;
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 2px;
  gap: 2px;
}
.cal-toggle span {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-tertiary);
  padding: 4px 10px;
  border-radius: 8px;
}
.cal-toggle span.is-active {
  background: var(--purple-soft);
  color: var(--purple);
}
.cal-new {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--purple);
  border-radius: 8px;
  padding: 5px 10px;
  white-space: nowrap;
}

.cal-grid {
  border: 0.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.cal-row {
  display: grid;
  /* Week gutter + 5 weekdays + 2 wider weekend columns */
  grid-template-columns: 34px repeat(5, 1fr) 1.55fr 1.55fr;
  border-top: 0.5px solid var(--border);
}
.cal-row:first-child { border-top: none; }
.cal-head {
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
}
.cal-head .cal-dow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: var(--ink-tertiary);
  text-align: center;
  padding: 6px 0;
  text-transform: uppercase;
}
.cal-head .cal-dow--we { color: var(--purple); }
.cal-head .cal-gutter { background: var(--surface-alt); }

.cal-gutter {
  background: var(--surface-alt);
  border-right: 1px solid var(--border);
  padding: 7px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cal-wk {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--border);
}
.cal-wknum {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-secondary);
  line-height: 1.1;
}
/* Coverage bar: green = going, amber = maybe, track = remaining */
.cal-cov {
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  display: flex;
  margin-top: 5px;
}
.cal-cov i { display: block; height: 100%; }
.cal-cov .cov-go { background: var(--going); }
.cal-cov .cov-mb { background: #D4A017; }
.cal-covtext {
  font-size: 7px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-top: 2px;
  white-space: nowrap;
}
.cal-attention {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #D4A017;
  margin-top: 3px;
}

.cal-cell {
  border-left: 0.5px solid var(--border);
  padding: 4px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cal-cell--we { background: rgba(107, 47, 160, 0.045); }
.cal-cell--out { background: var(--bg); opacity: 0.5; }
.cal-cell--today { box-shadow: inset 0 2px 0 0 var(--purple); }
.cal-daynum {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  min-height: 15px;
}
.cal-cell--out .cal-daynum { color: var(--ink-tertiary); }
.cal-daynum--today {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.cal-norace {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--border);
}

/* Race chip: category dot + name, own-RSVP stripe on the left edge */
.cal-chip {
  border-radius: 5px;
  padding: 3px 5px;
  border-left: 3px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cal-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(26,26,24,0.08);
}
.cal-chip-top {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.cal-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cal-chip-name {
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-chip-bot {
  display: flex;
  align-items: center;
  gap: 3px;
}
.cal-chip-cnt {
  margin-left: auto;
  font-size: 8px;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
}
.cal-chip-cnt b { font-weight: 700; }
.cal-mini {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  border: 1px solid var(--surface);
  font-size: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -3px;
  flex-shrink: 0;
}
.cal-mini:first-child { margin-left: 0; }
.cal-mini--maybe { opacity: 0.5; }

/* Amber attention state: an upcoming race nobody has replied to */
.cal-chip--attention {
  background: var(--maybe-soft);
  border-left-color: #D4A017;
}
.cal-chip--attention .cal-chip-name { color: #854F0B; }
.cal-attn-row {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  font-weight: 600;
  color: #854F0B;
}

/* Team event chip (training / camp): success-tinted, icon per type */
.cal-chip--event {
  background: var(--going-soft);
  border-left-color: var(--going);
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
.cal-chip--event .cal-chip-name { color: var(--going); }
.cal-chip--event svg { flex-shrink: 0; }
/* Continuation day of a multi-day camp: slim bar, no title */
.cal-chip--cont {
  background: var(--going-soft);
  border-left-color: transparent;
  padding: 2px 5px;
  min-height: 10px;
  border-radius: 5px;
}

/* Legend under the grid */
.cal-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid var(--border);
}
.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 500;
  color: var(--ink-tertiary);
}
.cal-legend i {
  width: 6px; height: 6px;
  border-radius: 2px;
  display: block;
}

/* Chips fade in row by row once the window is live */
.cal-chip, .cal-chip--cont {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-window.is-live .cal-chip,
.preview-window.is-live .cal-chip--cont {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.7s + var(--chip, 0) * 0.07s);
}


/* ── Phone + screens ── */
.phone {
  position: relative; width: 330px; height: 670px; border-radius: 54px; padding: 12px;
  background: linear-gradient(145deg, #2A2236, #0E0A14);
  box-shadow: 0 0 0 2px #3A3046 inset, 0 50px 100px -20px rgba(45,21,80,0.55), 0 30px 60px -30px rgba(0,0,0,0.5);
}
.phone::before {
  content: ''; position: absolute; inset: -60px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(155,89,196,0.35), transparent);
  filter: blur(30px);
}
.phone-island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--bg); }
.screen {
  position: absolute; inset: 0; padding: 62px 18px 18px; opacity: 0; transform: translateY(24px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1); pointer-events: none;
  font-size: 14px;
}
.screen.is-active { opacity: 1; transform: none; }
.scr-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.scr-title { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.scr-action { font-size: 13px; color: var(--purple); font-weight: 600; }
.scr-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-secondary); margin: 18px 0 8px; }
.scr-sub b { color: var(--ink); font-size: 14px; }
.team-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 18px; padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.team-logo { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #6B2FA0, #E8457A); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.team-name { font-weight: 800; font-size: 16px; }
.team-meta { font-size: 12px; color: var(--ink-secondary); }
.invite { margin-top: 12px; background: var(--purple-soft); border-radius: 16px; padding: 12px 14px; }
.invite-label { font-size: 11px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 0.08em; }
.invite-code { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.invite-code span:first-child { font-family: 'DM Mono', monospace; font-size: 22px; letter-spacing: 0.08em; color: var(--purple-deep); }
.invite-copy { background: var(--purple); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.join-list, .fed-list { list-style: none; display: grid; gap: 8px; }
.join-list li, .fed-list li {
  display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 9px 12px;
  opacity: 0; transform: translateY(12px);
}
.screen.is-active .join-list li, .screen.is-active .fed-list li {
  animation: rowIn 0.55s cubic-bezier(0.16,1,0.3,1) forwards; animation-delay: calc(var(--i) * 140ms + 250ms);
}
@keyframes rowIn { to { opacity: 1; transform: none; } }
.join-list em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink-secondary); background: var(--surface-alt); border-radius: 999px; padding: 2px 8px; }
.av-teal { background: var(--teal-soft) !important; color: #137A62 !important; }
.av-amber { background: var(--maybe-soft) !important; color: #8A5A00 !important; }
.av-you { background: var(--going) !important; color: #fff !important; font-size: 9px !important; }
.scr-search { background: var(--surface); border-radius: 12px; padding: 9px 12px; color: var(--ink-secondary); font-size: 13px; margin-bottom: 12px; }
.fed-list .date { display: flex; flex-direction: column; align-items: center; width: 36px; font-size: 9px; font-weight: 700; color: var(--purple); letter-spacing: 0.05em; }
.fed-list .date b { font-size: 17px; color: var(--ink); line-height: 1; }
.fed-list li div { display: flex; flex-direction: column; min-width: 0; }
.fed-list li div b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fed-list small { font-size: 11px; color: var(--ink-secondary); }
.add { margin-left: auto; position: relative; font-size: 12px; font-weight: 700; color: var(--purple); border: 1px solid var(--purple); border-radius: 999px; padding: 4px 10px; white-space: nowrap; overflow: hidden; }
.add.is-added, .add .add-done { background: var(--going-soft); color: #1F6B41; border-color: transparent; }
.add .add-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(100%); }
.screen.is-active .fed-target .add-done { animation: addDone 0.45s cubic-bezier(0.34,1.56,0.64,1) 1.6s forwards; }
.screen.is-active .fed-target { animation: rowIn 0.55s cubic-bezier(0.16,1,0.3,1) 390ms forwards, tapPulse 0.5s ease 1.4s; }
@keyframes addDone { to { opacity: 1; transform: none; } }
@keyframes tapPulse { 50% { transform: scale(0.97); box-shadow: 0 0 0 4px rgba(107,47,160,0.18); } }
.scr-toast {
  position: absolute; left: 18px; right: 18px; bottom: 22px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px;
  font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(20px);
}
.screen.is-active .scr-toast { animation: rowIn 0.5s cubic-bezier(0.16,1,0.3,1) 2s forwards; }
.push {
  display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,0.95); border-radius: 18px; padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12); transform: translateY(-120%); opacity: 0;
}
.screen.is-active .push { animation: pushIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
@keyframes pushIn { to { transform: none; opacity: 1; } }
.push-icon img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.push-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-secondary); }
.push-top b { color: var(--ink); }
.push-body { font-size: 13px; margin-top: 2px; }
.race-hero { margin-top: 16px; border-radius: 20px; padding: 18px; color: #fff; background: linear-gradient(145deg, #2D1550, #6B2FA0 70%, #E8457A); }
.race-cat { display: inline-block; font-size: 11px; font-weight: 700; background: rgba(255,255,255,0.18); border-radius: 999px; padding: 3px 10px; }
.race-name { font-family: 'Instrument Serif', serif; font-size: 36px; line-height: 1.1; margin-top: 10px; }
.race-meta { font-size: 12.5px; opacity: 0.85; }
.rsvp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.rsvp-btn { text-align: center; font-size: 13px; font-weight: 700; border-radius: 12px; padding: 11px 4px; background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.screen.is-active .rsvp-go { animation: rsvpPick 0.5s ease 1.3s forwards; }
@keyframes rsvpPick { 40% { transform: scale(0.94); } 100% { background: var(--going); color: #fff; border-color: var(--going); transform: none; } }
.going-row { display: flex; }
.going-row .mock-av { width: 34px; height: 34px; margin-right: -8px; border: 2px solid var(--bg); font-size: 11px; }
.going-row .av-you { transform: scale(0); }
.screen.is-active .going-row .av-you { animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.8s forwards; }

/* ── Stage profiles (roadbook elevation lines) ── */
.profile { position: absolute; left: 0; right: 0; width: 100%; height: auto; aspect-ratio: 1440 / 170; pointer-events: none; overflow: visible; }
.profile .p-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; }
.profile .p-area { opacity: 0; }
.profile .p-mark line { stroke: rgba(255,255,255,0.35); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.profile .p-mark text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; fill: rgba(255,255,255,0.55); text-anchor: middle; }
.profile .p-finish text { fill: rgba(255,255,255,0.8); }
.profile .p-mark { opacity: 0; }
.profile .p-dot { fill: #fff; filter: drop-shadow(0 0 6px rgba(180,138,224,0.9)); opacity: 0; animation: pFade 0.6s ease 2.4s forwards; }
.profile--hero { bottom: 64px; opacity: 0.75; }
.profile--hero .p-line { animation: pDraw 3.2s cubic-bezier(0.65,0,0.35,1) 0.5s forwards; }
.profile--hero .p-area { animation: pFade 1.4s ease 1.8s forwards; }
.profile--hero .p-mark { animation: pFade 0.6s ease forwards; animation-delay: 2.2s; }
.profile--cta { bottom: 0; opacity: 0.8; }
.cta .wrap { z-index: 1; }
.cta .wrap.is-visible ~ .profile--cta .p-line { animation: pDraw 2.8s cubic-bezier(0.65,0,0.35,1) 0.2s forwards; }
.cta .wrap.is-visible ~ .profile--cta .p-area { animation: pFade 1.2s ease 1.4s forwards; }
.cta .wrap.is-visible ~ .profile--cta .p-mark { animation: pFade 0.6s ease 1.8s forwards; }
@keyframes pDraw { to { stroke-dashoffset: 0; } }
@keyframes pFade { to { opacity: 1; } }

/* Race-day KM markers next to section labels */
.label .km { color: var(--ink-3); margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.label--light .km { color: rgba(255,255,255,0.5); border-left-color: rgba(255,255,255,0.2); }

@media (max-width: 640px) {
  .profile--hero { bottom: 52px; opacity: 0.6; }
  .profile .p-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .profile .p-line { stroke-dashoffset: 0; }
  .profile .p-area, .profile .p-mark { opacity: 1; }
  .profile .p-dot { display: none; }
}
/* Keep the hero profile clear of the headline column; leave room above the CTA profile */
.profile--hero { -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 52%); mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 52%); }
.profile .p-finish text { text-anchor: end; }
.cta { padding-bottom: calc(12vw + 72px); }
@media (max-width: 1023px) {
  .profile--hero { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) { .profile--hero { bottom: 6px; opacity: 0.5; } }
.nav-links a.lang { color: var(--ink); border: 1px solid var(--line); padding: 5px 8px; }
.nav-links a.lang::after { display: none; }
.nav-links a.lang:hover { border-color: var(--ink); }

/* ── Document pages (terms, privacy, delete account) ── */
.doc { padding: 96px 0 128px; }
.doc-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 96px; align-items: start; }
.doc-side { position: sticky; top: calc(var(--nav-h) + 40px); }
.doc-title, .doc-h1 { font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; font-size: clamp(40px, 4.4vw, 60px); margin-bottom: 14px; }
.doc-updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 36px; }
.doc-toc ol { list-style: none; border-top: 1px solid var(--line); counter-reset: toc; }
.doc-toc li { border-bottom: 1px solid var(--line); }
.doc-toc a { display: block; padding: 11px 0; font-size: 15px; color: var(--ink-2); text-decoration: none; transition: color 0.2s, padding 0.25s; }
.doc-toc a:hover, .doc-toc a.is-current { color: var(--purple); padding-left: 8px; }
.doc-body { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.doc-body h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.2; margin: 56px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 28px 0 8px; }
.doc-body p { margin-bottom: 16px; }
.doc-body ul, .doc-body ol { margin: 0 0 18px; padding-left: 22px; }
.doc-body li { margin-bottom: 8px; }
.doc-body li::marker { color: var(--purple); }
.doc-body strong { color: var(--ink); }
.doc-body a { color: var(--purple); }

/* ── Changelog ── */
.cl-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.cl-stats .stat { padding: 26px 0 24px 28px; margin: 0; border-left: 1px solid var(--line); border-right: none; }
.cl-stats .stat:first-child { border-left: none; padding-left: 0; }
.cl-tools { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.cl-search { font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); background: var(--paper); min-width: 280px; border-radius: 0; color: var(--ink); }
.cl-search:focus { outline: none; border-color: var(--ink); }
.cl-release { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.cl-head { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 6px; }
.cl-version { font-weight: 800; font-size: 34px; letter-spacing: -0.04em; line-height: 1; }
.cl-date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.cl-entries { list-style: none; }
.cl-entry { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cl-entry:last-child { border-bottom: none; }
.cl-entry strong { color: var(--ink); }
.cl-tag { align-self: start; justify-self: start; margin-top: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; }
.cl-tag--new { color: var(--purple); }
.cl-tag--improved { color: #1F6B41; }
.cl-tag--fix { color: #8A5A00; }
.cl-entry[hidden], .cl-release[hidden] { display: none; }
.cl-empty { padding: 40px 0; color: var(--ink-2); }

@media (max-width: 1023px) {
  .doc { padding: 56px 0 96px; }
  .doc-grid { grid-template-columns: 1fr; gap: 40px; }
  .doc-side { position: static; }
  .cl-stats { grid-template-columns: repeat(2, 1fr); }
  .cl-stats .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .cl-stats .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cl-release { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .cl-head { position: static; flex-direction: row; align-items: baseline; gap: 14px; }
  .cl-entry { grid-template-columns: 1fr; gap: 6px; }
  .cl-search { min-width: 0; width: 100%; }
}

/* Sub-page hero: same dark stage, no product shot */
.hero--sub { height: auto; min-height: 0; max-height: none; padding: 140px 0 120px; }
.hero--sub .hero-content { position: relative; bottom: auto; }
.hero--sub h1 { max-width: 14ch; }
@media (max-width: 640px) { .hero--sub { padding: 88px 0 72px; } }

/* ── Accessibility ── */
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.hero :focus-visible, .cta :focus-visible, .band :focus-visible, .mobile-menu :focus-visible, .tile-media :focus-visible { outline-color: var(--purple-bright); }

/* ── Sticky mobile CTA (home only) ── */
.mcta { display: none; }
@media (max-width: 640px) {
  .mcta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  }
  .mcta.is-on { transform: none; }
  .mcta .btn { width: 100%; }
}

/* ── 404 ── */
.hero--lost { min-height: 100svh; display: flex; align-items: center; padding-bottom: 200px; }
.hero--lost .hero-content { width: 100%; }
.profile--lost { bottom: 0; opacity: 0.6; }
.profile--lost .p-line { animation: pDraw 3s cubic-bezier(0.65,0,0.35,1) 0.3s forwards; }
.profile--lost .p-area { animation: pFade 1.2s ease 1.4s forwards; }
.profile--lost .p-mark { display: none; }
.lost-pin { position: absolute; right: 14%; bottom: calc(12vw + 70px); display: flex; flex-direction: column; align-items: center; gap: 8px; animation: pinDrift 6s ease-in-out infinite alternate, pFade 0.6s ease 2s both; }
.lost-pin span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--pink); padding: 5px 10px; }
.lost-pin::after { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 6px rgba(232,69,122,0.25), 0 0 30px rgba(232,69,122,0.8); }
@keyframes pinDrift { to { transform: translate(-40px, -30px); } }
@media (max-width: 640px) { .lost-pin { right: 10%; bottom: 140px; } .hero--lost { padding-bottom: 180px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Roles (dark, tabbed) ── */
.roles { background: var(--night); color: #fff; padding: 128px 0; position: relative; overflow: hidden; }
.roles::before { content: ''; position: absolute; width: 900px; height: 900px; left: -300px; bottom: -500px; border-radius: 50%; background: radial-gradient(closest-side, rgba(107,47,160,0.4), transparent); }
.roles .wrap { position: relative; }
.roles .lede { color: rgba(255,255,255,0.72); }
.roles-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.role-tabs { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.14); }
.role-tab {
  display: flex; align-items: center; gap: 24px; text-align: left; background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.5); font: inherit; font-weight: 800; font-size: 30px; letter-spacing: -0.04em; padding: 22px 0; cursor: pointer; position: relative;
  transition: color 0.25s, padding 0.35s cubic-bezier(0.16,1,0.3,1);
}
.role-tab .num { color: rgba(255,255,255,0.4); width: 48px; }
.role-tab::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--purple-bright); transition: width 0.5s cubic-bezier(0.16,1,0.3,1); }
.role-tab:hover { color: rgba(255,255,255,0.85); }
.role-tab.is-active { color: #fff; padding-left: 12px; }
.role-tab.is-active .num { color: var(--purple-bright); }
.role-tab.is-active::after { width: 100%; }
.role-panel { animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.role-panel h3 { font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; font-size: clamp(36px, 4vw, 58px); margin-bottom: 22px; }
.role-panel p { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,0.75); max-width: 560px; margin-bottom: 30px; }
.role-panel ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,0.14); }
.role-panel li { padding: 18px 18px 18px 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 16px; display: flex; gap: 12px; }
.role-panel li::before { content: '+'; font-family: var(--mono); color: var(--purple-bright); }

/* ── Comparison ── */
.compare-section { padding: 128px 0; }
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { text-align: left; padding: 22px 20px; border-bottom: 1px solid var(--line); font-size: 16px; vertical-align: top; }
.cmp thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
.cmp tbody th { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; width: 26%; padding-left: 0; }
.cmp td { color: var(--ink-2); }
.cmp td:not(.cmp-us) { text-decoration: line-through; text-decoration-color: rgba(18,16,21,0.18); }
.cmp .cmp-us { background: var(--purple-soft); color: var(--ink); font-weight: 700; }
.cmp thead .cmp-us { background: var(--purple); color: #fff; }
.cmp tr.reveal { transform: none; }

/* ── Plan finder ── */
.finder { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px 48px; padding: 32px 0 40px; margin-bottom: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finder-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-top: 10px; }
.finder-qs { display: grid; gap: 18px; }
.finder-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.finder-q p { font-size: 16px; color: var(--ink); }
.finder-q .billing-toggle button { padding: 10px 14px; }
.finder-out { grid-column: 2; font-size: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.finder-out b { color: var(--purple); }
.plan { transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.plan.is-pick { box-shadow: inset 0 0 0 2px var(--purple); z-index: 1; }
.plan.is-pick .plan-top::after { content: 'Your pick'; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); border: 1px solid var(--purple); padding: 3px 7px; }
html[lang="nl"] .plan.is-pick .plan-top::after { content: 'Jouw keuze'; }
html[lang="fr"] .plan.is-pick .plan-top::after { content: 'Votre choix'; }
.plan--featured.is-pick .plan-top::after { display: none; }

/* ── Hero: clickable race chips ── */
.hero-stage .cal-chip:not(.cal-chip--event) { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.hero-stage .cal-chip:not(.cal-chip--event):hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 6px 16px rgba(107,47,160,0.35); }
.hero-stage .cal-chip.is-open { box-shadow: 0 0 0 2px var(--purple), 0 6px 16px rgba(107,47,160,0.35); }
.hero-stage { pointer-events: auto; z-index: 1; }
.hero-shade, .hero-grain { z-index: 2; }
.hero-content, .hero-foot, .toasts, .race-pop, .stage-hint { z-index: 3; }
.stage-hint {
  position: absolute; right: 7%; top: 6%; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  display: flex; align-items: center; gap: 10px; pointer-events: none; opacity: 0; animation: pFade 0.6s ease 3.4s forwards;
}
.stage-hint::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--purple-bright); animation: livePulse2 1.8s infinite; }
@keyframes livePulse2 { 0% { box-shadow: 0 0 0 0 rgba(180,138,224,0.7); } 70% { box-shadow: 0 0 0 10px rgba(180,138,224,0); } 100% { box-shadow: 0 0 0 0 rgba(180,138,224,0); } }
.stage-hint.is-gone { display: none; }
.race-pop {
  position: absolute; right: 7%; bottom: 110px; width: 340px; background: #fff; color: var(--ink); padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.race-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.race-pop .rp-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.race-pop .rp-name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.race-pop .rp-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.race-pop .rp-count { margin-left: auto; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.race-pop .rp-count b { font-size: 24px; color: var(--ink); }
.race-pop .rp-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-2); }
.race-pop .rp-riders { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; min-height: 28px; }
.race-pop .rp-riders .mock-av { animation: popIn 0.35s cubic-bezier(0.34,1.56,0.64,1) both; }
.race-pop .rp-riders .is-you { background: var(--going); color: #fff; font-size: 9px; }
.race-pop .rp-rsvp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.race-pop .rp-rsvp button { font: inherit; font-size: 13px; font-weight: 700; padding: 11px 4px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.race-pop .rp-rsvp button:hover { border-color: var(--ink); }
.race-pop .rp-rsvp button[aria-pressed="true"][data-r="go"] { background: var(--going); border-color: var(--going); color: #fff; }
.race-pop .rp-rsvp button[aria-pressed="true"][data-r="maybe"] { background: var(--maybe); border-color: var(--maybe); color: #fff; }
.race-pop .rp-rsvp button[aria-pressed="true"][data-r="no"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.race-pop .rp-foot { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-2); margin-top: 12px; }
.toasts.is-paused { opacity: 0; transition: opacity 0.3s; }

@media (max-width: 1023px) {
  .roles-grid { grid-template-columns: 1fr; gap: 36px; }
  .role-tabs { flex-direction: row; overflow-x: auto; border-top: none; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .role-tab { font-size: 18px; border-bottom: none; padding: 14px 18px 14px 0; white-space: nowrap; gap: 10px; }
  .role-tab .num { width: auto; font-size: 11px; }
  .role-tab.is-active { padding-left: 0; }
  .finder { grid-template-columns: 1fr; }
  .finder-out { grid-column: 1; }
  .hero-stage { pointer-events: none; }
  .stage-hint, .race-pop { display: none; }
}
@media (max-width: 640px) {
  .roles, .compare-section { padding: 80px 0; }
  .role-panel ul { grid-template-columns: 1fr; }
  .role-panel p { font-size: 17px; }
  .cmp tbody th { font-size: 16px; }
  .cmp th, .cmp td { padding: 16px 12px; font-size: 14px; }
  .finder-q { flex-direction: column; align-items: flex-start; gap: 10px; }
}
/* Full-width hero text layers must not swallow clicks meant for the calendar behind them */
.hero-content, .hero-foot { pointer-events: none; }
.hero-content .wrap > *, .hero-foot .wrap > * { pointer-events: auto; }
.race-pop { z-index: 5; }
/* overflow:hidden boxes can still be scrolled programmatically (focus, scrollIntoView), which slid the hero text off-screen; clip can't be scrolled */
.hero, .roles, .cta, .tile-media, .portrait, .story-canvas { overflow: clip; }

/* ── Language switcher ── */
.nav-links .langs { display: flex; border: 1px solid var(--line); }
.nav-links .langs a { padding: 5px 8px; color: var(--ink-3); }
.nav-links .langs a + a { border-left: 1px solid var(--line); }
.nav-links .langs a::after { display: none; }
.nav-links .langs a:hover { color: var(--ink); }
.nav-links .langs a[aria-current] { background: var(--ink); color: #fff; }
.mm-langs { display: flex; gap: 0; margin-top: 18px; border: 1px solid rgba(255,255,255,0.25); align-self: flex-start; }
.mm-langs a { font-family: var(--mono); font-size: 14px; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); text-decoration: none; padding: 10px 16px; }
.mm-langs a + a { border-left: 1px solid rgba(255,255,255,0.25); }
.mm-langs a[aria-current] { background: #fff; color: var(--ink); }
