/* The landing page, English (/), French (/fr/), Spanish (/es/) and German (/de/). Hero with the phone, three steps, one section per feature with its
   own picture, privacy, the App Store. The app's own palette: one colour per person, amber for the sun. */
/* Self-hosted (2026-10-16): no request to Google. Variable woff2 from Google Fonts, latin + latin-ext subsets, OFL 1.1 (fonts/OFL.txt). */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/fonts/nunito-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/fonts/nunito-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/nunito-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/nunito-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #F6F9FA; --surface: #FFFFFF; --fg: #0F2328; --muted: #50686E; --hair: #DCE6E8;
  --tint: #2F7F90; --on-tint: #FFFFFF; --p1: #368B9C; --p2: #DB7116; --p3: #8E5BB5; --p4: #C03A6B; --sun: #E8A317; --shade: #37565C;
  --map: #E9F0EE; --street: #FFFFFF; --park: #D6E8D5; --water: #CFE6EE;
  /* Brand type (owner, 2026-10-16): Nunito for titles, Nunito Sans for text, self-hosted in /fonts/ (the @font-face rules above). */
  --font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: Nunito, ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --round: var(--display);
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #0B1416; --surface: #132126; --fg: #E4EFF1; --muted: #98B0B6; --hair: #22363B;
  --tint: #16B9DB; --on-tint: #06181C; --p1: #16B9DB; --p2: #E8842E; --p3: #C39BE3; --p4: #F284AC; --sun: #FFC048; --shade: #8FB5BC;
  --map: #16252A; --street: #22363C; --park: #1C3328; --water: #173440; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 var(--font); }
a { color: var(--tint); }
a:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1100px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; font-weight: 800; }
h1 .accent { color: var(--tint); }
/* The app’s name in Fair means time, in the brand blue like the title’s accents. */
.brand-word { color: var(--tint); font-weight: 700; }
h2 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.08; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.kicker { font: 600 13px/1.35 var(--font); text-transform: uppercase; letter-spacing: 0.09em; color: var(--tint); }

/* Nav */
nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
nav .links { align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--display); color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; overflow: hidden; flex: none; }
.brand-mark img { display: block; }
nav .links { display: flex; gap: 22px; font-size: 15px; }
nav .links a { color: var(--muted); text-decoration: none; }
nav .links a:hover { color: var(--fg); }
.globe { position: relative; font: 600 13px/1 var(--font); }
.globe summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid var(--hair); border-radius: 999px; color: var(--muted); cursor: pointer; user-select: none; }
.globe summary::-webkit-details-marker { display: none; }
.globe summary:hover, .globe[open] summary { color: var(--fg); background: var(--surface); }
.globe summary:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; }
.globe ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 160px; margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.14); }
nav .links .globe a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 8px; color: var(--fg); font: 500 15px/1.2 var(--font); }
nav .links .globe a:hover { background: var(--bg); }
.globe a[aria-current]::after { content: "\2713"; color: var(--tint); font-weight: 700; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: 36px 0; }
.hero > div { min-width: 0; }
/* The text keeps the height it had before the device switch grew the right column (title 94 px below the phone’s top at desktop width). */
@media (min-width: 861px) { .hero > div:first-child { align-self: start; margin-top: 94px; } .hero > div:first-child:has(> .kicker) { margin-top: 76px; } }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34ch; margin-top: 20px; }
.hero .lede strong, section strong { font-weight: 650; color: var(--fg); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); font-size: 15px; font-weight: 550; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.cta .status { margin-top: 0; }
.button { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 999px; background: var(--tint); color: var(--on-tint); font: 650 17px/1 var(--font); text-decoration: none; }
.button[hidden], .soon[hidden] { display: none; }
.soon { font-size: 15px; font-weight: 600; color: var(--p2); }
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mode { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--p1) 12%, transparent); color: var(--fg); }

