/* ForwardTested — dark premium. One accent (violet), data colours only for data. */
:root {
  --bg: #08080a;
  --bg-2: #0e0e12;
  --card: #111116;
  --card-2: #15151b;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #f2f1f6;
  --muted: #8d8b99;
  --dim: #5d5b68;
  --accent: #9b8cff;
  --accent-2: #7a68f5;
  --accent-ink: #120d2b;
  --pos: #4fd18b;
  --neg: #ff6b6b;
  --r: 18px;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font: 500 15px var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #b0a4ff; }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, .billing button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(8, 8, 10, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 0; overflow: hidden; }
.hero-sky {
  position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(155, 140, 255, .16), transparent 70%),
    radial-gradient(40% 40% at 50% 20%, rgba(255, 255, 255, .04), transparent 70%);
}
.hero-sky::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
}
.hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font: 500 12px var(--mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase;
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 3px rgba(79, 209, 139, .18); }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 6.4vw, 76px); max-width: 15ch; }
.ring { position: relative; display: inline-block; padding: 0 .16em; margin: 0 -.12em 0 -.04em; }
.ring::before {
  content: ""; position: absolute; inset: -.06em -.02em -.02em; border: 1.5px solid var(--accent);
  border-radius: 50%; transform: rotate(-4deg);
}
.lede { margin-top: 22px; max-width: 58ch; color: var(--muted); font-size: 17px; }
.cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-foot { margin-top: 22px; font: 400 13px var(--mono); color: var(--dim); }

