/* ══════════════════════════════════════════════════════════════════════════
   The Lyceum — light theme.
   Two pages share this sheet:
     /web/          landing — proves the tools hold up under load
     /web/showroom  showroom — the plans, and what unlocks after payment
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #fbfbfd;
  --bg-elev: #f4f4f7;
  --bg-card: #ffffff;
  --border: #e4e4ea;
  --border-strong: #d2d2db;
  --text: #16161d;
  --text-dim: #6a6a78;
  --accent: #e0342c;      /* brake — the stop colour */
  --accent-dim: #b8241d;
  --accent-wash: #fdf0ef;
  --violet: #6d4aff;      /* redteam — the reasoning colour */
  --violet-wash: #f2efff;
  --green: #12855b;
  --green-wash: #eaf7f1;
  --amber: #9a6600;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --shadow-sm: 0 1px 2px rgba(20, 20, 40, 0.04), 0 1px 3px rgba(20, 20, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(20, 20, 40, 0.06), 0 1px 3px rgba(20, 20, 40, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code, pre { font-family: var(--mono); font-size: 13px; }

.hidden { display: none !important; }

/* ── Chrome ───────────────────────────────────────────────────────────── */

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  /* A minimum gap as well as space-between: once the viewport is narrow
     enough that there is no free space left to distribute, space-between
     contributes nothing and the wordmark ends up touching the first nav
     link. The gap holds them apart at every width. */
  gap: 24px; flex-wrap: wrap;
  padding: 16px 32px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(251, 251, 253, 0.88);
  backdrop-filter: blur(12px); z-index: 100;
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo { color: var(--accent); font-size: 20px; line-height: 1; }
.logo-img { height: 32px; width: auto; display: block; border-radius: 6px; }
.name { font-weight: 650; font-size: 17px; letter-spacing: -0.02em; }
.tag {
  font-size: 11px; color: var(--text-dim);
  border: 1px solid var(--border-strong); padding: 2px 9px; border-radius: 999px;
  /* Never wrap: a pill that breaks onto two lines renders as a lopsided
     circle, which is what happens in a cramped topbar before the mobile
     breakpoint takes over. */
  white-space: nowrap;
}
.brand .name { white-space: nowrap; }
.nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--text); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a.nav-cta {
  background: var(--text); color: var(--bg); padding: 7px 15px;
  border-radius: 8px; font-weight: 550;
}
.nav a.nav-cta:hover { background: var(--accent); color: #fff; }

main { max-width: 1080px; margin: 0 auto; padding: 56px 32px 96px; }

footer {
  text-align: center; padding: 40px 32px; color: var(--text-dim);
  font-size: 13px; border-top: 1px solid var(--border);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero { text-align: center; padding: 24px 0 48px; }
.eyebrow {
  color: var(--accent); font-size: 12px; font-weight: 650;
  letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 {
  font-size: 52px; line-height: 1.08; letter-spacing: -0.035em;
  margin-bottom: 18px; font-weight: 680;
}
.hero .lede { color: var(--text-dim); font-size: 18px; max-width: 660px; margin: 0 auto 20px; }
.hero .lede-sub { color: var(--text-dim); font-size: 15px; max-width: 620px; margin: 0 auto; }
.hero .lede.small { font-size: 15px; max-width: 640px; }
.section-title { font-size: 30px; letter-spacing: -0.025em; margin-bottom: 12px; text-align: center; font-weight: 650; }
.section-sub { color: var(--text-dim); font-size: 15px; text-align: center; max-width: 620px; margin: 0 auto 40px; }

/* ── Benchmarks (landing) ─────────────────────────────────────────────── */

.bench-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 40px 0 24px;
}
.bench {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.bench .figure {
  font-size: 38px; font-weight: 700; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.bench .figure.brake { color: var(--accent); }
.bench .figure.redteam { color: var(--violet); }
.bench .figure.neutral { color: var(--text); }
.bench .unit { font-size: 13px; color: var(--text-dim); margin-top: 6px; font-weight: 500; }
.bench .caption { font-size: 12px; color: var(--text-dim); margin-top: 10px; line-height: 1.45; }

.bench-note {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 56px;
  font-size: 13px; color: var(--text-dim); line-height: 1.65;
}
.bench-note strong { color: var(--text); }

.headroom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 56px;
}
.headroom-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.headroom-card h3 { font-size: 15px; margin-bottom: 12px; font-weight: 600; }
.headroom-card .math {
  font-family: var(--mono); font-size: 12.5px; color: var(--text-dim);
  line-height: 1.9; white-space: pre-line;
}
.headroom-card .verdict {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--green); font-weight: 550;
}

/* ── Products ─────────────────────────────────────────────────────────── */

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 8px 0 56px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.product-card.brake { border-top: 3px solid var(--accent); }
.product-card.redteam { border-top: 3px solid var(--violet); }
.product-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.product-head h2 { font-size: 21px; letter-spacing: -0.02em; font-weight: 650; }
.product-role { font-size: 12px; color: var(--text-dim); margin-bottom: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.red { background: var(--accent); }
.dot.violet { background: var(--violet); }
.product-desc { color: var(--text-dim); font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.product-cta { font-size: 13px; font-weight: 600; }

.cmd-block {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px;
  padding: 13px 15px; margin-bottom: 16px; overflow-x: auto;
}
.cmd-block code { color: var(--text); white-space: pre; }

/* ── Plans (showroom) ─────────────────────────────────────────────────── */

.billing-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 999px; margin-bottom: 36px;
}
.billing-toggle .bt {
  background: transparent; border: 0; color: var(--text-dim);
  padding: 8px 18px; border-radius: 999px; font-size: 14px;
  font-family: inherit; cursor: pointer; font-weight: 500;
}
.billing-toggle .bt.active { background: var(--bg-card); color: var(--text); box-shadow: var(--shadow-sm); }
.billing-toggle .save { color: var(--green); font-size: 11px; margin-left: 5px; font-weight: 600; }

/* `align-items: stretch` (the default) plus a column flex on each card is what
   keeps the CTAs on a single line across cards with different amounts of copy.
   With `align-items: start` the cards size to their content and the buttons
   land at three different heights. */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: left;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
/* `.plan ul` carries `flex: 1` so the CTA sits at the bottom of the row. */
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow-md); position: relative; }
.plan.featured::before {
  content: "Most teams start here"; position: absolute; top: -11px; left: 24px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 650;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.plan h3 { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 6px; font-weight: 650; }
.plan .conn { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.plan .desc { color: var(--text-dim); font-size: 13.5px; margin-bottom: 22px; min-height: 58px; line-height: 1.6; }
.plan .price { font-size: 42px; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; color: var(--text-dim); font-weight: 500; letter-spacing: 0; }
.plan .annual { color: var(--text-dim); font-size: 12.5px; margin-top: 4px; min-height: 19px; }
.plan ul { list-style: none; margin: 22px 0 26px; flex: 1; }
.plan li { font-size: 13.5px; padding: 7px 0 7px 22px; position: relative; line-height: 1.5; }
.plan li::before {
  content: "✓"; color: var(--green); position: absolute; left: 0; font-weight: 700;
}
.plan button.cta {
  width: 100%; background: var(--text); color: var(--bg); border: 0;
  padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.plan button.cta:hover { background: var(--accent); color: #fff; }
.plan.featured button.cta { background: var(--accent); color: #fff; }
.plan.featured button.cta:hover { background: var(--accent-dim); }

.plan.enterprise { border-style: dashed; }
.plan.enterprise .price { font-size: 28px; }
.plan.enterprise button.cta { background: var(--bg-card); color: var(--text); border: 1px solid var(--border-strong); }
.plan.enterprise button.cta:hover { background: var(--bg-elev); color: var(--text); }

.footnote { color: var(--text-dim); font-size: 12.5px; max-width: 620px; margin: 32px auto 0; text-align: center; line-height: 1.65; }

/* ── License key entry (landing + showroom) ──────────────────────────── */

.license-section { padding: 24px 0 48px; }
.license-card {
  max-width: 560px; margin: 0 auto; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.license-form { display: flex; gap: 10px; }
.license-form input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--border-strong);
  border-radius: 8px; background: var(--bg); color: var(--text);
  font-size: 14px; font-family: var(--mono); min-width: 0;
}
.license-form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.license-form button {
  background: var(--text); color: var(--bg); border: 0; padding: 0 24px;
  border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; white-space: nowrap;
}
.license-form button:hover { background: var(--accent); color: #fff; }
.license-section .error { color: var(--accent); font-size: 13px; text-align: center; margin-top: 12px; }

.checkout-notice {
  max-width: 720px; margin: 0 auto 32px; background: var(--green-wash);
  border: 1px solid var(--green); border-radius: var(--radius);
  padding: 16px 20px; text-align: center; font-size: 14px;
}
.checkout-notice strong { color: var(--green); }

.setup-banner {
  background: var(--green-wash); border: 1px solid var(--green);
  border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; font-size: 13.5px;
}
.setup-banner strong { color: var(--green); }
.setup-banner p { color: var(--text-dim); margin-top: 4px; font-size: 13px; }
.setup-banner code { font-size: 12px; }

.license-redeem input {
  width: 100%; padding: 11px 13px; margin-top: 12px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--bg); color: var(--text); font-size: 13.5px;
  font-family: var(--mono);
}
.license-redeem input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.license-redeem .error { color: var(--accent); font-size: 12.5px; margin-top: 8px; min-height: 16px; }

/* ── Guides ───────────────────────────────────────────────────────────── */

.guides-section { padding: 64px 0 24px; }
.guide-tabs { display: flex; gap: 8px; justify-content: center; margin: 0 0 32px; }
.guide-tabs .gt {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim);
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-family: inherit;
  cursor: pointer; display: flex; align-items: center; gap: 7px; font-weight: 500;
}
.guide-tabs .gt.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.guide-body { max-width: 720px; margin: 0 auto; }
.guide-intro { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; text-align: center; }
.guide-steps { list-style: none; }
.guide-steps li {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.guide-steps h4 { font-size: 15px; margin-bottom: 10px; font-weight: 600; }
.guide-steps .expect { font-size: 13px; color: var(--green); margin-bottom: 8px; }
.guide-steps .detail { font-size: 13px; color: var(--text-dim); line-height: 1.65; }

.guide-locked {
  text-align: center; padding: 28px; border: 1px dashed var(--border-strong);
  border-radius: var(--radius); margin-top: 8px; background: var(--bg-elev);
}
.guide-locked p { color: var(--text-dim); font-size: 14px; margin-bottom: 14px; }
.guide-locked button {
  background: var(--accent); color: #fff; border: 0; padding: 11px 22px;
  border-radius: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit;
}

/* ── Cards: auth, dashboard, locked ───────────────────────────────────── */

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; margin: 32px auto;
  max-width: 900px; box-shadow: var(--shadow-sm);
}
.card h2 { font-size: 22px; margin-bottom: 6px; font-weight: 650; letter-spacing: -0.02em; }
.card h3 { font-size: 14px; margin-bottom: 12px; font-weight: 600; }

.auth { max-width: 420px; }
.auth form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.auth label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-dim); }
.auth input {
  padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--bg); color: var(--text); font-size: 14px; font-family: inherit;
}
.auth input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.auth button[type="submit"] {
  background: var(--accent); color: #fff; border: 0; padding: 12px;
  border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.auth .switch { text-align: center; font-size: 13px; }
.auth .error { color: var(--accent); font-size: 13px; text-align: center; min-height: 18px; }

.dashboard .row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 20px; }
.dashboard p { font-size: 14px; margin-bottom: 6px; }
.muted { color: var(--text-dim); }
.muted.small { font-size: 12.5px; }
.badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge.active { background: var(--green-wash); color: var(--green); }
.badge.locked { background: var(--accent-wash); color: var(--accent); }
.warning { color: var(--amber); font-size: 13px; margin-top: 8px; }

.installs { list-style: none; margin: 8px 0; }
.installs li {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-elev); border-radius: 8px; padding: 10px 12px; margin-bottom: 6px;
  font-size: 13px;
}
.installs .host { font-weight: 600; }
.installs .device { color: var(--text-dim); font-size: 11.5px; font-family: var(--mono); }
.installs .seen { color: var(--text-dim); font-size: 11.5px; text-align: right; }
.installs button {
  background: transparent; border: 0; color: var(--text-dim); font-size: 18px;
  cursor: pointer; padding: 0 0 0 12px; line-height: 1;
}
.installs button:hover { color: var(--accent); }

