/* TableX public site — one stylesheet for every page. No scripts. */
/* Inter is used if installed; a self-hosted file can be added at /assets/fonts/
   with an @font-face block once the owner approves the download. */


:root {
  color-scheme: dark;
  --navy: #0a1628;
  --tile: #0f2a4a;
  --panel: #0e1d33;
  --panel2: #132845;
  --btn: #2563eb;
  --blue: #3b9cff;
  --ink: #eef4fb;
  --mute: #9fb3c8;
  --faint: #7e95ae;
  --line: rgba(148, 178, 214, .14);
  --line-strong: rgba(148, 178, 214, .24);
  --orange: #ff9a3c;
  --accent: var(--blue);
  --radius: 14px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
body[data-accent="presser"] { --accent: #a78bfa; }
body[data-accent="omnireel"] { --accent: #f2643d; }
body[data-accent="satsidecar"] { --accent: #f5b942; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 16px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.1; font-weight: 750; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.03; letter-spacing: -.045em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
h3 { font-size: 1.12rem; letter-spacing: -.015em; margin-bottom: 8px; line-height: 1.3; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
.visually-hidden {
  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: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line);
  background: rgba(10, 22, 40, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.topbar nav { display: flex; align-items: center; gap: 24px; font-size: 14.5px; }
.topbar nav a { color: var(--mute); white-space: nowrap; }
.topbar nav a:hover { color: var(--ink); text-decoration: none; }
.topbar nav a.btn { color: var(--navy); }

/* Logo: "Table" + the X tile; standalone wordmark with blue T and X */
.lockup { display: inline-block; color: var(--ink); font-weight: 800; font-size: 25px;
  letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.lockup:hover { text-decoration: none; }
.lockup .x { display: inline-block; width: 1.04em; height: 1.04em; vertical-align: -.15em; margin-left: .1em; }
.wordmark { display: inline-block; font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; color: var(--ink); }
.wordmark b { color: var(--blue); font-weight: 800; position: relative; }
.wordmark b::after { content: ""; position: absolute; left: .06em; right: .06em; bottom: -.12em;
  height: .09em; min-height: 2px; border-radius: 9px; background: var(--blue); }
.wordmark.sm b::after { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15.5px; font-weight: 650; line-height: 1;
  padding: 14px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: filter .15s, border-color .15s, background .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 10px 28px rgba(37, 99, 235, .32); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(59, 156, 255, .5); }
.btn-light { background: var(--ink); color: var(--navy); padding: 10px 15px; font-size: 14px; border-radius: 9px; }
.btn-light:hover { filter: brightness(.94); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Small labels */
.pill { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--mute);
  border: 1px solid var(--line-strong); background: rgba(15, 42, 74, .55);
  padding: 5px 13px 5px 10px; border-radius: 999px; margin-bottom: 22px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); flex: none; }
.pill.accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--mute); max-width: 640px; }
.muted { color: var(--mute); }
.small { font-size: 14px; color: var(--faint); }

/* Hero art: the sign-in grid behind a navy gradient */
.hero-art { position: relative; background:
  linear-gradient(180deg, rgba(10, 22, 40, .35) 0%, rgba(10, 22, 40, .72) 55%, var(--navy) 100%),
  url("/assets/img/hero-grid.jpg") center 64% / cover no-repeat, var(--navy); }
.page-hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 18px; }

/* Sections */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--mute); }

/* Cards and grids */
.grid-2, .grid-3 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--mute); font-size: 15.5px; margin: 0; }
.card p + p { margin-top: 10px; }
a.card { display: block; color: var(--ink); transition: border-color .15s, transform .15s; }
a.card:hover { text-decoration: none; border-color: rgba(59, 156, 255, .45); transform: translateY(-2px); }
.card .go { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 650; font-size: 15px; }
.card .tag { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.card.critic { border-color: rgba(245, 185, 66, .4); }
.card.critic h3 { color: #f5b942; }
.tile { width: 44px; height: 44px; border-radius: 11px; background: var(--tile); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tile i { width: 14px; height: 14px; border-radius: 5px; background: var(--accent); }
a.card.product-lead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: 32px;
  background: linear-gradient(110deg, var(--tile), var(--panel)); }
.product-lead .tile { width: 64px; height: 64px; border: 0; background: none; margin: 0; }
.product-lead h3 { font-size: 1.6rem; }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: "0" counter(step); display: block;
  font-family: var(--mono); font-size: 13px; color: var(--blue); margin-bottom: 12px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.facts.tight { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.fact { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.fact .k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 6px; }
.fact .v { font-weight: 650; font-size: 16px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 2px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 28px 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--navy); border: 2px solid var(--accent); }
.timeline .t { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.timeline .d { color: var(--mute); max-width: 720px; }

/* Quote, callout, band */
.quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 24px 0; font-size: 19px; max-width: 720px; }
.callout { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 26px 28px; }
.callout p { color: var(--mute); }
.callout p strong { color: var(--ink); }
.versions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; }
.versions code { font-family: var(--mono); background: var(--navy); border: 1px solid var(--line-strong);
  border-radius: 7px; padding: 5px 12px; font-size: 14.5px; color: var(--blue); }
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(100deg, var(--tile), var(--panel)); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 32px; }
.band h3 { font-size: 1.25rem; margin: 0 0 4px; }
.band p { color: var(--mute); margin: 0; }

