/* T.A.B. — coming soon. Plain CSS, system fonts, no external assets. */

:root {
  --bg: #07090d;
  --bg-2: #0b0f16;
  --surface: #10151e;
  --surface-2: #151b26;
  --line: #1f2733;
  --line-2: #2a3442;
  --text: #eef2f7;
  --muted: #a3afbf;
  --faint: #7d8898;
  --amber: #ffb454;
  --amber-2: #ffc56b;
  --coral: #ff8a6b;
  --rose: #ff5c8a;
  --mint: #4ee6b8;
  --radius: 18px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::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-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
.mono { font-family: var(--mono); }

:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: #1a1206;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.mark { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.site-nav .nav-gh { border: 1px solid var(--line-2); color: var(--text); }
.site-nav svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 180, 84, 0.10), rgba(255, 180, 84, 0) 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 45%, rgba(7, 9, 13, 0) 0%, rgba(7, 9, 13, 0.85) 75%, var(--bg) 100%),
    linear-gradient(rgba(7, 9, 13, 0), var(--bg) 96%);
  pointer-events: none;
}
.glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.glow-a {
  left: 50%;
  top: -260px;
  margin-left: -640px;
  background: radial-gradient(circle, rgba(255, 138, 107, 0.20), rgba(255, 138, 107, 0) 65%);
  animation: drift-a 16s ease-in-out infinite alternate;
}
.glow-b {
  left: 50%;
  top: -120px;
  margin-left: -40px;
  background: radial-gradient(circle, rgba(255, 92, 138, 0.15), rgba(255, 92, 138, 0) 65%);
  animation: drift-b 19s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate(0, 0); } to { transform: translate(90px, 50px); } }
@keyframes drift-b { from { transform: translate(0, 0); } to { transform: translate(-110px, 70px); } }

.hero-inner { position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 13px;
  border: 1px solid rgba(255, 180, 84, 0.35);
  background: rgba(255, 180, 84, 0.08);
  border-radius: 999px;
  color: var(--amber-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(3.2); opacity: 0; }
}

.wordmark { margin: 34px 0 0; }
.wm-short {
  display: block;
  font-size: clamp(88px, 19vw, 200px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--amber-2);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wm-short {
    background: linear-gradient(100deg, #ffd796 0%, #ffb454 30%, #ff8a6b 62%, #ff5c8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
.wm-long {
  display: block;
  margin-top: 18px;
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.42em;
}

.pitch {
  margin: 40px auto 0;
  max-width: 900px;
  font-size: clamp(22px, 3.1vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.pitch strong { display: block; color: var(--amber-2); font-weight: 700; }
.nowrap { white-space: nowrap; }
.sub {
  margin: 16px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-primary {
  background: linear-gradient(100deg, #ffc56b, #ff8a6b);
  color: #1d1006;
  box-shadow: 0 10px 30px -10px rgba(255, 138, 107, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(255, 138, 107, 0.8); }
.btn-ghost {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.domain {
  margin-top: 26px;
  color: var(--faint);
  font-size: 15px;
}
.domain .mono { color: var(--text); font-size: 15px; letter-spacing: 0.02em; }

.teaser {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  padding: 12px 20px 12px 14px;
  border: 1px solid var(--line);
  background: rgba(16, 21, 30, 0.75);
  border-radius: 14px;
  text-decoration: none;
  text-align: left;
  transition: border-color 0.15s ease;
}
.teaser:hover { border-color: var(--line-2); }
.teaser-pct {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(78, 230, 184, 0.12);
  color: var(--mint);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
}
.teaser-text { color: var(--muted); font-size: 14px; line-height: 1.4; }

/* ---------- sections ---------- */

.board, .inside { padding: 110px 0; }
.inside { padding-top: 40px; }

.section-head h2, .section-head .lede { max-width: 760px; }
.eyebrow {
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.lede { margin-top: 16px; color: var(--muted); font-size: 18px; }

.run-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.run-meta li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  max-width: 100%;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 14px;
}
.run-meta .k { color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.run-meta .v { color: var(--text); overflow-wrap: anywhere; }
.run-meta .mono { font-size: 13px; }

/* ---------- board ---------- */

.board-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  margin-top: 48px;
}

.total-card, .suites {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.total-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  text-align: center;
}
.total-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  width: 360px;
  height: 360px;
  margin-left: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 107, 0.16), rgba(255, 138, 107, 0) 65%);
  pointer-events: none;
}

.ring { position: relative; width: 280px; height: 280px; }
.ring svg { display: block; width: 100%; height: 100%; }
.ring-track { fill: none; stroke: var(--surface-2); stroke-width: 14; }
.ring-fill { fill: none; stroke-width: 14; stroke-linecap: round; }
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-pct {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ring-label {
  margin-top: 2px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.total-figures { position: relative; margin-top: 26px; }
.total-figures .big {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.total-figures .of { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.total-note { position: relative; margin-top: 18px; color: var(--faint); font-size: 14px; }

.suites { padding: 10px 30px; }
.suite { padding: 22px 0; border-top: 1px solid var(--line); }
.suite:first-child { border-top: 0; }
.suite-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.suite h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.suite-pct {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--amber-2);
  font-variant-numeric: tabular-nums;
}
.suite-detail { margin-top: 4px; color: var(--muted); font-size: 14px; }
.bar {
  position: relative;
  height: 10px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc56b, #ff8a6b 60%, #ff5c8a);
}
.suite-count {
  margin-top: 10px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.suite-count [data-k="passed"] { color: var(--text); }
.is-perfect .suite-pct { color: var(--mint); }
.is-perfect .bar-fill { background: linear-gradient(90deg, #2fd3a0, #4ee6b8 60%, #9df5d6); }

.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.method-item {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.method-item h3 {
  font-size: 16px;
  font-weight: 700;
}
.method-item h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--amber);
  vertical-align: 2px;
}
.method-item p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- inside ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.tile {
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 180, 84, 0.09);
  color: var(--amber-2);
  font-family: var(--mono);
  font-size: 12px;
}
.tile h3 { margin-top: 16px; font-size: 19px; font-weight: 700; }
.tile p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.status {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 56px;
  padding: 26px 28px;
  border: 1px solid rgba(255, 180, 84, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 180, 84, 0.05);
}
.status svg {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.status h2 { font-size: 18px; font-weight: 700; }
.status p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 30px;
  padding-bottom: 36px;
  color: var(--faint);
  font-size: 14px;
}
.footer-links { display: flex; gap: 10px; align-items: center; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .board-grid { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; gap: 14px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .header-inner { height: 64px; }
  .nav-opt { display: none !important; }
  .hero { padding: 116px 0 80px; }
  .wordmark { margin-top: 28px; }
  .wm-long { letter-spacing: 0.28em; padding-left: 0.28em; }
  .pitch { margin-top: 30px; }
  .sub { font-size: 16px; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .teaser { margin-top: 36px; }
  .board, .inside { padding: 80px 0; }
  .inside { padding-top: 20px; }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { padding: 18px 20px 20px; }
  .tile h3 { margin-top: 10px; font-size: 18px; }
  .suites { padding: 4px 20px; }
  .suite h3, .suite-pct { font-size: 18px; }
  .total-card { padding: 32px 20px; }
  .ring { width: 220px; height: 220px; }
  .ring-pct { font-size: 42px; }
  .status { flex-direction: column; gap: 12px; padding: 22px; }
  .footer-inner { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