/* ---------- sections ---------- */
.sec { padding: 120px 0 0; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sec h2 { margin-top: 14px; font-size: clamp(30px, 4.2vw, 48px); max-width: 20ch; }
.sec h2.center { margin-inline: auto; }
.sub { margin-top: 16px; color: var(--muted); max-width: 62ch; font-size: 16px; }

/* steps */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: border-color .25s, transform .25s; }
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.diagram { width: 100%; height: auto; display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 20px; }
.diagram .lvl { stroke: var(--dim); stroke-dasharray: 4 4; }
.diagram .px { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linejoin: round; }
.diagram .pt { fill: var(--muted); }
.diagram .pt.hot { fill: var(--accent); }
.diagram .stop { stroke: var(--neg); stroke-width: 1.2; }
.diagram .tp { stroke: var(--pos); stroke-width: 1.2; }
.diagram text { font: 9px var(--mono); fill: var(--muted); }
.num { font: 500 12px var(--mono); color: var(--accent); }
.step h3 { margin-top: 8px; font-size: 19px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* record */
.panel { margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.panel-head h3 { font-size: 17px; }
.plot svg { width: 100%; height: auto; display: block; }
.chart text { font: 11px var(--mono); fill: var(--dim); }
.chart .axis { stroke: var(--line); }
.chart .zero { stroke: var(--line-2); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.chart .area { fill: url(#fillg); }
.chart .dd { fill: rgba(255, 107, 107, .07); }
.chart .lbl-red { fill: var(--neg); }
.chart .lbl-end { fill: var(--text); font-weight: 500; }

/* pricing */
.billing { margin-top: 36px; display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); }
.billing button { font: 500 14px var(--sans); color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.billing button em { font-style: normal; font-size: 12px; color: var(--accent); margin-left: 4px; }
.billing button.on { background: rgba(255, 255, 255, .08); color: var(--text); }
.plans { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.plan.featured {
  border-color: rgba(155, 140, 255, .45);
  background: radial-gradient(120% 60% at 50% 0%, rgba(155, 140, 255, .14), transparent 60%), var(--card);
  box-shadow: 0 30px 80px -40px rgba(155, 140, 255, .45);
}
.plan.dark { background: linear-gradient(180deg, #121217, #0c0c10); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan-name { font-size: 18px; font-weight: 500; }
.plan-name small { font: 500 11px var(--mono); color: var(--accent); border: 1px solid rgba(155, 140, 255, .35); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 3px; text-transform: uppercase; letter-spacing: .06em; }
.plan-for { margin-top: 4px; color: var(--muted); font-size: 14px; }
.price { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 46px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-size: 15px; }
.price-alt { margin: 8px 0 24px; color: var(--dim); font-size: 13px; min-height: 20px; }
.feat { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14.5px; color: #cfcdd8; }
.feat li { position: relative; padding-left: 22px; }
.feat li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.feat b { font-weight: 500; color: var(--text); }
.plan-warn { margin-top: auto; padding-top: 22px; font-size: 13px; color: #e9b7b7; }
.plan-warn a { color: inherit; }
.free-line { margin-top: 26px; text-align: center; color: var(--muted); font-size: 15px; }
.free-line b { color: var(--text); font-weight: 500; }
.free-line a { color: var(--accent); }

/* apex */
.apex { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.flow { list-style: none; counter-reset: f; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.flow li::before { content: "0" counter(f); grid-row: span 2; font: 500 13px var(--mono); color: var(--accent); padding-top: 2px; }
.flow b { font-weight: 500; }
.flow span { color: var(--muted); font-size: 14.5px; }
.warn-card { background: linear-gradient(180deg, rgba(255, 107, 107, .07), rgba(255, 107, 107, .02)); border: 1px solid rgba(255, 107, 107, .25); border-radius: 22px; padding: 28px; }
.warn-card h3 { font-size: 20px; }
.warn-card p { margin-top: 14px; color: #d9c9c9; font-size: 15px; }
.warn-card b { color: var(--text); font-weight: 500; }
.warn-card ul { margin: 18px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; display: grid; gap: 6px; }

/* faq */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); border-color: var(--accent); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* cta band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 44px; border-radius: 26px; border: 1px solid rgba(155, 140, 255, .3);
  background: radial-gradient(80% 140% at 100% 0%, rgba(155, 140, 255, .22), transparent 60%), var(--card);
}
.cta-band h2 { margin-top: 0; max-width: 24ch; }

/* footer */
.foot { margin-top: 120px; border-top: 1px solid var(--line); padding: 40px 0 0; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-top nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.foot-top nav a { color: var(--muted); text-decoration: none; }
.foot-top nav a:hover { color: var(--text); }
.legal { margin-top: 28px; font-size: 12.5px; color: var(--dim); max-width: 90ch; line-height: 1.7; }
.copy { margin-top: 14px; font-size: 13px; color: var(--dim); }
.wordmark {
  margin: 30px 0 -0.22em; font-size: clamp(56px, 15vw, 210px); font-weight: 600; letter-spacing: -.06em; line-height: 1;
  text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 80%); -webkit-background-clip: text; background-clip: text;
  user-select: none; white-space: nowrap;
}

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

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .apex { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .steps { grid-template-columns: 1fr; }
  .diagram { max-height: 150px; }
  .sec { padding-top: 88px; }
  .cta-band { padding: 28px; }
  .panel { padding: 16px 12px 8px; }
  .billing { display: flex; width: 100%; }
  .billing button { flex: 1; padding: 8px 10px; }
}
@media (max-width: 420px) {
  .price b { font-size: 40px; }
  .nav .btn-sm { padding: 0 12px; font-size: 13px; }
}

/* ---------- shared ---------- */
.big { font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.center-col .sub { margin-inline: auto; }

/* ---------- pricing: bar, country picker, two cards ---------- */
.price-bar { margin-top: 36px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.price-bar .billing { margin-top: 0; }
.country { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.country select {
  appearance: none; -webkit-appearance: none; font: 500 14px var(--sans); color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 36px 9px 16px; cursor: pointer; max-width: 260px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.country select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
.price-note { margin-top: 18px; font-size: 13px; color: var(--dim); }

/* ---------- connections hub (Infranex) ---------- */
.hub { position: relative; width: min(600px, 100%); aspect-ratio: 600 / 320; margin-top: 48px; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines path { fill: none; stroke: rgba(155, 140, 255, .35); stroke-width: 1.2; stroke-dasharray: 3 5; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.hub-core {
  position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; transform: translate(-50%, -50%); z-index: 2;
  border-radius: 28px; display: grid; place-items: center; background: linear-gradient(160deg, #1b1a24, #0d0d12);
  border: 1px solid rgba(155, 140, 255, .45); box-shadow: 0 0 0 10px rgba(155, 140, 255, .05), 0 20px 60px -20px rgba(155, 140, 255, .6);
}
.hub-core img { width: 70px; height: auto; }
.hub-t {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); white-space: nowrap;
  font: 500 13.5px var(--sans); padding: 10px 16px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.t1 { left: 15%; top: 18.75%; } .t2 { left: 15%; top: 81.25%; } .t3 { left: 85%; top: 18.75%; }
.t4 { left: 85%; top: 81.25%; } .t5 { left: 50%; top: 9.4%; } .t6 { left: 50%; top: 90.6%; }
@media (prefers-reduced-motion: reduce) { .hub-lines path { animation: none; } }

@media (max-width: 980px) {
  .plans.two { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 760px) {
  .price-bar { flex-direction: column; align-items: stretch; }
  .country { justify-content: space-between; }
  .country select { max-width: none; flex: 1; }
  .hub-t { font-size: 11.5px; padding: 7px 10px; }
  .hub-core { width: 78px; height: 78px; border-radius: 20px; }
  .hub-core img { width: 50px; }
}
/* ---------- Apex edge list (hero) ---------- */
.edge { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.edge li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 22px; display: grid; gap: 8px; }
.edge li::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); margin-bottom: 6px; }
.edge b { font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.edge span { color: var(--muted); font-size: 14.5px; }

/* ---------- Apex protections card ---------- */
.protect-card { background: radial-gradient(120% 70% at 100% 0%, rgba(155, 140, 255, .12), transparent 60%), var(--card); border: 1px solid rgba(155, 140, 255, .3); border-radius: 22px; padding: 28px; }
.protect-card h3 { font-size: 20px; }
.protect-card dl { margin: 18px 0 0; display: grid; gap: 2px; }
.protect-card dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.protect-card dt { font-weight: 500; }
.protect-card dd { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- risk disclosure (bottom) ---------- */
.risk { border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; background: var(--bg-2); }
.risk h2 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.risk p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }

@media (max-width: 980px) { .edge { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .edge { grid-template-columns: 1fr; margin-top: 48px; }
  .protect-card dl div { grid-template-columns: 1fr; gap: 2px; }
}
/* ---------- founders pricing ---------- */
.founder-tag { margin-top: 22px; display: inline-flex; align-self: flex-start; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #e9c46a; border: 1px solid rgba(233, 196, 106, .35); background: rgba(233, 196, 106, .07); padding: 4px 10px; border-radius: 999px; }
.founder-tag + .price { margin-top: 14px; }
.price s { margin-left: 4px; color: var(--dim); font-size: 17px; text-decoration-thickness: 1.5px; }
.founders-line { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.founders-line b { color: #e9c46a; font-weight: 500; }
/* ---------- glossy card finish (Infranex / RevenueX) ---------- */
.plan, .edge li, .panel, .cal-board, .protect-card, .step {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 0 rgba(0, 0, 0, .4);
}

/* ---------- profit calendar ---------- */
.cal-board {
  margin-top: 40px; border: 1px solid var(--line-2); border-radius: 24px; padding: 22px;
  background: radial-gradient(90% 60% at 0% 0%, rgba(155, 140, 255, .10), transparent 55%), linear-gradient(180deg, #121218, #0c0c10);
}
.cal-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cal-stats div { background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.cal-stats small { display: block; font-size: 12.5px; color: var(--muted); }
.cal-stats b { display: block; margin-top: 4px; font-size: 26px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cal-stats div:first-child b { color: var(--pos); }
.cal-months { margin-top: 16px; display: grid; gap: 14px; }
.cal-month { background: rgba(255, 255, 255, .02); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.cal-month header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cal-month h3 { font-size: 16px; }
.cal-month header span { font: 500 14px var(--mono); }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cal-dow span { font: 500 11px var(--mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; padding: 0 4px 6px; }
.cd { position: relative; min-height: 78px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; }
.cd.pad { border-color: transparent; background: none; }
.cd i { font-style: normal; font: 12px var(--mono); color: var(--dim); }
.cd b { font: 500 14px var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cd em { font-style: normal; font: 11px var(--mono); color: var(--muted); }
.cd.on.up { background: rgba(79, 209, 139, calc(var(--a) * .16)); border-color: rgba(79, 209, 139, calc(.12 + var(--a) * .35)); }
.cd.on.up b { color: #8ce8b6; }
.cd.on.dn { background: rgba(255, 107, 107, calc(var(--a) * .16)); border-color: rgba(255, 107, 107, calc(.12 + var(--a) * .35)); }
.cd.on.dn b { color: #ffa3a3; }
.cd.latest::after { content: "Latest"; position: absolute; top: 7px; right: 8px; font: 500 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.cal-note { margin-top: 14px; font-size: 12.5px; color: var(--dim); }
/* entrance: days settle in one after another, the latest day breathes */
.cal-board .cd.on { opacity: 0; transform: translateY(8px) scale(.97); }
.cal-board.play .cd.on { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 70ms); }
.cal-board.play .cd.latest { animation: breathe 2.8s ease-in-out 1.2s infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 4px rgba(155, 140, 255, .14); } }

/* ---------- founder seat map ---------- */
.seats { margin-top: 14px; padding: 14px; border-radius: 14px; border: 1px solid rgba(233, 196, 106, .18); background: linear-gradient(180deg, rgba(233, 196, 106, .05), rgba(233, 196, 106, .01)); }
.seat-grid { display: grid; grid-template-columns: repeat(22, 1fr); gap: 4px; }
.seat-grid i { aspect-ratio: 1; border-radius: 3px; border: 1px solid rgba(233, 196, 106, .35); background: transparent; }
.seat-grid i.taken { background: #e9c46a; border-color: #e9c46a; }
.seat-count { margin-top: 10px; font-size: 13px; color: var(--muted); }
.seat-count b { color: #f3dc9b; font-weight: 500; font-variant-numeric: tabular-nums; }
.seats.low .seat-count b { color: #ffb86b; }
/* entrance: seats switch on row by row, like a venue's lights coming up */
.seats .seat-grid i { opacity: .15; transform: scale(.6); }
.seats.play .seat-grid i { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--i) * 9ms); }
.seats.play .seat-grid i:not(.taken) { animation: seat 4s ease-in-out calc(1.2s + var(--i) * 45ms) infinite; }
@keyframes seat { 0%, 88%, 100% { background: transparent; } 94% { background: rgba(233, 196, 106, .28); } }

@media (prefers-reduced-motion: reduce) {
  .cal-board .cd.on, .seats .seat-grid i { opacity: 1; transform: none; }
  .cal-board.play .cd.latest, .seats.play .seat-grid i:not(.taken) { animation: none; }
}
@media (max-width: 760px) {
  .cal-stats { grid-template-columns: 1fr 1fr; }
  .cal-stats b { font-size: 21px; }
  .cal-board { padding: 12px; border-radius: 18px; }
  .cal-month { padding: 12px; }
  .cal-dow, .cal-grid { gap: 5px; }
  .cd { min-height: 64px; padding: 6px; border-radius: 9px; }
  .cd b { font-size: 11px; }
  .cd em { display: none; }
  .cd.latest::after { content: ""; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .seat-grid { grid-template-columns: repeat(11, 1fr); }
}
/* calendar: never wider than its board */
.cal-dow, .cal-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cd { min-width: 0; }
.cd .short { display: none; }
.cal-month header { gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .cd .full { display: none; }
  .cd .short { display: inline; }
  .cd b { font-size: 12px; }
  .cal-dow span { padding: 0 2px 6px; font-size: 10px; letter-spacing: .04em; }
}
.btn-soon { opacity: .55; cursor: default; pointer-events: none; }

/* ---------- calendar: several accounts ---------- */
.cal-accounts { margin-top: 40px; display: grid; gap: 18px; }
.cal-accounts .cal-board { margin-top: 0; }
.cal-acct { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.cal-acct h3 { font-size: 17px; }
.cal-stats div:first-child b.neg { color: var(--neg); }
.cal-empty { padding: 18px 4px 6px; }