/* Signup form (POSTs to the signup service) */
.signup { max-width: 560px; margin-top: 28px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input[type="email"] { flex: 1 1 260px; min-height: 50px; font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 16px; }
.form-row input[type="email"]::placeholder { color: var(--faint); }
.form-row input[type="email"]:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15px; color: var(--mute); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--btn); }
.form-note { font-size: 13.5px; color: var(--faint); margin-top: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Inbox list (contact) */
.stack { display: grid; gap: 16px; max-width: 820px; }
.inbox { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 28px; }
.inbox > a { font-weight: 650; font-size: 17px; }

/* Legal text */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; letter-spacing: -.015em; }
.legal p, .legal li { color: #c4d3e2; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-footer .wordmark { font-size: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; flex: 1; }
.site-footer nav a { color: var(--mute); }
.site-footer small { font-size: 13px; }

/* Homepage hero */
.home-hero { padding: 72px 0 84px; border-bottom: 1px solid var(--line); }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.home-hero h1 { margin-bottom: 22px; }

/* replay: the exercise window. The daily job rewrites what sits between
   the replay:start / replay:end markers in index.html; keep these names. */
.replay { background: rgba(14, 29, 51, .94); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(59, 156, 255, .06); overflow: hidden; font-size: 14px; }
.replay-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(10, 22, 40, .65); }
.replay-title { flex: 1; min-width: 0; font-weight: 650; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.replay-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
  border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--orange); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s infinite; }
