/* Docify product-site shared stylesheet — do not fork per product */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0A0B0E;
  --surface:   #111318;
  --surface2:  #1A1F2A;
  --border:    #232830;
  --text:      #E8EAED;
  --muted:     #6B7280;
  --accent:    #00D4AA;
  --accent-dim:#004D3D;
  --red:       #FF6B6B;
  --amber:     #F59E0B;
  --mono:      'JetBrains Mono', monospace;
  --sans:      'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,11,14,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}
.nav-links li { position: relative; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s;
  padding: 0 0.85rem;
  height: 54px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--accent);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}
.nav-cta {
  color: var(--bg) !important;
  background: var(--accent);
  padding: 0.42rem 1rem !important;
  border-radius: 4px;
  font-weight: 600;
  height: auto !important;
  margin-left: 0.5rem;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta::after { display: none !important; }

/* ── SAFETY PAGE JUMP NAV ── */
.safety-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.safety-jump a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.safety-jump a:hover {
  border-color: var(--accent);
  color: var(--text);
}
.safety-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.safety-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 1.25rem 1.35rem;
}
.safety-pillar h3 {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.safety-pillar p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── PAGE HEADER ── */
.page-header {
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3.5rem;
  background: var(--bg);
}
.page-header .wrap { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-family: var(--mono);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.1rem;
}
h1 .m { color: var(--muted); }
h1 .acc { color: var(--accent); }

.page-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}
.page-sub strong { color: var(--text); font-weight: 500; }

/* ── SECTIONS ── */
section { padding: 4.5rem 2rem; }
.wrap { max-width: 1100px; margin: 0 auto; }

.sec-label {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

h2 {
  font-family: var(--mono);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
h2 .acc { color: var(--accent); }
h2 .m { color: var(--muted); }

.lead {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.tagline {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--accent);
  margin-top: 2rem;
  padding: 1rem 1.35rem;
  border: 1px solid var(--accent-dim);
  background: rgba(0,212,170,0.04);
  border-radius: 5px;
  max-width: 580px;
}

hr { border: none; border-top: 1px solid var(--border); }

/* ── TERMINAL ── */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.t-bar {
  background: var(--surface2);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dr { background: #FF5F57; }
.dy { background: #FFBD2E; }
.dg { background: #28CA41; }
.t-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: 0.5rem;
  letter-spacing: 0.06em;
}
.t-body {
  padding: 1.2rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.95;
}
.t-body.sm { font-size: 0.75rem; }
.ln { display: block; }
.ok  { color: var(--accent); }
.err { color: var(--red); }
.warn{ color: var(--amber); }
.cmd { color: var(--text); }
.dim { color: var(--muted); }
.pr  { color: var(--accent); }
.sp  { height: 0.65rem; display: block; }

/* ── INSTALL ROW ── */
.install-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1.25rem;
  width: fit-content;
  margin-bottom: 0.9rem;
}
.install-row code {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--text);
}
.copy-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 3px;
  padding: 0.28rem 0.6rem;
  font-size: 0.68rem;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.04em;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn.copied { border-color: var(--accent); color: var(--accent); }

/* ── INLINE CODE ── */
ic {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  background: rgba(0,212,170,0.07);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

/* ── TWO-COL GRID ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* ── CHECK LIST ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 1.5rem 0 2rem;
}
.check-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.ci {
  width: 26px; height: 26px;
  background: rgba(0,212,170,0.09);
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem; color: var(--accent);
  font-family: var(--mono); font-weight: 700;
  margin-top: 0.1rem;
}
.ct strong {
  display: block; font-family: var(--mono);
  font-size: 0.8rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.2rem;
}
.ct span { font-size: 0.77rem; color: var(--muted); line-height: 1.5; }

/* ── T-STACK ── */
.t-stack { display: flex; flex-direction: column; gap: 1rem; }

/* ── CMD TABLE ── */
.cmd-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.cmd-table-hd {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem 1.25rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.cmd-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cmd-row:last-child { border-bottom: none; }
.cmd-row code { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); white-space: nowrap; }
.cmd-row span { font-size: 0.76rem; color: var(--muted); }

/* ── CMD PILL ── */
.cmd-pill {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
}
.cmd-pill code { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); flex: 1; }
.cmd-pill span  { font-size: 0.73rem; color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.25rem 2rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.footer-links {
  display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--muted);
}

/* ── ARCHITECTURE DIAGRAM (layers: callers → xops → native tools) ── */
.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 2.5rem 0;
}
.arch-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.arch-box {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1.4rem;
  text-align: center;
}
.arch-connector {
  width: 1px;
  height: 1.75rem;
  background: var(--border);
  position: relative;
}
.arch-connector::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--border);
}
.arch-core {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border-radius: 7px;
  padding: 1.1rem 2.5rem;
  text-align: center;
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 1px var(--accent-dim), 0 8px 24px -8px rgba(0,212,170,0.35);
}
.arch-core small {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--bg);
  opacity: 0.7;
  margin-top: 0.3rem;
}
.arch-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 760px;
}
.arch-tool {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.45rem 0.85rem;
}
.arch-caption {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
  text-align: center;
}

