/* ==========================================================================
   Creuse — pre-launch site
   One stylesheet, no frameworks. Tokens first, then base, layout, components,
   then page sections. Light theme is the default; dark mirrors it via tokens.
   ========================================================================== */

/* Plus Jakarta Sans — SIL Open Font License 1.1 (see /assets/fonts/OFL.txt) */
@font-face { font-family: "Jakarta"; src: url("../fonts/pjs-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/pjs-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/pjs-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/pjs-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/pjs-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Palette from the Creuse apps (shared/creuse_ui CreuseColors) */
  --bg: #ffffff;
  --surface: #f7f9fc;
  --card: #ffffff;
  --line: #e4e7ec;
  --line-2: #d0d5dd;
  --ink: #1d2939;
  --ink-2: #667085;
  --ink-3: #697586;
  --blue: #1660fe;
  --blue-ink: #1645b8;
  --blue-soft: #edf3ff;
  --blue-text: #1660fe;
  --edge: #1d2939;
  --shadow-ink: #1d2939;
  --tape: rgba(255, 232, 160, .82);
  --on-blue: #ffffff;
  --sun: #ffd23f;
  --green: #087f5b;
  --green-soft: #e3fded;
  --red: #c43232;
  --red-soft: #fdecec;
  --night: #1d2939;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .04);
  --shadow: 0 2px 6px rgba(16, 24, 40, .05), 0 18px 48px -12px rgba(16, 24, 40, .14);
  --shadow-lg: 0 30px 80px -20px rgba(16, 24, 40, .28);

  --sans: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 40px);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --header-h: 72px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0c111d;
  --surface: #121826;
  --card: #182030;
  --line: #263042;
  --line-2: #344054;
  --ink: #f2f4f7;
  --ink-2: #98a2b3;
  --ink-3: #667085;
  --blue: #1660fe;
  --blue-ink: #84adff;
  --blue-soft: rgba(22, 96, 254, .2);
  --blue-text: #7aa5ff;
  --edge: #475467;
  --shadow-ink: #000000;
  --tape: rgba(255, 232, 160, .7);
  --green: #32d583;
  --green-soft: rgba(50, 213, 131, .12);
  --red: #f97066;
  --red-soft: rgba(249, 112, 102, .12);
  --night: #121826;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 18px 48px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--pad-x) * 2); margin-inline: auto; padding-inline: var(--pad-x); }
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec--tight { padding-block: clamp(40px, 6vw, 72px); }
.sec--surface { background: var(--surface); }
.sec--night { background: var(--night); color: #f2f4f7; }

.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--split { max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 24px 64px; }
.sec-head p { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); max-width: 56ch; }
.sec--night .sec-head p { color: #98a2b3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.sec--night .eyebrow { color: #84adff; }
.h2 { font-size: clamp(34px, 5vw, 60px); }
.h2 em, .h1 em { font-style: normal; color: var(--blue); }
.sec--night .h2 em { color: var(--sun); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-2); }
.fineprint { font-size: 13px; color: var(--ink-3); line-height: 1.5; max-width: 72ch; }

.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .06em; height: .34em;
  background: var(--sun); border-radius: 4px; transform: skewX(-8deg);
}
:root[data-theme="dark"] .hl::after { opacity: .85; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--blue { --btn-bg: var(--blue); --btn-fg: var(--on-blue); box-shadow: 0 10px 30px -10px rgba(22, 96, 254, .7); }
.btn--blue:hover { --btn-bg: #1645b8; }
:root[data-theme="dark"] .btn--blue:hover { --btn-bg: #1645b8; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: #1d2939; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Announcement + header ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 8px 16px;
  background: #1645b8; color: #ffffff; font-size: 13px; font-weight: 600; text-align: center;
}
.announce a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.announce a:hover { text-decoration-color: #fff; }
.announce svg { width: 14px; height: 14px; }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); flex: none; }

.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.burger { display: none; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.burger span + span { margin-top: 5px; }
.header.is-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.header.is-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; display: none; flex-direction: column; gap: 4px;
  padding: 24px var(--pad-x) calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--bg); overflow-y: auto;
}
.header.is-open + .mobile-nav { display: flex; animation: sheet-in .3s var(--ease); }
.mobile-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.mobile-nav .btn { margin-top: 24px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .header__actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(22, 96, 254, .14), transparent 70%); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.h1 { font-size: clamp(44px, 6.6vw, 86px); line-height: .96; letter-spacing: -.045em; }
.hero__copy .lead { max-width: 34ch; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--green); flex: none; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.12; max-width: 560px; width: 100%; justify-self: end; }
.hero__photo { position: absolute; inset: 0 0 8% 18%; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--night); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,41,57,0) 40%, rgba(29,41,57,.55)); }
.hero__phone { position: absolute; left: 0; bottom: 0; z-index: 2; filter: drop-shadow(0 30px 50px rgba(29,41,57,.35)); }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
  border-radius: 18px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.float-card small { color: var(--ink-3); font-weight: 600; font-size: 12px; }
