/*
 * SoccerBridge website. Mirrors the app's design tokens (src/theme/tokens.ts):
 * ink neutrals carry the interface, one vivid cobalt carries intent.
 */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f3f4f7;
  --border: #eceef2;
  --border-strong: #d9dde4;
  --text: #0b0f19;
  --text-2: #555e6e;
  --text-3: #8d95a3;
  --primary: #1e50ff;
  --primary-pressed: #1640d6;
  --primary-soft: #eef2ff;
  --success: #0f8a5f;
  --success-soft: #e7f6ef;
  --ink: #070b16;
  --ink-raised: #0e1424;
  --ink-line: rgba(255, 255, 255, 0.08);
  --ink-text-2: rgba(255, 255, 255, 0.66);
  --ink-text-3: rgba(255, 255, 255, 0.42);
  --ice: #9db6ff;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 25, 0.04), 0 2px 8px rgba(11, 15, 25, 0.04);
  --shadow-md: 0 2px 6px rgba(11, 15, 25, 0.05), 0 18px 40px -18px rgba(11, 15, 25, 0.18);
  --shadow-glow: 0 30px 80px -30px rgba(30, 80, 255, 0.55);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
::selection {
  background: var(--primary);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
}
.skip:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type helpers ---------- */
.overline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}
.on-ink .overline {
  color: var(--ice);
}
.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
}
.on-ink .lede {
  color: var(--ink-text-2);
}
.section-head {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(30, 80, 255, 0.7);
}
.btn-primary:hover {
  background: var(--primary-pressed);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover {
  background: #1b2030;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--text);
}
.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header.solid,
.site-header.light {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
}
.site-header.on-dark:not(.solid) {
  color: #fff;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.035em;
}
.brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  flex: none;
}
.brand .dim {
  opacity: 0.55;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: inherit;
  opacity: 0.78;
  transition: opacity 0.2s, background 0.2s;
}
.nav a:hover,
.nav a[aria-current='page'] {
  opacity: 1;
  background: rgba(127, 127, 127, 0.1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(127, 127, 127, 0.25);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.lang a {
  padding: 5px 10px;
  border-radius: 999px;
  opacity: 0.6;
}
.lang a[aria-current='true'] {
  opacity: 1;
  background: var(--primary);
  color: #fff;
}
.header-actions .btn {
  height: 42px;
  padding: 0 18px;
  font-size: 14.5px;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(127, 127, 127, 0.25);
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
}
.mobile-nav {
  display: none;
}

/* ---------- Ink surfaces ---------- */
.on-ink {
  background: var(--ink);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(128px, 16vw, 168px) 0 clamp(72px, 9vw, 120px);
  isolation: isolate;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-art svg {
  width: 100%;
  height: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 84px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 18px 0 24px;
}
.hero h1 .soft {
  color: var(--ice);
}
.hero h1 .line {
  display: block;
  white-space: nowrap;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
.store svg {
  width: 22px;
  height: 22px;
}
.store small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  opacity: 0.6;
  line-height: 1.1;
}
.store b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
}
.soon {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-text-3);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
}
.hero-stats div {
  display: grid;
  gap: 2px;
}
.hero-stats b {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.hero-stats span {
  font-size: 13px;
  color: var(--ink-text-3);
}

/* Phone mock: a faithful miniature of the app's player profile */
.device {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  aspect-ratio: 9 / 18.6;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #2a3042, #0d1018 40%, #1b2030);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-glow), 0 40px 90px -40px rgba(0, 0, 0, 0.8);
  transform: rotate(-2.5deg);
}
.device::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 20px;
  background: #000;
}
.screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.screen .cover {
  height: 30%;
  background: radial-gradient(120% 90% at 72% 10%, rgba(30, 80, 255, 0.75), rgba(30, 80, 255, 0.08) 55%, transparent), var(--ink);
  position: relative;
}
.screen .cover svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.screen .body {
  padding: 0 18px 16px;
  display: grid;
  gap: 12px;
  margin-top: -34px;
}
.screen .avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(135deg, #3d6bff, #1238d6);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  position: relative;
}
.screen .name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.screen .name svg {
  width: 17px;
  height: 17px;
}
.screen .sub {
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: -8px;
}
.pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-2);
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.pill.blue {
  background: var(--primary-soft);
  color: var(--primary);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stat {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 10px;
}
.stat b {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.stat span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.clip {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #16351f, #0f8a5f 60%, #38c98e);
}
.clip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 22px, transparent 22px 44px);
}
.clip .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}
.clip .play svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}
.clip .tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(7, 11, 22, 0.55);
  padding: 4px 8px;
  border-radius: 8px;
}
.screen .cta {
  height: 40px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  white-space: nowrap;
}
.float-card b {
  display: block;
  font-size: 13.5px;
}
.float-card span {
  color: var(--text-3);
  font-size: 12px;
}
.float-card .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.float-card .ic svg {
  width: 18px;
  height: 18px;
}
.float-a {
  left: -20%;
  top: 15%;
  transform: rotate(2.5deg);
}
.float-b {
  right: -14%;
  bottom: 14%;
  transform: rotate(2.5deg);
}