.actions { display: flex; gap: 10px; margin-top: 16px; }
.actions button {
  background: var(--bg-elev); color: var(--text); border: 1px solid var(--border-strong);
  padding: 9px 16px; border-radius: 8px; font-size: 13px; cursor: pointer;
  font-family: inherit; font-weight: 500;
}
.actions button.danger { color: var(--accent); border-color: var(--accent); }
.actions button.ghost { background: transparent; }
.actions.bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }

.download { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.download button {
  background: var(--accent); color: #fff; border: 0; padding: 11px 20px;
  border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; margin-top: 12px;
}
.download button:disabled { background: var(--border-strong); cursor: not-allowed; }

.trial-redeem input {
  width: 100%; padding: 11px 13px; margin-top: 12px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--bg); color: var(--text); font-size: 13.5px;
  font-family: var(--mono);
}
.trial-redeem input:focus { outline: 2px solid var(--violet); outline-offset: -1px; border-color: transparent; }
.trial-redeem .error { color: var(--accent); font-size: 12.5px; margin-top: 8px; min-height: 16px; }
.cmd {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; margin-top: 12px; white-space: pre; overflow-x: auto;
  color: var(--text-dim);
}

.locked { text-align: center; }
.locked button {
  background: var(--accent); color: #fff; border: 0;
  padding: 12px 24px; border-radius: 8px; font-size: 14px;
  font-weight: 600; cursor: pointer; font-family: inherit; margin-top: 16px;
}