.float-card .badge-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.float-card .badge-ic svg { width: 22px; height: 22px; }
.float-card--a { top: 7%; right: -3%; }
.float-card--b { top: 46%; right: -6%; animation-delay: -3s; }
.badge-ic--green { background: var(--green-soft); color: var(--green); }
.badge-ic--blue { background: var(--blue-soft); color: var(--blue); }
.badge-ic--sun { background: #fff4cc; color: #9a6700; }
:root[data-theme="dark"] .badge-ic--sun { background: rgba(255, 210, 63, .14); color: var(--sun); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.page-hero__copy { display: grid; gap: 24px; justify-items: start; }
.page-hero .h1 { font-size: clamp(42px, 6.2vw, 84px); }
.page-hero__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); background: var(--surface); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media .float-card { left: 20px; bottom: 20px; top: auto; right: auto; }
.page-hero--simple { text-align: center; }
.page-hero--simple .page-hero__copy { justify-items: center; max-width: 820px; margin-inline: auto; }

@media (max-width: 960px) {
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 520px; }
  .sec-head--split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .float-card { padding: 10px 12px 10px 10px; font-size: 12px; border-radius: 14px; }
  .float-card b { font-size: 14px; }
  .float-card .badge-ic { width: 32px; height: 32px; border-radius: 10px; }
  .float-card--a { right: 0; }
  .float-card--b { right: 2%; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Phone mockup (pure HTML/CSS) ---------- */
.phone {
  position: relative; aspect-ratio: 9 / 18.5; width: 264px; padding: 10px; border-radius: 44px;
  background: #101828; box-shadow: 0 0 0 1.5px #344054, var(--shadow-lg);
}
.phone__screen {
  position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #f7f9fc; color: #1d2939;
  display: flex; flex-direction: column; font-size: 11px; line-height: 1.35;
}
.phone__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 20px; border-radius: 999px; background: #101828; z-index: 2; }
.phone__status { display: flex; justify-content: space-between; padding: 10px 20px 0; font-size: 10px; font-weight: 700; }
.app-top { padding: 22px 16px 14px; background: linear-gradient(160deg, #1660fe, #1645b8); color: #fff; }
.app-top small { display: block; opacity: .75; font-weight: 600; font-size: 10px; }
.app-top .amt { display: block; margin-top: 2px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.app-top .row { display: flex; gap: 6px; margin-top: 10px; }
.app-top .chip { padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.16); font-weight: 700; font-size: 9.5px; }
.app-body { flex: 1; display: grid; align-content: start; gap: 8px; padding: 12px; }
.app-card { padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.app-card .lbl { font-size: 9.5px; color: #667085; font-weight: 600; }
.app-card .val { font-weight: 800; font-size: 13px; letter-spacing: -.01em; }
.app-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-trip { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-trip .route { font-weight: 700; font-size: 10.5px; }
.app-trip .t { color: #667085; font-size: 9.5px; }
.app-trip .kes { font-weight: 800; color: #087f5b; font-size: 11px; white-space: nowrap; }
.app-plan { display: flex; align-items: center; justify-content: space-between; }
.app-meter { height: 6px; margin-top: 6px; border-radius: 999px; background: #e4e7ec; overflow: hidden; }
.app-meter i { display: block; height: 100%; width: 70%; border-radius: inherit; background: #1660fe; }
.zero { color: #087f5b; }

/* Rider variant */
.app-map { position: relative; flex: 1; background: #eef2f7; overflow: hidden; }
.app-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-sheet { padding: 14px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -6px 20px rgba(16,24,40,.08); display: grid; gap: 8px; }
.app-sheet h5 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.app-input { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: #f2f4f7; font-weight: 600; }
.app-input i { width: 7px; height: 7px; border-radius: 50%; background: #1660fe; flex: none; }
.app-input i.sq { border-radius: 2px; background: #1d2939; }
.app-fare { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: #edf3ff; }
.app-fare b { font-size: 14px; font-weight: 800; }
.app-btn { display: grid; place-items: center; height: 34px; border-radius: 999px; background: #1660fe; color: #fff; font-weight: 800; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: clamp(24px, 3vw, 36px) clamp(12px, 2vw, 28px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .v { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat .v em { font-style: normal; color: var(--blue); }
.stat .l { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); max-width: 22ch; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Model comparison (commission vs subscription) ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-card { position: relative; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 18px; align-content: start; overflow: hidden; }
.vs-card--creuse { background: var(--blue); color: #fff; box-shadow: var(--shadow-lg); }
.vs-card .tag { justify-self: start; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--surface); color: var(--ink-2); }
.vs-card--creuse .tag { background: rgba(255,255,255,.16); color: #fff; }
.vs-card h3 { font-size: clamp(24px, 2.6vw, 34px); }
.vs-card p { color: var(--ink-2); }
.vs-card--creuse p { color: rgba(255,255,255,.82); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 8px; padding-top: 16px; border-bottom: 1px solid var(--line); }
.vs-card--creuse .bars { border-color: rgba(255,255,255,.25); }
.bars > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 0; height: 100%; }
.bars .seg-keep { background: var(--line-2); border-radius: 6px 6px 0 0; }
.bars .seg-cut { background: var(--red); border-radius: 6px 6px 0 0; }
.bars .seg-cut + .seg-keep { border-radius: 0; }
.vs-card--creuse .bars .seg-keep { background: #fff; }
.vs-card--creuse .bars .seg-flat { height: 10px; background: var(--sun); border-radius: 6px 6px 0 0; }
.vs-card--creuse .bars .seg-flat + .seg-keep { border-radius: 0; }
.bars-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.vs-card--creuse .bars-legend { color: rgba(255,255,255,.85); }
.bars-legend span { display: inline-flex; align-items: center; gap: 8px; }
.bars-legend i { width: 10px; height: 10px; border-radius: 3px; }
@media (max-width: 860px) { .versus { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; margin-top: 20px; border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.calc__in { padding: clamp(28px, 3.4vw, 44px); display: grid; gap: 28px; align-content: start; }
.calc__out { padding: clamp(28px, 3.4vw, 44px); background: var(--surface); display: grid; gap: 22px; align-content: start; }
.calc h3 { font-size: clamp(22px, 2.2vw, 28px); }
.field-lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 15px; }
.field-lbl output { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin-top: 14px; border-radius: 999px; background: linear-gradient(to right, var(--blue) var(--fill, 40%), var(--line) var(--fill, 40%)); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px var(--blue), 0 4px 12px rgba(0,0,0,.2); cursor: grab; }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px var(--blue), 0 4px 12px rgba(0,0,0,.2); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 700; font-size: 14px; transition: all .2s; }
.seg input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.calc-row .k { font-weight: 600; color: var(--ink-2); }
.calc-row .n { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.calc-row .n.red { color: var(--red); }
.calc-row .n.green { color: var(--green); }
.calc-big { padding: 24px; border-radius: var(--r-m); background: var(--blue); color: #fff; box-shadow: 0 18px 40px -16px rgba(22, 96, 254, .7); }
.calc-big small { display: block; font-weight: 600; opacity: .85; }
.calc-big b { display: block; margin-top: 4px; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.calc-big span { display: block; margin-top: 6px; font-size: 14px; opacity: .75; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { position: relative; display: grid; gap: 20px; align-content: start; padding: clamp(28px, 3vw, 36px); border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.plan--featured { background: var(--night); color: #f2f4f7; box-shadow: var(--shadow-lg); }
.plan--featured:hover { box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: 24px; right: 24px; padding: 5px 10px; border-radius: 999px; background: var(--sun); color: #1d2939; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan__name { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.plan--featured .plan__name { color: #84adff; }
.plan__title { font-size: clamp(26px, 2.6vw, 32px); }
.plan__desc { color: var(--ink-2); }
.plan--featured .plan__desc { color: #98a2b3; }
.plan__price { display: flex; align-items: baseline; gap: 8px; padding-block: 18px; border-block: 1px solid var(--line); }
.plan--featured .plan__price { border-color: rgba(255,255,255,.12); }
.plan__price b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.plan__price span { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.ticks { list-style: none; display: grid; gap: 12px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--green); }
.plan--featured .ticks svg { color: #32d583; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Steps / how it works ---------- */
.switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.switch button { min-height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--ink-2); transition: all .2s var(--ease); }
.switch button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.step h3 { font-size: 21px; letter-spacing: -.02em; }
.step p { color: var(--ink-2); font-size: 15px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .steps, .steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--3 { grid-template-columns: 1fr; } }
.tab-panel.is-entering { animation: fade-up .45s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Story blocks ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story--flip .story__media { order: 2; }
.story__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface); box-shadow: var(--shadow); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media .float-card { left: 20px; bottom: 20px; top: auto; right: auto; }
.story__copy { display: grid; gap: 22px; justify-items: start; }
.story__copy .lead { max-width: 46ch; }
.story__media--phone { display: grid; place-items: center; padding: 6% 0; background: radial-gradient(80% 60% at 70% 20%, rgba(255,255,255,.18), transparent 60%), linear-gradient(160deg, var(--blue), #1645b8); }
.story__media--phone .phone { width: 250px; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story--flip .story__media { order: 0; }
}

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.feature .ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; letter-spacing: -.02em; }
.feature p { color: var(--ink-2); font-size: 15px; }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.sec--night .feature { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.sec--night .feature p { color: #98a2b3; }
.sec--night .feature .ic { background: rgba(79,134,255,.14); color: #84adff; }
@media (max-width: 960px) { .features, .features--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features, .features--2, .features--4 { grid-template-columns: 1fr; } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cmp thead th.col-us { color: var(--blue); }
.cmp td:first-child { font-weight: 700; }
.cmp .col-us { background: var(--blue-soft); font-weight: 800; color: var(--ink); }
.cmp td:last-child { color: var(--ink-2); }
.yes, .no { display: inline-flex; align-items: center; gap: 8px; }
.yes svg, .no svg { width: 18px; height: 18px; flex: none; }
.yes svg { color: var(--green); }
.no svg { color: var(--red); }

/* ---------- Audience cards (students / business) ---------- */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-xl); overflow: hidden; color: #fff; isolation: isolate; }
.aud-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.aud-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,41,57,0) 25%, rgba(29,41,57,.88)); }
.aud-card:hover img { transform: scale(1.04); }
.aud-card .eyebrow { color: var(--sun); }
.aud-card h3 { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); }
.aud-card p { margin-top: 10px; max-width: 40ch; color: rgba(255,255,255,.82); }
.aud-card .link-arrow { margin-top: 18px; color: #fff; }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } .aud-card { min-height: 380px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.6vw, 19px); font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface); transition: background-color .2s, transform .3s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--blue); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff; }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover .pm { background: var(--line); }
.faq details[open] summary:hover .pm { background: #1645b8; }
.faq .ans { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 64ch; }
.faq .ans p + p { margin-top: 10px; }
.faq .ans a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { position: static; } .faq .ans { padding-right: 0; } }

/* ---------- Waitlist ---------- */
.join { position: relative; padding-block: clamp(72px, 10vw, 128px); background: var(--night); color: #f2f4f7; overflow: hidden; isolation: isolate; }
.join__bg { position: absolute; inset: 0; z-index: -1; }
.join__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.join__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 600px at 10% 0%, rgba(22,96,254,.45), transparent 60%), linear-gradient(90deg, rgba(29,41,57,.96) 30%, rgba(29,41,57,.7)); }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.join__copy { display: grid; gap: 24px; justify-items: start; }
.join__copy .h2 em { color: var(--sun); }
.join__copy .lead { color: #d0d5dd; max-width: 42ch; }
.perks { list-style: none; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.perks svg { width: 22px; height: 22px; flex: none; color: var(--sun); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-size: 12px; line-height: 1.2; color: #d0d5dd; }
.store b { display: block; color: #fff; font-size: 15px; }
.store svg { width: 24px; height: 24px; color: #fff; }

.form-card { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 26px; letter-spacing: -.03em; }
.form-card > p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.wl-form { display: grid; gap: 16px; margin-top: 24px; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; border: 0; }
.roles legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 700; }
.roles label { position: relative; }
.roles input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.roles span { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 13px; font-weight: 700; text-align: center; transition: all .2s var(--ease); }
.roles span svg { width: 22px; height: 22px; color: var(--ink-3); transition: color .2s; }
.roles input:hover + span { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.roles input:checked + span { box-shadow: inset 0 0 0 2px var(--blue); background: var(--blue-soft); color: var(--ink); }
.roles input:checked + span svg { color: var(--blue); }
.roles input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: grid; gap: 6px; }
.f label { font-size: 14px; font-weight: 700; }
.f label .opt { font-weight: 500; color: var(--ink-3); }
.f input, .f select {
  width: 100%; min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px;
  background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 16px; transition: box-shadow .2s, background-color .2s;
}
.f select { -webkit-appearance: none; appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23868c9c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.f input::placeholder { color: var(--ink-3); }
.f input:hover, .f select:hover { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.f input:focus, .f select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px var(--blue-soft); background: var(--card); }
.f.is-invalid input, .f.is-invalid select { box-shadow: inset 0 0 0 2px var(--red); }
.f .err { display: none; font-size: 13px; font-weight: 600; color: var(--red); }
.f.is-invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.consent a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent.is-invalid { color: var(--red); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.wl-form .btn { width: 100%; min-height: 56px; font-size: 17px; }
.wl-form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.form-alert { padding: 12px 14px; border-radius: 12px; background: var(--red-soft); color: var(--red); font-size: 14px; font-weight: 600; }
.form-alert a { text-decoration: underline; }

.success { display: grid; gap: 16px; justify-items: center; text-align: center; padding-block: 24px; }
.success .big-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); animation: pop .5s var(--ease); }
.success .big-ic svg { width: 36px; height: 36px; }
.success h3 { font-size: 30px; }
.success p { color: var(--ink-2); max-width: 36ch; }
.share { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

@media (max-width: 960px) { .join__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .roles { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--blue); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent); pointer-events: none; }
.cta-band .h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.85); max-width: 52ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Checklist / requirements ---------- */
.req { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.req li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); list-style: none; }
.req .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); flex: none; }
.req .ic svg { width: 20px; height: 20px; }
.req b { display: block; font-size: 17px; letter-spacing: -.01em; }
.req span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .req { grid-template-columns: 1fr; } }

/* ---------- Contact cards ---------- */
.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact { display: grid; gap: 12px; align-content: start; padding: clamp(28px, 3vw, 36px); border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.contact .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 6px; }
.contact .ic svg { width: 24px; height: 24px; }
.contact h3 { font-size: 22px; letter-spacing: -.02em; }
.contact p { color: var(--ink-2); }
.contact a.mail { justify-self: start; margin-top: 6px; font-weight: 700; color: var(--blue); word-break: break-all; }
.contact a.mail:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .contacts { grid-template-columns: 1fr; } }

/* ---------- Legal prose ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; font-size: 14px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.toc b { margin-bottom: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.toc a { padding: 6px 0; color: var(--ink-2); font-weight: 600; line-height: 1.35; }
.toc a:hover { color: var(--blue); }
.prose { max-width: 72ch; font-size: 17px; color: var(--ink-2); }
.prose h2 { margin: 56px 0 16px; font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 19px; letter-spacing: -.01em; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .callout { padding: 20px 22px; border-radius: var(--r-m); background: var(--blue-soft); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .toc { position: static; max-height: none; padding: 20px; border-radius: var(--r-m); background: var(--surface); } }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(56px, 7vw, 88px) 32px; background: var(--surface); border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer__brand p { margin-top: 16px; color: var(--ink-2); max-width: 30ch; }
.footer__brand .socials { display: flex; gap: 8px; margin-top: 20px; }
.footer__brand .socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); transition: color .2s, box-shadow .2s; }
.footer__brand .socials a:hover { color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.footer__brand .socials svg { width: 18px; height: 18px; }
.footer__h { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-weight: 600; color: var(--ink-2); transition: color .2s; }
.footer ul a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 4vw, 48px); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-m); background: var(--blue-soft); color: var(--ink); font-size: 15px; }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 1px; }
.empty-state { display: grid; gap: 20px; justify-items: center; text-align: center; padding: clamp(48px, 8vw, 96px) 24px; border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.empty-state .big { font-size: clamp(88px, 16vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--blue); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Utility hooks (kept out of HTML so the CSP can forbid inline styles) ---------- */
.stack { display: grid; gap: 16px; justify-items: start; }
.plain-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.plain-fs legend { padding: 0; }
.calc__in h3 + p { margin-top: 8px; }
.lg-keep { background: var(--line-2); }
.lg-cut { background: var(--red); }
.lg-white { background: #fff; }
.lg-sun { background: var(--sun); }
.bars > div:nth-child(1) { height: 38%; }
.bars > div:nth-child(2) { height: 52%; }
.bars > div:nth-child(3) { height: 66%; }
.bars > div:nth-child(4) { height: 82%; }
.bars > div:nth-child(5) { height: 100%; }
.bars .seg-keep { flex: 1; }
.bars .seg-cut { flex: 0 0 24%; }
.vs-card--creuse .bars .seg-flat { flex: 0 0 10px; }
.js .bars > div { transform-origin: bottom; transform: scaleY(.2); transition: transform 1s var(--ease); }
.js .bars > div:nth-child(2) { transition-delay: .08s; }
.js .bars > div:nth-child(3) { transition-delay: .16s; }
.js .bars > div:nth-child(4) { transition-delay: .24s; }
.js .bars > div:nth-child(5) { transition-delay: .32s; }
.js .is-in .bars > div { transform: none; }
.ic-badge { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--blue-soft); color: var(--blue); }
.ic-badge svg { width: 34px; height: 34px; }
.ic-badge--green { background: var(--green-soft); color: var(--green); }
.empty-state .muted { max-width: 52ch; }

.app-nav { display: flex; justify-content: space-around; padding: 10px 8px 14px; border-top: 1px solid #e4e7ec; background: #fff; font-size: 9px; font-weight: 700; color: #667085; }
.app-nav span { display: grid; justify-items: center; gap: 3px; }
.app-nav span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; background: #e4e7ec; }
.app-nav .on { color: #1660fe; }
.app-nav .on::before { background: #1660fe; }
.app-online { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 999px; background: #1d2939; color: #fff; font-weight: 800; }
.app-online i { width: 7px; height: 7px; border-radius: 50%; background: #32d583; }

@media (max-width: 1100px) { .hero__phone .phone { zoom: .85; } }
@media (max-width: 960px) { .hero__phone .phone { zoom: 1; } }
@media (max-width: 560px) {
  .hero__phone .phone { zoom: .64; }
  .story__media--phone .phone { zoom: .72; }
  .announce .long { display: none; }
}

/* ---------- Pillars (rider benefits) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { display: grid; gap: 14px; align-content: start; padding: clamp(28px, 3vw, 36px); border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.pillar:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.pillar .ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(22, 96, 254, .7); }
.pillar .ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -.02em; }
.pillar > p { color: var(--ink-2); }
.pillar .ticks { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.steps--stack { grid-template-columns: 1fr; gap: 12px; width: 100%; }
.steps--stack .step { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; padding: 20px; }
.steps--stack .step__n { grid-row: span 2; margin: 0; }
@media (max-width: 960px) { .steps--stack { grid-template-columns: 1fr; } }

/* ---------- Rider in-trip phone ---------- */
.app-input i.st { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: #f5b40b; color: #fff; font-size: 8px; font-style: normal; font-weight: 800; }
.app-fare small { display: block; font-size: 9px; font-weight: 700; color: #087f5b; }
.app-sos { position: absolute; top: 34px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #c43232; color: #fff; font-size: 10px; font-weight: 800; box-shadow: 0 6px 16px rgba(224, 69, 58, .45); }
.app-eta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.app-eta b { font-size: 12.5px; font-weight: 800; letter-spacing: -.02em; }
.app-eta span { font-size: 9.5px; font-weight: 700; color: #087f5b; white-space: nowrap; }
.app-driver { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #f2f4f7; }
.app-driver b { display: block; font-size: 11px; font-weight: 800; }
.app-driver span { font-size: 9.5px; color: #667085; font-weight: 600; }
.app-avatar { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #1660fe, #6b9bff); color: #fff; font-size: 10px; font-weight: 800; }
.app-pin { display: grid; justify-items: center; gap: 2px; padding: 10px; border-radius: 12px; background: #1d2939; color: #fff; }
.app-pin span { font-size: 9px; font-weight: 700; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.app-pin b { font-size: 22px; font-weight: 800; letter-spacing: .12em; color: #ffd23f; }
.app-pin small { font-size: 9px; opacity: .7; }
.app-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.app-chips span { padding: 5px 9px; border-radius: 999px; background: #f2f4f7; font-size: 9.5px; font-weight: 700; }
.app-chips span.on { background: #e3fded; color: #087f5b; }
.story__media--phone { aspect-ratio: auto; padding: clamp(32px, 5vw, 56px) 0; }
.pillar .ticks { margin-top: 4px; padding-top: 16px; font-size: 16px; font-weight: 600; }
.pillar h3 { font-size: clamp(24px, 2.4vw, 30px); }
.step p { font-size: 16px; }
.req--compact { grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
.req--compact li { align-items: center; }
.req--compact b { font-size: 16px; }
@media (max-width: 960px) { .req--compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .req--compact { grid-template-columns: 1fr; } }

/* Skimmable rhythm: less copy, tighter sections */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 72px); }
@media (max-width: 560px) {
  .cmp { min-width: 0; font-size: 14px; }
  .cmp th, .cmp td { padding: 14px 10px; }
  .cmp thead th { font-size: 11px; letter-spacing: .04em; }
}

/* ---------- Ryde-style blocks ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); font-size: 14px; font-weight: 700; }
.chip svg { width: 14px; height: 14px; }
:root[data-theme="dark"] .chip { color: var(--blue-ink); }
.econ { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.econ-card { display: grid; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.econ-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.econ-top span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.econ-top b { font-size: 20px; letter-spacing: -.02em; }
.econ-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; }
.econ-lbl b { display: block; font-size: 16px; }
.econ-lbl span { font-size: 13px; color: var(--ink-2); }
.econ-track { display: flex; height: 18px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.econ-track i { display: block; height: 100%; }
.econ-track .keep { background: var(--green); }
.econ-track .cut { background: var(--red); }
.econ-100 { width: 100%; } .econ-80 { width: 80%; } .econ-20 { width: 20%; }
.econ-val { font-size: 22px; font-weight: 800; letter-spacing: -.03em; min-width: 64px; text-align: right; }
.lg-green { background: var(--green); }
.js .econ-track i { transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.js .is-in .econ-track i { transform: none; }
.js .is-in .econ-track .cut { transition-delay: .5s; }
.cmp--plans td:first-child { color: var(--ink-2); font-weight: 600; }
.cmp--plans td { font-weight: 600; }
@media (max-width: 860px) { .econ { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .econ-row { grid-template-columns: 1fr auto; } .econ-track { grid-column: 1 / -1; grid-row: 2; } }
.contacts--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .contacts--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .contacts--3 { grid-template-columns: 1fr; } }
.grid-2 .pillar { align-content: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }
.pillar .eyebrow { margin-top: 2px; }
.pillar .link-arrow { margin-top: 4px; }
.econ-card .ticks li span b { font-weight: 800; }
.page-hero--simple .btn-row { justify-content: center; }
.app-share { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #e4e7ec; }
.app-share b { display: block; font-size: 12px; font-weight: 800; }
.app-share span:not(.app-avatar) { font-size: 9.5px; font-weight: 700; color: #087f5b; }
.app-avatar--ink { background: linear-gradient(135deg, #1d2939, #475467); }
.join .eyebrow, .sec--night .eyebrow { color: #84adff; }

/* ==========================================================================
   STREET IDENTITY LAYER
   Graffiti tags, marker notes, stickers, tape, drips and poster-style cards.
   Brand blue (#1660fe) is identical in light and dark; --blue-text only
   lightens small text on dark backgrounds for legibility.
   ========================================================================== */
@font-face { font-family: "Marker"; src: url("../fonts/marker-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root { --tag: "Marker", cursive; --marker: "Marker", "Comic Sans MS", cursive; }

/* Spray-can grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::after { opacity: .07; }

/* Small blue text uses the legible tint; fills keep the brand blue */
.eyebrow, .link-arrow, .field-lbl output, .consent a, .prose a, .faq .ans a, .contact a.mail, .toc a:hover, .cmp thead th.col-us, .plan__name { color: var(--blue-text); }
.sec--night .eyebrow, .join .eyebrow { color: var(--sun); }
.sec--night .link-arrow { color: #fff; }

/* ---------- Type: tags + marker ---------- */
.eyebrow {
  font-family: var(--marker); font-weight: 400; text-transform: none; letter-spacing: .01em;
  font-size: clamp(17px, 1.6vw, 21px); rotate: -2deg; transform-origin: left center;
}
.sec-head--center .eyebrow { transform-origin: center; }
.h1 em, .h2 em {
  display: inline-block; font-family: var(--tag); font-style: normal; font-weight: 400; letter-spacing: 0;
  font-size: 1.14em; line-height: .92; padding: .02em .08em 0; color: var(--blue); rotate: -2deg;
}
.sec--night .h2 em, .join .h2 em, .cta-band .h2 em, .vs-card--creuse em { color: var(--sun); }
.hl {
  font-family: var(--tag); font-weight: 400; letter-spacing: 0; color: var(--blue);
  display: inline-block; font-size: 1.12em; rotate: -3deg; padding: 0 .06em;
}
.hl::after {
  left: -.14em; right: -.18em; bottom: .02em; height: .52em; border-radius: 0; transform: none; opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30' preserveAspectRatio='none'%3E%3Cpath d='M4 17C40 9 98 5 197 8l-2 9c-48 2-110 6-188 11-6 0-8-9-3-11z' fill='%23ffd23f'/%3E%3Cpath d='M14 6c50-3 110-4 176-2' stroke='%23ffd23f' stroke-width='3' fill='none' opacity='.55'/%3E%3Ccircle cx='192' cy='24' r='2.5' fill='%23ffd23f'/%3E%3Ccircle cx='9' cy='5' r='1.6' fill='%23ffd23f'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
:root[data-theme="dark"] .hl::after { opacity: .92; }

/* ---------- Buttons: sticker-cut with hard shadow ---------- */
.btn { border: 2px solid var(--shadow-ink); box-shadow: 4px 4px 0 var(--shadow-ink); }
.btn--blue { box-shadow: 4px 4px 0 var(--shadow-ink); }
.btn--ghost { --btn-bg: var(--bg); border-color: var(--edge); box-shadow: 4px 4px 0 var(--shadow-ink); }
:root[data-theme="dark"] .btn--ghost { border-color: var(--ink-2); }
.btn--light { border-color: #1d2939; box-shadow: 4px 4px 0 #1d2939; }
.btn:hover, .btn--ghost:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow-ink); }
.btn--light:hover { box-shadow: 6px 6px 0 #1d2939; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow-ink); }
.btn--sm { box-shadow: 3px 3px 0 var(--shadow-ink); }
.header__cta { border-width: 2px; }

/* ---------- Poster cards ---------- */
.feature, .pillar, .step, .contact, .calc, .empty-state, .table-wrap, .form-card, .ticket, .vsb__col {
  border: 2px solid var(--edge); box-shadow: 5px 5px 0 var(--shadow-ink);
}
.feature:hover, .pillar:hover, .contact:hover, .ticket:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--shadow-ink); }
.sec--night .feature { border-color: rgba(255, 255, 255, .22); box-shadow: 5px 5px 0 #000; }
.sec--night .feature:hover { box-shadow: 8px 8px 0 var(--blue); }
.form-card { box-shadow: 8px 8px 0 var(--blue); border-color: #1d2939; }
.feature .ic, .pillar .ic, .contact .ic, .req .ic { border: 2px solid var(--edge); }
.pillar .ic { border-color: #1d2939; box-shadow: 3px 3px 0 #1d2939; }
.features > .feature:nth-child(3n+1), .pillars > :nth-child(1) { rotate: -.6deg; }
.features > .feature:nth-child(3n+2), .pillars > :nth-child(2) { rotate: .5deg; }
.features--4 > .feature:nth-child(4n) { rotate: .7deg; }

/* Steps: tagged numbers */
.step__n {
  width: auto; height: auto; margin-bottom: 4px; background: none; border-radius: 0;
  font-family: var(--tag); font-weight: 400; font-size: 46px; line-height: 1; color: var(--blue); rotate: -5deg; justify-self: start;
}
.steps--stack .step__n { font-size: 36px; }

/* Stats */
.stats { border-block: 3px solid var(--edge); }
.stat .v span { font-variant-numeric: tabular-nums; }
.stat .v em { font-family: var(--tag); font-weight: 400; display: inline-block; rotate: -6deg; font-size: .9em; margin-left: .04em; }

/* Chips as small stickers */
.chip { border: 2px solid var(--edge); background: var(--card); color: var(--ink); box-shadow: 2px 2px 0 var(--shadow-ink); }
.chip svg { color: var(--green); }

/* ---------- Media: taped posters ---------- */
.page-hero__media, .story__media, .hero__photo { border: 3px solid var(--edge); box-shadow: 10px 10px 0 var(--blue); }
.story__media--phone { box-shadow: 10px 10px 0 var(--sun); border-color: #1d2939; }
.page-hero__media, .story__media:not(.story__media--phone) { overflow: visible; }
.page-hero__media img, .story__media img { border-radius: calc(var(--r-xl) - 3px); }
.page-hero__media::before, .story__media:not(.story__media--phone)::before {
  content: ""; position: absolute; z-index: 4; top: -16px; left: 28px; width: 120px; height: 32px; background: var(--tape);
  rotate: -7deg; box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0), repeating-linear-gradient(0deg, #000 0 4px, transparent 0 6px);
  -webkit-mask-composite: source-over; mask-composite: add;
}
.page-hero__media::after, .story__media:not(.story__media--phone)::after {
  content: ""; position: absolute; z-index: 4; bottom: -14px; right: 30px; width: 100px; height: 30px; background: var(--tape); rotate: 9deg; box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
}
.aud-card { border: 3px solid var(--edge); box-shadow: 8px 8px 0 var(--shadow-ink); }

/* ---------- Floating cards become stickers ---------- */
.float-card { border: 2px solid #1d2939; box-shadow: 4px 4px 0 #1d2939; }
.float-card--a { rotate: 3deg; }
.float-card--b { rotate: -3deg; }
.page-hero__media .float-card, .story__media .float-card { rotate: -3deg; }
.sticker {
  position: absolute; z-index: 5; display: inline-grid; place-items: center; padding: 12px 18px 10px;
  border: 3px solid #1d2939; border-radius: 16px; background: var(--sun); color: #1d2939; box-shadow: 4px 4px 0 #1d2939;
  font-family: var(--marker); font-size: clamp(18px, 2vw, 26px); line-height: 1; white-space: nowrap; rotate: -10deg;
}
.sticker--hero { top: -10px; left: 18%; }
@media (max-width: 520px) { .sticker--hero { left: 30%; top: -14px; } }

/* Hand-written scribble note */
.scribble { display: flex; align-items: flex-start; gap: 4px; margin-top: -8px; font-family: var(--marker); font-size: 19px; color: var(--blue-text); rotate: -3deg; }
.scribble { padding-left: 12px; }
.scribble svg { width: 46px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; margin-top: -14px; }

/* ---------- Ticker strip ---------- */
.ticker {
  position: relative; z-index: 3; width: calc(100% + 6vw); margin: clamp(4px, 1.5vw, 12px) -3vw; padding-block: 14px 12px;
  overflow: hidden; background: #1d2939; color: var(--sun); border-block: 3px solid #1d2939; rotate: -1.5deg;
}
.ticker--blue { background: var(--blue); color: #fff; }
.ticker__track { display: flex; align-items: center; gap: 26px; width: max-content; font-family: var(--marker); font-size: clamp(20px, 2.4vw, 30px); line-height: 1; white-space: nowrap; animation: marquee 38s linear infinite; }
.ticker__track i { font-style: normal; font-size: .8em; color: #fff; }
.ticker--blue .ticker__track i { color: var(--sun); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- Dark walls: spray halos + paint drips ---------- */
.sec--night, .join {
  position: relative;
  background: radial-gradient(700px 320px at 8% 0%, rgba(22, 96, 254, .32), transparent 65%), radial-gradient(520px 280px at 96% 100%, rgba(255, 210, 63, .12), transparent 65%), var(--night);
}
.join { overflow: visible; }
.join__bg { overflow: hidden; }
.sec--night::after, .join::after {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: -28px; height: 30px; background: var(--night); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='30'%3E%3Crect width='600' height='6'/%3E%3Crect x='38' width='9' height='22' rx='4.5'/%3E%3Crect x='96' width='6' height='12' rx='3'/%3E%3Crect x='170' width='11' height='29' rx='5.5'/%3E%3Crect x='252' width='7' height='15' rx='3.5'/%3E%3Crect x='318' width='10' height='24' rx='5'/%3E%3Crect x='402' width='6' height='10' rx='3'/%3E%3Crect x='455' width='12' height='27' rx='6'/%3E%3Crect x='540' width='8' height='17' rx='4'/%3E%3C/svg%3E") 0 0 / 600px 30px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='30'%3E%3Crect width='600' height='6'/%3E%3Crect x='38' width='9' height='22' rx='4.5'/%3E%3Crect x='96' width='6' height='12' rx='3'/%3E%3Crect x='170' width='11' height='29' rx='5.5'/%3E%3Crect x='252' width='7' height='15' rx='3.5'/%3E%3Crect x='318' width='10' height='24' rx='5'/%3E%3Crect x='402' width='6' height='10' rx='3'/%3E%3Crect x='455' width='12' height='27' rx='6'/%3E%3Crect x='540' width='8' height='17' rx='4'/%3E%3C/svg%3E") 0 0 / 600px 30px repeat-x;
}
.hero::after { content: ""; position: absolute; left: -10%; bottom: -30%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; background: radial-gradient(closest-side, rgba(255, 210, 63, .16), transparent 70%); pointer-events: none; }
.cta-band { border: 3px solid #1d2939; box-shadow: 10px 10px 0 #1d2939; }

/* ---------- Receipts (driver economy) ---------- */
.receipts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); align-items: start; padding: 10px 6px 18px; }
.receipt-wrap { filter: drop-shadow(2px 0 0 #1d2939) drop-shadow(-2px 0 0 #1d2939) drop-shadow(0 -2px 0 #1d2939) drop-shadow(0 2px 0 #1d2939) drop-shadow(6px 6px 0 #1d2939); }
.receipt-wrap:first-child { rotate: -3deg; margin-top: 26px; }
.receipt-wrap:last-child { rotate: 2.5deg; }
.receipt {
  position: relative; display: grid; gap: 12px; padding: 20px 18px 34px; background: #fff; color: #1d2939;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13.5px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / 18px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / 18px 10px repeat-x;
}
.receipt--them { background: #eef1f5; }
.receipt__head { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 2px dashed #98a2b3; text-align: center; }
.receipt__head b { font-family: var(--sans); font-size: 18px; letter-spacing: -.02em; }
.receipt__head > span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #667085; }
.receipt__row, .receipt__total { display: flex; justify-content: space-between; gap: 10px; }
.receipt__row--cut b { color: #c43232; }
.receipt--us .receipt__row--cut b { color: #1660fe; }
.receipt__total { padding-top: 12px; border-top: 2px dashed #98a2b3; font-weight: 700; }
.receipt__total b { font-family: var(--sans); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.receipt--us .receipt__total b { color: #1660fe; }
.receipt--us { background: #f4f7ff; }
.receipt--us .receipt__head b { color: #1660fe; font-size: 22px; }
.receipt--us .receipt__head, .receipt--us .receipt__total { border-color: #9db8ff; }
.receipt--them .receipt__total b { color: #667085; }
.stamp {
  position: absolute; right: 8px; top: 10px; padding: 6px 10px 4px; border: 3px solid #1660fe; border-radius: 10px; color: #1660fe;
  font-family: var(--marker); font-size: 18px; line-height: 1; text-align: center; rotate: -14deg; opacity: .92; background: rgba(255, 255, 255, .7);
}
.econ-note { margin-top: 18px; }
@media (max-width: 520px) { .receipts { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } .receipt-wrap:first-child { margin-top: 0; } }

/* ---------- Plan tickets ---------- */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ticket { display: grid; grid-template-rows: 1fr auto; border-radius: 20px; background: var(--card); transition: transform .3s var(--ease), box-shadow .3s; }
.ticket:nth-child(1) { rotate: -1deg; } .ticket:nth-child(3) { rotate: 1deg; }
.ticket__main { display: grid; gap: 14px; align-content: start; padding: 26px 26px 22px; }
.ticket__name { justify-self: start; font-family: var(--tag); font-size: 44px; line-height: 1; color: var(--blue); rotate: -4deg; }
.ticket h3 { font-size: 24px; letter-spacing: -.02em; }
.ticket__stub { position: relative; display: grid; gap: 2px; padding: 18px 26px 20px; border-top: 2px dashed var(--edge); }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--edge); }
.ticket__stub::before { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket__stub::after { right: -12px; clip-path: inset(0 50% 0 0); }
.ticket__stub span { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.ticket__stub b { font-size: 17px; }
.ticket__price { margin-top: 6px; font-family: var(--marker); font-size: 18px !important; color: var(--blue-text) !important; font-weight: 400 !important; }
.ticket--hot { background: var(--blue); color: #fff; box-shadow: 5px 5px 0 #1d2939; border-color: #1d2939; }
.ticket--hot .ticket__name { color: var(--sun); }
.ticket--hot .ticks svg { color: var(--sun); }
.ticket--hot .ticket__stub { border-top-color: rgba(255, 255, 255, .6); }
.ticket--hot .ticket__stub span, .ticket--hot .ticket__price { color: rgba(255, 255, 255, .85) !important; }
.ticket--hot::after { content: "For regulars"; position: absolute; top: -16px; right: 18px; padding: 8px 12px 6px; border: 2px solid #1d2939; border-radius: 12px; background: var(--sun); color: #1d2939; font-family: var(--marker); font-size: 16px; rotate: 6deg; box-shadow: 3px 3px 0 #1d2939; }
.ticket { position: relative; }
@media (max-width: 960px) { .tickets { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 34px; } }

/* ---------- Them vs us board ---------- */
.vsb { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 36px); align-items: center; }
.vsb__col { padding: clamp(24px, 3vw, 36px); border-radius: 22px; }
.vsb__col--them { background: var(--card); rotate: -1.5deg; }
.vsb__col--us { background: var(--blue); color: #fff; rotate: 1.5deg; border-color: #1d2939; box-shadow: 6px 6px 0 #1d2939; }
.vsb__col h3 { margin-bottom: 18px; font-family: var(--tag); font-weight: 400; font-size: clamp(30px, 3vw, 40px); letter-spacing: 0; }
.vsb__col--us h3 { color: var(--sun); }
.vsb ul { list-style: none; display: grid; gap: 16px; font-size: 17px; font-weight: 700; }
.vsb__col--them s { position: relative; text-decoration: none; color: var(--ink-2); }
.vsb__col--them s::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 4px; border-radius: 4px; background: var(--red); rotate: -2deg; transform-origin: left; transition: transform .45s var(--ease); }
.vsb__col--us li { display: flex; gap: 12px; align-items: center; }
.vsb__col--us li svg { width: 26px; height: 26px; padding: 4px; flex: none; border-radius: 50%; background: var(--sun); color: #1d2939; border: 2px solid #1d2939; }
.vsb__vs { font-family: var(--tag); font-size: clamp(54px, 6vw, 80px); line-height: 1; color: var(--sun); -webkit-text-stroke: 2px #1d2939; paint-order: stroke fill; rotate: -10deg; }
@media (max-width: 860px) { .vsb { grid-template-columns: 1fr; justify-items: stretch; } .vsb__vs { justify-self: center; } }

/* ---------- Footer tag ---------- */
.footer__tag {
  margin: 48px 0 -10px; text-align: center; font-family: var(--tag); font-size: clamp(88px, 21vw, 300px); line-height: .85;
  color: transparent; -webkit-text-stroke: 2px var(--line-2); rotate: -2deg; user-select: none; white-space: nowrap; overflow: hidden;
}

/* ==========================================================================
   MOTION
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(70px) rotate(-8deg); } }
@keyframes pop-in { 0% { opacity: 0; scale: .4; } 70% { opacity: 1; scale: 1.08; } 100% { scale: 1; } }
@keyframes slap { 0% { opacity: 0; scale: 2.6; } 60% { opacity: 1; scale: .9; } 80% { scale: 1.04; } 100% { scale: 1; } }
@keyframes spray { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@keyframes tag-in { from { clip-path: polygon(-15% -40%, -15% -40%, -15% 140%, -15% 140%); } to { clip-path: polygon(-15% -40%, 125% -40%, 125% 140%, -15% 140%); } }

/* Hero entrance */
.js .hero__copy > *, .js .page-hero__copy > * { animation: rise .8s var(--ease) both; }
.js .hero__copy > :nth-child(2), .js .page-hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3), .js .page-hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero__copy > :nth-child(4), .js .page-hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .hero__copy > :nth-child(5), .js .page-hero__copy > :nth-child(5) { animation-delay: .32s; }
.js .hero__photo, .js .page-hero__media { animation: rise 1s .15s var(--ease) both; }
.js .hero__phone { animation: phone-in 1.1s .3s var(--ease) both; }
.js .hero .float-card--a { animation: pop-in .6s .8s var(--ease) both, bob 6s ease-in-out 1.6s infinite; }
.js .hero .float-card--b { animation: pop-in .6s 1s var(--ease) both, bob 6s ease-in-out 2.2s infinite; }
.js .sticker--hero { animation: slap .55s 1.25s cubic-bezier(.3, 1.4, .5, 1) both; }
.js .hl::after { animation: spray .9s .55s var(--ease) both; }
.js .h1 .hl, .js .h1 em { animation: tag-in .9s .45s var(--ease) both; }
.js .scribble { animation: rise .6s 1s var(--ease) both; }
.js .scribble path { stroke-dasharray: 120; animation: draw 1s 1.2s var(--ease) both; }
.hero__phone .phone { transform: perspective(900px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .4s var(--ease); }

/* Scroll reveals */
.js [data-reveal] h2 em { clip-path: polygon(-10% -30%, -10% -30%, -10% 130%, -10% 130%); transition: clip-path .9s .25s var(--ease); }
.js [data-reveal].is-in h2 em { clip-path: polygon(-10% -30%, 120% -30%, 120% 130%, -10% 130%); }
.js .features > [data-reveal], .js .pillars > [data-reveal], .js .tickets > [data-reveal] { transform: translateY(30px) rotate(-2deg); }
.js .features > [data-reveal].is-in, .js .pillars > [data-reveal].is-in, .js .tickets > [data-reveal].is-in { transform: none; }
.js .vsb__col--them:not(.is-in) s::after { transform: scaleX(0); }
.vsb__col--them li:nth-child(2) s::after { transition-delay: .12s; } .vsb__col--them li:nth-child(3) s::after { transition-delay: .24s; }
.vsb__col--them li:nth-child(4) s::after { transition-delay: .36s; } .vsb__col--them li:nth-child(5) s::after { transition-delay: .48s; }
.vsb__col--them li:nth-child(6) s::after { transition-delay: .6s; }
.js .receipts:not(.is-in) .receipt-wrap { opacity: 0; translate: 0 40px; }
.receipt-wrap { transition: opacity .7s var(--ease), translate .7s var(--ease); }
.receipt-wrap:last-child { transition-delay: .15s; }
.js .receipts:not(.is-in) .stamp { opacity: 0; }
.js .receipts.is-in .stamp { animation: slap .5s .9s cubic-bezier(.3, 1.4, .5, 1) both; }
.js .stats:not(.is-in) .stat { opacity: 0; translate: 0 20px; }
.stat { transition: opacity .6s var(--ease), translate .6s var(--ease); }
.stat:nth-child(2) { transition-delay: .08s; } .stat:nth-child(3) { transition-delay: .16s; } .stat:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .js [data-reveal] h2 em { clip-path: none; }
  .hero__phone .phone { transform: none; }
}

/* ==========================================================================
   NEUTRAL TYPE PASS
   Headlines, accents, labels and numbers use Plus Jakarta Sans. The marker
   font is kept only for small hand-made accents (stickers, stamp, scribble),
   and the graffiti tag only for the footer signature.
   ========================================================================== */
.h1 em, .h2 em {
  font-family: var(--sans); font-weight: 800; font-size: 1em; line-height: inherit; letter-spacing: inherit;
  padding: 0; rotate: none;
}
.hl { font-family: var(--sans); font-weight: 800; font-size: 1em; letter-spacing: inherit; rotate: none; padding: 0 .04em; }
.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; rotate: none;
}
.step__n { font-family: var(--sans); font-weight: 800; font-size: 34px; letter-spacing: -.03em; rotate: none; }
.steps--stack .step__n { font-size: 28px; }
.stat .v em { font-family: var(--sans); font-weight: 800; rotate: none; font-size: 1em; margin-left: 0; }
.ticket__name { font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; rotate: none; }
.ticket__price { font-family: var(--sans) !important; font-weight: 700 !important; font-size: 14px !important; }
.vsb__col h3 { font-family: var(--sans); font-weight: 800; font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -.02em; }
.vsb__vs { font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 4vw, 56px); letter-spacing: -.04em; }
.ticker__track { font-family: var(--sans); font-weight: 800; font-size: clamp(16px, 1.8vw, 22px); letter-spacing: .06em; text-transform: uppercase; }
.ticker { padding-block: 16px; }
/* Hero headline never depends on an animation finishing */
.js .h1 .hl, .js .h1 em { animation: none; clip-path: none; }
.hl { margin-left: .02em; }
.hl::after { bottom: -.1em; height: .36em; left: -.06em; right: -.1em; }

/* ==========================================================================
   WORDMARK + SKYLINE FOOTER
   ========================================================================== */

/* The logo is the word "Creuse", always in brand blue */
.brand { font-size: 26px; font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--blue); }
.brand:hover { color: var(--blue); }

.footer { padding-top: 0; border-top: 0; }
.footer > .wrap { padding-top: clamp(40px, 5vw, 64px); }
.js .js .js 
/* The waitlist section flows straight into the sky band, so it no longer drips */
.join::after { content: none; }
.footer__tag { display: none; }
:root { --footer-bg: var(--surface); }
:root[data-theme="dark"] { --footer-bg: #1a2235; }
.footer { background: var(--footer-bg); }

/* ==========================================================================
   ANGLED SEPARATIONS
   Every coloured block (surface, dark, waitlist, footer) has gently angled
   edges rising left to right. Each block overlaps the one above by the slant,
   so the angled gap reveals the previous section. Paint drips are retired.
   ========================================================================== */
:root { --slant: clamp(12px, 1.4vw, 20px); }
.sec--surface, .sec--night, .join, .footer { position: relative; margin-top: calc(var(--slant) * -1); }
.sec--surface, .sec--night, .join {
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-block: calc(clamp(56px, 8vw, 104px) + var(--slant));
}
.footer { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); padding-top: var(--slant); background: var(--footer-bg); }
.footer::before, .sec--night::after, .join::after { content: none; }
.footer > .wrap { padding-top: clamp(40px, 5vw, 60px); }

/* ---------------------------------------------------------------- Live trip share (track.html) */
.track { display: grid; gap: 18px; max-width: 640px; margin-inline: auto; padding: clamp(28px, 5vw, 48px); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.track__facts { display: grid; gap: 0; margin: 0; border-radius: var(--r-m); background: var(--surface); }
.track__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.track__facts div:last-child { border-bottom: 0; }
.track__facts dt { color: var(--ink-2); }
.track__facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.track__plate { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.track__note { max-width: 640px; margin: 16px auto 0; text-align: center; }
.small { font-size: .875rem; }

/* ---------- Wordmark paint streak (header + footer) ----------
   The same hand-sprayed streak as the headline highlights, under "Creuse".
   Header: paints in on load. Footer: paints in when it scrolls into view. */
.brand { position: relative; z-index: 0; display: inline-block; }
.brand::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -.06em; right: -.1em; bottom: -.1em; height: .36em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30' preserveAspectRatio='none'%3E%3Cpath d='M4 17C40 9 98 5 197 8l-2 9c-48 2-110 6-188 11-6 0-8-9-3-11z' fill='%23ffd23f'/%3E%3Cpath d='M14 6c50-3 110-4 176-2' stroke='%23ffd23f' stroke-width='3' fill='none' opacity='.55'/%3E%3Ccircle cx='192' cy='24' r='2.5' fill='%23ffd23f'/%3E%3Ccircle cx='9' cy='5' r='1.6' fill='%23ffd23f'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
:root[data-theme="dark"] .brand::after { opacity: .92; }
.js .brand::after { animation: spray .9s .45s var(--ease) both; }
.js .footer .brand::after { animation: none; clip-path: inset(0 100% 0 0); }
.js .footer .brand.is-in::after { animation: spray .9s .1s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .js .brand::after, .js .footer .brand::after, .js .footer .brand.is-in::after { animation: none; clip-path: none; }
}

/* ---------- Phone mockups, v2: the apps' street layout ----------
   Light app screens (the apps default to light). Ink outlines, hard shadows,
   round map buttons, the yellow paint streak on the greeting name. */
.pmx { --pi: #1d2939; --pm: #667085; --pb: #1660fe; --ps: #ffd23f; background: #fff; }
.pmx .app-map { background: #eef2f7; }
.pm-map { flex: 1.15; min-height: 0; }
.pm-map--trip { flex: 1; }
.pm-topbar { position: absolute; z-index: 2; top: 30px; left: 10px; right: 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pm-circle { position: relative; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1.5px solid var(--pi); box-shadow: 2px 2px 0 var(--pi); color: var(--pi); font-size: 7px; font-weight: 800; }
.pm-circle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pm-dot { position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: #c43232; border: 1.5px solid #fff; }
.pm-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1.5px solid var(--pi); box-shadow: 2px 2px 0 var(--pi); font-weight: 800; font-size: 9.5px; }
.pm-pill i { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; }
.pm-dest { display: grid; justify-items: center; padding: 3px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--pi); box-shadow: 2px 2px 0 var(--pi); font-weight: 800; font-size: 9.5px; line-height: 1.2; }
.pm-dest small { font-size: 6.5px; letter-spacing: .1em; color: var(--pm); font-weight: 700; }
.pm-sos { position: absolute; z-index: 2; left: 10px; bottom: 62px; background: #c43232; border-color: var(--pi); color: #fff; }
.pm-shield { position: absolute; z-index: 2; left: 10px; bottom: 28px; }
.pm-locate { position: absolute; z-index: 2; right: 10px; bottom: 28px; }

.pm-cloud { position: absolute; z-index: 1; border-radius: 50%; filter: blur(2px); }
.pm-cloud--a { width: 74px; height: 74px; left: 12%; top: 38%; background: rgba(245, 180, 11, .38); }
.pm-cloud--b { width: 56px; height: 56px; left: 56%; top: 24%; background: rgba(255, 122, 26, .34); }
.pm-cloud--c { width: 44px; height: 44px; left: 62%; top: 58%; background: rgba(22, 96, 254, .22); }

.pm-sheet { position: relative; z-index: 3; display: grid; gap: 8px; padding: 8px 12px 14px; margin-top: -10px; border: 1.5px solid var(--pi); border-bottom: 0; border-radius: 18px 18px 0 0; background: #fff; }
.pm-handle { justify-self: center; width: 30px; height: 3px; border-radius: 99px; background: #d0d5dd; }
.pm-hello { font-size: 13px; font-weight: 800; letter-spacing: -.03em; color: var(--pi); }
.pm-streak { position: relative; color: var(--pb); z-index: 0; }
.pm-streak::after { content: ""; position: absolute; z-index: -1; left: -2px; right: -3px; bottom: -1px; height: 6px; border-radius: 3px; background: var(--ps); transform: rotate(-1.5deg); }
.pm-search { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--pi); box-shadow: 2px 2px 0 var(--pi); font-weight: 700; color: var(--pm); font-size: 11px; }
.pm-search svg { width: 13px; height: 13px; fill: none; stroke: var(--pi); stroke-width: 2.2; stroke-linecap: round; }
.pm-place { display: flex; align-items: center; gap: 9px; }
.pm-place b { display: block; font-size: 10.5px; font-weight: 800; color: var(--pi); }
.pm-place small { display: block; font-size: 9px; color: var(--pm); font-weight: 600; }
.pm-badge { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 8px; background: #edf3ff; border: 1.5px solid var(--pi); color: var(--pb); }
.pm-badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pm-poster { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 9px 11px; border-radius: 14px; background: var(--pb); color: #fff; border: 1.5px solid var(--pi); box-shadow: 3px 3px 0 var(--pi); }
.pm-poster small { display: block; font-size: 8.5px; font-weight: 600; opacity: .85; }
.pm-poster b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.pm-sticker { padding: 3px 8px; border-radius: 6px; background: var(--ps); color: var(--pi); border: 1.5px solid var(--pi); font-family: var(--marker); font-size: 10px; transform: rotate(5deg); box-shadow: 2px 2px 0 var(--pi); }
.pm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pm-tile { display: grid; justify-items: start; gap: 5px; padding: 7px 8px; border-radius: 12px; border: 1.5px solid var(--pi); box-shadow: 2px 2px 0 var(--pi); }
.pm-tile b { font-size: 10.5px; font-weight: 800; color: var(--pi); }
.pm-tile .pm-badge { width: 20px; height: 20px; border-radius: 7px; }

.pm-trip { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.pm-trip__info small { display: block; font-size: 10px; font-weight: 600; color: var(--pi); }
.pm-eta { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: var(--pi); }
.pm-car { display: block; margin-top: 3px; font-size: 9px; color: var(--pm); font-weight: 600; }
.pm-plate { display: inline-block; margin-top: 3px; padding: 1px 6px; border-radius: 4px; background: var(--ps); border: 1.5px solid var(--pi); font-size: 9px; font-weight: 800; letter-spacing: .06em; color: var(--pi); }
.pm-photo { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; margin-right: 4px; border-radius: 50%; background: #edf3ff; border: 1.5px solid var(--pi); font-weight: 800; font-size: 13px; color: var(--pi); }
.pm-photo em { position: absolute; right: -8px; bottom: -4px; padding: 1px 5px; border-radius: 99px; background: var(--ps); border: 1.5px solid var(--pi); font-style: normal; font-size: 7.5px; font-weight: 800; }
.pm-pin { display: flex; align-items: center; justify-content: space-between; padding: 6px 9px; border-radius: 12px; background: #fff7d6; border: 1.5px solid var(--pi); box-shadow: 2px 2px 0 var(--pi); }
.pm-pin b { font-size: 10px; font-weight: 800; }
.pm-pin span { display: flex; gap: 4px; }
.pm-pin i { display: grid; place-items: center; width: 17px; height: 21px; border-radius: 5px; background: #fff; border: 1.5px solid var(--pi); font-style: normal; font-size: 11px; font-weight: 800; }
.pm-actions { display: flex; align-items: center; gap: 7px; }
.pm-msg { display: flex; flex: 1; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1.5px solid var(--pi); box-shadow: 2px 2px 0 var(--pi); font-weight: 800; font-size: 9.5px; }
.pm-msg svg { width: 12px; height: 12px; fill: none; stroke: var(--pb); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pm-more { justify-self: center; display: grid; place-items: center; width: 40px; height: 20px; border-radius: 99px; border: 1.5px solid var(--pi); box-shadow: 2px 2px 0 var(--pi); }
.pm-more svg { width: 14px; height: 14px; fill: var(--pi); stroke: none; }
.pm-share { display: flex; align-items: center; gap: 9px; }
.pm-share b { display: block; font-size: 10.5px; font-weight: 800; }
.pm-share small { display: block; font-size: 8.5px; font-weight: 700; color: #087f5b; }
.pm-avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #edf3ff; border: 1.5px solid var(--pi); font-size: 9px; font-weight: 800; }
/* The map's background svg is absolutely positioned; keep the icons inside its round buttons in normal flow. */
.pm-map .pm-circle svg, .pm-map .pm-pill svg { position: static; inset: auto; width: 12px; height: 12px; }

/* Content protection (best effort, no script needed): no image dragging or long-press save menu. */
img, svg { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }
img { -webkit-user-select: none; user-select: none; }

/* The Creuse receipt: the yellow streak sprays in under the name and the amount as it scrolls into view. */
.rs { position: relative; z-index: 0; display: inline-block; }
.rs::after {
  content: ""; position: absolute; z-index: -1; left: -.1em; right: -.14em; bottom: -.02em; height: .46em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30' preserveAspectRatio='none'%3E%3Cpath d='M4 17C40 9 98 5 197 8l-2 9c-48 2-110 6-188 11-6 0-8-9-3-11z' fill='%23ffd23f'/%3E%3Cpath d='M14 6c50-3 110-4 176-2' stroke='%23ffd23f' stroke-width='3' fill='none' opacity='.55'/%3E%3Ccircle cx='192' cy='24' r='2.5' fill='%23ffd23f'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.js .receipts:not(.is-in) .rs::after { clip-path: inset(0 100% 0 0); }
.js .receipts.is-in .rs::after { animation: spray .9s 1s var(--ease) both; }
.js .receipts.is-in .receipt__total .rs::after { animation-delay: 1.5s; }