/* ---------- Sections ---------- */
section {
  position: relative;
}
.band {
  padding: clamp(80px, 11vw, 140px) 0;
}
.band.alt {
  background: var(--surface-alt);
}

/* Role cards */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.role {
  position: relative;
  border-radius: var(--r-xl);
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
  align-content: start;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.role:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.role .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.role h3 {
  font-size: 26px;
}
.role p {
  color: var(--text-2);
}
.role ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 10px;
}
.role li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}
.role li svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--primary);
}
.role.feature {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.role.feature p {
  color: var(--ink-text-2);
}
.role.feature .num {
  color: var(--ink-text-3);
}
.role.feature li svg {
  color: var(--ice);
}
.role.feature::before {
  content: '';
  position: absolute;
  inset: -40% -30% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(30, 80, 255, 0.55), transparent 65%);
  pointer-events: none;
}
.role > * {
  position: relative;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-strong);
}
.step {
  padding: 32px 28px 0 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.step + .step {
  padding-left: 28px;
  border-left: 1px solid var(--border);
}
.step .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--primary);
}
.step h3 {
  font-size: 24px;
}
.step p {
  color: var(--text-2);
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.feat {
  background: var(--surface);
  padding: 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.feat .ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 6px;
}
.feat .ic svg {
  width: 22px;
  height: 22px;
}
.feat h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.feat p {
  color: var(--text-2);
  font-size: 15px;
}

/* Trust split */
.trust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.trust-list {
  display: grid;
  gap: 2px;
}
.trust-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-line);
}
.trust-item:first-child {
  padding-top: 0;
}
.trust-item .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(157, 182, 255, 0.1);
  color: var(--ice);
  border: 1px solid rgba(157, 182, 255, 0.14);
}
.trust-item .ic svg {
  width: 22px;
  height: 22px;
}
.trust-item h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.trust-item p {
  color: var(--ink-text-2);
  font-size: 15px;
}
.trust-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}
.trust-aside h2 {
  font-size: clamp(34px, 4.4vw, 54px);
}
.safety-card {
  margin-top: 12px;
  border-radius: var(--r-lg);
  padding: 22px;
  background: linear-gradient(160deg, rgba(30, 80, 255, 0.22), rgba(30, 80, 255, 0.04));
  border: 1px solid rgba(157, 182, 255, 0.18);
  display: grid;
  gap: 10px;
}
.safety-card p {
  color: var(--ink-text-2);
  font-size: 15px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
}
.on-ink .link-arrow {
  color: var(--ice);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  border-radius: var(--r-xl);
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
  overflow: hidden;
}
.plan .name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan .price b {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan .price span {
  color: var(--text-3);
  font-size: 14px;
}
.plan p.note {
  color: var(--text-2);
  font-size: 14.5px;
}
.plan ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
}
.plan li {
  display: flex;
  gap: 10px;
  font-size: 15px;
}
.plan li svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--primary);
}
.plan.pro {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.plan.pro::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(30, 80, 255, 0.6), transparent 65%);
}
.plan.pro > * {
  position: relative;
}
.plan.pro .name,
.plan.pro .price span {
  color: var(--ink-text-3);
}
.plan.pro p.note {
  color: var(--ink-text-2);
}
.plan.pro ul {
  border-top-color: var(--ink-line);
}
.plan.pro li svg {
  color: var(--ice);
}
.badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
}
.fine {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-3);
  max-width: 80ch;
}

/* Final CTA */
.final {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px);
  isolation: isolate;
}
.final .hero-art {
  border-radius: inherit;
}
.final h2 {
  font-size: clamp(34px, 5vw, 64px);
  max-width: 16ch;
}
.final .lede {
  margin-top: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 80px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-text-3);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot-grid a {
  color: var(--ink-text-2);
  font-size: 15px;
  transition: color 0.2s;
}
.foot-grid a:hover {
  color: #fff;
}
.foot-about p {
  color: var(--ink-text-2);
  font-size: 15px;
  margin-top: 16px;
  max-width: 36ch;
}
.foot-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-text-3);
}
.slogan {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ---------- Legal pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 64px;
  isolation: isolate;
}
.page-hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  letter-spacing: -0.04em;
  margin: 16px 0 18px;
  max-width: 18ch;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.meta span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ink-line);
  color: var(--ink-text-2);
}
.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  padding-top: 64px;
  padding-bottom: 120px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 8px;
}
.toc h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 14px;
}
.toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--border);
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 10px;
  padding: 7px 12px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  padding-top: 2px;
}
.toc a:hover,
.toc a.active {
  color: var(--text);
  border-left-color: var(--primary);
}
.prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.72;
  color: #262c38;
}
.prose .summary {
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  margin-bottom: 48px;
  display: grid;
  gap: 12px;
}
.prose .summary h2 {
  font-size: 15px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}