/* ── Monthly budget (dashboard) ─────────────────────────────────────── */

.budget { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.budget-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.budget-head h3 { font-size: 14px; margin-bottom: 0; font-weight: 600; }
.budget .badge.warn { background: #fff4e0; color: var(--amber); }
.budget .badge.over { background: var(--accent-wash); color: var(--accent-dim); }
.budget-bar {
  height: 10px; background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 999px; overflow: hidden;
}
.budget-fill {
  height: 100%; background: var(--green); border-radius: 999px;
  transition: width 0.4s ease; min-width: 2px;
}
.budget-fill.warn { background: var(--amber); }
.budget-fill.over { background: var(--accent); }
.budget-line { color: var(--text-dim); font-size: 13px; margin-top: 8px; }
.budget-warning {
  margin-top: 12px; padding: 12px 14px; border-radius: 8px;
  background: var(--accent-wash); border: 1px solid var(--accent);
  color: var(--accent-dim); font-size: 13px; line-height: 1.6;
}
.budget-warning.warn { background: #fff4e0; border-color: var(--amber); color: var(--amber); }
.budget-tools { margin-top: 14px; display: grid; gap: 6px; }
.budget-tool {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-dim);
}
.budget-tool-name { display: flex; align-items: center; gap: 7px; }
.budget-tool-nums { font-variant-numeric: tabular-nums; }

/* ── Switch ───────────────────────────────────────────────────────────── */

label.switch { position: relative; display: inline-block; width: 38px; height: 21px; vertical-align: middle; }
label.switch input { opacity: 0; width: 0; height: 0; }
label.switch .slider {
  position: absolute; cursor: pointer; inset: 0; background: var(--border-strong);
  border-radius: 999px; transition: 0.2s;
}
label.switch .slider::before {
  content: ""; position: absolute; height: 15px; width: 15px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: 0.2s;
}
label.switch input:checked + .slider { background: var(--green); }
label.switch input:checked + .slider::before { transform: translateX(17px); }

/* Below this the topbar can't hold the tag and four nav items side by side —
   the tag is decoration, so it goes first rather than letting the layout
   crush the things that are actually navigation. */
@media (max-width: 1000px) {
  .tag { display: none; }
}

@media (max-width: 860px) {
  .bench-grid { grid-template-columns: 1fr; }
  .headroom { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .dashboard .row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .topbar { padding: 14px 16px; }
  .nav { gap: 14px; font-size: 13px; }
  main { padding: 32px 16px 64px; }
}

/* ── Launch banner ────────────────────────────────────────────────────────
   Pre-launch, this is the first thing on the page. It sits above the fold and
   above the product copy on purpose: telling someone the thing is not buyable
   yet AFTER they've read the pitch and hunted for a buy button wastes their
   time and reads as a bait-and-switch. */

.launch-banner {
  background: var(--accent-wash); border-bottom: 1px solid var(--accent);
  padding: 10px 32px; text-align: center; font-size: 13.5px; color: var(--accent-dim);
}
.launch-banner strong { color: var(--accent-dim); }
.launch-banner a { text-decoration: underline; font-weight: 600; }

/* ── Book a call ──────────────────────────────────────────────────────────── */

.book-a-call-section {
  padding: 24px 0 48px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.book-a-call-cta {
  background: var(--accent); color: #fff; border: 0; padding: 15px 28px;
  border-radius: 999px; font-size: 15px; font-weight: 650; cursor: pointer;
  font-family: inherit; box-shadow: var(--shadow-md);
}
.book-a-call-cta:hover { filter: brightness(1.08); }
.license-cta {
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px;
}
.license-cta:hover { color: var(--text); }

/* ── Benchmark ────────────────────────────────────────────────────────────── */

.benchmark-section { padding: 24px 0 64px; text-align: center; }
.benchmark-chart {
  max-width: 100%; width: 760px; height: auto; margin: 24px auto 0;
  border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}

.view-pricing-section { padding: 8px 0 56px; text-align: center; }
.view-pricing-cta {
  display: inline-block; background: var(--bg-card); color: var(--text);
  border: 1px solid var(--border-strong); padding: 13px 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
}
.view-pricing-cta:hover { border-color: var(--accent); color: var(--accent); }

/* ── Pricing ──────────────────────────────────────────────────────────────── */

.pricing-section { padding: 24px 0 64px; text-align: center; }
.pricing-card {
  max-width: 440px; margin: 32px auto 0; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-md); text-align: left;
}
.pricing-slider-row {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px;
}
.pricing-slider-row label { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.pricing-conn-value { font-size: 20px; font-weight: 700; color: var(--accent); }
.pricing-card input[type="range"] {
  width: 100%; accent-color: var(--accent); cursor: pointer;
}
.pricing-slider-scale {
  display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim);
  margin-top: 4px; margin-bottom: 24px;
}
.pricing-total { text-align: center; margin-bottom: 24px; }
.pricing-amount { font-size: 42px; font-weight: 750; letter-spacing: -0.02em; }
.pricing-period { font-size: 15px; color: var(--text-dim); }
.pricing-card .book-a-call-cta { width: 100%; }

/* ── Waitlist ─────────────────────────────────────────────────────────────── */

.waitlist-section { padding: 24px 0 64px; }
.waitlist-card {
  max-width: 560px; margin: 0 auto; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-md);
}
.waitlist-card h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 8px; }
.waitlist-card .sub { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.waitlist-form { display: flex; flex-direction: column; gap: 14px; }
.waitlist-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-dim); font-weight: 500; }
.waitlist-form input, .waitlist-form textarea, .waitlist-form select {
  padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--bg); color: var(--text); font-size: 14px; font-family: inherit;
}
.waitlist-form input:focus, .waitlist-form textarea:focus, .waitlist-form select:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent;
}
.waitlist-form .field-error { color: var(--accent); font-size: 12px; font-weight: 500; }
.waitlist-form button[type="submit"] {
  background: var(--accent); color: #fff; border: 0; padding: 13px;
  border-radius: 8px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  font-family: inherit; margin-top: 4px;
}
.waitlist-form button[type="submit"]:disabled { background: var(--border-strong); cursor: not-allowed; }

