/* «Спорт это база» — art direction 25.09.2026.
   Quiet paper, ink type in light weights, one brand blue, the logo's coral for "needs".
   Scoreboard numerals (Sofia Sans Extra Condensed) echo the condensed БАЗА emblem;
   the shield's chamfered top corners reappear on hero photographs. */
@import url("./assets/fonts.css?v=20260925r");

:root {
  --paper: #f3f2ee;
  --paper-2: #e8e6e0;
  --card: #fff;
  --ink: #111216;
  --ink-2: #55575f;
  --ink-3: #8a8c93;
  --line: rgba(17, 18, 22, 0.09);
  --line-2: rgba(17, 18, 22, 0.16);
  --blue: #2445ff;
  --blue-deep: #1a33d1;
  --blue-soft: #e5e8ff;
  --coral: #fe7b71;
  --coral-ink: #c63c31;
  --coral-soft: #ffe5e1;
  --green: #1d7a52;
  --green-soft: #e1f1e8;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Sofia Sans Extra Condensed", "Onest", sans-serif;
  --container: 1320px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --ch: clamp(16px, 2.2vw, 34px);
  --chamfer: polygon(var(--ch) 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% 100%, 0 100%, 0 var(--ch));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 24px 60px rgba(17, 18, 22, 0.14);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
input, textarea, select { min-width: 0; }
button:disabled { cursor: not-allowed; opacity: 0.38; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
main:focus, main:focus-visible { outline: none; }
::selection { background: #cdd4ff; }
.icon { width: 20px; height: 20px; }

h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 380;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
small, .small { font-size: 13px; line-height: 1.45; }
.muted { color: var(--ink-2); }
.blue-text { color: var(--blue); }
.label, .eyebrow { font-size: 13px; line-height: 1.35; color: var(--ink-3); font-weight: 450; letter-spacing: 0; }
.num {
  font-family: var(--num);
  font-weight: 330;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.01em;
}
.num small, .rub { font-family: var(--font); font-size: 0.34em; font-weight: 400; letter-spacing: 0; color: inherit; opacity: 0.62; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between, .between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.gap8 { gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.full { width: 100%; }
.right { text-align: right; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- buttons, badges, links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
@media (hover: hover) { .btn:hover:not(:disabled) { border-color: var(--ink); } }
.btn.small { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.full { width: 100%; }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (hover: hover) { .btn.blue:hover:not(:disabled) { background: var(--blue-deep); border-color: var(--blue-deep); } }
.btn.white { background: #fff; border-color: #fff; color: var(--ink); }
@media (hover: hover) { .btn.white:hover:not(:disabled) { background: var(--paper); border-color: var(--paper); } }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.42); color: #fff; }
@media (hover: hover) { .btn.ghost:hover:not(:disabled) { border-color: #fff; background: rgba(255, 255, 255, 0.08); } }
.btn.soft, .btn.outline { background: var(--card); }
.btn.red { background: var(--coral-ink); border-color: var(--coral-ink); color: #fff; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.icon-btn .icon { width: 19px; height: 19px; }
@media (hover: hover) { .icon-btn:hover { background: var(--paper-2); } }
.icon-btn.active { color: var(--coral-ink); }
.icon-btn.active svg, .favorite.active svg { fill: currentColor; }
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
}
.text-btn .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
@media (hover: hover) { .text-btn:hover .icon { transform: translateX(3px); } }
.text-btn.muted { color: var(--ink-3); }
.text-btn.small { font-size: 13.5px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--ink-2);
  font-size: 14px;
}
.back .icon { width: 18px; height: 18px; }
@media (hover: hover) { .back:hover { color: var(--ink); } }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.badge .icon { width: 14px; height: 14px; }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.red { background: var(--coral-soft); color: var(--coral-ink); }
.badge.white { background: #fff; color: var(--ink); }
.progress {
  position: relative;
  height: 4px;
  border-radius: 99px;
  background: rgba(17, 18, 22, 0.08);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: var(--blue);
  transition: width 0.8s var(--ease);
}

/* ---------- background: a coach's tactics board ----------
   Dot-grid texture, wrestling-mat circles, running-track lanes numbered in scoreboard type,
   and two runners in the brand colours. Fixed behind everything; visible only between cards. */
.board {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  color: rgba(17, 18, 22, 0.085);
  background-image: radial-gradient(rgba(17, 18, 22, 0.075) 0.9px, transparent 1.2px);
  background-size: 28px 28px;
  background-position: -14px -14px;
}
.board svg { position: absolute; overflow: visible; }
.board-lines path, .board-lines circle { fill: none; stroke: currentColor; stroke-width: 1; }
.board-mat { top: -150px; right: -170px; width: 720px; height: 720px; }
.board-ring { top: -150px; right: -170px; width: 720px; height: 720px; animation: board-turn 240s linear infinite; }
.board-ring circle { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 11; }
.board-track { left: 0; bottom: 0; width: min(780px, 92vw); height: auto; aspect-ratio: 900 / 640; }
.board-nums text { font-family: var(--num); font-size: 22px; font-weight: 400; fill: rgba(17, 18, 22, 0.13); }
.runner path { fill: none; stroke-linecap: round; }
.runner.blue path { stroke: var(--blue); }
.runner.coral path { stroke: var(--coral); }
.runner .tail { stroke-width: 2; opacity: 0.2; stroke-dasharray: 150 3000; stroke-dashoffset: 150; animation: runner-tail var(--run, 17s) cubic-bezier(0.45, 0.05, 0.3, 1) var(--delay, 0s) infinite; }
.runner .head { stroke-width: 6; opacity: 0.55; stroke-dasharray: 0.1 3000; stroke-dashoffset: 0.1; animation: runner-head var(--run, 17s) cubic-bezier(0.45, 0.05, 0.3, 1) var(--delay, 0s) infinite; }
.runner.coral { --run: 22s; --delay: -9s; }
@keyframes board-turn { to { transform: rotate(360deg); } }
@keyframes runner-tail { 0% { stroke-dashoffset: 150; opacity: 0; } 4% { opacity: 0.2; } 58% { opacity: 0.2; } 64%, 100% { stroke-dashoffset: -1000; opacity: 0; } }
@keyframes runner-head { 0% { stroke-dashoffset: 0.1; opacity: 0; } 4% { opacity: 0.55; } 58% { opacity: 0.55; } 64%, 100% { stroke-dashoffset: -1149.9; opacity: 0; } }

/* ---------- public landing ---------- */
.site-header, .header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand-link { display: inline-flex; flex-shrink: 0; }
.brand-lockup { display: inline-flex; align-items: center; }
.brand-lockup .logotype { height: 30px; width: auto; }
.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-size: 14.5px;
}
@media (hover: hover) { .site-nav button:hover { color: var(--ink); background: rgba(17, 18, 22, 0.05); } }
.site-header > .btn { margin-left: 8px; }

.landing-main > section, .site-footer { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding-top: clamp(32px, 5.4vw, 80px);
}
.hero-title {
  grid-column: 1 / span 8;
  font-size: clamp(54px, 8.4vw, 132px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.052em;
  text-wrap: initial;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-plate {
  grid-column: 1 / -1;
  position: relative;
  margin-top: clamp(28px, 3.4vw, 48px);
  height: clamp(380px, 42vw, 620px);
  clip-path: var(--chamfer);
  background: var(--paper-2);
  overflow: hidden;
}
.hero-plate > img { width: 100%; height: 100%; object-fit: cover; }
.hero-live { position: absolute; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); width: min(360px, calc(100% - 28px)); }
.hero-live a {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(9, 14, 40, 0.22);
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) { .hero-live a:hover { transform: translateY(-3px); } }
.live-meta { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 12.5px; }
.live-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(254, 123, 113, 0.6); animation: live-pulse 2s infinite; }
.live-meta i.done { background: var(--blue); animation: none; }
.hero-live strong { margin-top: 8px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.live-sum { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 12px; color: var(--ink-2); font-size: 13.5px; }
.live-sum b { color: var(--ink); font-size: 54px; line-height: 0.9; font-weight: 330; }
.live-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: var(--ink-2); font-size: 13px; }
.live-foot span:last-child { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 500; }
.live-foot .icon { width: 16px; height: 16px; }

.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line-2);
}
.scoreboard > div { display: flex; flex-direction: column; padding: 22px 20px 0 0; }
.scoreboard > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.scoreboard strong { font-size: clamp(48px, 5.8vw, 88px); line-height: 0.95; }
.scoreboard span { margin-top: 8px; color: var(--ink-2); font-size: 14px; }

.l-section { padding-top: clamp(88px, 10vw, 152px); }
.l-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: end;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.l-head h2, .partners-copy h2, .final-copy h2 {
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.l-head h2 { grid-column: 1 / span 7; }
.l-head > p { grid-column: 9 / -1; color: var(--ink-2); padding-bottom: 6px; }
.l-head.split { display: flex; justify-content: space-between; gap: 24px; }
.l-head.split p { margin-top: 18px; color: var(--ink-2); max-width: 520px; }

/* ---------- hero: one window, centred (after America.gov) ---------- */
.hero.hero-agent { display: block; padding-top: clamp(40px, 6vw, 96px); text-align: center; }
.hero-agent .hero-title { margin: 0 auto; font-size: clamp(52px, 6.6vw, 100px); line-height: 0.92; text-wrap: balance; }
.hero-sub { margin-top: 20px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -0.01em; }
.hero-stage { position: relative; margin-top: clamp(116px, 10.4vw, 132px); }
.hero-agent .hero-plate { margin-top: 0; height: clamp(460px, 44vw, 660px); }
.hero-ask { position: absolute; z-index: 3; top: 40px; left: 50%; display: flex; flex-direction: column-reverse; width: min(880px, calc(100% - 32px)); transform: translate(-50%, -100%); }
.ask-bar.big { height: 80px; padding: 0 10px 0 26px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.6), 0 24px 60px rgba(17, 18, 22, 0.16); }
.ask-bar.big:focus-within { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.6), 0 0 0 10px rgba(36, 69, 255, 0.35), 0 24px 60px rgba(17, 18, 22, 0.16); }
.ask-bar.big input { font-size: clamp(16px, 1.5vw, 20px); text-overflow: ellipsis; }
.ask-bar.big .ask-spark .icon { width: 24px; height: 24px; }
.ask-go { display: grid; place-items: center; width: 60px; height: 60px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--blue); color: #fff; transition: background 0.2s, transform 0.2s var(--ease); }
.ask-go .icon { width: 24px; height: 24px; }
@media (hover: hover) { .ask-go:hover { background: var(--blue-deep); transform: translateX(2px); } }
.hero-agent .hero-examples { justify-content: center; margin: 0 0 14px; }
.hero-agent .hero-examples button { height: 36px; padding: 0 14px; border: 0; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); font-size: 13.5px; box-shadow: 0 6px 18px rgba(9, 14, 40, 0.12); }
@media (hover: hover) { .hero-agent .hero-examples button:hover { background: #fff; } }
.hero-agent .hero-live { text-align: left; }

/* ---------- «Что решает»: problem → solution table and trust principles ---------- */
.solves { border-top: 1px solid var(--line-2); }
.solves-head, .solve-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); column-gap: 24px; }
.solves-head { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.solve-row { align-items: baseline; padding: clamp(20px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line); }
.solve-row h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }
.solve-pain { color: var(--ink-3); font-size: 15px; max-width: 420px; }
.solve-fix p { font-size: 15.5px; max-width: 540px; }
.solve-fix .text-btn { margin-top: 10px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.trust-item { padding: 24px; border-radius: var(--r-lg); background: var(--card); }
.trust-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--blue); color: #fff; }
.trust-icon .icon { width: 21px; height: 21px; }
.trust-item h3 { font-size: 20px; font-weight: 450; }
.trust-item p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- assistant: one window for any request ---------- */
.ask-bar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); transition: border-color 0.2s, box-shadow 0.2s; }
.ask-bar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 69, 255, 0.12); }
.ask-bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 15.5px; }
.ask-bar input::placeholder { color: var(--ink-3); }
.ask-bar .btn { flex-shrink: 0; }
.ask-bar .btn.small { width: 40px; padding: 0; }
.ask-bar.big { height: 60px; padding-left: 18px; box-shadow: 0 18px 40px rgba(17, 18, 22, 0.08); }
.ask-bar.big .btn { height: 48px; }
.ask-spark { display: grid; place-items: center; color: var(--coral); flex-shrink: 0; }
.ask-spark .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.hero-examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hero-examples button, .ask-suggest button { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 13px; transition: border-color 0.2s, color 0.2s, background 0.2s; }
@media (hover: hover) { .hero-examples button:hover, .ask-suggest button:hover { border-color: var(--ink); color: var(--ink); background: var(--card); } }
.ask-btn { display: flex; align-items: center; gap: 8px; height: 40px; margin-left: auto; padding: 0 8px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 14px; transition: border-color 0.2s, color 0.2s; }
.ask-btn .icon { width: 18px; height: 18px; color: var(--coral); fill: currentColor; stroke: none; }
.ask-btn kbd { padding: 2px 7px; border-radius: 6px; background: var(--paper); color: var(--ink-3); font: 500 11.5px var(--font); }
@media (hover: hover) { .ask-btn:hover { border-color: var(--ink); color: var(--ink); } }
.ask-btn + .account { margin-left: 0; }
dialog.assistant { max-width: 720px; margin-top: 8vh; padding: 24px; }
dialog.assistant .modal-head { margin-bottom: 14px; }
dialog.assistant .modal-head h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
dialog.assistant .modal-head h2 .icon { width: 22px; height: 22px; color: var(--coral); fill: currentColor; stroke: none; }
#ask-result { min-height: 60px; }
.ask-thinking { display: flex; gap: 6px; padding: 24px 4px; }
.ask-thinking i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: ask-dot 0.9s var(--ease) infinite; }
.ask-thinking i:nth-child(2) { animation-delay: 0.15s; }
.ask-thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ask-dot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.ask-answer { padding-top: 18px; animation: card-in 0.35s var(--ease) both; }
.ask-understood { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ask-understood span { margin-right: 4px; color: var(--ink-3); font-size: 12.5px; }
.ask-understood b { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-size: 12.5px; font-weight: 500; }
.ask-text { margin-top: 12px; color: var(--ink) !important; font-size: 16px !important; line-height: 1.55; }
.ask-cards { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.ask-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 16px; background: var(--paper); }
.ask-card > img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.ask-card b { display: block; font-size: 15.5px; font-weight: 500; }
.ask-card span { display: block; color: var(--ink-2); font-size: 13px; }
.ask-card em { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12.5px; font-style: normal; }
.ask-card .progress { margin-top: 8px; max-width: 280px; }
.ask-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ask-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.ask-suggest span { width: 100%; margin-bottom: 2px; color: var(--ink-3); font-size: 12.5px; }
.ask-note { margin-top: 14px; color: var(--ink-3) !important; font-size: 12.5px !important; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 8px;
  margin-top: clamp(88px, 10vw, 152px);
}
.feature-photo { min-height: 580px; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.2vw, 44px);
  border-radius: var(--r-lg);
  background: var(--blue);
  color: #fff;
}
.feature-meta { color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.feature-panel h2 { margin: 16px 0; font-size: clamp(32px, 3.3vw, 50px); font-weight: 300; line-height: 1.02; letter-spacing: -0.04em; }
.feature-panel > p:not(.feature-meta) { color: rgba(255, 255, 255, 0.82); max-width: 440px; }
.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.feature-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.feature-stats dt { margin-top: 6px; color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.feature-stats dd { font-size: clamp(44px, 4.4vw, 64px); line-height: 0.95; }
.feature-progress { margin: 26px 0 22px; font-size: 13.5px; color: rgba(255, 255, 255, 0.82); }
.feature-progress .progress, .need-card .progress, .result-progress .progress { margin-top: 10px; background: rgba(255, 255, 255, 0.24); }
.feature-progress .progress span, .need-card .progress span, .result-progress .progress span { background: #fff; }
.feature-panel .btn { align-self: flex-start; }

.story-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.story-tile { display: flex; flex-direction: column; }
.story-tile-photo { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.story-tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
@media (hover: hover) { .story-tile:hover .story-tile-photo img { transform: scale(1.03); } }
.story-tile-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--ink-2); font-size: 13.5px; }
.story-tile-meta span:last-child { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.story-tile h3 { margin-top: 10px; font-size: clamp(22px, 2vw, 28px); font-weight: 380; letter-spacing: -0.025em; line-height: 1.15; }
.story-tile p { margin-top: 8px; color: var(--ink-2); max-width: 540px; }
.story-tile-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--blue); font-size: 14.5px; font-weight: 500; }
.story-tile-link .icon { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
@media (hover: hover) { .story-tile:hover .story-tile-link .icon { transform: translateX(4px); } }

.partners { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.partners-copy { grid-column: 1 / span 5; }
.partners-copy p { margin: 22px 0 28px; color: var(--ink-2); max-width: 440px; }
.tiers { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.tiers li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tiers h3 { font-size: 20px; font-weight: 450; }
.tiers p { margin-top: 6px; color: var(--ink-2); font-size: 14px; max-width: 420px; }
.tiers .num { font-size: clamp(40px, 3.6vw, 54px); line-height: 1; white-space: nowrap; }

.final {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  min-height: 440px;
  margin-top: clamp(88px, 10vw, 152px);
  padding: clamp(28px, 4vw, 60px);
  background: var(--blue);
  color: #fff;
  clip-path: var(--chamfer);
  overflow: hidden;
  isolation: isolate;
}
.final::before {
  content: "";
  position: absolute;
  right: 9%;
  bottom: 0;
  width: 36%;
  height: 24%;
  background: var(--coral);
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 42%, 50% 100%, 0 42%);
  z-index: -1;
}
.final-copy p { margin: 18px 0 28px; color: rgba(255, 255, 255, 0.8); max-width: 420px; }
.final img { position: absolute; right: 8%; bottom: -3%; height: 96%; max-height: 470px; width: auto; max-width: 50%; object-fit: contain; object-position: bottom; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px 48px;
  align-items: start;
  margin-top: 56px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-brand p { margin-top: 14px; color: var(--ink-2); font-size: 14px; max-width: 320px; }
.site-footer nav { display: flex; gap: 24px; font-size: 14.5px; }
@media (hover: hover) { .site-footer nav a:hover { color: var(--blue); } }
.footer-copy { color: var(--ink-3); font-size: 13px; }

/* ---------- role choice ---------- */
.welcome { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.welcome-header { display: flex; justify-content: space-between; align-items: center; height: 70px; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.welcome-about { color: var(--ink-2); font-size: 14.5px; }
@media (hover: hover) { .welcome-about:hover { color: var(--ink); } }
.welcome-main { flex: 1; width: min(100% - 2 * var(--gutter), var(--container)); margin: 0 auto; padding: clamp(24px, 5vh, 64px) 0 48px; display: flex; flex-direction: column; justify-content: center; }
.welcome-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.welcome-intro h1 { grid-column: 1 / span 7; font-size: clamp(48px, 6.4vw, 104px); letter-spacing: -0.05em; line-height: 0.92; }
.welcome-intro p { grid-column: 9 / -1; color: var(--ink-2); padding-bottom: 8px; }
.role-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: clamp(28px, 4vh, 48px); }
.role-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: clamp(340px, 46vh, 470px);
  padding: 26px 28px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
  text-align: left;
  overflow: hidden;
  isolation: isolate;
}
.role-choice.role-investor { background: var(--blue); color: #fff; }
.role-choice.role-coach { background: var(--coral); }
.choice-name { font-size: clamp(34px, 3.2vw, 50px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.choice-action { margin-top: 12px; max-width: 250px; font-size: 15px; line-height: 1.45; opacity: 0.78; }
.choice-go { position: absolute; left: 28px; bottom: 26px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; opacity: 0.5; transition: opacity 0.3s, background 0.3s, color 0.3s; z-index: 2; }
.choice-go .icon { width: 19px; height: 19px; }
.role-mascot { position: absolute; right: -2%; bottom: -5%; height: 70%; width: auto; max-width: 72%; object-fit: contain; object-position: bottom right; z-index: -1; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .role-choice:hover .role-mascot { transform: translateY(-8px) scale(1.02); } }
@media (hover: hover) { .role-choice:hover .choice-go { opacity: 1; background: var(--ink); color: #fff; border-color: var(--ink); } }
@media (hover: hover) { .role-investor:hover .choice-go { background: #fff; color: var(--blue); border-color: #fff; } }

/* ---------- app shell ---------- */
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; transition: color 0.2s, background 0.2s; }
@media (hover: hover) { .nav a:hover { color: var(--ink); } }
.nav a.active { background: var(--card); color: var(--ink); font-weight: 500; }
.account { position: relative; margin-left: auto; }
.account-button { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px 0 5px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; }
.account-button > .icon { width: 16px; height: 16px; color: var(--ink-3); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; flex-shrink: 0; }
.avatar .icon { width: 16px; height: 16px; }
.avatar.red { background: var(--coral); color: var(--ink); }
.avatar.soft { background: var(--paper); color: var(--ink); font-weight: 500; }
.avatar.lg { width: 48px; height: 48px; font-size: 18px; }
.role-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 256px; padding: 8px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); z-index: 60; }
.menu-label { padding: 8px 12px 6px; color: var(--ink-3); font-size: 12.5px; }
.role-menu button, .role-menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font-size: 14.5px; text-align: left; }
@media (hover: hover) { .role-menu button:hover, .role-menu a:hover { background: var(--paper); } }
.role-menu .icon { width: 18px; height: 18px; color: var(--ink-3); }
.role-menu .selected { color: var(--blue); font-weight: 500; }
.role-menu .selected .icon { color: var(--blue); }
.role-menu .selected .icon:last-child { margin-left: auto; }
.role-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin: 0 auto; padding: 36px 0 80px; min-height: calc(100vh - 170px); outline: none; }
.footer { display: flex; align-items: center; gap: 24px; width: min(100% - 2 * var(--gutter), var(--container)); margin: 0 auto; padding: 26px 0 36px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; }
.footer .brand-lockup .logotype { height: 22px; }
.footer a:last-child { margin-left: auto; }
@media (hover: hover) { .footer a:hover { color: var(--ink); } }
.mobile-nav { display: none; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 4px 0 36px; }
.page-sub { margin-top: 14px; color: var(--ink-2); font-size: 16px; max-width: 640px; }
.page-kicker { margin-bottom: 14px; color: var(--ink-2); font-size: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 48px 0 18px; }
.section-head h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 400; }
.section-head h3 { font-size: 19px; }

/* ---------- catalog ---------- */
.page-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin: 8px 0 40px; }
.page-intro > div { grid-column: 1 / span 7; }
.page-intro h1 { font-size: clamp(48px, 6vw, 96px); letter-spacing: -0.05em; line-height: 0.94; }
.page-intro p { margin-top: 20px; color: var(--ink-2); font-size: 16.5px; max-width: 560px; }
.intro-stats { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.intro-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-left: 18px; border-left: 1px solid var(--line-2); }
.intro-stats dd { font-size: clamp(40px, 4vw, 60px); line-height: 0.95; white-space: nowrap; }
.intro-stats dt { margin-top: 8px; color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.search-toolbar { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
.search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: var(--card); }
.search .icon { color: var(--ink-3); width: 19px; height: 19px; }
.search input { flex: 1; height: 100%; border: 0; outline: none; background: transparent; font-size: 15px; }
.search input::placeholder { color: var(--ink-3); }
.search:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.search-toolbar .select-trigger { height: 50px; background: var(--card); }
.display-toggle { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--card); }
.display-toggle button { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-size: 14px; }
.display-toggle button .icon { width: 18px; height: 18px; }
.display-toggle button.active { background: var(--paper); color: var(--ink); font-weight: 500; }
.chips, .map-chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 18px -2px 0; }
.chips::-webkit-scrollbar, .map-chips::-webkit-scrollbar { display: none; }
.chips button, .map-chips button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
@media (hover: hover) { .chips button:hover, .map-chips button:hover { color: var(--ink); border-color: var(--line-2); } }
.chips button.active, .map-chips button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.map-chips button span { font-size: 12px; opacity: 0.5; font-variant-numeric: tabular-nums; }
.map-chips { margin: 0 -2px 16px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }

.card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.card-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-image > a, .card-image > a img { display: block; width: 100%; height: 100%; }
.card-image img { object-fit: cover; transition: transform 0.8s var(--ease); }
@media (hover: hover) { .card:hover .card-image img { transform: scale(1.035); } }
.card-status {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 500;
  pointer-events: none;
}
.card-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.card-status.need i { background: var(--coral); }
.card-status.free i { background: #33b37a; }
.card-status.done i { background: var(--blue); }
.card-image .favorite { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; background: rgba(255, 255, 255, 0.92); }
.card-image .favorite .icon { width: 17px; height: 17px; }
.card-body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 18px 20px 20px; }
.card-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-title h3 { font-size: 26px; font-weight: 380; letter-spacing: -0.03em; line-height: 1.05; }
@media (hover: hover) { .card-title:hover h3 { color: var(--blue); } }
.card-meta { color: var(--ink-2); font-size: 13.5px; white-space: nowrap; }
.card-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-facts dt { color: var(--ink-3); font-size: 12.5px; }
.card-facts dd { margin-top: 2px; font-size: 14.5px; font-weight: 500; }
.card-need-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; }
.card-need-top span { color: var(--ink-2); }
.card-need-top strong { font-weight: 500; white-space: nowrap; }
.card-need .progress { margin-top: 10px; }
.card-need-foot { margin-top: 8px; color: var(--ink-3); font-size: 12.5px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.coach-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.coach-link img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.coach-link > span { display: flex; flex-direction: column; min-width: 0; }
.coach-link strong { font-size: 14.5px; font-weight: 500; }
.coach-link small { color: var(--ink-3); font-size: 12.5px; }
.coach-link em { margin-left: auto; color: var(--blue); font-style: normal; font-size: 13px; font-weight: 500; white-space: nowrap; }
@media (hover: hover) { .coach-link:hover strong { color: var(--blue); } }
.coach { margin: 22px 0; }
.coach .coach-link img { width: 56px; height: 56px; }
.coach .coach-link strong { font-size: 16px; }
.empty { padding: 64px 24px; border-radius: var(--r-lg); background: var(--card); text-align: center; }
.empty > .icon { width: 30px; height: 30px; margin: 0 auto 16px; color: var(--ink-3); }
.empty h2 { font-size: 24px; }
.empty p { max-width: 400px; margin: 8px auto 22px; color: var(--ink-2); }

/* ---------- illustrated district map ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 8px; align-items: start; }
.map-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.map-stage { position: relative; aspect-ratio: 1000 / 620; border-radius: var(--r-lg); overflow: hidden; background: #ebe9e3; }
.city-art, .map-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-routes line { stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 6 8; fill: none; opacity: 0.35; animation: route-draw 1s var(--ease) both; }
.map-routes line.selected { opacity: 0.9; stroke-width: 3; }
.map-home { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 2; }
.map-home i { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; animation: home-pulse 2.4s infinite; }
.map-home span { padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 500; }
.map-pin {
  position: absolute;
  transform: translate(-50%, -92%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  z-index: 3;
  transition: opacity 0.35s var(--ease), filter 0.35s, transform 0.35s var(--ease);
}
.map-pin img { width: clamp(36px, 4.4vw, 58px); height: clamp(36px, 4.4vw, 58px); border-radius: 50%; border: 2.5px solid #fff; background: #fff; object-fit: cover; box-shadow: 0 10px 24px rgba(17, 18, 22, 0.25); transition: transform 0.25s var(--ease), border-color 0.25s; }
.map-pin > span { padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 12px rgba(17, 18, 22, 0.12); transition: background 0.25s, color 0.25s; }
.map-pin.needs::after { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
@media (hover: hover) { .map-pin:hover img { transform: scale(1.08); } }
.map-pin.selected { z-index: 5; }
.map-pin.selected img { border-color: var(--blue); transform: scale(1.16); }
.map-pin.selected > span { background: var(--blue); color: #fff; }
.map-pin.dim { opacity: 0.22; filter: grayscale(1); transform: translate(-50%, -92%) scale(0.82); pointer-events: none; }
.map-pin.pop { animation: pin-pop 0.6s var(--ease) both; animation-delay: var(--d, 0ms); }
.map-near { padding: 14px 16px 16px; border-radius: var(--r-md); background: var(--card); }
.map-near-title { color: var(--ink-3); font-size: 13px; }
.map-near ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; }
@media (max-width: 1180px) { .map-near ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.map-near button { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-radius: 12px; background: var(--paper); text-align: left; transition: background 0.2s, color 0.2s; }
.map-near b { font-size: 14px; font-weight: 500; }
.map-near span { grid-row: 2; color: var(--ink-3); font-size: 12.5px; }
.map-near em { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--ink-2); font-style: normal; font-size: 13px; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .map-near button:hover { background: var(--paper-2); } }
.map-near button.active { background: var(--blue); color: #fff; }
.map-near button.active span, .map-near button.active em { color: rgba(255, 255, 255, 0.78); }
.map-card .section-card { animation: card-in 0.45s var(--ease) both; }
.sport-map.compact .map-layout { display: block; }
.sport-map.compact .map-stage { border-radius: var(--r-lg); }

/* ---------- section profile ---------- */
.section-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.section-main { min-width: 0; }
.section-cover { position: relative; aspect-ratio: 16 / 9; clip-path: var(--chamfer); overflow: hidden; background: var(--paper-2); }
.section-photo { width: 100%; height: 100%; object-fit: cover; }
.cover-actions { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.cover-actions .icon-btn { background: rgba(255, 255, 255, 0.92); }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin: 28px 0 0; }
.section-kicker { margin-bottom: 10px; color: var(--ink-2); font-size: 14px; }
.section-title h1 { font-size: clamp(52px, 6.4vw, 104px); letter-spacing: -0.052em; line-height: 0.9; }
.detail-location { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink-2); font-size: 14px; padding-bottom: 8px; }
.detail-location > .icon { width: 17px; height: 17px; }
.detail-tabs, .tabs { display: flex; gap: 28px; margin: 28px 0 24px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.tabs { margin-top: 0; }
.detail-tabs button, .tabs button { position: relative; flex: none; padding: 12px 0 14px; border: 0; background: none; color: var(--ink-2); font-size: 15px; }
@media (hover: hover) { .detail-tabs button:hover, .tabs button:hover { color: var(--ink); } }
.detail-tabs button.active, .tabs button.active { color: var(--ink); font-weight: 500; }
.detail-tabs button.active::after, .tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.tabs .muted { margin-left: 4px; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.panel { border-radius: var(--r-lg); background: var(--card); padding: clamp(22px, 2.4vw, 30px); }
.panel h2 { font-size: clamp(22px, 1.9vw, 27px); font-weight: 400; margin-bottom: 10px; }
.panel .row.between h2 { margin-bottom: 0; }
.panel h3 { margin-top: 14px; }
.panel > p { color: var(--ink-2); }
.panel-note { margin-top: 16px; }
.panel-block { margin-top: 18px; }
.panel-action { margin-top: 22px; }
.panel > .btn.full { margin-top: 18px; }
.lead { margin-top: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 660px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact dt, .fact > span { display: block; color: var(--ink-3); font-size: 13px; }
.fact dd, .fact > strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 500; }
.fact .icon { display: none; }
.budget-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.budget-row > div span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; }
.budget-row strong { font-weight: 500; text-align: right; }
.budget-row > .icon { width: 18px; height: 18px; color: var(--green); }
.budget-row.total strong { font-size: 18px; }
.team-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.team-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); }
.side-column { display: flex; flex-direction: column; gap: 8px; }
.sticky { position: sticky; top: 92px; }
.ticket { padding: 24px; border-radius: var(--r-lg); background: var(--card); }
.ticket-kicker { color: var(--ink-3); font-size: 13px; }
.ticket h3 { margin: 4px 0 16px; font-size: 38px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.ticket-rows { margin-bottom: 18px; }
.ticket-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.ticket-rows dt { color: var(--ink-2); font-size: 14px; }
.ticket-rows dd { font-size: 14.5px; font-weight: 500; text-align: right; }
.ticket-note { margin-bottom: 14px; color: var(--ink-2); font-size: 13.5px; }
.need-card { padding: 26px; border-radius: var(--r-lg); background: var(--blue); color: #fff; }
.need-tag { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.78); font-size: 13.5px; }
.need-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.need-card h2 { margin: 12px 0 22px; font-size: 28px; font-weight: 350; }
.need-sum { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.need-sum .num { font-size: 64px; line-height: 0.9; }
.need-sum span:last-child { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.need-card .progress { margin-top: 16px; }
.need-note { margin-top: 10px; color: rgba(255, 255, 255, 0.72); font-size: 13.5px; }
.need-actions { margin-top: 22px; gap: 8px; }
.section-impact { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--card); }
.section-impact strong { color: var(--blue); font-size: 64px; line-height: 0.9; }
.section-impact span { color: var(--ink-2); font-size: 14px; }
.timeline { margin-top: 12px; }
.timeline-item { position: relative; padding: 0 0 20px 28px; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--card); box-sizing: border-box; }
.timeline-item::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: 2px; width: 1px; background: var(--line-2); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:last-child::after { display: none; }
.timeline-item.done::before { background: var(--blue); border-color: var(--blue); }
.timeline-item strong { font-size: 15px; font-weight: 500; }
.timeline-item p { margin-top: 2px; color: var(--ink-2); font-size: 13.5px; }
.section-history { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.section-history > h2 { margin-bottom: 8px; font-size: 26px; font-weight: 400; }
.history-entry { padding: 22px; border-radius: var(--r-md); background: var(--card); }
.activity-meta { color: var(--ink-3); font-size: 12.5px; }
.history-entry h3 { margin: 6px 0 4px; }
.history-entry p { color: var(--ink-2); font-size: 14.5px; }
.history-entry strong { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.history-entry .text-btn { margin-top: 12px; }
.info-banner { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--paper); font-size: 14.5px; font-weight: 500; }
.info-banner > .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--blue); }
.info-banner p { margin-top: 3px; color: var(--ink-2); font-size: 13.5px; font-weight: 400; }
.rank-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.rank-row > div:not(.brand-circle) { flex: 1; min-width: 0; }
.rank-number { width: 22px; color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.rank-number.first { color: var(--blue); font-weight: 600; }
.brand-circle { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); font-weight: 600; font-size: 14px; flex-shrink: 0; }
.brand-name { font-size: 15px; font-weight: 500; }
.rank-row .muted { font-size: 13px; }
.rank-row .value { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- partnership ---------- */
.partnership-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.package-list { display: flex; flex-direction: column; gap: 8px; }
.package { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; width: 100%; padding: 24px; border: 1.5px solid transparent; border-radius: var(--r-lg); background: var(--card); text-align: left; transition: border-color 0.2s; }
@media (hover: hover) { .package:hover { border-color: var(--line-2); } }
.package.selected { border-color: var(--blue); }
.check-radio { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background 0.2s, border-color 0.2s; }
.check-radio .icon { width: 14px; height: 14px; opacity: 0; }
.package.selected .check-radio { background: var(--blue); border-color: var(--blue); color: #fff; }
.package.selected .check-radio .icon { opacity: 1; }
.package-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.package-title h2 { font-size: 22px; font-weight: 450; }
.price { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.description { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
.package ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.package li { display: flex; gap: 10px; font-size: 14px; }
.package li .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--blue); }
.partnership-preview { border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.brand-stage { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); }
.brand-stage > img { width: 100%; height: 100%; object-fit: cover; }
.preview-tag { position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 12.5px; font-weight: 500; }
.brand-banner { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(17, 18, 22, 0.18); }
.brand-banner span { color: var(--ink-3); font-size: 12px; }
.brand-banner strong { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.brand-banner .brand-sign { color: var(--blue); font-size: 11.5px; font-weight: 600; }
.brand-banner .brand-logo { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.brand-logo { height: 36px; width: auto; max-width: 120px; object-fit: contain; }
.preview-info { padding: 22px 24px 24px; }
.preview-info h2 { margin: 4px 0 8px; font-size: 60px; line-height: 0.95; }
.preview-info .btn { margin-top: 18px; }
.preview-footnote { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ink-3); font-size: 13px; }
.preview-footnote .icon { width: 16px; height: 16px; }
.brand-preview { position: relative; margin-top: 14px; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.brand-preview > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- checkout & forms ---------- */
.checkout-head, .payment-layout { max-width: 1180px; margin-inline: auto; }
.checkout-head .page-head { margin-bottom: 20px; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 28px; padding: 0; }
.step { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.step-num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.step-num .icon { width: 13px; height: 13px; }
.step.active { color: var(--ink); font-weight: 500; }
.step.active .step-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.step.done .step-num { background: var(--blue); border-color: var(--blue); color: #fff; }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.payment-layout > .panel > h2 { margin-bottom: 4px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px; border-radius: 14px; background: var(--paper); }
.segmented button { height: 42px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-size: 14.5px; }
.segmented button.active { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(17, 18, 22, 0.08); }
.support-target { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.support-target button { display: grid; gap: 2px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; text-align: left; transition: border-color 0.2s; }
.support-target .icon { margin-bottom: 8px; color: var(--ink-3); }
.support-target strong { font-size: 15.5px; font-weight: 500; }
.support-target span { color: var(--ink-2); font-size: 13px; }
.support-target button.active { border-color: var(--blue); }
.support-target button.active .icon { color: var(--blue); }
.athlete-pick { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.athlete-pick button { flex: none; display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.athlete-pick i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); font-style: normal; font-size: 13px; font-weight: 600; }
.athlete-pick b { font-size: 14px; font-weight: 500; }
.athlete-pick span { color: var(--ink-3); font-size: 12.5px; }
.athlete-pick button.active { border-color: var(--blue); background: var(--blue-soft); }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.amounts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.amounts button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; padding: 8px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.amounts button small { color: var(--ink-3); font-size: 11.5px; font-weight: 400; }
@media (hover: hover) { .amounts button:hover { border-color: var(--ink); } }
.amounts button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.amounts button.active small { color: rgba(255, 255, 255, 0.7); }
.field { display: block; margin-top: 20px; font-size: 14px; font-weight: 500; }
.field input:not([type="checkbox"]):not([type="file"]), .field textarea { display: block; width: 100%; height: 50px; margin-top: 8px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r-sm); background: var(--paper); font-size: 15.5px; font-weight: 400; transition: background 0.2s, border-color 0.2s; }
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field .custom-select { margin-top: 8px; }
.field .row.gap8 { font-weight: 400; }
.amount-input { position: relative; margin-top: 8px; }
.field .amount-input input[name] { height: 80px; padding-right: 56px; font-family: var(--num); font-size: 52px; font-weight: 330; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.amount-input span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 22px; font-weight: 400; }
.hint { display: block; margin-top: 8px; color: var(--ink-3); font-size: 13px; font-weight: 400; }
.error { margin-top: 12px; color: var(--coral-ink); font-size: 14px; }
.error:empty { display: none; }
.form-bottom { margin-top: 24px; }
.form-note { margin-top: 12px; color: var(--ink-3); font-size: 13px; text-align: center; }
.upload-box { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px; border: 1px dashed var(--line-2); border-radius: 14px; cursor: pointer; font-size: 14px; font-weight: 500; }
.upload-box > .icon { color: var(--ink-3); width: 22px; height: 22px; }
.upload-box input { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; }
.upload-box .brand-logo { margin-left: auto; }
.impact { margin-top: 20px; padding: 20px 22px; border-radius: 18px; background: #14151a; color: #fff; }
.impact-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.impact-head span { color: rgba(255, 255, 255, 0.66); font-size: 13.5px; }
.impact-amount { font-family: var(--num); font-size: 52px; font-weight: 330; line-height: 1; font-variant-numeric: tabular-nums; }
.impact-dots { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 10px; }
.impact-dots i { width: 16px; height: 26px; border-radius: 3px; background: rgba(255, 255, 255, 0.13); transition: background 0.3s var(--ease); }
.impact-dots i.paid { background: rgba(255, 255, 255, 0.86); }
.impact-dots i.new { background: var(--coral); animation: dot-pop 0.5s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.impact-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; color: rgba(255, 255, 255, 0.66); font-size: 12px; }
.impact-legend b { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.impact-legend b::before { content: ""; width: 8px; height: 12px; border-radius: 2px; }
.l-paid::before { background: rgba(255, 255, 255, 0.86); }
.l-new::before { background: var(--coral); }
.l-rest::before { background: rgba(255, 255, 255, 0.2); }
.impact ul { list-style: none; display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.impact li { display: flex; gap: 10px; font-size: 14px; }
.impact li .icon { width: 17px; height: 17px; color: var(--coral); margin-top: 2px; }
.payment-summary { position: sticky; top: 92px; border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.payment-summary > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.payment-summary .inner { padding: 20px 22px 22px; }
.payment-summary h3 { margin: 4px 0 2px; font-size: 26px; font-weight: 380; letter-spacing: -0.03em; }
.summary-detail { margin-top: 14px; }
.trust-note { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--paper); color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.trust-note .icon { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.summary-detail .budget-row > .icon { color: var(--blue); }
.funding-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; }
.funding-line strong { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.funding-line .muted { font-size: 14px; }
.funding-line + .progress { margin-top: 10px; }

/* ---------- confirmations ---------- */
.confirmation { max-width: 660px; margin: 0 auto; }
.confirmation > h1 { margin-top: 28px; font-size: clamp(36px, 4.2vw, 58px); }
.confirmation > .badge + h1 { margin-top: 14px; }
.confirmation > p.muted { margin-top: 10px; font-size: 16px; }
.result-receipt { margin-top: 24px; }
.result-receipt h2 { margin: 4px 0 0; font-size: 21px; }
.result-receipt .row:first-child { margin-bottom: 14px; }
.result-receipt > p.small { margin-top: 14px; }
.confirmation-actions { margin-top: 20px; gap: 8px; }
.confirmation > .text-btn { margin-top: 20px; }
.confirmation > .btn.full { margin-top: 20px; }
.result-stage { position: relative; isolation: isolate; height: 330px; overflow: hidden; background: var(--blue); color: #fff; clip-path: var(--chamfer); }
.result-stage::before { content: ""; position: absolute; right: 4%; bottom: 0; width: 44%; height: 28%; background: var(--coral); clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 42%, 50% 100%, 0 42%); z-index: -1; }
.result-copy { position: relative; z-index: 2; padding: 30px 32px; }
.result-status { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); font-size: 13.5px; }
.result-status .icon { width: 16px; height: 16px; }
.result-amount { margin: 22px 0 6px; font-size: 84px; line-height: 0.9; transform-origin: left center; }
.result-copy p { color: rgba(255, 255, 255, 0.85); font-size: 15.5px; }
.result-bears { position: absolute; z-index: 1; max-width: none; width: auto; object-fit: contain; }
.result-bears.result-strong { right: 5%; bottom: 8%; height: 280px; }
.result-progress { position: absolute; left: 32px; bottom: 26px; width: min(46%, 300px); z-index: 3; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.result-progress strong { color: #fff; font-weight: 500; }
.result-particles { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.result-particles i { position: absolute; left: calc(9% + var(--i) * 9%); top: 30%; width: 6px; height: 14px; background: #fff; opacity: 0; }
.result-particles i:nth-child(even) { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.check-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green); flex-shrink: 0; }
.check-mark .icon { width: 18px; height: 18px; }
.enrollment-art { position: relative; height: 290px; margin-bottom: 26px; overflow: hidden; isolation: isolate; background: var(--blue-soft); clip-path: var(--chamfer); }
.enrollment-art::before { content: ""; position: absolute; right: 4%; bottom: 0; width: 46%; height: 28%; background: var(--blue); clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 42%, 50% 100%, 0 42%); z-index: -1; }
.enrollment-art .result-bears.result-boy { right: 10%; bottom: -6%; height: 300px; }
.enrollment-date { position: absolute; left: 36px; top: 30px; display: grid; grid-template-areas: "label label" "num check" "month month"; justify-content: start; transform-origin: bottom left; }
.enrollment-date > span { grid-area: label; display: block; color: var(--blue); font-size: 14px; font-weight: 500; }
.enrollment-date > span:last-of-type { grid-area: month; }
.enrollment-date strong { grid-area: num; display: block; font-size: 150px; line-height: 0.9; color: var(--ink); }
.enrollment-date i { grid-area: check; align-self: end; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 0 16px 10px; border-radius: 50%; background: var(--blue); color: #fff; }
.enrollment-date i .icon { width: 18px; height: 18px; }
.calendar-date { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.result-receipt .row { gap: 14px; }
.result-receipt .muted { margin-top: 4px; }
.is-celebrating .result-bears { animation: bear-arrive 800ms var(--ease) both; }
.is-celebrating .result-amount { animation: amount-arrive 700ms var(--ease) both; }
.is-celebrating .result-particles i { animation: result-particle 1050ms var(--ease) both; animation-delay: calc(200ms + var(--i) * 24ms); }
.is-celebrating .enrollment-date { animation: ticket-arrive 650ms var(--ease) both; }
.is-celebrating .enrollment-date i { animation: check-arrive 550ms var(--ease) 260ms both; }

/* ---------- family, investor, reports ---------- */
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.application-card { padding: 20px; border-radius: var(--r-lg); background: var(--card); }
.application-card .top { display: flex; gap: 16px; align-items: center; }
.application-card .top img { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; }
.application-card h3 { margin: 8px 0 2px; font-size: 20px; font-weight: 450; }
.application-card .bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.checklist { display: grid; gap: 8px; margin-top: 12px; }
.checklist div { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.checklist .icon { width: 16px; height: 16px; color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.stats:has(> .stat:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .stats:has(> .stat:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column; align-items: flex-start; min-height: 176px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); }
.stat .label { color: var(--ink-2); font-size: 13.5px; }
.stat .value { margin: 18px 0 8px; font-size: clamp(52px, 5vw, 76px); line-height: 0.9; }
.stat > .label:last-child, .stat > .text-btn:last-child { margin-top: auto; }
.stat.primary { background: var(--blue); color: #fff; }
.stat.primary .label { color: rgba(255, 255, 255, 0.74); }
.table-wrap { overflow-x: auto; padding: 8px 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table th { padding: 14px 12px 14px 0; color: var(--ink-3); font-size: 12.5px; font-weight: 450; text-align: left; white-space: nowrap; }
.data-table td { padding: 16px 12px 16px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.data-table .right { text-align: right; padding-right: 0; }
.data-table td.right .icon-btn { margin-left: auto; background: var(--paper); }
.list-card { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--card); }
.list-card > img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.list-card h3 { margin: 6px 0 0; font-size: 20px; font-weight: 450; }
.list-card .end { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.list-card .amount { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.report-hero { margin: 4px 0 32px; }
.report-hero .page-sub { margin-top: 12px; }
.report-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 20px; }
.report-text { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink) !important; }

/* ---------- regions ---------- */
.coverage-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 8px; align-items: stretch; }
.map-panel { padding: 24px; border-radius: var(--r-lg); background: var(--card); }
.map-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.map-title h2 { font-size: 24px; }
.map-focus-label { display: inline-flex; gap: 8px; color: var(--ink-2); font-size: 14px; }
.map-focus-label strong { color: var(--ink); font-weight: 500; }
.russia-map { width: 100%; height: auto; aspect-ratio: 960 / 520; margin: 12px 0; overflow: visible; }
.russia-map path { stroke: #fff; stroke-width: 0.9; cursor: pointer; transition: fill 0.25s, opacity 0.2s; }
.russia-map path:focus-visible { stroke: var(--ink); stroke-width: 1.4; outline: none; }
@media (hover: hover) { .russia-map path:hover { stroke: var(--ink); stroke-width: 1.4; } }
.russia-map path.selected { stroke: var(--ink); stroke-width: 2.4; }
.map-loading { aspect-ratio: 960 / 520; margin: 12px 0; border-radius: 14px; background: var(--paper); }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--ink-2); font-size: 13px; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-item i { width: 12px; height: 12px; border-radius: 3px; }
.map-caption { color: var(--ink-3); }
.region-summary { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: var(--card); }
.region-summary .custom-select { margin-top: 8px; }
.region-summary .select-trigger { background: var(--paper); }
.region-big-number { margin: 26px 0 4px; font-size: 112px; line-height: 0.88; }
.region-summary .progress { margin: 16px 0 8px; }
.region-summary-values { margin: 8px 0 20px; }
.region-summary-values > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.region-summary-values dt { color: var(--ink-2); }
.region-summary-values dd { font-weight: 500; text-align: right; }
.region-summary .text-btn { margin-top: auto; }
.regional-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.regional-result { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; border-radius: var(--r-md); background: var(--card); }
.regional-result h3 { margin: 6px 0 4px; font-size: 18px; }
.regional-result p:not(.label) { color: var(--ink-2); font-size: 14px; }
.regional-result-numbers { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.regional-result-numbers strong { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.regional-result-numbers span { color: var(--ink-3); font-size: 13px; }
.regional-current { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.regional-invitation { align-self: stretch; min-height: 340px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); background: var(--blue); color: #fff; }
.regional-invitation h2 { font-size: 34px; font-weight: 300; }
.regional-invitation p { margin: 12px 0 24px; color: rgba(255, 255, 255, 0.8); }
.regional-invitation .btn { margin-top: auto; background: #fff; border-color: #fff; color: var(--ink); }
.region-next { margin-top: 24px; padding: 32px; border-radius: var(--r-lg); background: var(--card); }
.region-next p { margin: 10px 0 20px; color: var(--ink-2); max-width: 560px; }

/* ---------- stories ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
.story-card { display: flex; flex-direction: column; }
.story-photo { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
@media (hover: hover) { .story-card:hover .story-photo img { transform: scale(1.03); } }
.story-play { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 12.5px; font-weight: 500; }
.story-play .icon { width: 14px; height: 14px; fill: currentColor; }
.story-copy { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.story-copy h2 { font-size: 24px; font-weight: 400; line-height: 1.15; }
@media (hover: hover) { .story-card:hover h2 { color: var(--blue); } }
.story-copy .meta { color: var(--ink-2); font-size: 13.5px; }
.activity-feed { padding: 4px 24px; border-radius: var(--r-lg); background: var(--card); }
.activity-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.activity-item:first-child { border-top: 0; }
.activity-item > img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.activity-item h3 { margin: 4px 0 2px; font-size: 17px; }
.activity-item p { color: var(--ink-2); font-size: 14px; }
.activity-team { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12.5px; }
.activity-arrow { color: var(--ink-3); transition: transform 0.25s var(--ease), color 0.25s; }
@media (hover: hover) { .activity-item:hover .activity-arrow { color: var(--blue); transform: translateX(3px); } }
@media (hover: hover) { .activity-item:hover h3 { color: var(--blue); } }
.story-detail { max-width: 880px; margin: 0 auto; }
.story-detail .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); background: var(--ink); }
.story-article { margin-top: 28px; }
.story-article h1 { margin: 18px 0 8px; font-size: clamp(36px, 4.4vw, 62px); }
.story-article > p { margin-top: 18px; font-size: 17.5px; line-height: 1.65; }
.story-action { margin-top: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--card); }
.story-action h3 { margin-top: 6px; font-size: 22px; font-weight: 450; }
.story-action .row.wrap { margin-top: 22px; gap: 8px; }
.story-update { margin-top: 12px; padding: 24px; border-radius: var(--r-lg); background: var(--card); }
.story-update time { color: var(--ink-3); font-size: 13px; }
.story-update h3 { margin: 6px 0; }
.story-update p { color: var(--ink-2); margin-bottom: 12px; }

/* ---------- coach ---------- */
.coach-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.coach-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; }
.coach-side .label { padding: 0 12px 8px; }
.coach-side button { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); font-size: 15px; text-align: left; }
@media (hover: hover) { .coach-side button:hover { color: var(--ink); background: rgba(17, 18, 22, 0.04); } }
.coach-side button.active { background: var(--card); color: var(--ink); font-weight: 500; }
.counter { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: 12px; font-weight: 600; }
.coach-main { min-width: 0; }
.coach-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.coach-head > img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.coach-head h2 { font-size: 28px; font-weight: 380; }
.coach-head .custom-select { margin-left: auto; width: 250px; }
.coach-head .select-trigger { background: var(--card); }
.capacity { display: flex; align-items: flex-end; gap: 4px; height: 56px; margin: 16px 0 20px; }
.capacity i { flex: 1; height: 100%; border-radius: 3px; background: var(--blue-soft); }
.capacity i.used { background: var(--blue); }

/* ---------- «На связи»: the path of a contribution ---------- */
.path { list-style: none; margin: 14px 0 0; padding: 0; }
.path-item { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 16px; padding-bottom: 26px; }
.path-item::before { content: ""; position: absolute; left: 14.5px; top: 30px; bottom: 0; width: 1px; background: var(--blue); opacity: 0.35; }
.path-item:last-child { padding-bottom: 0; }
.path-item:last-child::before { display: none; }
.path-item.current::before, .path-item.next::before { opacity: 1; background: repeating-linear-gradient(to bottom, var(--line-2) 0 4px, transparent 4px 9px); }
.path-node { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; }
.path-node .icon { width: 15px; height: 15px; }
.path-item.kind-thanks.done .path-node, .path-item.kind-jersey .path-node { background: var(--coral); color: var(--ink); }
.path-item.current .path-node { background: var(--coral); color: var(--ink); animation: live-pulse 2s infinite; }
.path-item.next .path-node { background: var(--card); color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.path-body { min-width: 0; padding-top: 4px; }
.path-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink-3); font-size: 12.5px; }
.path-meta .badge { height: 22px; font-size: 11.5px; }
.path-body h3 { margin-top: 3px; font-size: 17px; font-weight: 500; }
.path-body > p { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; max-width: 620px; }
.path-item.next h3 { color: var(--ink-2); font-weight: 450; }
.path-item.next .path-body > p { color: var(--ink-3); }
.path-body .progress { margin-top: 12px; max-width: 420px; }
.path-body .text-btn { margin-top: 10px; }
.path.compact .path-item { padding-bottom: 18px; }
.path.compact .path-body h3 { font-size: 15.5px; }
.path.compact .path-body > p { font-size: 13.5px; }
.path-photo { display: block; width: 100%; max-width: 560px; margin-top: 12px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); cursor: zoom-in; }
.path-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .path-photo:hover img { transform: scale(1.03); } }
.path-video { display: block; width: 100%; max-width: 560px; margin-top: 12px; border-radius: 16px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ink); }
.doc-chip { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); text-align: left; transition: border-color 0.2s; }
@media (hover: hover) { .doc-chip:hover { border-color: var(--ink); } }
.doc-chip > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.doc-chip b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-chip small { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.doc-chip > .icon { width: 17px; height: 17px; color: var(--ink-3); }
.doc-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--paper); color: var(--blue); flex-shrink: 0; }
.doc-icon .icon { width: 18px; height: 18px; }
.coach-note { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0 0; }
.coach-note img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.coach-note blockquote { margin: 0; padding: 11px 14px; border-radius: 4px 16px 16px 16px; background: var(--paper); font-size: 14.5px; line-height: 1.5; max-width: 520px; }
.coach-note figcaption { margin-top: 6px; color: var(--ink-3); font-size: 12.5px; }
.path-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.path-panel > .row h2 { margin: 0; }
.path-side { position: sticky; top: 92px; gap: 8px; }
.after-panel { margin-top: 16px; }
.after-panel > .row h2 { margin: 0; }
.next-step { margin-top: 6px; color: var(--ink-2); font-size: 13.5px; }

.jersey-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 20px 18px 16px; border-radius: var(--r-lg); background: var(--card); }
.confirmation .jersey-card, .confirmation > .panel { margin-top: 8px; }
.jersey { width: 104px; height: auto; overflow: visible; }
.jersey-body { fill: var(--blue); }
.jersey-trim { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; }
.jersey-name { font-family: var(--num); font-size: 24px; font-weight: 500; letter-spacing: 1.5px; fill: #fff; }
.jersey-num { font-family: var(--num); font-size: 100px; font-weight: 400; fill: #fff; }
.jersey-card h3 { margin: 2px 0 6px; font-size: 20px; font-weight: 450; }
.jersey-card p:last-child { color: var(--ink-2); font-size: 13.5px; }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.segmented.three button { font-size: 13.5px; }
.notify .label { margin-bottom: 10px; }
.composer h3 { margin: 0 0 4px; font-size: 19px; }
.composer .field { margin-top: 14px; }
.composer .btn { margin-top: 16px; }
.thread { margin-top: 18px; }
.note { padding: 14px 0; border-top: 1px solid var(--line); }
.note > p:not(.note-meta) { margin-top: 4px; font-size: 14.5px; color: var(--ink); }
.note-meta { color: var(--ink-3); font-size: 12.5px; }
.note-meta b { color: var(--ink); font-weight: 500; }
.note-reply { margin: 10px 0 0 14px; padding: 10px 14px; border-left: 2px solid var(--blue); background: var(--paper); border-radius: 0 12px 12px 0; }
.note-reply p:not(.note-meta) { margin-top: 2px; font-size: 14px; }
.note + .text-btn { margin: -4px 0 10px; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.wall-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--paper); }
.wall-item.own { background: var(--blue-soft); }
.wall-num { display: grid; place-items: center; width: 42px; height: 46px; border-radius: 8px 8px 12px 12px; background: var(--blue); color: #fff; font-size: 30px; line-height: 1; flex-shrink: 0; clip-path: polygon(18% 0, 82% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); }
.wall-item b { display: block; font-size: 14.5px; font-weight: 500; }
.wall-item span:not(.wall-num) { color: var(--ink-3); font-size: 12.5px; }
.wall-notes { margin-top: 14px; }
.inbox { margin-bottom: 28px; }
.inbox .section-head { margin-top: 0; }
.inbox-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.inbox-item { display: flex; flex-direction: column; gap: 4px; }
.inbox-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: 16px; overflow: hidden; background: var(--card); }
.inbox-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .inbox-item:hover .inbox-thumb img { transform: scale(1.04); } }
.inbox-doc { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; width: 62%; height: 78%; padding: 14px; border-radius: 6px; background: #fff; box-shadow: 0 10px 30px rgba(17, 18, 22, 0.1); transform: rotate(-3deg); text-align: left; }
.inbox-doc .doc-icon { margin-bottom: auto; }
.inbox-doc b { font-size: 13px; font-weight: 500; line-height: 1.3; }
.inbox-doc small { color: var(--ink-3); font-size: 12px; }
.inbox-thumb:has(.inbox-doc) { background: var(--paper-2); }
.inbox-thumb i { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
.inbox-thumb i .icon { width: 14px; height: 14px; fill: currentColor; }
.inbox-item h3 { font-size: 15.5px; font-weight: 500; }
@media (hover: hover) { .inbox-item:hover h3 { color: var(--blue); } }
.inbox-item .activity-meta b { color: var(--coral-ink); font-weight: 500; }
.kind-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.kind-pick label { cursor: pointer; }
.kind-pick input, .photo-pick input { position: absolute; opacity: 0; pointer-events: none; }
.kind-pick span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.kind-pick span .icon { width: 16px; height: 16px; }
.kind-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.kind-pick input:focus-visible + span, .photo-pick input:focus-visible + img { outline: 2px solid var(--blue); outline-offset: 3px; }
.field-label { margin-top: 18px; }
.photo-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 8px 0 20px; }
.photo-pick label { cursor: pointer; }
.photo-pick img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; opacity: 0.6; box-shadow: 0 0 0 2px transparent; transition: opacity 0.2s, box-shadow 0.2s; }
.photo-pick input:checked + img { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.coach-partners { margin-top: 16px; }
.coach-partners .panel > h2 { margin-bottom: 4px; }
.touch-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 8px; }
.touch-photo { position: relative; grid-row: 1 / span 2; min-height: 560px; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.touch-photo img { width: 100%; height: 100%; object-fit: cover; }
.touch-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font-size: 13.5px; font-weight: 500; }
.touch-tag .icon { width: 16px; height: 16px; color: var(--coral-ink); fill: currentColor; }
.touch-panel { padding: 24px 26px; border-radius: var(--r-lg); background: var(--card); }
.touch-jersey .jersey-card { height: 100%; }
dialog.lightbox { max-width: min(1100px, calc(100% - 32px)); padding: 12px; background: #fff; }
dialog.lightbox .modal-head { position: absolute; top: 20px; right: 20px; margin: 0; }
dialog.lightbox .modal-head h2 { display: none; }
dialog.lightbox .modal-close { background: rgba(255, 255, 255, 0.92); }
.lightbox-img { width: 100%; height: auto; max-height: 82dvh; object-fit: contain; border-radius: 14px; }

/* ---------- custom select ---------- */
.custom-select { position: relative; }
.select-trigger { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 14px 0 16px; border: 1px solid transparent; border-radius: 14px; background: var(--paper); font-size: 15px; font-weight: 400; text-align: left; }
.select-trigger svg { color: var(--ink-3); transition: transform 0.2s; }
.select-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.select-trigger[aria-invalid="true"] { border-color: var(--coral-ink); }
.select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-options { position: fixed; z-index: 200; padding: 6px; overflow: auto; border-radius: 14px; background: #fff; box-shadow: var(--shadow); animation: select-in 0.16s var(--ease); }
.select-option { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font-size: 14.5px; text-align: left; }
.select-option.highlighted { background: var(--paper); }
@media (hover: hover) { .select-option:hover { background: var(--paper); } }
.select-option[aria-selected="true"] { color: var(--blue); font-weight: 500; }
.select-error { display: block; margin-top: 6px; color: var(--coral-ink); font-size: 13px; font-weight: 400; }

/* ---------- dialog, toast ---------- */
dialog { width: calc(100% - 32px); max-width: 560px; max-height: 90dvh; padding: 28px; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 40px 100px rgba(17, 18, 22, 0.3); overflow: auto; }
dialog[open] { animation: dialog-enter 0.24s var(--ease); }
dialog::backdrop { background: rgba(17, 18, 22, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog .modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
dialog .modal-head h2 { font-size: 28px; font-weight: 350; }
dialog .modal-close { background: var(--paper); }
dialog p { color: var(--ink-2); font-size: 14.5px; }
.coach-bio-intro { display: flex; align-items: center; gap: 18px; }
.coach-bio-intro img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.coach-bio-intro p:not(.label) { margin-top: 4px; color: var(--ink); font-size: 15px; }
dialog .coach-bio-text { margin: 20px 0 10px; color: var(--ink); font-size: 15.5px; line-height: 1.6; }
#toast { position: fixed; left: 50%; bottom: 24px; z-index: 250; max-width: min(90vw, 520px); padding: 14px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: transform 0.25s var(--ease), opacity 0.2s; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- motion ---------- */
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(254, 123, 113, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(254, 123, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(254, 123, 113, 0); } }
@keyframes home-pulse { 0% { box-shadow: 0 0 0 0 rgba(36, 69, 255, 0.5); } 70% { box-shadow: 0 0 0 18px rgba(36, 69, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(36, 69, 255, 0); } }
@keyframes route-draw { from { stroke-dashoffset: 160; opacity: 0; } }
@keyframes pin-pop { 0% { transform: translate(-50%, -40%) scale(0.3); opacity: 0; } 60% { transform: translate(-50%, -100%) scale(1.1); opacity: 1; } 100% { transform: translate(-50%, -92%) scale(1); } }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes dot-pop { 0% { transform: scaleY(0.1); } 65% { transform: scaleY(1.2); } 100% { transform: scaleY(1); } }
@keyframes select-in { from { opacity: 0; transform: translateY(-4px); } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
@keyframes bear-arrive { from { opacity: 0; transform: translateY(45px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes amount-arrive { from { opacity: 0; transform: translateY(12px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes ticket-arrive { from { opacity: 0; transform: translateY(26px) rotate(-5deg); } to { opacity: 1; transform: none; } }
@keyframes check-arrive { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes result-particle { 0% { opacity: 0; transform: translateY(45px) rotate(0); } 20% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(calc(-100px - var(--i) * 8px)) rotate(calc(var(--i) * 47deg)); } }
/* coach profile: specialisation and verified family reviews */
.strengths { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.strengths li { padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13.5px; }
.reviews { margin-top: 26px; }
.reviews h3 { font-size: 19px; font-weight: 450; }
.reviews > .row { margin-bottom: 6px; }
.rating, .stars { color: var(--blue); font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.review-rule { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-rule .icon { width: 16px; height: 16px; color: var(--green); }
.review-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-form .kind-pick { margin: 8px 0 4px; }
.review-form .kind-pick span { color: var(--blue); letter-spacing: 0.06em; }
.review-form .kind-pick input:checked + span { color: #fff; }
/* sparring: pairs from nearby clubs */
.sparring-club { margin-top: 16px; }
.sparring-club h3 { font-size: 21px; font-weight: 400; }
.sparring-club > .row { gap: 12px; margin-bottom: 8px; }
.sparring-pair > div { flex: 1; }
.sparring-pair { align-items: flex-start; }
.sparring-pair .right { text-align: right; }
.sparring-pair .right p + p { margin-top: 8px; }
.sparring-pair .right span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; }
/* rights ladder for companies */
.ladder { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ladder li { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.ladder .num { font-size: 26px; line-height: 1; }
.ladder b { display: block; font-weight: 500; font-size: 14.5px; }
.ladder span:not(.num) { font-size: 13px; }
.ladder li.reached { color: var(--ink); }
.ladder li.new { color: var(--blue); }
.ladder li.new b { color: var(--blue); }
.rank-status { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.rank-status h3 { margin-top: 4px; font-size: 22px; font-weight: 450; }
.rank-status > .muted { margin-top: 4px; font-size: 13.5px; }
/* "your amount + N others = result" */
.together { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--blue-soft); color: var(--ink); font-size: 15.5px; }
.together b { font-weight: 500; }
/* media challenge widget under the video */
.challenge-widget { margin-top: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); }
.cw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 12px; }
.cw-head b { display: block; font-size: 18px; font-weight: 500; }
.cw-head span:not(.num) { color: var(--ink-3); font-size: 13.5px; }
.cw-day { font-size: 56px; line-height: 0.85; color: var(--blue); }
.cw-day small { font-size: 0.45em; color: var(--ink-3); }
.challenge-widget > .small { margin-top: 10px; }
.cw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 640px) {
  .cw-actions .btn { flex: 1 1 100%; }
  .ladder li { grid-template-columns: 92px 1fr; }
  .sparring-pair { align-items: flex-start; }
}
/* tablets: the last odd card in a 2-column grid spans the row as a horizontal card */
@media (min-width: 641px) and (max-width: 1180px) {
  .grid > .section-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .grid > .section-card:last-child:nth-child(odd) .card-image { aspect-ratio: auto; min-height: 100%; }
}
/* checkout on tablets/phones: what you pay for comes before the form */
@media (max-width: 900px) {
  .payment-layout > .payment-summary { order: -1; display: grid; grid-template-columns: 160px minmax(0, 1fr); }
  .payment-summary > img { aspect-ratio: auto; height: 100%; }
  .payment-summary .summary-detail, .payment-summary .trust-note { display: none; }
}
.sparring-head { display: flex; justify-content: space-between; padding: 8px 0 6px; color: var(--ink-3); font-size: 12.5px; }
.sparring-pair .none { color: var(--ink-3); font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .map-pin.pop, .map-routes line, .map-home i, .live-meta i, .map-card .section-card, .impact-dots i.new, .board-ring { animation: none !important; }
  .runner { display: none; }
}

/* ---------- responsive ---------- */
@media (min-width: 1600px) {
  :root { --container: 1400px; }
}
@media (max-width: 1180px) {
  .inbox-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .grid, .regional-current { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-track { display: none; }
  .section-layout, .partnership-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .map-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .payment-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .intro-stats { grid-column: 1 / -1; margin-top: 28px; }
  .page-intro > div { grid-column: 1 / -1; }
  .hero-title { grid-column: 1 / -1; }
      .regional-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask-btn span, .ask-btn kbd { display: none; }
  .ask-btn { padding: 0 11px; }
}
@media (max-width: 900px) {
  .site-nav, .nav { display: none; }
  .site-header > .btn { margin-left: auto; }
  .header { gap: 12px; }
  .container { padding: 24px 0 112px; }
  .footer { display: none; }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
  }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; color: var(--ink-3); font-size: 11px; font-weight: 500; }
  .mobile-nav a .icon { width: 22px; height: 22px; }
  .mobile-nav a.active { color: var(--blue); }
  .section-layout, .partnership-layout, .payment-layout, .two-column, .coverage-layout, .map-layout, .path-layout, .touch-grid { grid-template-columns: minmax(0, 1fr); }
  .path-side { position: static; }
  .touch-photo { grid-row: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .sticky, .payment-summary, .coach-side { position: static; }
  .section-layout { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .section-main { display: contents; }
  .section-cover { order: 1; }
  .section-title { order: 2; }
  .section-layout > .side-column { order: 3; margin-top: 24px; }
  .detail-tabs { order: 4; align-self: stretch; }
  #section-tab-panel { order: 5; }
  .coach-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .coach-side { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .coach-side .label { display: none; }
  .coach-side button { flex: none; gap: 8px; }
  .search-toolbar { grid-template-columns: 1fr 1fr; }
  .search { grid-column: 1 / -1; }
  .display-toggle { grid-column: 1 / -1; }
  .display-toggle button { flex: 1; justify-content: center; }
  .stat { min-height: 0; }
  .l-head { display: block; }
  .l-head > p { margin-top: 16px; max-width: 560px; }
  .l-head.split { display: flex; flex-direction: column; align-items: flex-start; }
  .solves-head { display: none; }
  .solve-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  dialog.assistant { margin-top: 12px; padding: 18px; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .story-tiles { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .partners { display: block; }
  .tiers { margin-top: 32px; }
  .final { grid-template-columns: minmax(0, 1fr); min-height: 560px; align-items: start; }
  .final img { height: 56%; max-width: 88%; right: 50%; transform: translateX(50%); }
  .final::before { right: 50%; transform: translateX(50%); width: 80%; height: 18%; }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .site-footer nav { flex-wrap: wrap; }
  .welcome-intro { display: block; }
  .welcome-intro p { margin-top: 16px; max-width: 520px; }
  .role-choices { grid-template-columns: minmax(0, 1fr); }
  .role-choice { height: 230px; }
  .role-mascot { height: 100%; bottom: -12%; max-width: 50%; }
  .regional-results { grid-template-columns: minmax(0, 1fr); }
  }
@media (max-width: 640px) {
  :root { --ch: 14px; }
  .stats, .stats:has(> .stat:nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
  .inbox-list { gap: 12px; }
  .path-item { grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; }
  .path-node { width: 26px; height: 26px; }
  .path-item::before { left: 12.5px; top: 26px; }
  .jersey-card { grid-template-columns: 84px minmax(0, 1fr); }
  .jersey { width: 84px; }
  .board-mat, .board-ring { width: 460px; height: 460px; top: -150px; right: -190px; }
  .board { background-size: 22px 22px; }
  .grid, .story-grid, .regional-current { grid-template-columns: minmax(0, 1fr); }
  .header, .site-header, .welcome-header { height: 60px; }
  .brand-lockup .logotype { height: 26px; }
  .role-name { display: none; }
  .account-button { padding-right: 10px; }
  h1 { letter-spacing: -0.035em; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .page-intro h1 { font-size: 52px; }
  .intro-stats dd { font-size: 40px; }
  .intro-stats > div { padding-left: 12px; }
  .hero { padding-top: 24px; }
  .hero-title { font-size: clamp(50px, 15.6vw, 72px); letter-spacing: -0.05em; }
  .hero-actions .btn { flex: 1; }
  .hero-agent .hero-title { font-size: clamp(46px, 13.4vw, 64px); }
  .hero-sub { margin-top: 14px; font-size: 16px; }
  .hero-stage { margin-top: 104px; }
  .hero-ask { top: 30px; width: calc(100% - 16px); }
  .ask-bar.big { height: 60px; padding: 0 6px 0 16px; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.6), 0 16px 40px rgba(17, 18, 22, 0.16); }
  .ask-go { width: 48px; height: 48px; }
  .hero-agent .hero-examples { flex-wrap: nowrap; justify-content: flex-start; margin: 0 -8px 12px; padding: 0 8px 6px; overflow-x: auto; scrollbar-width: none; }
  .hero-agent .hero-examples::-webkit-scrollbar { display: none; }
  .hero-agent .hero-examples button { flex: none; }
  .hero-agent .hero-plate { height: auto; }
  .hero-agent .hero-plate > img { height: 360px; }
  .ask-card { grid-template-columns: 52px minmax(0, 1fr); }
  .ask-card > img { width: 52px; height: 52px; }
  .ask-card > .btn { grid-column: 1 / -1; }
  .hero-plate { height: auto; overflow: visible; clip-path: none; background: none; }
  .hero-plate > img { height: 300px; clip-path: var(--chamfer); }
  .hero-live { position: relative; right: auto; bottom: auto; width: auto; margin: -56px 12px 0; }
  .scoreboard { grid-template-columns: 1fr 1fr; }
  .scoreboard > div { padding: 18px 12px 18px 0; }
  .scoreboard > div + div { padding-left: 16px; }
  .scoreboard > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .scoreboard > div:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-stats dd { font-size: 44px; }
  .feature-stats { gap: 10px; }
  .tiers li { align-items: flex-end; }
  .tiers .num { font-size: 36px; }
  .map-near ol { grid-template-columns: 1fr 1fr; }
  .map-pin > span { display: none; }
  .section-cover { aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); }
  .section-title h1 { font-size: 60px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .card-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .amounts { grid-template-columns: 1fr 1fr; }
  .support-target { grid-template-columns: minmax(0, 1fr); }
  .list-card { grid-template-columns: 72px minmax(0, 1fr); }
  .list-card > img { width: 72px; height: 72px; }
  .list-card .end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .activity-item { grid-template-columns: 56px minmax(0, 1fr); }
  .activity-item > img { width: 56px; height: 56px; }
  .activity-arrow { display: none; }
  .coach-head { flex-wrap: wrap; }
  .coach-head .custom-select { width: 100%; margin-left: 0; }
  .result-stage { height: 360px; }
  .result-amount { font-size: 64px; }
  .result-bears.result-strong { height: 190px; right: 2%; bottom: 20%; }
  .result-progress { width: auto; right: 32px; }
  .enrollment-date strong { font-size: 110px; }
  .enrollment-art .result-bears.result-boy { height: 220px; right: 2%; }
  .table-wrap { padding: 4px 16px; }
  .welcome-intro h1 { font-size: 56px; }
  .role-choice { height: 210px; padding: 22px; }
  .choice-action { max-width: 54%; }
  .role-mascot { max-width: 42%; height: 96%; bottom: -10%; }
  .choice-go { left: 22px; bottom: 22px; }
  .region-big-number { font-size: 88px; }
  .final { min-height: 520px; }
  dialog { padding: 22px; }
}

.launch-card { margin-top: 20px; }
.launch-steps { display: flex; gap: 6px; margin: 22px 0 8px; padding: 0; list-style: none; font-size: 13px; color: var(--ink-3); }
.launch-steps li { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.launch-steps li i { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.launch-steps li.done { color: var(--ink); }
.launch-steps li.done i { background: var(--blue); }
.launch-steps li.current { color: var(--ink); }
.launch-steps li.current i { background: linear-gradient(90deg, var(--blue) 50%, var(--line) 50%); }
.panel + .empty { margin-top: 20px; }

/* Language switch and the English link for partners */
.lang-tools { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.lang-switch { display: flex; height: 32px; padding: 2px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang-switch button { min-width: 34px; padding: 0 8px; border: 0; border-radius: 999px; background: none; color: var(--ink-3); font: 500 12px/1 var(--font); letter-spacing: 0.03em; transition: background 0.2s, color 0.2s; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .lang-switch button:not([aria-pressed="true"]):hover { color: var(--ink); } }
.lang-share { width: 32px; height: 32px; background: transparent; color: var(--ink-3); }
.lang-share .icon { width: 16px; height: 16px; }
.welcome-header .lang-tools { margin: 0 18px 0 auto; }
@media (max-width: 900px) {
  .site-header .lang-tools { margin-left: auto; }
  .site-header > .btn { margin-left: 4px; }
}
@media (max-width: 640px) {
  .header .lang-share, .site-header .lang-share { display: none; }
  .header .lang-switch button, .site-header .lang-switch button { min-width: 30px; padding: 0 6px; }
}