.prose .summary ul {
  margin: 0;
}
.prose section {
  padding-top: 8px;
}
.prose section + section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.prose h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.prose h2 .idx {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0;
  font-weight: 500;
}
.prose h3 {
  font-size: 18.5px;
  letter-spacing: -0.015em;
  margin: 26px 0 10px;
}
.prose p + p,
.prose p + ul,
.prose ul + p,
.prose p + ol,
.prose ol + p {
  margin-top: 14px;
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.prose li::marker {
  color: var(--primary);
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.callout {
  margin-top: 18px;
  border-radius: var(--r-md);
  padding: 18px 20px;
  background: var(--primary-soft);
  color: #1b2a63;
  font-size: 15.5px;
  display: grid;
  gap: 8px;
}
.callout b {
  color: var(--primary);
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 15px;
}
.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.table th {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  background: var(--surface-alt);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-top: 16px;
}
.table-wrap .table {
  margin: 0;
}
.steps-list {
  counter-reset: s;
  list-style: none;
  padding: 0 !important;
}
.steps-list li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}
.steps-list li::before {
  content: counter(s);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* Support / hub cards */
.hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.hub a {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: grid;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  background: var(--surface);
}
.hub a:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.hub b {
  font-size: 17px;
  letter-spacing: -0.015em;
}
.hub span {
  font-size: 14.5px;
  color: var(--text-2);
}
details.faq {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
details.faq summary::-webkit-details-marker {
  display: none;
}
details.faq summary::after {
  content: '+';
  font-family: var(--mono);
  color: var(--primary);
  font-weight: 500;
  transition: transform 0.2s;
}
details.faq[open] summary::after {
  transform: rotate(45deg);
}
details.faq > div {
  margin-top: 10px;
  color: var(--text-2);
}

/* ---------- Motion ---------- */
.arc-draw {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}
.arc-fade {
  opacity: 0;
  animation: fade 0.6s ease 1.7s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .arc-draw,
  .arc-fade {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .float-a {
    left: -6%;
  }
  .float-b {
    right: -4%;
  }
}
@media (max-width: 920px) {
  .nav,
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .mobile-nav.open {
    display: grid;
    gap: 4px;
    padding: 8px var(--gutter) 24px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav a {
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav .btn {
    margin-top: 14px;
    border-bottom: 0;
    color: #fff;
  }
  .site-header.menu-open {
    background: #fff;
    color: var(--text);
  }
  .hero-grid,
  .trust,
  .doc {
    grid-template-columns: 1fr;
  }
  .device {
    margin-top: 24px;
    transform: none;
  }
  .roles,
  .plans,
  .steps,
  .hub {
    grid-template-columns: 1fr;
  }
  .step,
  .step + .step {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }
  .trust-aside {
    position: static;
  }
  .toc {
    position: static;
    max-height: none;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 18px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
  .float-card {
    display: none;
  }
  .hero-stats {
    gap: 20px;
  }
  .btn {
    width: 100%;
  }
  .hero-cta {
    flex-direction: column;
  }
  .lang a {
    padding: 5px 8px;
  }
}

/* Refinements */
.role.feature .link-arrow {
  color: var(--ice);
}
.plan .badge {
  position: absolute;
  top: 28px;
  right: 28px;
}
.foot-about .brand {
  color: #fff;
}

/* On narrow screens the arc runs behind body copy: keep it as atmosphere, not a line through text. */
@media (max-width: 920px) {
  .hero .hero-art path.arc-draw {
    opacity: 0.32;
  }
  .hero .hero-art .arc-fade {
    animation: none;
    opacity: 0.18;
  }
}

/* ---------- Levels strip ---------- */
.levels {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid var(--ink-line);
  overflow: hidden;
}
.levels-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
}
.levels-label {
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-text-3);
}
.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.lvl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-text-2);
}
.lvl svg {
  opacity: 0.85;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Scouting pitch ---------- */
.pitch-card {
  border-radius: 28px;
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-text-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-line);
}
.chip.on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.chip svg {
  width: 14px;
  height: 14px;
}
.pitch-wrap {
  position: relative;
}
.pitch-svg {
  width: 100%;
  height: auto;
  display: block;
}
.pitch-svg .pl {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  fill: rgba(255, 255, 255, 0.5);
}
.pitch-svg .pl-hi {
  fill: #fff;
  font-weight: 600;
}
.pitch-svg .pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite;
}
.pitch-svg .pass {
  animation: pass 1.6s linear infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@keyframes pass {
  to {
    stroke-dashoffset: -28;
  }
}
.pitch-tip {
  position: absolute;
  left: 49%;
  top: 56%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.pitch-tip .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3d6bff, #1238d6);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.pitch-tip b {
  display: block;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}
.pitch-tip span {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
}
.pitch-tip em {
  display: inline-block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--success);
}
.scout-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.scout-points h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.scout-points p {
  color: var(--text-2);
  font-size: 15px;
}
@media (max-width: 920px) {
  .scout-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pitch-tip {
    position: static;
    margin-top: 14px;
    white-space: normal;
  }
  .levels-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .marquee {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .track,
  .pitch-svg .pulse,
  .pitch-svg .pass {
    animation: none;
  }
}
