/* Kickoffapi — "The Wire" landing styles */

:root, html[data-theme="dark"] {
  --bg: #0C1018;
  --panel: #121826;
  --panel-2: #161D2E;
  --line: rgba(255, 255, 255, 0.09);
  --text: #F6F7F4;
  --dim: #98A2B8;
  --faint: #5B6478;
  --accent: #FF3D2E;
  --accent-ink: #1A0805;
  --accent-dim: rgba(255, 61, 46, 0.12);
  --accent-border: rgba(255, 61, 46, 0.35);
  --gold: #FFD60A;
  --ok: #3DDC84;
  --card-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --hero-glow: radial-gradient(ellipse 80% 55% at 50% -15%, rgba(255, 61, 46, 0.10), transparent 60%);
}

html[data-theme="light"] {
  --bg: #F4F5F7;
  --panel: #FFFFFF;
  --panel-2: #EBEDF1;
  --line: rgba(12, 16, 24, 0.12);
  --text: #14181F;
  --dim: #4E586B;
  --faint: #8A93A5;
  --accent: #E22D1F;
  --accent-ink: #FFF7F6;
  --accent-dim: rgba(226, 45, 31, 0.08);
  --accent-border: rgba(226, 45, 31, 0.3);
  --gold: #946C00;
  --ok: #15803D;
  --card-shadow: 0 24px 60px -30px rgba(20, 24, 31, 0.25);
  --hero-glow: radial-gradient(ellipse 80% 55% at 50% -15%, rgba(226, 45, 31, 0.06), transparent 60%);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}

.mono { font-family: 'Space Mono', monospace; }

.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.94;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 11px; }

.logo-word {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-word em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--dim);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-signin { font-size: 14.5px; font-weight: 600; color: var(--dim); }
.nav-signin:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  padding: 11px 22px;
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--accent); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
}

.btn-ghost:hover { border-color: var(--faint); }

.btn-lg.btn-primary { font-size: 16px; padding: 16px 30px; }
.btn-lg.btn-ghost { font-size: 16px; padding: 15px 28px; }

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}

.theme-btn:hover { color: var(--text); border-color: var(--faint); }
.theme-btn svg { width: 17px; height: 17px; }
html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 92px 0 72px;
  background: var(--hero-glow);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 32px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .pulse-dot { animation: wirePulse 1.4s ease-in-out infinite; }
  .wire-cursor { animation: wirePulse 0.9s steps(2) infinite; }
}

@keyframes wirePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero h1 {
  font-size: clamp(64px, 9vw, 122px);
  margin: 0 0 26px;
}

.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 19px;
  color: var(--dim);
  max-width: 580px;
  margin: 0 auto 38px;
}

.hero-ctas { display: flex; justify-content: center; gap: 14px; }

.hero-chips {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* ---------- Vidiprinter ---------- */
.vidiprinter {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.vp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  color: var(--faint);
}

.vp-live { color: var(--accent); display: flex; align-items: center; gap: 7px; }
.vp-live .pulse-dot { width: 6px; height: 6px; }

.vp-body {
  padding: 18px 0 22px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  line-height: 2;
  min-height: 150px;
}

.vp-current { color: var(--text); white-space: pre-wrap; }
.vp-current .goal { color: var(--gold); }
.wire-cursor { color: var(--accent); }
.vp-history div { color: var(--faint); }
.vp-history div:nth-child(2) { opacity: 0.72; }
.vp-history div:nth-child(3) { opacity: 0.44; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }

.section-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(40px, 5vw, 60px);
  margin: 0 0 14px;
}

.section-sub { font-size: 17.5px; color: var(--dim); max-width: 560px; margin: 0; }

.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-num {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: 0.1em;
}

.feature-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 24px;
  margin: 0;
}

.feature-card p { margin: 0; font-size: 14.5px; color: var(--dim); }

.feature-stat {
  margin-top: auto;
  padding-top: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 12.5px;
  color: var(--gold);
}

/* Code section */
.code-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.code-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.code-card-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--faint);
}

.code-card pre {
  margin: 0;
  padding: 20px 22px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  line-height: 1.9;
  overflow-x: auto;
  flex: 1;
}

.tok-c { color: var(--faint); }
.tok-k { color: var(--accent); }
.tok-s { color: var(--gold); }
.tok-d { color: var(--dim); }
.tok-ok { color: var(--ok); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.price-card.popular {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-dim), transparent 45%), var(--panel);
}

.popular-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 99px;
  white-space: nowrap;
}

.price-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: 0.05em;
  margin: 0 0 2px;
}

.price-for { font-size: 12.5px; color: var(--faint); min-height: 36px; }

.price-amount { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 46px; line-height: 1; margin: 10px 0 2px; }
.price-amount .cur { font-size: 24px; vertical-align: 14px; color: var(--dim); font-weight: 600; }
.price-period { font-family: 'Space Mono', monospace; font-size: 11.5px; color: var(--faint); margin-bottom: 18px; }

.price-cta { width: 100%; text-align: center; margin-bottom: 18px; }

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--dim);
}

.price-list li { display: flex; gap: 9px; align-items: baseline; }
.price-list li::before { content: "▸"; color: var(--accent); font-size: 11px; }
.price-list li strong { color: var(--text); font-weight: 600; }

.billing-rules {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rule {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--dim);
  background: var(--panel);
}

.rule strong { display: block; font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--text); margin-bottom: 4px; }

/* Free strip + Enterprise band */
.free-strip {
  max-width: 980px;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  border: 1px dashed var(--line);
  border-radius: 99px;
  padding: 12px 26px;
  font-size: 14.5px;
  color: var(--dim);
  background: var(--panel);
}

.free-strip .mono { font-size: 11.5px; letter-spacing: 0.08em; color: var(--gold); }
.free-strip strong { color: var(--text); font-weight: 600; }
.free-strip a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.free-strip a:hover { text-decoration: underline; }

.enterprise-band {
  max-width: 980px;
  margin: 16px auto 0;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.enterprise-band .eb-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.enterprise-band .eb-desc { font-size: 14px; color: var(--dim); flex: 1; }
.enterprise-band .eb-price {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faint);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .enterprise-band { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- Comparison ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14.5px;
}

.compare-table th, .compare-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.compare-table th {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 400;
}

.compare-table td:first-child { color: var(--faint); font-size: 13.5px; }
.compare-table td.us { color: var(--text); font-weight: 600; }
.compare-table td.us .mono-tag { color: var(--gold); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-note { margin-top: 14px; font-size: 12.5px; color: var(--faint); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }

.trust-list { display: flex; flex-direction: column; gap: 14px; }

.trust {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.trust strong {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.trust span { font-size: 14px; color: var(--dim); }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--line);
  background: var(--hero-glow), var(--panel);
  text-align: center;
  padding: 88px 0;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 14px;
  color: var(--dim);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }

.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
  margin: 0 0 14px;
  font-weight: 400;
}

.footer-col a { display: block; color: var(--dim); padding: 4px 0; }
.footer-col a:hover { color: var(--text); }

.footer-desc { max-width: 280px; font-size: 13.5px; color: var(--faint); margin-top: 12px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  color: var(--faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .code-cols, .about-grid { grid-template-columns: 1fr; }
  .billing-rules { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-chips { flex-wrap: wrap; gap: 14px; }
}
