/* CansOut.AI marketing site — one stylesheet, shared by the static build and the WordPress theme. */

:root {
  --bg: #07080a;
  --bg-2: #0c0e11;
  --panel: #111418;
  --panel-2: #161a1f;
  --line: #222830;
  --line-2: #2d343d;
  --text: #eceef1;
  --muted: #9aa3ae;
  --dim: #6b737d;
  --accent: #c6ff3d;
  --accent-2: #9be21a;
  --accent-ink: #0a0c05;
  --hazard: #ffb020;
  --danger: #ff5a4d;
  --ok: #3ddc84;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px rgba(198, 255, 61, 0.25), 0 0 40px -8px rgba(198, 255, 61, 0.35);
  color-scheme: dark;
}

*, *::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.co {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.co img, .co svg { max-width: 100%; display: block; }
.co a { color: inherit; text-decoration: none; }
.co p { margin: 0 0 1em; }
.co h1, .co h2, .co h3, .co h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
.co h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -0.035em; }
.co h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; }
.co h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; }
.co h4 { font-size: 1rem; letter-spacing: 0; }
.co ::selection { background: var(--accent); color: var(--accent-ink); }
.co :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 1px; box-shadow: 0 0 12px var(--accent); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.strike { text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 3px; color: var(--dim); }
.hl { background: linear-gradient(transparent 62%, rgba(198,255,61,.28) 62%); padding: 0 .08em; }