.clock { font-family: var(--mono); font-size: 12.5px; color: var(--mute); }
.seat-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seat-tabs { display: flex; gap: 6px; padding: 12px 16px 0; flex-wrap: wrap; }
.seat-tabs > span { font-size: 12px; color: var(--faint); align-self: center; margin-right: 4px; }
.seat-tabs label { font-size: 13px; font-weight: 600; color: var(--mute); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 5px 12px; cursor: pointer; user-select: none; }
.seat-tabs label:hover { color: var(--ink); }
#seat-comms:checked ~ .seat-tabs label[for="seat-comms"],
#seat-legal:checked ~ .seat-tabs label[for="seat-legal"],
#seat-ciso:checked ~ .seat-tabs label[for="seat-ciso"] { background: var(--ink); border-color: var(--ink); color: var(--navy); }
#seat-comms:focus-visible ~ .seat-tabs label[for="seat-comms"],
#seat-legal:focus-visible ~ .seat-tabs label[for="seat-legal"],
#seat-ciso:focus-visible ~ .seat-tabs label[for="seat-ciso"] { outline: 2px solid var(--blue); outline-offset: 2px; }
.seat-panel { display: none; padding: 14px 16px 16px; }
#seat-comms:checked ~ .seat-panels .seat-comms,
#seat-legal:checked ~ .seat-panels .seat-legal,
#seat-ciso:checked ~ .seat-panels .seat-ciso { display: block; }
.ev { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; margin-bottom: 10px; opacity: 0; animation: ev-in .5s forwards; }
.ev:nth-child(1) { animation-delay: .2s; }
.ev:nth-child(2) { animation-delay: 1.1s; }
.ev:nth-child(3) { animation-delay: 2s; }
.ev:nth-child(4) { animation-delay: 2.9s; }
.ev .t { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 3px; }
.msg { background: var(--panel2); border: 1px solid var(--line); border-radius: 11px; padding: 9px 12px; line-height: 1.5; color: #d6e2ef; }
.msg.inject { border-color: rgba(255, 154, 60, .38); background: rgba(255, 154, 60, .07); }
.msg.critic { border-color: rgba(245, 185, 66, .38); }
.who { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; color: var(--ink); margin-bottom: 3px; }
.av { width: 18px; height: 18px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700; background: #e8edf9; color: #5266a0; }
.av.warm { background: #f9ebdb; color: #a77442; }
.av.green { background: #e0efea; color: #337a64; }
.ai { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #a78bfa; border: 1px solid rgba(167, 139, 250, .38); border-radius: 4px; padding: 0 5px; }
.decide { margin-top: 4px; border: 1px solid rgba(59, 156, 255, .42); background: rgba(37, 99, 235, .1); border-radius: 12px;
  padding: 12px 14px; opacity: 0; animation: ev-in .5s 3s forwards; }
.decide b { display: block; font-size: 14px; margin-bottom: 8px; padding-right: 56px; }
.decide .timer { float: right; font-family: var(--mono); font-size: 13px; color: var(--orange); }
.decide .opts { display: flex; gap: 6px; flex-wrap: wrap; }
.decide .opts span { font-size: 12.5px; border: 1px solid var(--line-strong); border-radius: 7px; padding: 4px 9px; background: rgba(10, 22, 40, .55); }
.replay-caption { font-size: 13px; color: var(--faint); margin: 12px 4px 0; }
@keyframes ev-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .25; } }

/* Scenario cards on the homepage */
.scenario { display: flex; flex-direction: column; }
.scenario h3 a { color: var(--ink); }
.scenario .links { margin-top: auto; padding-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; font-weight: 650; }
.scenario .links a.read { color: var(--mute); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .home-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .home-hero { padding: 48px 0 60px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar { position: static; }
  .topbar .wrap { flex-wrap: wrap; padding-top: 14px; padding-bottom: 12px; gap: 12px; }
  .topbar nav { width: 100%; flex-wrap: wrap; gap: 10px 18px; }
  .topbar nav a.btn { margin-left: auto; }
  .grid-2, .grid-3, .inbox { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding: 56px 0 44px; }
  .section { padding: 52px 0; }
  .band { padding: 22px; }
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .replay .ev, .replay .decide { animation: none; opacity: 1; }
  .live i { animation: none; }
  a.card, .btn { transition: none; }
}

/* Topic tabs (Presser): radio inputs + :checked, no script */
.tabs { position: relative; }
.tab-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tab-bar { display: flex; gap: 10px; flex-wrap: wrap; padding: 32px 0 0; }
.tab-label { font-size: 15px; font-weight: 600; color: var(--mute); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 9px 18px; cursor: pointer; user-select: none; }
.tab-label:hover { color: var(--ink); }
#tab-ai-hosts:checked ~ .tab-bar label[for="tab-ai-hosts"],
#tab-guest-warmup:checked ~ .tab-bar label[for="tab-guest-warmup"],
#tab-solo-presentation:checked ~ .tab-bar label[for="tab-solo-presentation"] { background: var(--accent); border-color: var(--accent); color: var(--navy); }
#tab-ai-hosts:focus-visible ~ .tab-bar label[for="tab-ai-hosts"],
#tab-guest-warmup:focus-visible ~ .tab-bar label[for="tab-guest-warmup"],
#tab-solo-presentation:focus-visible ~ .tab-bar label[for="tab-solo-presentation"] { outline: 2px solid var(--blue); outline-offset: 3px; }
.tab-panel { display: none; }
#tab-ai-hosts:checked ~ .panel-ai-hosts,
#tab-guest-warmup:checked ~ .panel-guest-warmup,
#tab-solo-presentation:checked ~ .panel-solo-presentation { display: block; }
.tab-panel section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.tab-panel section:last-child { border-bottom: 0; }
.tab-panel h2 { margin-bottom: 12px; }
.tab-panel p { max-width: 760px; color: var(--mute); }
.sub { color: var(--mute); max-width: 720px; margin-bottom: 28px; font-size: 1.06rem; }
.presser-avail { margin-top: 14px; }
.presser-avail strong { color: var(--ink); }
.presser-closing .wrap > p.sub { margin-bottom: 0; }
.stat { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1; margin-bottom: 10px; }