.google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #3c4043; border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 11px; font-size: 14.5px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: background 120ms ease, box-shadow 120ms ease;
}
.google-btn:hover { background: #f8f8f8; box-shadow: var(--shadow-sm); }
.google-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── OTP-style license code entry (8 cells, one char each) ────────────── */
.otp-input { display: flex; gap: 8px; justify-content: center; }
.otp-cell {
  width: 40px; height: 48px; text-align: center; font-size: 20px; font-weight: 650;
  font-family: inherit; letter-spacing: 0; text-transform: uppercase;
  border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--bg); color: var(--text);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
.otp-cell:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 52, 44, 0.15);
}
.otp-input.error .otp-cell {
  border-color: var(--accent);
  animation: otp-shake 320ms ease;
}
.otp-input.success .otp-cell {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 168, 74, 0.15);
}
@keyframes otp-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.deposit-note {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; font-size: 12.5px; color: var(--text-dim); line-height: 1.65;
  margin-top: 4px;
}
.deposit-note strong { color: var(--text); }
.waitlist-done {
  text-align: center; padding: 12px 0;
}
.waitlist-done h3 { font-size: 19px; font-weight: 650; margin-bottom: 10px; }
.waitlist-done p { color: var(--text-dim); font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.waitlist-done .deposit-cta {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 13px 26px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
}
.waitlist-done .deposit-cta:hover { background: var(--accent-dim); text-decoration: none; }

/* ── Admin ────────────────────────────────────────────────────────────────── */

.admin-counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 28px; }
.admin-count {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; text-align: center;
}
.admin-count.highlight { border-color: var(--accent); background: var(--accent-wash); }
.admin-count .n { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.admin-count .l { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }

.admin-filters { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-filters .af {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-family: inherit;
  cursor: pointer; font-weight: 500;
}
.admin-filters .af.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.admin-table {
  width: 100%; border-collapse: collapse; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  font-size: 13px;
}
.admin-table th {
  text-align: left; padding: 11px 14px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-dim); background: var(--bg-elev);
  border-bottom: 1px solid var(--border); font-weight: 650;
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td.dim { color: var(--text-dim); font-size: 12.5px; }
.admin-table td.mono { font-family: var(--mono); font-size: 12px; }
.admin-table .actions-cell { white-space: nowrap; text-align: right; }

.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 650; white-space: nowrap;
}
.pill.pending { background: var(--bg-elev); color: var(--text-dim); }
.pill.paid { background: #fff4e0; color: var(--amber); }
.pill.approved { background: var(--green-wash); color: var(--green); }
.pill.rejected { background: var(--accent-wash); color: var(--accent-dim); }

button.mini {
  background: var(--bg-elev); border: 1px solid var(--border-strong); color: var(--text);
  padding: 5px 11px; border-radius: 6px; font-size: 12px; cursor: pointer;
  font-family: inherit; font-weight: 550; margin-left: 6px;
}
button.mini.approve:hover { background: var(--green-wash); color: var(--green); border-color: var(--green); }
button.mini.reject:hover { background: var(--accent-wash); color: var(--accent-dim); border-color: var(--accent); }
button.mini:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 860px) {
  .admin-counts { grid-template-columns: repeat(2, 1fr); }
  .admin-table { display: block; overflow-x: auto; }
  .launch-banner { padding: 10px 16px; font-size: 12.5px; }
}

.dot.amber { background: var(--amber); }

/* ══════════════════════════════════════════════════════════════════════════
   Download page
   ══════════════════════════════════════════════════════════════════════════ */

.nav a.active { color: var(--accent); }

.download-section { padding: 8px 0 24px; }
.os-tabs {
  display: flex; gap: 8px; justify-content: center; margin: 0 0 8px;
}
.os-tabs .ot {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim);
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-family: inherit;
  cursor: pointer; font-weight: 500; min-width: 110px;
}
.os-tabs .ot.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.detect-note {
  text-align: center; color: var(--text-dim); font-size: 12.5px;
  margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto;
}