/* ── ROUTING DIAGRAM (intent → xops → outcome) ── */
.route-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}
.route-step {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.9rem 1.25rem;
  flex: 1 1 200px;
  min-width: 0;
}
.route-step.core {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  border-color: var(--accent);
  text-align: center;
  flex: 0 0 auto;
}
.route-step .rs-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.route-step.core .rs-label { color: var(--bg); opacity: 0.7; }
.route-outcomes {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 240px;
}
.route-outcomes .route-step { font-size: 0.74rem; padding: 0.65rem 1rem; }
.route-arrow {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 1.1rem;
  flex: 0 0 auto;
  padding: 0 0.5rem;
}
@media (max-width: 760px) {
  .route-diagram { flex-direction: column; align-items: stretch; }
  .route-arrow { transform: rotate(90deg); padding: 0.35rem 0; align-self: center; }
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
  section { padding: 3.5rem 1.25rem; }
  .page-header { padding: 3rem 1.25rem 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ══════════════════════════════════════════
   MOBILE — proper responsive pass
   ══════════════════════════════════════════ */

/* ── MOBILE NAV ── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: color 0.15s, border-color 0.15s;
}
.nav-mobile-toggle:hover { color: var(--text); border-color: var(--accent); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 54px;
  left: 0; right: 0;
  background: rgba(10,11,14,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 1rem 0 1.25rem;
}
.nav-drawer.open { display: block; }
.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.nav-drawer ul li a {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: block;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}
.nav-drawer ul li a:hover { color: var(--text); background: var(--surface); }
.nav-drawer ul li a.active { color: var(--accent); }
.nav-drawer .drawer-cta {
  display: block;
  margin: 1rem 1.5rem 0;
  background: var(--accent);
  color: var(--bg) !important;
  text-align: center;
  padding: 0.75rem !important;
  border-radius: 5px;
  font-weight: 600;
  border: none !important;
  font-size: 0.85rem !important;
}

@media (max-width: 860px) {
  /* Show toggle, hide inline nav */
  .nav-mobile-toggle { display: flex; align-items: center; gap: 0.4rem; }
  .nav-links { display: none !important; }

  /* Terminal horizontal scroll */
  .terminal { overflow-x: auto; }
  .t-body { min-width: 0; white-space: nowrap; }
  .t-body .ln { white-space: nowrap; }

  /* Page header */
  .page-header { padding: 2.5rem 1.25rem 2rem; }
  h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* Footer stack */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-links { gap: 1rem; }

  /* Install row */
  .install-row { flex-wrap: wrap; }

  /* Section spacing */
  section { padding: 3rem 1.25rem; }
}

/* ── INDEX PAGE ── */
@media (max-width: 860px) {
  .feature-strip { grid-template-columns: 1fr !important; }
  .stages { grid-template-columns: repeat(2, 1fr) !important; }
  .free-banner { flex-direction: column !important; padding: 1.75rem !important; align-items: flex-start !important; }
  .free-banner > div:last-child { align-items: flex-start !important; width: 100%; }
}
@media (max-width: 480px) {
  .stages { grid-template-columns: 1fr !important; }
}

/* ── WHY PAGE ── */
@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr !important; }
  .why-list { grid-template-columns: 1fr !important; }
}