/* Phone */
.phone { width: min(310px, 100%); margin-inline: auto; border-radius: 46px; background: #0E1A1D; padding: 11px; box-shadow: 0 30px 60px -20px rgba(15, 35, 40, 0.35), 0 0 0 1px rgba(255,255,255,0.06) inset; }
.screen { position: relative; aspect-ratio: 1206 / 2622; border-radius: 36px; overflow: hidden; background: var(--map); }
.screen svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0E1A1D; z-index: 3; }
/* An app screenshot covers the illustration once img/<lang>/<name>.png exists; until then the img removes itself. */
.screen img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.visual:not(.has-shot) > .phone, .visual:not(.has-shot) > .phones, .visual.has-shot > .panel { display: none; }
/* The selected sun button in the sunny-terrace screenshot, ringed as in the principle video; placed in % of the screen so it stays on the button. */
.sun-ring { position: absolute; z-index: 3; left: 80.7%; top: 10.25%; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--sun); background: color-mix(in srgb, var(--sun) 16%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--sun) 22%, transparent), 0 0 18px 4px color-mix(in srgb, var(--sun) 45%, transparent); pointer-events: none; }
/* Hero: the iPhone by default, the iPad behind the iPhone | iPad switch (shown by its script). Both sit in one grid cell, so the column keeps the taller one's height and nothing jumps. */
.devices { display: grid; align-items: center; }
.devices > * { grid-area: 1 / 1; transition: opacity 0.25s, visibility 0.25s; }
.devices[data-device="iphone"] > .ipad, .devices[data-device="ipad"] > .phone { opacity: 0; visibility: hidden; }
.devices .ipad { width: min(470px, 100%); margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .devices > * { transition: none; } }
.device-switch { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.device-switch[hidden] { display: none; }
.device-switch button { display: inline-grid; place-items: center; font: 600 14px/1 var(--font); padding: 7px 16px; border-radius: 999px; border: 0; cursor: pointer; background: color-mix(in srgb, var(--p1) 12%, transparent); color: var(--fg); }
.device-switch button[aria-pressed="true"] { background: var(--tint); color: var(--on-tint); }
.device-switch .ico { width: 20px; height: 20px; }
.device-switch button:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; }
.ipad { border-radius: 22px; background: #0E1A1D; padding: 8px; box-shadow: 0 30px 60px -20px rgba(15, 35, 40, 0.35), 0 0 0 1px rgba(255,255,255,0.06) inset; }
.ipad-screen { position: relative; aspect-ratio: 2064 / 2752; border-radius: 15px; overflow: hidden; background: var(--map); }
.ipad-screen img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 22px 22px 0 0; padding: 8px 14px 16px; box-shadow: 0 -6px 20px rgba(0,0,0,0.08); }
.grabber { width: 36px; height: 5px; border-radius: 3px; background: var(--hair); margin: 0 auto 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px/1 var(--font); padding: 6px 9px; border-radius: 999px; background: var(--bg); }
.chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
/* One colour per travel mode on its icon (the app’s first four person colours); the label keeps the text colour. */
.ico:has(use[href="#m-walk"]) { color: var(--p1); }
.ico:has(use[href="#m-transit"]) { color: var(--p2); }
.ico:has(use[href="#m-car"]) { color: var(--p4); }
.ico:has(use[href="#m-bike"]) { color: var(--p3); }
.spot { padding: 9px 0; border-top: 1px solid var(--hair); }
.spot-head { display: flex; align-items: center; gap: 8px; }
.rank { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--round); color: #fff; background: var(--shade); flex: none; }
.spot:first-of-type .rank { background: var(--p1); }
.spot-name { font: 650 13.5px/1.2 var(--font); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gap { font: 600 11px/1 var(--font); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sun-cap { display: inline-flex; align-items: center; gap: 4px; font: 600 10.5px/1 var(--font); color: var(--fg); margin: 5px 0 0 28px; font-variant-numeric: tabular-nums; }
.sun-cap::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.bars { display: grid; gap: 3px; margin: 6px 0 0 28px; }
.bar { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 6px; font: 500 10px/1 var(--font); color: var(--muted); }
.bar .track { height: 5px; border-radius: 3px; background: var(--hair); position: relative; }
.bar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 3px; }
.bar b { white-space: nowrap; font-weight: 600; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.illustration { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Sections */
section { padding-block: 72px; }
section + section { border-top: 1px solid var(--hair); }
.hero + section { padding-top: 32px; }
.section-head { display: grid; gap: 14px; max-width: 42rem; margin-bottom: 40px; }
.section-head p { font-size: 19px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border-radius: 20px; padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.steps li::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--round); color: #fff; background: var(--p1); }
.steps li:nth-child(2)::before { background: var(--p2); }
.steps li:nth-child(3)::before { background: var(--p3); }
.steps p { color: var(--muted); font-size: 16px; }
/* Each step shows a crop of its app screen above the number. */
.steps .step-shot { order: -1; width: 100%; height: auto; border-radius: 16px; margin-bottom: 8px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature > div { min-width: 0; }
.feature.flip > :first-child { order: 2; }
.feature .copy { display: grid; gap: 16px; max-width: 30rem; }
.feature .copy p { font-size: 18px; color: var(--muted); }
.feature ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 16px; }
.feature li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--p1); }
/* Sunny terraces: a sun instead of the dot, in the dot’s slot. */
section[aria-labelledby="sun-title"] .feature li::before { content: "\2600\FE0F"; width: auto; height: auto; margin-top: 0; border-radius: 0; background: none; font-size: 14px; line-height: inherit; }
.panel { background: var(--surface); border-radius: 24px; padding: 28px; }
.panel svg { display: block; width: 100%; height: auto; }

/* Fair-time comparison */
.compare { display: grid; gap: 22px; }
.compare-row { display: grid; gap: 10px; }
.compare-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; }
.compare-title span { font-size: 14px; font-weight: 500; color: var(--muted); }
.compare-title b { font-weight: inherit; }
.cbar { display: grid; grid-template-columns: 52px 1fr 58px; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.cbar .track { height: 12px; border-radius: 6px; background: var(--hair); position: relative; }
.cbar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; }
.cbar b { font-weight: 650; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.verdict { font-size: 14px; font-weight: 600; }
.verdict.bad { color: var(--muted); }
.verdict.good { color: var(--tint); }

/* Groups */
.group { display: grid; gap: 14px; }
.invite { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--p1) 12%, transparent); font-size: 15px; font-weight: 600; min-width: 0; }
.invite svg { flex: none; width: 20px; height: 20px; color: var(--tint); }
.invite span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 15px; }
.member i { width: 12px; height: 12px; border-radius: 50%; }
.member b { font-weight: 650; }
.member small { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.member small.live { color: var(--tint); font-weight: 600; }
/* Groups: the app and the App Clip form side by side, same height (both screens cut at the bottom), stacked when either would be under 140 px. */
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px 20px; max-width: 640px; margin-inline: auto; }
/* Groups gives the two phones about 64% of the row on desktop (about 310 px each), the text the rest. */
#groups .feature { grid-template-columns: minmax(0, 16fr) minmax(0, 9fr); }
#groups .feature .copy { max-width: 38ch; }
.phones figure { margin: 0; display: grid; gap: 10px; }
.phones figcaption { font-size: 15px; font-weight: 650; color: var(--muted); text-align: center; }
.phones .phone-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.phones .phone { border-radius: 34px; padding: 8px; }
.phones .screen.short { aspect-ratio: 620 / 1182; border-radius: 27px; }
.phones .screen img.shot { object-position: top; }
/* Emma, in her colour, on both Groups phones: her row on the organiser's list and her name on the form; placed in % of the screen. */
.person-ring { position: absolute; z-index: 3; border-radius: 14px; border: 2.5px solid var(--p4); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p4) 20%, transparent), 0 0 14px 2px color-mix(in srgb, var(--p4) 40%, transparent); pointer-events: none; }
.phones .island { top: 6px; width: 30%; height: auto; aspect-ratio: 92 / 26; }