.product-tabs { margin-bottom: 22px; }

.path-note {
  max-width: 720px; margin: 0 auto 26px; background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; font-size: 12.5px; color: var(--text-dim); line-height: 1.6;
}
.path-note strong { color: var(--text); }

.env-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 0 auto 40px; max-width: 960px;
}
.env-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
  /* Grid blowout guard: with the default min-width:auto a long command line
     inside the card (e.g. the docker run one) forces the 1fr track wider
     than the viewport. min-width:0 lets the track shrink and the pre's own
     overflow-x:auto take over instead of the page growing a horizontal
     scrollbar. */
  min-width: 0;
}
.env-head { margin-bottom: 14px; }
.env-head h3 { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.env-tagline { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; line-height: 1.55; }

.env-steps { list-style: none; }
.env-steps li { padding: 12px 0; border-top: 1px solid var(--border); }
.env-steps li:first-child { padding-top: 0; border-top: 0; }
.env-steps h4 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-dim); font-weight: 650; margin-bottom: 8px;
}
.env-steps .expect { font-size: 12.5px; color: var(--green); margin-top: 8px; }
.env-steps .detail { font-size: 12px; color: var(--text-dim); margin-top: 6px; line-height: 1.6; }

.cmd-wrap { position: relative; }
.cmd-wrap .cmd-block { padding-right: 64px; margin-bottom: 0; }
.copy-btn {
  position: absolute; top: 8px; right: 8px;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  color: var(--text-dim); border-radius: 6px; font-size: 11px; font-weight: 600;
  padding: 4px 10px; cursor: pointer; font-family: inherit;
}
.copy-btn:hover { color: var(--text); border-color: var(--text-dim); }
.copy-btn.copied { background: var(--green-wash); color: var(--green); border-color: var(--green); }

