/* EquineSuite — public website
   Tokens follow the EquineSuite brand identity / UI kit. */

:root {
  --bg: #0A0D11;
  --bg-2: #0E1217;
  --surface: #11151B;
  --surface-2: #141920;
  --ink: #0C1015;
  --paper: #F2F4F0;
  --text-2: #D7DBD3;
  --text-3: #C9CEC4;
  --muted: #A3A99E;
  --muted-2: #8A9086;
  --faint: #5E645B;
  --line: rgba(242, 244, 240, 0.06);
  --line-2: rgba(242, 244, 240, 0.08);
  --line-3: rgba(242, 244, 240, 0.12);
  --gold: #E2B866;
  --ok: #5BE09A;
  --err: #FF6B70;

  /* discipline accents */
  --jump: #AEEA3A;
  --dres: #B79CFF;
  --tent: #FF7A45;
  --race: #4F9DFF;
  --even: #FF6B9E;
  --fed: #FFD23F;

  --display: 'Rajdhani', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 140px);
  --acc: var(--jump);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--paper); text-decoration: none; transition: color .15s, border-color .15s, background .15s, filter .15s; }
a:hover { color: var(--gold); }
button, input, textarea { font: inherit; }
img, svg { display: block; }
input::placeholder, textarea::placeholder { color: var(--faint); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--mono); }

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--muted-2); text-transform: uppercase; }
.h2 { margin: 0; font-weight: 700; font-size: clamp(40px, 5.5vw, 76px); line-height: 0.92; text-transform: uppercase; }
.lead { margin: 0; font-weight: 500; font-size: 19px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.wordmark { font-family: var(--display); letter-spacing: 0.08em; white-space: nowrap; }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 500; }
.head { display: flex; flex-direction: column; gap: 16px; }

/* ---------- buttons ---------- */
.btn {
  height: 52px; padding: 0 24px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.08em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { filter: brightness(1.08); color: var(--bg); }
.btn-ghost { border-color: rgba(242, 244, 240, 0.3); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--paper); color: var(--paper); }
.btn-fed { background: var(--fed); color: var(--bg); height: 50px; font-size: 16px; white-space: normal; text-align: left; }
.btn-fed:hover { filter: brightness(1.06); color: var(--bg); }
.btn-sm { height: 40px; padding: 0 18px; border-radius: 8px; font-size: 14.5px; }
.btn-paper { background: var(--paper); color: var(--bg); }
.btn-paper:hover { background: var(--gold); color: var(--bg); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 13, 17, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { width: 32px; height: 32px; }
.brand .wordmark { font-size: 19px; color: var(--paper); }
.nav { display: flex; gap: 28px; margin-left: auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-3); background: transparent; color: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(10, 13, 17, 0.97); border-bottom: 1px solid var(--line-2);
    padding: 8px var(--gutter) 20px; font-size: 13px;
    display: none;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { display: flex; margin-top: 16px; border: 0; padding: 0; }
  .site-header.open .nav { display: flex; }
}
.nav .nav-cta { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; margin-top: -73px; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { position: absolute; left: 0; top: -9%; width: 100%; height: 109%; object-fit: cover; object-position: 68% 30%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: heroIn 2.6s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 30% 40% at 72% 38%, rgba(226, 184, 102, 0.07), transparent 70%),
  linear-gradient(180deg, rgba(10, 13, 17, 0.55) 0%, rgba(10, 13, 17, 0) 22%, rgba(10, 13, 17, 0) 62%, var(--bg) 100%); }