/* ── UNDO PAGE ── */
@media (max-width: 860px) {
  .undo-cmd-tables-grid { grid-template-columns: 1fr !important; }
}

/* ── FAQ PAGE ── */
@media (max-width: 860px) {
  .faq-list { flex-direction: column; }
}

/* ── INSTALL PAGE ── */
@media (max-width: 860px) {
  .install-cards { grid-template-columns: 1fr !important; }
  .free-items     { grid-template-columns: 1fr !important; }
  .free-box       { padding: 1.75rem !important; }
  .cmd-pills-grid { grid-template-columns: 1fr !important; }
}

/* ── SMALL PHONES (≤ 400px) ── */
@media (max-width: 400px) {
  nav { padding: 0 1rem; }
  .page-header, section { padding-left: 1rem; padding-right: 1rem; }
  .install-row code { font-size: 0.78rem; }
  .t-body { font-size: 0.72rem; }
}

/* === merged from components-extra.css === */
/* Components that lived as per-page <style> blocks in the reference site.
   Merged here so authors never ship page-local CSS. */

/* Hero (home) */
.hero {
  min-height: calc(100vh - 54px);
  display: flex;
  align-items: center;
  padding: 5rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 4rem;
}
.hero-left { flex: 1 1 500px; }
.hero-right { flex: 1 1 420px; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-npx { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); padding-left: 0.25rem; }
.hero-tagline { font-family: var(--mono); font-size: 0.82rem; color: var(--accent); margin-top: 2rem; letter-spacing: 0.02em; }
.hero-cta-wrap { margin-top: 1.5rem; }
.hero-cta {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent-dim);
  border-radius: 5px;
  padding: 0.6rem 1.1rem;
  display: inline-block;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1.4rem;
  max-width: 560px;
}
.hero-proof { background: var(--surface); padding: 1rem; }
.hp-k {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.hp-v { font-size: 0.78rem; color: var(--muted); line-height: 1.45; }

.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2rem;
}
.edge-item { background: var(--surface); padding: 1.35rem 1.4rem; }
.edge-item h3 {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.55rem;
}
.edge-item p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.feature-strip-item {
  background: var(--surface);
  padding: 1.5rem 1.4rem;
  text-decoration: none;
  transition: background 0.18s;
  display: block;
}
.feature-strip-item:hover { background: var(--surface2); }
.fi-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.fi-title { font-family: var(--mono); font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.fi-desc  { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.fi-link  { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); margin-top: 0.75rem; display: block; }

.flow-cmd {
  font-family: var(--mono); font-size: 0.9rem; color: var(--text);
  margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem;
}
.stages {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.stage { background: var(--surface2); padding: 1.4rem 1.25rem; transition: background 0.18s; }
.stage:hover { background: #1f2635; }
.s-num  { font-family: var(--mono); font-size: 0.6rem; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 0.65rem; }
.s-name { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.s-desc { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

.free-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.free-left h2 { margin-bottom: 0.5rem; }
.free-left p  { font-size: 0.9rem; color: var(--muted); max-width: 480px; line-height: 1.7; }
.free-badge {
  font-family: var(--mono); font-size: 0.72rem;
  padding: 0.4rem 0.85rem; border-radius: 4px; border: 1px solid var(--border);
  color: var(--muted); white-space: nowrap;
}
.free-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Why */
.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 2.75rem;
}
.why-item {
  background: var(--surface);
  padding: 1.35rem 1.5rem;
  display: flex; align-items: flex-start; gap: 0.9rem;
}
.why-item::before { content: '→'; color: var(--accent); font-family: var(--mono); font-size: 0.8rem; flex-shrink: 0; margin-top: 0.05rem; }
.why-item span { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.p-col h3 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.p-col.before h3 { color: var(--red); }
.p-col.after  h3 { color: var(--accent); }
.pain-list { list-style: none; margin-top: 1.25rem; }
.pain-list li { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); padding: 0.6rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; }
.pain-list li::before { content: '✕'; color: var(--red); font-size: 0.7rem; flex-shrink: 0; }

/* FAQ */
.faq-group { margin-bottom: 3rem; }
.faq-group-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.faq-item { background: var(--surface); padding: 1.4rem 1.5rem; }
.faq-item h3 { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.65rem; line-height: 1.4; }
.faq-item p  { font-size: 0.8rem; color: var(--muted); line-height: 1.72; }

/* Guides */
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.guide-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.guide-card-head { padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--border); }
.guide-card-num { font-family: var(--mono); font-size: 0.64rem; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.guide-card-body { padding: 1.25rem 1.4rem; }
.guide-chapters { list-style: none; margin: 1rem 0; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.guide-chapters li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.guide-meta { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); margin-bottom: 1rem; }
.guide-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.guide-btn { font-family: var(--mono); font-size: 0.72rem; padding: 0.45rem 0.85rem; border-radius: 4px; text-decoration: none; }
.guide-btn.-primary { background: var(--accent); color: var(--bg); }
.guide-btn.-secondary { border: 1px solid var(--border); color: var(--muted); }

/* Misc grids from reference */
.contract-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contract-col { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.contract-col.safe { border-color: var(--accent-dim); }
.contract-col.approval { border-color: var(--amber); }
.story-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.story-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.rec-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem; }
.rh { font-family: var(--mono); font-weight: 600; margin-bottom: 0.5rem; }
.method-cards, .cmd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.method-card, .cmd-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.cmd-card-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.tool-group { margin-bottom: 2rem; }
.tool-group-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.tool-names { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 0.75rem; }
.tool-do-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.tool-do { background: var(--surface); padding: 1rem; font-size: 0.8rem; color: var(--muted); }
.tool-do.does strong { color: var(--accent); }
.tool-do.doesnot strong { color: var(--red); }
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.area-item { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.route-step { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.25rem; }
.route-arrow { text-align: center; color: var(--accent); font-family: var(--mono); padding: 0.35rem; }
.ask-compare { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.cmp-row span { background: var(--surface); padding: 0.85rem 1rem; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.guarantee-grid, .safety-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 1.25rem; }
.pillar h3 { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); margin-bottom: 0.5rem; }
.pillar p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

.arch-diagram { margin: 2rem 0; }
.arch-caption { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.arch-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.arch-box { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 0.75rem 1rem; font-family: var(--mono); font-size: 0.78rem; }
.arch-connector { width: 2px; height: 18px; background: var(--border); margin: 0.35rem auto; }
.arch-core {
  background: var(--surface2);
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: var(--mono);
  font-weight: 600;
  text-align: center;
}
.arch-core small { display: block; font-weight: 400; color: var(--muted); margin-top: 0.35rem; font-size: 0.72rem; }
.arch-tools-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
.arch-tool { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.65rem; }

.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 2rem 0; }
.footer-brand { font-family: var(--mono); color: var(--accent); font-weight: 600; }
.footer-links a { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); text-decoration: none; }
.foot-sep { color: var(--border); margin: 0 0.5rem; }
.footer-meta { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero { flex-direction: column; padding: 3rem 1.25rem; min-height: auto; gap: 2.5rem; }
  .hero-proof-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr; }
  .problem-grid, .contract-grid, .tool-do-grid, .cmp-row { grid-template-columns: 1fr; }
  .free-banner { flex-direction: column; padding: 2rem; }
}