.sub-note {
  max-width: 720px; margin: 0 auto; background: var(--bg-elev);
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
  padding: 16px 20px; font-size: 13px; color: var(--text-dim); line-height: 1.65;
  text-align: center;
}
.sub-note strong { color: var(--text); }

@media (max-width: 860px) {
  .env-grid { grid-template-columns: 1fr; }
  .os-tabs .ot { min-width: 0; flex: 1; padding: 9px 12px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Landing — the stakes grid, the live terminal
   ══════════════════════════════════════════════════════════════════════════ */

.stakes-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 40px 0 56px; }
.stake-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  border-top: 3px solid var(--border-strong);
}
.stake-card.money { border-top-color: var(--accent); }
.stake-card.ops { border-top-color: var(--amber); }
.stake-card.trust { border-top-color: var(--violet); }
.stake-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.stake-num {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  border: 1px solid var(--border-strong); border-radius: 6px; padding: 2px 7px;
}
.stake-tag {
  font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-dim);
}
.stake-card h3 { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 10px; }
.stake-card p { color: var(--text-dim); font-size: 13.5px; line-height: 1.65; flex: 1; }
.stake-line {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text); font-style: italic; line-height: 1.55;
}

/* ── Live terminal ───────────────────────────────────────────────────────── */

.terminal {
  max-width: 720px; margin: 40px auto 20px; border-radius: var(--radius);
  background: #101018; border: 1px solid #23233a; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.terminal-head {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: #17171f; border-bottom: 1px solid #23233a;
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.t-dot.red { background: #ff5f57; }
.t-dot.amber { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title { margin-left: 8px; font-size: 11.5px; color: #8b8ba3; font-family: var(--mono); }
.terminal-body { padding: 18px 20px; overflow-x: auto; }
.terminal-body pre {
  font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #d7d7e6;
  white-space: pre; min-height: 120px;
}
.terminal-body code { color: inherit; }

/* ── Thank-you page ──────────────────────────────────────────────────────── */

.thankyou-section { padding: 64px 0; display: flex; justify-content: center; }
.thankyou-card {
  max-width: 480px; width: 100%; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px 36px; box-shadow: var(--shadow-md);
}
.thankyou-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-wash, #e6f7ec); color: var(--green, #1a9850);
  font-size: 24px; font-weight: 700; margin-bottom: 20px;
}
.thankyou-card h1 { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 12px; }
.thankyou-card .lede { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; margin-bottom: 28px; }
.thankyou-facts {
  display: flex; flex-direction: column; gap: 14px; text-align: left;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px;
  padding: 18px 20px; margin-bottom: 24px;
}
.thankyou-facts .fact { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.thankyou-facts .fact-label { color: var(--text-dim); }
.thankyou-facts .fact-value { font-weight: 600; text-align: right; }
.thankyou-note { font-size: 12.5px; color: var(--text-dim); line-height: 1.6; margin-bottom: 28px; }
.thankyou-back {
  display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--accent);
}
.thankyou-back:hover { text-decoration: underline; }

/* ── Waitlist: full / availability ───────────────────────────────────────── */

.waitlist-full {
  text-align: center; padding: 32px 24px;
  background: var(--bg-elev); border: 1px dashed var(--border-strong, var(--border));
  border-radius: 10px;
}
.waitlist-full h3 { font-size: 18px; font-weight: 650; margin-bottom: 8px; }
.waitlist-full p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.waitlist-spots {
  text-align: center; font-size: 12.5px; color: var(--text-dim); margin-top: 14px;
}
.waitlist-spots strong { color: var(--text); }

/* ── Compact product row (landing) ───────────────────────────────────────
   The full product-card treatment (commands, benchmark numbers) lives on
   the showroom; the landing page names the three tools and nothing more —
   brand identity, not a spec sheet. */

.products--compact {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  margin: 8px 0 48px; padding: 20px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-mini { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.product-mini-name { font-weight: 650; }
.product-mini-role { color: var(--text-dim); }

@media (max-width: 860px) {
  .stakes-grid { grid-template-columns: 1fr; }
  .terminal-body pre { font-size: 12px; }
  .thankyou-card { padding: 36px 24px; }
  .products--compact { gap: 18px 28px; }
}

/* ── Token Savings Before & After Chart Component ────────────────────────── */

.token-savings-section {
  margin: 48px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.ts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ts-title-group h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ts-title-group p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 4px;
}

.ts-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-wash);
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 133, 91, 0.2);
}

.ts-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ts-scenario-btn {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ts-scenario-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.ts-scenario-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.ts-chart-card {
  background: #111116;
  color: #ededf5;
  border-radius: 10px;
  padding: 24px;
  font-family: var(--font);
  border: 1px solid #242432;
  margin-bottom: 24px;
}

.ts-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ts-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ts-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.ts-bar-label .dim {
  color: #9090a8;
  font-family: var(--mono);
  font-size: 12px;
}

.ts-bar-track {
  height: 28px;
  background: #1c1c28;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  position: relative;
}

.ts-fill-before {
  background: linear-gradient(90deg, #ff5f57, #e0342c);
  height: 100%;
  border-radius: 6px;
  transition: width 0.4s ease;
}

.ts-fill-after {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  height: 100%;
  border-radius: 6px;
  transition: width 0.4s ease;
}

.ts-fill-lossless {
  background: linear-gradient(90deg, #10b981, #059669);
  height: 100%;
  transition: width 0.4s ease;
}

.ts-fill-lossy {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  height: 100%;
  transition: width 0.4s ease;
}

.ts-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.ts-metric {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.ts-metric-num {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.ts-metric-num.saved { color: var(--green); }
.ts-metric-num.lossless { color: #059669; }

.ts-metric-label {
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  font-weight: 600;
}

.ts-calc-box {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ts-calc-input {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ts-calc-input label {
  font-size: 13.5px;
  font-weight: 550;
}

.ts-calc-input input {
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 14px;
  width: 130px;
  font-family: var(--mono);
}

.ts-calc-results {
  display: flex;
  gap: 20px;
}

.ts-calc-res {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ts-calc-res .val {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}

.ts-calc-res .sub {
  font-size: 11px;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .ts-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-calc-box { flex-direction: column; align-items: stretch; }
  .ts-calc-results { justify-content: space-between; }
}