.join { background: var(--surface); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; justify-items: start; }
.join .cta { margin-top: 8px; }

/* Feature pictures: pieces of the app in the hero's sheet style, a little larger (Sun B and Home A, owner 2026-10-14). */
.mini { background: var(--surface); border-radius: 24px; padding: 16px 16px 12px; zoom: 1.3; box-shadow: 0 1px 0 var(--hair); }
.mini .spot:first-of-type { border-top: 0; }
.mini svg.snip { display: block; width: 100%; height: auto; border-radius: 14px; margin-bottom: 10px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0 4px; border-top: 1px solid var(--hair); font: 600 12.5px/1 var(--font); }
.ios-switch { width: 34px; height: 20px; border-radius: 10px; background: #34C759; position: relative; }
.ios-switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.area { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--hair); }
.mini .rank { background: var(--muted); }
.mini .rank.r1 { background: var(--p1); }
.mini .rank.r2 { background: color-mix(in srgb, var(--p1) 65%, var(--muted)); }
.area .spot-name { flex: none; }
.times { display: flex; gap: 4px; }
.times span { font: 650 10.5px/1 var(--font); padding: 4px 6px; border-radius: 999px; color: #fff; font-variant-numeric: tabular-nums; }
.scale { display: flex; align-items: center; gap: 6px; font: 600 10px/1 var(--font); color: var(--muted); padding-top: 8px; border-top: 1px solid var(--hair); }
.scale i { width: 10px; height: 10px; border-radius: 3px; background: var(--p1); }
@media (max-width: 480px) { .mini { zoom: 1.1; } }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--surface); border-radius: 20px; padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.tile p { font-size: 15.5px; color: var(--muted); }
.tile-shot { width: 100%; height: auto; border-radius: 14px; margin-bottom: 8px; }
.tile svg { width: 28px; height: 28px; color: var(--tint); }