.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 160px; padding-bottom: 72px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; color: #B9BFB4; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(56px, 9vw, 140px); line-height: 0.86; letter-spacing: 0.01em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-copy p { margin: 0; max-width: 460px; font-size: 21px; line-height: 1.35; color: var(--text-3); text-wrap: pretty; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.live-card {
  background: rgba(12, 16, 21, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 244, 240, 0.1); border-radius: 16px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px; min-width: min(300px, 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.live-card .top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.live-card .app { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.live-card .app svg { width: 26px; height: 26px; }
.live-card .meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted-2); }
.live-card .meta.gate-row { padding-top: 10px; border-top: 1px solid var(--line-2); }
.live-card .meta.gate-row span:first-child { display: flex; align-items: center; gap: 7px; }
.live-card .meta.gate-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.live-card .meta.gate-row span:last-child { color: var(--ok); }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--acc); }
.live-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
.clock { font-family: var(--mono); font-weight: 600; font-size: 54px; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
@keyframes pulse { 50% { opacity: 0.35; } }

@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero-bg img { top: 50px; left: auto; right: -14vw; width: 112vw; height: auto; aspect-ratio: 1; object-fit: cover; }
  .hero-shade { background: linear-gradient(180deg, rgba(10, 13, 17, 0.6) 0%, rgba(10, 13, 17, 0) 14%); }
  .hero-inner { padding-top: calc(50px + 84vw); padding-bottom: 48px; }
}

/* ---------- app strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; }
.strip a { display: flex; align-items: center; gap: 12px; color: var(--paper); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; white-space: nowrap; }
.strip a:hover { color: #fff; }
.strip svg { width: 30px; height: 30px; flex: none; }
@media (max-width: 1040px) {
  .strip .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: start; }
}
@media (max-width: 560px) {
  .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip a { font-size: 14px; gap: 10px; }
  .strip svg { width: 26px; height: 26px; }
}

/* ---------- sections ---------- */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head .lead { max-width: 380px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }

/* ---------- apps explorer ---------- */
.apps { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 20px; }
.app-list { display: flex; flex-direction: column; gap: 8px; }
.app-btn {
  text-align: left; border: 1px solid var(--line-2); background: transparent; border-radius: 14px;
  padding: 16px 18px; display: flex; align-items: center; gap: 14px; cursor: pointer; color: var(--paper);
  transition: border-color .15s, background .15s;
}
.app-btn:hover { border-color: rgba(242, 244, 240, 0.25); }
.app-btn[aria-selected="true"] { background: var(--surface-2); border-color: var(--c); }
.app-btn svg { width: 40px; height: 40px; flex: none; }
.app-btn .t { display: flex; flex-direction: column; gap: 3px; }
.app-btn .n { font-weight: 700; font-size: 19px; letter-spacing: 0.07em; }
.app-btn .d { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted-2); }

.panel { position: relative; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; padding: clamp(22px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.panel-glow { position: absolute; top: -120px; right: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--acc) 22%, transparent) 0%, transparent 70%); pointer-events: none; transition: background .3s; }
.panel > :not(.panel-glow) { position: relative; }
.panel-id { display: flex; align-items: center; gap: 18px; }
.panel-icon { width: 84px; height: 84px; border-radius: 20px; background: var(--bg); border: 1px solid rgba(242, 244, 240, 0.1); display: flex; align-items: center; justify-content: center; flex: none; }
.panel-icon svg { width: 56px; height: 56px; }
.panel-id .t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.panel-id .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted-2); }
.panel-id .n { font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 0.9; letter-spacing: 0.06em; }
.panel-tag { margin: 0; max-width: 560px; font-weight: 600; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.2; text-wrap: pretty; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.feature { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(242, 244, 240, 0.03); border: 1px solid var(--line); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--text-2); }
.feature svg { width: 18px; height: 18px; flex: none; color: var(--acc); margin-top: 1px; }

