/* Knight CTO — shared page styles for sub-pages
   Inline-equivalent to homepage operator.html styling, content-page focused */

:root {
  --bg: #F5F5F2; --bg-2: #ECECE7; --ink: #0A0A0A; --ink-2: #1A1A1A;
  --gray: #6B6B65; --gray-2: #A8A8A0;
  --rule: #0A0A0A; --rule-soft: #C4C4BC;
  --signal: #FF4F00; --signal-d: #D63F00;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 400; font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ── NAV (matches homepage) ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 32px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand .square { width: 12px; height: 12px; background: var(--signal); }
.brand .ver { font-weight: 400; color: var(--gray); margin-left: 4px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  color: var(--ink);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--signal); }
.nav-links a.active { color: var(--signal); }
.nav-cta {
  padding: 8px 16px;
  background: var(--ink); color: var(--bg) !important;
  font-size: 12px !important;
  transition: all 0.15s;
}
.nav-cta:hover { background: var(--signal); color: var(--ink) !important; }

/* ── PAGE HERO ────────────────────────────────────── */
.page-hero {
  padding: 80px 32px 56px;
  max-width: 1280px; margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}
.page-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--signal);
  letter-spacing: 0.04em; font-weight: 500;
  margin-bottom: 24px; display: inline-block;
}
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.02;
  letter-spacing: -0.035em; color: var(--ink);
  max-width: 1000px;
}
.page-hero h1 .accent { color: var(--signal); }
.page-hero h1 em { font-style: italic; font-weight: 500; }
.page-hero .lede {
  font-size: 19px; line-height: 1.55;
  color: var(--ink); max-width: 760px;
  margin-top: 24px; font-weight: 400;
}
.page-hero .lede strong { font-weight: 600; }

/* ── PAGE BODY ────────────────────────────────────── */
main {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 32px 96px;
}
section.block { margin-bottom: 80px; }
section.block:last-child { margin-bottom: 0; }
section.block .block-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--signal);
  font-weight: 500; letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: inline-block;
}
section.block h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 900px;
}
section.block h2 .accent { color: var(--signal); }
section.block > p, section.block .body p {
  font-size: 16px; line-height: 1.7;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 14px;
}
section.block strong { font-weight: 600; }

/* ── HEAD/BODY SPLIT ───────────────────────────── */
.head-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 36px;
}
.head-body .head-num {
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic; font-weight: 500;
  font-size: 56px; color: var(--signal);
  line-height: 1; letter-spacing: -0.02em;
}
.head-body .head-text h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--ink);
}
.head-body .head-text h2 .accent { color: var(--signal); }
.head-body .head-text .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--gray);
  letter-spacing: 0.06em; margin-top: 12px;
  display: block;
}

/* ── DETAIL ROW ───────────────────────────────── */
.detail-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
.detail-row:first-of-type { border-top: 1px solid var(--ink); }
.detail-row:last-of-type { border-bottom: 1px solid var(--ink); }
.detail-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--signal);
  letter-spacing: 0.04em; font-weight: 600;
  padding-top: 4px;
}
.detail-name h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 24px; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 8px;
}
.detail-name .tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--gray);
  letter-spacing: 0.04em;
}
.detail-body p {
  font-size: 14.5px; line-height: 1.65;
  color: var(--ink);
  margin-bottom: 12px;
}
.detail-body p:last-child { margin-bottom: 0; }
.detail-body ul {
  list-style: none; padding: 0;
  margin-top: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.detail-body ul li {
  font-size: 13.5px; line-height: 1.5;
  padding-left: 20px; position: relative;
  color: var(--ink);
}
.detail-body ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 12px; height: 1px; background: var(--signal);
}
.detail-body .practical {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--signal);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600;
  margin-top: 16px; display: block;
}

