/*
 * TRIBUNA.ONE marketing site.
 * Standalone on purpose: no build step, no Tailwind, no panel CSS.
 * Tokens match docs/brand/MINIMAX_BRAND_BRIEF.md §3.
 */
:root {
  --tb-teal-900: #083F42;
  --tb-teal-800: #0A5A5D;
  --tb-teal-700: #0D7377;
  --tb-teal-500: #14B8A6;
  --tb-teal-300: #5EEAD4;
  --tb-teal-100: #CCFBF1;
  --tb-ink: #0B1215;
  --tb-ink-2: #111B1F;
  --tb-slate: #1E293B;
  --tb-mist: #F1F5F9;
  --tb-white: #FFFFFF;
  --tb-live: #EF4444;
  --tb-ok: #22C55E;
  --tb-warn: #F59E0B;

  --text: #0B1215;
  --text-2: #475569;
  --line: #E2E8F0;
  --surface: #FFFFFF;
  --bg: #F8FAFC;

  --on-dark: #E6F1F1;
  --on-dark-2: #9FB3B5;
  --line-dark: rgba(255, 255, 255, .09);

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(11, 18, 21, .06), 0 8px 24px rgba(11, 18, 21, .06);
  --shadow-lg: 0 24px 60px rgba(8, 63, 66, .28);

  --font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--tb-teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tb-teal-900); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--tb-teal-500); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tb-white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--tb-teal-700); color: var(--tb-white); }
.btn-primary:hover { background: var(--tb-teal-800); color: var(--tb-white); }
.btn-accent { background: var(--tb-teal-500); color: var(--tb-ink); }
.btn-accent:hover { background: var(--tb-teal-300); color: var(--tb-ink); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--tb-teal-700); color: var(--tb-teal-700); }
.dark .btn-outline, .hero .btn-outline { background: transparent; border-color: rgba(255,255,255,.22); color: var(--tb-white); }
.dark .btn-outline:hover, .hero .btn-outline:hover { border-color: var(--tb-teal-500); color: var(--tb-teal-300); }
.btn-ghost { color: inherit; background: none; padding: 0 10px; }
.btn-ghost:hover { color: var(--tb-teal-500); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; color: var(--tb-white);
  background: rgba(11, 18, 21, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--tb-white); text-decoration: none; font: 800 19px/1 var(--font-head); letter-spacing: .14em; }
.brand:hover { color: var(--tb-white); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-links summary { display: block; padding: 8px 12px; border-radius: 8px; color: var(--on-dark); text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; }
.nav-links a:hover, .nav-links summary:hover, .nav-links a[aria-current="page"] { color: var(--tb-white); background: rgba(255,255,255,.06); }
.nav-links details { position: relative; }
.nav-links summary { list-style: none; }
.nav-links summary::-webkit-details-marker { display: none; }
.nav-links summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: -8px; width: 300px; padding: 8px; border-radius: 14px;
  background: var(--tb-ink-2); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
}
.menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; }
.menu .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--tb-white); width: 44px; height: 44px; border-radius: 8px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-in { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 18px; }
  .nav.open .brand { height: 44px; }
  .nav.open .nav-links, .nav.open .nav-cta { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 0; }
  .nav.open .nav-cta { flex-direction: row; }
  .nav.open .nav-cta .btn { flex: 1; }
  .nav.open .menu { position: static; width: auto; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 12px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.dark { background: var(--tb-ink); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--tb-white); }