/* Hazard stripe */
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, #111 14px 28px); opacity: .9; }
.hazard.thin { height: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text);
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: var(--muted); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: var(--glow); }
.btn.primary:hover { background: #d6ff6b; }
.btn.ghost { background: transparent; }
.btn.lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn.block { width: 100%; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .btn-row { justify-content: center; }
.text-link { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(198,255,61,.35); }
.text-link:hover { border-bottom-color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 10, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.brand .dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav > a, .nav .dd > button {
  font: 500 15px/1 var(--font-body); color: var(--muted); padding: 10px 12px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"] { color: var(--text); background: var(--panel); }
.nav .dd { position: relative; }
.nav .dd-panel {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 560px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .15s ease;
}
.nav .dd:hover .dd-panel, .nav .dd.open .dd-panel, .nav .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel a { display: block; padding: 12px 14px; border-radius: 10px; }
.dd-panel a:hover { background: var(--panel-2); }
.dd-panel strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--text); }
.dd-panel span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dd-panel .tag { display: inline-block; font: 600 10px/1 var(--font-mono); letter-spacing: .08em; color: var(--accent-ink); background: var(--accent); padding: 3px 5px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-cta .login { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 10px; }
.header-cta .login:hover { color: var(--text); }
.header-cta .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; width: 44px; height: 40px; cursor: pointer; }
.menu-toggle svg { margin: auto; }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; margin: 0; gap: 2px;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .site-header.open .nav .dd-panel { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; grid-template-columns: 1fr; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 8px; }
  .site-header.open .nav .dd > button { width: 100%; justify-content: space-between; }
  .site-header.open .nav .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
}
.nav .mobile-cta { display: none; }

/* Hero */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; pointer-events: none;
  background: radial-gradient(circle, rgba(198,255,61,.14), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.hero h1 .line2 { display: block; color: var(--accent); }
.hero .lead { margin-top: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 16ch; }
.page-hero.wide h1 { max-width: 22ch; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* Console (live call) */
.console {
  background: linear-gradient(180deg, #0f1215, #0a0c0e); border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; font-size: 14px;
}
.console-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0c0f12; }
.console-top .lights { display: flex; gap: 6px; }
.console-top .lights i { width: 10px; height: 10px; border-radius: 50%; background: #2a3037; display: block; }
.console-top .title { font: 500 12px/1 var(--font-mono); color: var(--muted); letter-spacing: .06em; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--font-mono); color: var(--danger); letter-spacing: .12em; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.console-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.console-meta div { padding: 10px 16px; border-right: 1px solid var(--line); }
.console-meta div:last-child { border-right: 0; }
.console-meta small { display: block; font: 500 10px/1.2 var(--font-mono); color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.console-meta b { font: 600 13px/1.4 var(--font-mono); color: var(--text); }
.console-body { padding: 16px; height: 420px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; mask-image: linear-gradient(transparent, #000 18%); -webkit-mask-image: linear-gradient(transparent, #000 18%); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; line-height: 1.45; animation: rise .35s ease both; }
.msg.caller { background: var(--panel-2); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.agent { background: rgba(198,255,61,.08); border: 1px solid rgba(198,255,61,.22); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg small { display: block; font: 600 10px/1 var(--font-mono); letter-spacing: .1em; color: var(--dim); margin-bottom: 5px; text-transform: uppercase; }
.msg.agent small { color: var(--accent-2); }
.tool { font: 500 12px/1.4 var(--font-mono); color: var(--muted); padding: 7px 10px; border-left: 2px solid var(--line-2); animation: rise .3s ease both; align-self: stretch; }
.tool b { color: var(--accent); font-weight: 600; }
.tool.write b { color: var(--hazard); }
.tool .ok { color: var(--ok); }
.tool.done { border-left-color: var(--ok); background: rgba(61,220,132,.06); color: var(--text); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.console-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); font: 500 11px/1.4 var(--font-mono); color: var(--dim); }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font: 700 clamp(2.4rem, 4.5vw, 3.6rem)/1 var(--font-display); letter-spacing: -0.04em; }
.stat .num em { font-style: normal; color: var(--dim); font-size: .55em; margin-left: 2px; }
.stat p { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.stat.hot .num { color: var(--accent); }
.source { font: 500 12px/1.5 var(--font-mono); color: var(--dim); margin-top: 14px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s ease, transform .2s ease;
}
a.card:hover, .card.hover:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(198,255,61,.08); border: 1px solid rgba(198,255,61,.2); color: var(--accent); }
.card .icon svg { width: 22px; height: 22px; }
.card .more { display: inline-flex; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--accent); gap: 6px; }
.card.feature-xl { padding: 36px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.badge.only { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.badge.warn { color: var(--hazard); border-color: rgba(255,176,32,.4); }
.card .badge { position: absolute; top: 24px; right: 24px; }

/* Weapons (unique features) */
.weapons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.weapons .card:nth-child(1), .weapons .card:nth-child(2) { grid-column: span 3; }
.weapons .card { grid-column: span 2; }
@media (max-width: 980px) { .weapons { grid-template-columns: 1fr 1fr; } .weapons .card, .weapons .card:nth-child(1), .weapons .card:nth-child(2) { grid-column: span 1; } }
@media (max-width: 640px) { .weapons { grid-template-columns: 1fr; } }

/* Split / two column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li strong { color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(198,255,61,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid rgba(198,255,61,.3);
}
.checks.x li::before { background: rgba(255,90,77,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a4d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/11px no-repeat; border-color: rgba(255,90,77,.3); }

/* Versus timeline (9:47 PM) */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.versus .col { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.versus .col.them { opacity: .9; }
.versus .col.us { border-color: rgba(198,255,61,.35); box-shadow: var(--glow); }
.versus header { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.versus header h3 { margin: 0; font-size: 1.1rem; }
.versus ol { list-style: none; margin: 0; padding: 8px 22px 22px; }
.versus li { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.versus li:last-child { border-bottom: 0; }
.versus time { font: 600 13px/1.5 var(--font-mono); color: var(--dim); }
.versus .us time { color: var(--accent); }
.versus li p { margin: 0; color: var(--muted); font-size: 15px; }
.versus li p strong { color: var(--text); }
.versus .total { padding: 16px 22px; border-top: 1px solid var(--line); font: 600 14px/1.4 var(--font-mono); display: flex; justify-content: space-between; }
.versus .them .total { color: var(--danger); }
.versus .us .total { color: var(--accent); }
@media (max-width: 860px) { .versus { grid-template-columns: 1fr; } }

/* Guardrail list */
.rails { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rail { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 24px; background: var(--panel); border-bottom: 1px solid var(--line); }
.rail:last-child { border-bottom: 0; }
.rail .n { font: 700 13px/1 var(--font-mono); color: var(--accent); border: 1px solid rgba(198,255,61,.3); border-radius: 8px; height: 36px; display: grid; place-items: center; }
.rail h4 { margin: 4px 0 4px; font-size: 1.05rem; }
.rail p { margin: 0; color: var(--muted); font-size: 15px; }

/* Code-ish block */
.codeblock { background: #0a0c0e; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px; font: 13px/1.7 var(--font-mono); color: var(--muted); overflow-x: auto; white-space: pre; }
.codeblock .k { color: var(--accent); }
.codeblock .w { color: var(--hazard); }
.codeblock .g { color: var(--ok); }
.codeblock .r { color: var(--danger); }
.codeblock .c { color: var(--dim); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 32px; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: var(--glow); background: linear-gradient(180deg, rgba(198,255,61,.06), var(--panel) 40%); }
.plan .ribbon { position: absolute; top: -12px; left: 32px; }
.plan h3 { font-size: 1.5rem; margin: 0; }
.plan .for { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan .price { margin: 24px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font: 700 3.4rem/1 var(--font-display); letter-spacing: -0.04em; }
.plan .price span { color: var(--muted); }
.plan .terms { font: 500 12px/1.5 var(--font-mono); color: var(--dim); margin-bottom: 22px; }
.plan .checks { margin: 22px 0 28px; flex: 1; }
.plan .checks li { font-size: 15px; }
.plan .btn { margin-top: auto; }
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.pledges div { border-top: 2px solid var(--accent); padding-top: 16px; }
.pledges b { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.pledges p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 860px) { .pledges { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pledges { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); -webkit-overflow-scrolling: touch; }
.co table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.co th, .co td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.co thead th { font: 600 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--panel-2); position: sticky; top: 0; }
.co tbody tr:last-child td { border-bottom: 0; }
.co tbody th { font-weight: 600; color: var(--text); }
.co td { color: var(--muted); }
.co tr.us td, .co tr.us th { background: rgba(198,255,61,.06); color: var(--text); }
.co tr.us th { color: var(--accent); }
.yes { color: var(--ok) !important; font-weight: 600; }
.no { color: var(--danger) !important; }
.co td.num { font-family: var(--font-mono); white-space: nowrap; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 28px/1 var(--font-body); color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 820px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(40px, 7vw, 80px); background: radial-gradient(ellipse at top right, rgba(198,255,61,.16), transparent 55%), var(--panel); }
.cta-band h2 { max-width: 16ch; }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, #111 14px 28px); opacity: .85; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.co label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.co input, .co select, .co textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #0b0d10; color: var(--text); font: 16px/1.4 var(--font-body);
}
.co textarea { min-height: 120px; resize: vertical; }
.co input:focus, .co select:focus, .co textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198,255,61,.15); }
.co input[type=range] { min-height: 0; padding: 0; border: 0; background: transparent; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--dim); }
.notice { border: 1px solid rgba(198,255,61,.35); background: rgba(198,255,61,.07); border-radius: 12px; padding: 16px 18px; color: var(--text); }
.notice.warn { border-color: rgba(255,176,32,.45); background: rgba(255,176,32,.07); }
[hidden] { display: none !important; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc .inputs { display: grid; gap: 22px; }
.calc .field { display: grid; gap: 8px; }
.calc .field header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; }
.calc .field output { font: 600 15px/1 var(--font-mono); color: var(--accent); }
.calc .field small { color: var(--dim); font-size: 13px; }
.calc .results { position: sticky; top: 90px; align-self: start; }
.result-big { font: 700 clamp(2.8rem, 6vw, 4.4rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--accent); margin: 8px 0 4px; }
.result-rows { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.result-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.result-rows b { font-family: var(--font-mono); color: var(--text); white-space: nowrap; }

/* Logos / integrations */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { font: 600 14px/1 var(--font-display); padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); background: var(--panel); }

/* Prose (legal, facts) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); }
.prose dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 0; }
.prose dt { font-weight: 600; color: var(--text); }
.prose dd { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .prose dl { grid-template-columns: 1fr; } .prose dd { margin-bottom: 10px; } }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps > div { counter-increment: s; border-top: 1px solid var(--line-2); padding-top: 20px; }
.steps > div::before { content: "0" counter(s); font: 700 13px/1 var(--font-mono); color: var(--accent); display: block; margin-bottom: 14px; }
.steps h4 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Mock UI panel (attribution, recovery) */
.mock { background: #0b0d10; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 600 12px/1 var(--font-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.mock-body { padding: 18px; }
.flow { display: grid; gap: 10px; }
.flow .node { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-size: 14px; }
.flow .node .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 700 12px/1 var(--font-mono); color: var(--accent-ink); background: var(--accent); }
.flow .node b { font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.flow .node span { color: var(--muted); }
.flow .link { width: 2px; height: 14px; background: var(--line-2); margin-left: 28px; }
.bar { height: 10px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.bars { display: grid; gap: 14px; }
.bars div > header { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; color: var(--muted); }
.bars div > header b { font-family: var(--font-mono); color: var(--text); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #050607; padding: 72px 0 36px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-grid h4 { font: 600 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--muted); font-size: 15px; }
.foot-grid a:hover { color: var(--text); }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 320px; margin-top: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: 13px; color: var(--dim); }
.foot-bottom a { color: var(--dim); }
.foot-bottom a:hover { color: var(--text); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Marquee ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #050607; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 48px; padding: 14px 0; animation: tick 40s linear infinite; font: 600 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.ticker-track span { display: inline-flex; align-items: center; gap: 12px; }
.ticker-track span::before { content: "▲"; color: var(--accent); font-size: 9px; }
.ticker-track b { color: var(--text); font-weight: 600; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .code { font: 700 clamp(6rem, 20vw, 12rem)/1 var(--font-display); letter-spacing: -0.06em; color: var(--accent); }

/* WordPress admin bar (logged-in editors only) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Grid children may shrink below their content (long selects, code blocks). */
.calc > *, .split > *, .hero-grid > *, .grid > *, .versus > * { min-width: 0; }

/* Long button labels wrap on phones instead of pushing the page wider. */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; height: auto; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
  .btn-row .btn { width: 100%; }
}

/* Undecided items in legal drafts */
.todo { background: rgba(255,176,32,.14); color: var(--hazard); padding: 0 4px; border-radius: 4px; }