.privacy { background: var(--surface); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.privacy > div { min-width: 0; }
.privacy p.muted { font-size: 18px; }
.privacy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; }
.privacy li::before { content: "✓"; font-weight: 700; color: var(--tint); }

.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lang { padding: 8px 14px; border-radius: 12px; background: var(--surface); font-weight: 550; }

footer { padding-block: 40px 56px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; font-size: 15px; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); }
/* AlephB’s monogram after its name, in the footer’s grey (a mask), sitting on the text’s baseline at cap height. */
.alephb { white-space: nowrap; }
/* AlephB and the email in the brand blue, underlined on hover. */
footer a.alephb, footer a[href^="mailto:"] { color: var(--tint); text-decoration: none; }
footer a.alephb:hover, footer a[href^="mailto:"]:hover { text-decoration: underline; }
.alephb-logo { display: inline-block; height: 0.7em; width: 1.27em; margin-left: 0.3em; vertical-align: baseline; background-color: var(--muted); -webkit-mask-image: url(/img/alephb.svg); mask-image: url(/img/alephb.svg); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: left bottom; mask-position: left bottom; }
.email { user-select: all; color: var(--fg); }

@media (max-width: 860px) {
  .hero, .feature, .privacy { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip > :first-child { order: 0; }
  #groups .feature { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  /* Groups */
.group { display: grid; gap: 14px; }
.invite { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--p1) 12%, transparent); font-size: 15px; font-weight: 600; min-width: 0; }
.invite svg { flex: none; width: 20px; height: 20px; color: var(--tint); }
.invite span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 15px; }
.member i { width: 12px; height: 12px; border-radius: 50%; }
.member b { font-weight: 650; }
.member small { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.member small.live { color: var(--tint); font-weight: 600; }

.join { background: var(--surface); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; justify-items: start; }
.join .cta { margin-top: 8px; }

.grid4 { grid-template-columns: repeat(2, 1fr); }
  section { padding-block: 56px; }
}
@media (max-width: 480px) {
  /* Groups */
.group { display: grid; gap: 14px; }
.invite { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--p1) 12%, transparent); font-size: 15px; font-weight: 600; min-width: 0; }
.invite svg { flex: none; width: 20px; height: 20px; color: var(--tint); }
.invite span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 15px; }
.member i { width: 12px; height: 12px; border-radius: 50%; }
.member b { font-weight: 650; }
.member small { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.member small.live { color: var(--tint); font-weight: 600; }

.join { background: var(--surface); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; justify-items: start; }
.join .cta { margin-top: 8px; }

.grid4 { grid-template-columns: 1fr; }
  nav .links { gap: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .fill { transform-origin: left; animation: grow 900ms cubic-bezier(.2,.7,.2,1) both; }
  .bars .bar:nth-child(2) .fill { animation-delay: 120ms; }
  .bars .bar:nth-child(3) .fill { animation-delay: 240ms; }
  @keyframes grow { from { transform: scaleX(0.15); } to { transform: scaleX(1); } }
}