.dark a:not(.btn) { color: var(--tb-teal-300); }
.teal { background: linear-gradient(180deg, var(--tb-teal-700) 0%, var(--tb-teal-900) 100%); color: var(--tb-teal-100); }
.teal h2, .teal h3 { color: var(--tb-white); }
.eyebrow { display: inline-block; font: 700 12.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--tb-teal-700); margin-bottom: 16px; }
.dark .eyebrow, .teal .eyebrow { color: var(--tb-teal-500); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 62ch; }
.dark .lead { color: var(--on-dark-2); }
.teal .lead { color: var(--tb-teal-100); }
.head { max-width: 760px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.accent-text { color: var(--tb-teal-500); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--tb-ink); color: var(--on-dark); padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 72% 18%, rgba(20,184,166,.28), transparent 70%),
    radial-gradient(700px 500px at 20% 0%, rgba(13,115,119,.35), transparent 70%);
}
.hero::after { /* stage floor line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20,184,166,.6), transparent);
}
.hero .wrap { position: relative; }
/* Hero background footage (generated asset vid-hero-loop, poster web-hero-01). */
.hero-media { position: absolute; inset: 0; z-index: 0; background: center / cover no-repeat; pointer-events: none; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after { /* keep headline contrast: ink on the left, footage shows on the right */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,18,21,.94) 0%, rgba(11,18,21,.82) 45%, rgba(11,18,21,.55) 100%),
              linear-gradient(0deg, rgba(11,18,21,.85), transparent 40%);
}
.hero::before, .hero::after { z-index: 1; }
.hero > .wrap { z-index: 2; }
@media (max-width: 960px) { .hero-media::after { background: rgba(11,18,21,.86); } }
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { color: var(--tb-white); }
.hero .lead { color: var(--on-dark-2); margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--on-dark-2); font-size: 14px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--tb-teal-500); }
.page-hero { padding: clamp(56px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 20ch; }

/* ---------- Product mock (pure HTML/CSS, no screenshots) ---------- */
.mock {
  position: relative; border-radius: var(--radius-lg); background: var(--tb-ink-2);
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(20,184,166,.08); overflow: hidden;
  font-size: 13px; color: var(--on-dark);
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,.02); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3A3F; }
.mock-bar b { margin-left: 10px; font-weight: 600; color: var(--on-dark-2); font-size: 12px; letter-spacing: .04em; }
.mock-bar .pill { margin-left: auto; }
.mock-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.room { border: 1px solid var(--line-dark); border-radius: 12px; padding: 10px; background: rgba(255,255,255,.02); min-width: 0; }
.room h4 { margin: 0 0 8px; font: 700 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); display: flex; justify-content: space-between; }
.slot { border-radius: 8px; padding: 8px; margin-bottom: 6px; background: rgba(255,255,255,.035); border-left: 3px solid #2A3A3F; }
.slot:last-child { margin-bottom: 0; }
.slot .t { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-2); }
.slot .n { display: block; height: 7px; margin-top: 6px; border-radius: 4px; background: rgba(255,255,255,.14); }
.slot .n.s { width: 60%; } .slot .n.m { width: 78%; }
.slot.live { border-left-color: var(--tb-live); background: rgba(239,68,68,.08); }
.slot.ready { border-left-color: var(--tb-teal-500); }
.slot.warn { border-left-color: var(--tb-warn); }
.mock-foot { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: 12px; }
.mock-foot .timer { margin-left: auto; font: 600 20px/1 var(--font-mono); color: var(--tb-white); letter-spacing: .02em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font: 700 10.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live { background: rgba(239,68,68,.14); color: #FCA5A5; }
.pill-live::before { background: var(--tb-live); animation: pulse 1.6s infinite; }
.pill-ok { background: rgba(34,197,94,.14); color: #86EFAC; }
.pill-teal { background: rgba(20,184,166,.14); color: var(--tb-teal-300); }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 560px) { .mock-body { grid-template-columns: 1fr 1fr; } .mock-body .room:nth-child(3) { display: none; } }

/* ---------- Media slot (generated image or placeholder) ---------- */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--tb-teal-900); aspect-ratio: 4 / 3; }
.media.wide { aspect-ratio: 16 / 9; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.ph {
  background:
    radial-gradient(60% 55% at 50% 0%, color-mix(in srgb, var(--accent, #14B8A6) 45%, transparent), transparent 70%),
    linear-gradient(180deg, #0D3B3E 0%, #0B1215 100%);
}
.media.ph::before { /* spotlight cone */
  content: ""; position: absolute; left: 50%; top: 0; width: 60%; height: 85%; transform: translateX(-50%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent, #14B8A6) 30%, transparent), transparent);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); opacity: .55;
}
.media.ph::after { /* podium */
  content: ""; position: absolute; left: 50%; bottom: 14%; width: 16%; height: 22%; transform: translateX(-50%);
  background: linear-gradient(180deg, #1B2A2E, #0E171A); border-top: 3px solid var(--accent, #14B8A6); border-radius: 4px 4px 0 0;
  box-shadow: 0 0 0 999px transparent, 0 18px 0 -6px #0E171A;
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.dark .card { background: var(--tb-ink-2); border-color: var(--line-dark); box-shadow: none; }
.card p { color: var(--text-2); margin: 0; }
.dark .card p { color: var(--on-dark-2); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--tb-teal-100); color: var(--tb-teal-700); }
.dark .icon { background: rgba(20,184,166,.12); color: var(--tb-teal-500); }
.icon svg { width: 22px; height: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip > :first-child { order: 0; } .split + .split { margin-top: 64px; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--tb-teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D7377' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dark .checks li::before, .hero .checks li::before, .teal .checks li::before { background-color: rgba(20,184,166,.18); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font: 600 14px/1 var(--font-mono); color: var(--tb-teal-500); padding: 10px 12px; border: 1px solid rgba(20,184,166,.35); border-radius: 10px; }
.step p { color: var(--on-dark-2); }

/* Verticals */
.vert { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); text-decoration: none; color: var(--tb-white); min-height: 280px; background: var(--tb-ink-2); isolation: isolate; }
.vert .media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; z-index: -2; transition: transform .5s; }
.vert::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(11,18,21,.92) 100%); }
.vert:hover .media { transform: scale(1.04); }
.vert-body { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.vert-body span { display: inline-block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 12px; }
.vert h3 { margin: 0 0 4px; color: var(--tb-white); }
.vert p { margin: 0; color: var(--on-dark-2); font-size: 14px; }
.vert:hover { color: var(--tb-white); }

/* Stat strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.strip > div { padding: 22px 24px; border-right: 1px solid var(--line-dark); }
.strip > div:last-child { border-right: 0; }
.strip b { display: block; font: 700 17px/1.2 var(--font-head); color: var(--tb-white); margin-bottom: 4px; }
.strip span { font-size: 14px; color: var(--on-dark-2); }
@media (max-width: 860px) { .strip { grid-template-columns: 1fr 1fr; } .strip > div:nth-child(2) { border-right: 0; } .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }
@media (max-width: 480px) { .strip { grid-template-columns: 1fr; } .strip > div { border-right: 0; border-bottom: 1px solid var(--line-dark); } .strip > div:last-child { border-bottom: 0; } }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 36px; }
.toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 14px/1 var(--font-body); color: var(--text-2); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--tb-teal-700); color: var(--tb-white); }
.toggle small { color: var(--tb-teal-500); font-weight: 700; }
.toggle button[aria-pressed="true"] small { color: var(--tb-teal-100); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; position: relative; }
.plan.featured { border: 2px solid var(--tb-teal-700); box-shadow: 0 18px 50px rgba(13,115,119,.16); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--tb-teal-700); color: var(--tb-white); font: 700 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; margin-bottom: 6px; }
.plan .blurb { color: var(--text-2); font-size: 14.5px; min-height: 3.2em; }
.price { margin: 18px 0 20px; font: 800 40px/1 var(--font-head); letter-spacing: -.03em; }
.price small { font: 500 14px/1 var(--font-body); color: var(--text-2); letter-spacing: 0; margin-left: 4px; }
.price.contact { font-size: 26px; padding: 7px 0; }
.plan .checks { margin: 0 0 26px; font-size: 14.5px; flex: 1; }
.plan .btn { width: 100%; }
.note { font-size: 14px; color: var(--text-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.dark .faq details { border-color: var(--line-dark); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font: 650 17px/1.35 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--font-body); color: var(--tb-teal-700); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 40px 22px 0; margin: 0; }
.dark .faq details p { color: var(--on-dark-2); }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--text-2); }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #CBD5E1; border-radius: var(--radius);
  font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--tb-white);
}
textarea.input { min-height: 130px; resize: vertical; }
.input:focus { outline: none; border-color: var(--tb-teal-700); box-shadow: 0 0 0 3px rgba(20,184,166,.25); }
.input[aria-invalid="true"] { border-color: var(--tb-live); }
.error { color: #B91C1C; font-size: 13.5px; margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--tb-teal-700); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; font-size: 15px; }
.alert-ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-warn { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.suffix-input { display: flex; align-items: stretch; }
.suffix-input .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.suffix-input span { display: flex; align-items: center; padding: 0 14px; border: 1px solid #CBD5E1; border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--tb-mist); color: var(--text-2); font-size: 15px; white-space: nowrap; }
@media (max-width: 420px) { .suffix-input { flex-direction: column; } .suffix-input .input { border-radius: var(--radius) var(--radius) 0 0; } .suffix-input span { border-left: 1px solid #CBD5E1; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 10px 14px; } }

/* ---------- Download ---------- */
.os { text-align: center; }
.os .icon { margin: 0 auto 18px; width: 56px; height: 56px; border-radius: 16px; }
.os .icon svg { width: 28px; height: 28px; }
.os p { min-height: 3em; }
.os .btn { margin-top: 20px; }

/* ---------- Prose (legal, changelog) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose p, .prose li { color: #334155; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 1em 0 1.6em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tb-mist); font-weight: 600; }
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 56px; }
.legal-nav { position: sticky; top: 92px; align-self: start; display: grid; gap: 2px; }
.legal-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 15px; }
.legal-nav a[aria-current="page"], .legal-nav a:hover { background: var(--tb-teal-100); color: var(--tb-teal-900); }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; gap: 20px; } .legal-nav { position: static; display: flex; flex-wrap: wrap; } }
.release { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.release .v { font: 700 15px/1 var(--font-mono); color: var(--tb-teal-700); }
.release time { display: block; margin-top: 8px; color: var(--text-2); font-size: 14px; }
@media (max-width: 640px) { .release { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- CTA band & footer ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { justify-content: center; margin: 28px 0 0; }
.footer { background: var(--tb-ink); color: var(--on-dark-2); padding: 64px 0 32px; font-size: 14.5px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer h4 { font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tb-white); margin: 6px 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--on-dark-2); text-decoration: none; }
.footer a:hover { color: var(--tb-teal-300); }
.footer .brand { margin-bottom: 14px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
.draft-banner { background: #FFFBEB; border-bottom: 1px solid #FDE68A; color: #92400E; font-size: 14px; padding: 10px 0; text-align: center; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.legal-grid > * { min-width: 0; }

/* ---------- Sales pages: modules, status badges, compare, ROI ---------- */
.menu.menu-wide { width: 580px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.menu .menu-all { border-top: 1px solid var(--line-dark); margin-top: 6px; color: var(--tb-teal-300); }
.menu.menu-wide .menu-all { grid-column: 1 / -1; }
.menu a small { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-warn); }
.menu a small.roadmap { color: var(--on-dark-2); }
@media (max-width: 960px) { .nav.open .menu.menu-wide { display: grid; grid-template-columns: 1fr; width: auto; } }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font: 700 10.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-available { background: #DCFCE7; color: #166534; }
.status-beta { background: #FEF3C7; color: #92400E; }
.status-roadmap { background: #E2E8F0; color: #334155; }
.dark .status-available, .hero .status-available { background: rgba(34,197,94,.14); color: #86EFAC; }
.dark .status-beta, .hero .status-beta { background: rgba(245,158,11,.16); color: #FCD34D; }
.dark .status-roadmap, .hero .status-roadmap { background: rgba(255,255,255,.08); color: var(--on-dark-2); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 8px; font-size: 14px; }
.hero .legend { color: var(--on-dark-2); }

.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.card-link:hover { color: inherit; border-color: var(--tb-teal-500); transform: translateY(-2px); }
.card-link h3 { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.card-link .more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 14.5px; color: var(--tb-teal-700); display: inline-flex; align-items: center; gap: 6px; }
.dark .card-link .more { color: var(--tb-teal-300); }
.card-link .more svg { width: 16px; height: 16px; }
.checks li .status { margin-left: 8px; }
.kv { display: grid; gap: 10px; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dark .kv div { border-color: var(--line-dark); }
.kv dt { color: var(--text-2); } .dark .kv dt { color: var(--on-dark-2); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--tb-teal-100); color: var(--tb-teal-900); font-size: 14px; font-weight: 500; }
.dark .tags li { background: rgba(20,184,166,.12); color: var(--tb-teal-300); }

.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 32px 64px; }
.timeline li::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 0; top: 0; font: 600 14px/1 var(--font-mono); color: var(--tb-teal-700); padding: 10px 12px; border: 1px solid var(--tb-teal-500); border-radius: 10px; background: var(--surface); }
.timeline li::after { content: ""; position: absolute; left: 21px; top: 42px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; } .timeline li:last-child::after { display: none; }
.timeline h3 { margin-bottom: 6px; } .timeline p { color: var(--text-2); margin: 0; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { background: var(--tb-mist); font: 700 12.5px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.compare thead th:last-child { color: var(--tb-teal-700); }
.compare tbody th { font-family: var(--font-head); font-weight: 700; width: 20%; }
.compare td { color: var(--text-2); width: 40%; }
.compare td:last-child { color: var(--text); background: rgba(204,251,241,.35); }

.roi { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }
.roi fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.roi legend { font: 700 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tb-teal-700); margin-bottom: 16px; padding: 0; }
.roi-out { position: sticky; top: 92px; background: var(--tb-ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); }
.roi-out h2 { color: var(--tb-white); font-size: 1.3rem; }
.roi-big { font: 800 clamp(2.2rem, 5vw, 3.2rem)/1 var(--font-head); letter-spacing: -.03em; color: var(--tb-white); margin: 6px 0 4px; }
.roi-big small { font: 500 15px/1 var(--font-body); color: var(--on-dark-2); letter-spacing: 0; margin-left: 6px; }
.roi-out .kv dt, .roi-out .kv dd { font-size: 14.5px; }
.roi-out .kv div { border-color: var(--line-dark); }
.roi-out .kv dt { color: var(--on-dark-2); }
.roi-out .note { color: var(--on-dark-2); margin: 18px 0 0; }
.formula { font: 500 13.5px/1.7 var(--font-mono); background: var(--tb-mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; white-space: pre; }
.dark .formula, .roi-out .formula { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--on-dark); }
.roi .field .hint { display: block; font-size: 13.5px; margin-top: 2px; }