.board { border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); overflow: hidden; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted-2); }
.board-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(242, 244, 240, 0.05); }
.board-row:last-child { border-bottom: 0; }
.board-row .rk { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--muted-2); }
.board-row .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.board-row .who b { font-weight: 700; font-size: 16px; letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-row .who span { font-family: var(--mono); font-size: 10px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-row .sc { font-family: var(--mono); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.board-row .sc.acc { color: var(--acc); }
.board-row .sc.mute { color: var(--muted-2); }

.panel-link { align-self: flex-start; border-color: color-mix(in srgb, var(--acc) 60%, transparent); }
.panel-link:hover { border-color: var(--acc); color: var(--acc); }

@media (max-width: 860px) {
  .apps { grid-template-columns: 1fr; }
  .app-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .app-list::-webkit-scrollbar { display: none; }
  .app-btn { flex: none; scroll-snap-align: start; padding: 12px 14px; }
  .app-btn svg { width: 32px; height: 32px; }
  .app-btn .n { font-size: 16px; }
  .panel-icon { width: 64px; height: 64px; border-radius: 16px; }
  .panel-icon svg { width: 42px; height: 42px; }
}

/* ---------- platform ---------- */
.pillars { display: flex; flex-direction: column; }
.pillar { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.pillar:last-child { border-bottom: 1px solid var(--line-2); }
.pillar svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.pillar .t { display: flex; flex-direction: column; gap: 6px; }
.pillar b { font-weight: 700; font-size: 22px; letter-spacing: 0.05em; text-transform: uppercase; }
.pillar span { font-size: 17px; line-height: 1.4; color: var(--muted); }

/* timing partner credit */
.partner { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(242, 244, 240, 0.02); color: var(--paper); }
.partner:hover { border-color: rgba(242, 244, 240, 0.22); color: var(--paper); }
.partner-k { grid-column: 1 / -1; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted-2); text-transform: uppercase; }
.partner-n { font-weight: 700; font-size: 22px; letter-spacing: 0.14em; }
.partner-d { font-size: 15px; line-height: 1.4; color: var(--muted); }
@media (max-width: 520px) { .partner { grid-template-columns: 1fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 22px; }
.foot-partner { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.foot-partner span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--faint); }
.foot-partner b { font-weight: 700; font-size: 15px; letter-spacing: 0.14em; }
.foot-partner:hover b { color: var(--paper); }

/* arena scoreboard visual (stands in for the platform photo) */
.arena { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(226, 184, 102, 0.16), transparent 70%), linear-gradient(180deg, #131922, #0A0D11 70%); display: flex; flex-direction: column; justify-content: center; padding: clamp(18px, 3vw, 32px); gap: 14px; }
.arena-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(242,244,240,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(242,244,240,0.035) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.screen { position: relative; border-radius: 14px; background: #06080B; border: 1px solid rgba(242, 244, 240, 0.1); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(242, 244, 240, 0.02); overflow: hidden; }
.screen-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted-2); }
.screen-top .live-tag { --acc: var(--jump); }
.screen-main { padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.screen-main .rider { font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: 0.05em; text-transform: uppercase; }
.screen-main .horse { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-2); }
.screen-main .big { font-family: var(--mono); font-weight: 600; font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--jump); font-variant-numeric: tabular-nums; margin-top: 8px; }
.screen-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.screen-stats div { padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line-2); }
.screen-stats div:last-child { border-right: 0; }
.screen-stats span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--faint); }
.screen-stats b { font-family: var(--mono); font-weight: 600; font-size: 16px; }
.gates { position: relative; display: flex; gap: 10px; }
.gate { flex: 1; border-radius: 12px; background: rgba(12, 16, 21, 0.85); border: 1px solid var(--line-2); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.gate span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted-2); }
.gate b { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.gate b::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ---------- federation ---------- */
.fed-section { padding-top: var(--section-y); }
.fed-section h2 em { font-style: normal; color: var(--fed); }
.fed-label { display: flex; align-items: center; gap: 10px; }
.fed-label svg { width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; padding: 7px 12px; border-radius: 16px; border: 1px solid var(--line-3); color: var(--text-2); }
.fed-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.fed-copy .lead { max-width: 440px; }
.api { border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; min-width: 0; }
.api-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-2); }
.api-head .m { color: var(--fed); }
.api-head .ok { font-size: 10px; letter-spacing: 0.1em; color: var(--ok); }
.api pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: var(--muted-2); overflow-x: auto; }
.api .k { color: var(--text-2); }
.api .s { color: var(--jump); }
.api .v { color: var(--fed); }
.api-foot { padding: 16px 18px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.api-foot > span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--faint); }
.sources { display: flex; flex-wrap: wrap; gap: 8px; }
.source { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px 0 6px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; letter-spacing: 0.05em; }
.source svg { width: 20px; height: 20px; }
.source::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid rgba(242, 244, 240, 0.15); }
.step:first-child { border-top-color: var(--gold); }
.step .no { font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--muted-2); }
.step:first-child .no { color: var(--gold); }
.step b { font-weight: 700; font-size: 30px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.step span { font-size: 17px; line-height: 1.4; color: var(--muted); }

/* ---------- plans ---------- */
.plans-section { padding-bottom: var(--section-y); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; margin-top: 44px; }
.plan { border-radius: 22px; border: 1px solid rgba(242, 244, 240, 0.1); background: var(--surface); padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.plan.pro { border-color: var(--gold); background: linear-gradient(160deg, #1A1810 0%, var(--surface) 55%); }
.plan-id { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-id svg { width: 40px; height: 40px; }
.plan-id .wordmark { font-size: 26px; }
.badge { font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; padding: 3px 7px; border-radius: 3px; background: var(--gold); color: var(--bg); }
.plan > .for { font-size: 19px; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.plan li svg { width: 16px; height: 16px; flex: none; color: var(--muted-2); }
.plan.pro li svg { color: var(--gold); }
.plan .btn { margin-top: auto; height: 50px; font-size: 16px; }

/* ---------- contact ---------- */
.contact-copy { display: flex; flex-direction: column; gap: 32px; align-self: start; }
.contact-copy .lead { max-width: 420px; }
.contact-lines { display: flex; flex-direction: column; gap: 16px; }
.contact-lines > * { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 19px; }
.contact-lines .ic { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-3); display: flex; align-items: center; justify-content: center; color: var(--gold); flex: none; }
.contact-lines .ic svg { width: 20px; height: 20px; }

.form { border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); padding: clamp(22px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span, .field legend { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted-2); padding: 0; margin-bottom: 2px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.input { width: 100%; height: 48px; border-radius: 10px; border: 1px solid var(--line-3); background: var(--bg); color: var(--paper); padding: 0 14px; font-family: var(--display); font-weight: 600; font-size: 17px; outline: none; transition: border-color .15s; }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 112px; }
.input:focus { border-color: var(--gold); }
.input[aria-invalid="true"] { border-color: var(--err); }
.pick { height: 38px; padding: 0 14px 0 8px; border-radius: 19px; border: 1px solid var(--line-3); background: transparent; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.05em; transition: background .15s, border-color .15s; }
.pick svg { width: 22px; height: 22px; }
.pick[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.form .btn { height: 54px; width: 100%; }
.form-err { font-family: var(--mono); font-size: 11px; color: var(--err); min-height: 1em; margin: 0; }
.form-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--faint); margin: 0; line-height: 1.6; }
.sent { flex: 1; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.sent .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.sent .tick svg { width: 30px; height: 30px; }
.sent b { font-weight: 700; font-size: 30px; letter-spacing: 0.04em; text-transform: uppercase; }
.sent span { font-size: 18px; color: var(--muted); max-width: 360px; }
.sent .btn { width: auto; height: 40px; font-size: 14px; }
[hidden] { display: none !important; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-top .brand svg { width: 34px; height: 34px; }
.foot-top .brand .wordmark { font-size: 20px; }
.foot-cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 16px; }
.foot-col > span { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.14em; color: var(--faint); }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--paper); }
.foot-app { display: flex; align-items: center; gap: 10px; }
.foot-app svg { width: 22px; height: 22px; flex: none; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--faint); }
.foot-bottom a { color: var(--faint); }
.foot-bottom a:hover { color: var(--paper); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding-top: clamp(64px, 8vw, 110px); padding-bottom: var(--section-y); }
.legal h1 { margin: 16px 0 12px; font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 0.92; text-transform: uppercase; }
.legal h2 { margin: 40px 0 10px; font-weight: 700; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; }
.legal p, .legal li { font-size: 18px; line-height: 1.55; color: var(--text-3); }
.legal a { color: var(--gold); }
.not-found { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; align-items: flex-start; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-tag::before { animation: none; }
}

@media (max-width: 520px) {
  .hero-copy p { font-size: 19px; }
  .actions .btn { flex: 1 1 100%; }
  .live-card { width: 100%; }
  .clock { font-size: 46px; }
  .api pre { font-size: 11px; }
  .gates { flex-direction: column; }
  .arena { aspect-ratio: auto; }
}