/* ── CALLOUTS ─────────────────────────────────── */
.callout {
  background: var(--bg-2);
  border-left: 4px solid var(--signal);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14.5px; line-height: 1.6;
  max-width: 880px;
}
.callout .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--signal);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; display: block; margin-bottom: 8px;
}
.callout p { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

/* ── TABLES ───────────────────────────────────── */
table.spec {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--ink);
  margin: 24px 0;
  font-size: 13.5px;
}
table.spec th, table.spec td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top; line-height: 1.55;
}
table.spec tr:last-child td { border-bottom: none; }
table.spec th {
  background: var(--ink); color: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
}
table.spec .col-row {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--gray);
  letter-spacing: 0.04em;
  width: 200px; background: var(--bg-2);
}
.yes { color: var(--ink); font-weight: 500; }
.yes::before { content: "✓ "; color: var(--signal); font-weight: 700; }
.no { color: var(--gray); }
.no::before { content: "✕ "; color: var(--gray); }

/* ── FAQ ACCORDIONS ───────────────────────────── */
.faq-list { border: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; padding: 24px 28px;
  background: var(--bg); border: none;
  text-align: left; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 18px;
  letter-spacing: -0.015em; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; transition: background 0.15s;
}
.faq-q:hover { background: var(--bg-2); }
.faq-q .marker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; color: var(--signal); font-weight: 700;
  flex-shrink: 0; transition: transform 0.2s;
}
.faq-item.open .faq-q .marker { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 28px; background: var(--bg-2);
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faq-item.open .faq-a {
  max-height: 800px; padding: 24px 28px 28px;
  border-top: 1px solid var(--rule-soft);
}
.faq-a p {
  font-size: 14.5px; line-height: 1.7;
  color: var(--ink); max-width: 920px;
}
.faq-a p + p { margin-top: 12px; }

/* ── ENGAGEMENT TIER CARDS ────────────────────── */
.tier-card {
  border: 1px solid var(--ink);
  background: var(--bg);
  margin-bottom: 24px;
}
.tier-card.featured { background: var(--ink); color: var(--bg); }
.tier-head {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px; align-items: end;
  border-bottom: 1px solid var(--rule-soft);
}
.tier-card.featured .tier-head { border-bottom-color: var(--gray); }
.tier-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--signal);
  letter-spacing: 0.04em; font-weight: 500;
  display: block; margin-bottom: 8px;
}
.tier-card h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 30px; line-height: 1.1;
  letter-spacing: -0.025em;
}
.tier-price {
  text-align: right;
}
.tier-price .price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 40px;
  letter-spacing: -0.03em; line-height: 1;
}
.tier-card.featured .tier-price .price { color: var(--signal); }
.tier-price .price-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--gray);
  display: block; margin-top: 6px;
}
.tier-card.featured .tier-price .price-meta { color: var(--gray-2); }
.tier-body { padding: 28px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.tier-body .body-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--signal);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.tier-body p, .tier-body li {
  font-size: 14px; line-height: 1.6;
}
.tier-body ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tier-body ul li { padding-left: 20px; position: relative; }
.tier-body ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 12px; height: 1px; background: var(--signal);
}
.tier-card.featured .tier-body ul li::before { background: var(--signal); }
.tier-card.featured .tier-body { color: var(--bg); }

/* ── PAGE CTA ─────────────────────────────────── */
.page-cta {
  background: var(--signal);
  color: var(--ink);
  padding: 80px 32px;
  border-top: 1px solid var(--ink);
}
.page-cta-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: center;
}
.page-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--ink);
}
.page-cta-side { display: flex; flex-direction: column; gap: 16px; }
.page-cta-side p {
  font-size: 15px; line-height: 1.6; color: var(--ink);
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.15s;
  width: fit-content;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--bg); color: var(--ink); }
.cta-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--ink);
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--ink); color: var(--gray-2);
  padding: 32px;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col .head { color: var(--bg); margin-bottom: 8px; font-weight: 500; }
.footer-col a { color: var(--gray-2); transition: color 0.15s; }
.footer-col a:hover { color: var(--signal); }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .page-hero { padding: 56px 20px 40px; }
  main { padding: 48px 20px 80px; }
  .nav { padding: 14px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .head-body { grid-template-columns: 1fr; gap: 12px; }
  .head-body .head-num { font-size: 36px; }
  .detail-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .tier-head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .tier-price { text-align: left; }
  .tier-body { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .page-cta { padding: 56px 20px; }
  .page-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  table.spec { font-size: 12px; }
  table.spec .col-row { width: auto; }
  .faq-q { font-size: 16px; padding: 20px; }
  .faq-a { padding: 0 20px; }
  .faq-item.open .faq-a { padding: 20px; }
}
