/* SteelSpine — Site Design System */
/* Copyright © 2026 Alethia Inc. All rights reserved. */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --bg:       #080a0e;
  --bg2:      #0c0f16;
  --surface:  #0f1117;
  --surface2: #161b25;
  --border:   #1e2433;
  --border2:  #252d3d;
  --text:     #e2e8f4;
  --muted:    #7c8899;
  --dim:      #3d4559;
  --green:    #34d399;
  --purple:   #a78bfa;
  --blue:     #60a5fa;
  --red:      #f87171;
  --amber:    #fbbf24;
  --font-ui:   system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', Consolas, 'Courier New', monospace;
  --r-sm: 6px;  --r-md: 10px;  --r-lg: 16px;  --r-xl: 22px;
  --max: 1160px;
  --nav-h: 64px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .8; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
code, kbd {
  font-family: var(--font-mono);
  font-size: .875em;
  background: var(--surface2);
  color: var(--green);
  padding: 2px 6px;
  border-radius: var(--r-sm);
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Logo shimmer ───────────────────────────────────────────── */
@keyframes logo-shimmer {
  0%   { filter: drop-shadow(0 0 0px rgba(167,139,250,0)); }
  30%  { filter: drop-shadow(0 0 7px rgba(167,139,250,.55)) drop-shadow(0 0 14px rgba(52,211,153,.25)); }
  55%  { filter: drop-shadow(0 0 12px rgba(96,165,250,.45)) drop-shadow(0 0 6px rgba(167,139,250,.4)); }
  75%  { filter: drop-shadow(0 0 5px rgba(52,211,153,.5)) drop-shadow(0 0 10px rgba(167,139,250,.3)); }
  100% { filter: drop-shadow(0 0 0px rgba(167,139,250,0)); }
}
@keyframes logo-sunbeam {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 0px rgba(167,139,250,0)); opacity: 1; }
  50%       { filter: brightness(1.3) drop-shadow(0 0 18px rgba(167,139,250,0.9)) drop-shadow(0 0 36px rgba(167,139,250,0.35)); opacity: 1; }
}
.nav-brand img {
  animation: logo-sunbeam 3s ease-in-out infinite;
  will-change: filter;
}
.nav-brand:hover img {
  animation: none;
  filter: brightness(1.25) drop-shadow(0 0 12px rgba(167,139,250,.7));
  transition: filter .25s ease;
}

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; padding: 0 32px;
  background: rgba(8,10,14,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  margin-right: 32px; text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; color: var(--muted); font-size: 14px;
  padding: 6px 12px; border-radius: var(--r-sm);
  transition: color .15s, background .15s; white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > a.active {
  color: var(--text); background: var(--surface2); opacity: 1;
}
.nav-cta {
  margin-left: auto;
  background: var(--purple) !important;
  color: #fff !important;
  padding: 7px 18px !important;
  border-radius: var(--r-sm) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  white-space: nowrap;
  display: inline-block;
}
.nav-cta:hover { opacity: .88 !important; }

/* dropdown */
.has-dropdown > a::after { content: ''; }
.dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  padding-top: 8px; /* invisible bridge — keeps hover alive over the gap */
  z-index: 300;
}
.dropdown-menu-inner {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 6px; min-width: 210px;
  box-shadow: 0 20px 48px rgba(0,0,0,.55);
}
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block; padding: 9px 13px; border-radius: var(--r-sm);
  font-size: 13px; color: var(--muted);
}
.dropdown-menu li a:hover { color: var(--text); background: var(--surface2); opacity: 1; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all .15s; cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: #9173e8; color: #fff; opacity: 1; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border2);
}
.btn-ghost:hover { background: var(--surface2); color: var(--text); opacity: 1; }
.btn-lg  { padding: 13px 26px; font-size: 16px; }
.btn-xl  { padding: 16px 32px; font-size: 17px; }
.btn-sm  { padding: 7px 14px; font-size: 13px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(167,139,250,.13) 0%, transparent 60%),
    radial-gradient(ellipse 55% 35% at 85% 115%, rgba(52,211,153,.06) 0%, transparent 50%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.25);
  color: var(--purple); font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 26px;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero-h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
  color: var(--text); max-width: 900px; margin: 0 auto 22px;
}
.hero-accent { color: var(--purple); font-style: normal; }
.hero-lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.6;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 52px;
}
.hero-term { max-width: 760px; margin: 0 auto; text-align: left; }

/* ── Terminal ───────────────────────────────────────────────── */
.terminal {
  background: #060810;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,.55);
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.t-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.t-dot.red   { background: #ff5f57; }
.t-dot.amber { background: #ffbd2e; }
.t-dot.green { background: #28c840; }
.term-title {
  margin-left: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}
.term-body {
  padding: 20px 24px;
  font-family: var(--font-mono); font-size: 13.5px;
  line-height: 1.85; color: #c5cfe8;
}
.term-body p { margin: 0; }
.term-body br { display: block; content: ''; margin: 4px 0; }
.tl  { display: block; }
.tp  { color: var(--green); user-select: none; }
.tc  { color: #c5cfe8; }
.tok { color: var(--green); }
.terr { color: var(--red); }
.tmuted { color: var(--muted); }
.tlabel { color: var(--blue); }
.tcmt { color: var(--dim); }

/* ── Stat strip ─────────────────────────────────────────────── */
.stat-strip {
  background: var(--surface);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  padding: 52px 0;
}
.stat-strip-inner {
  display: flex; flex-wrap: wrap; gap: 0;
  justify-content: space-around; align-items: center;
}
.stat-item { text-align: center; padding: 16px 28px; flex: 1; min-width: 160px; }
.stat-val {
  display: block; font-size: 64px; font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
}
.stat-lbl { display: block; font-size: 16px; color: var(--text); margin-top: 12px; line-height: 1.6; max-width: 200px; margin-left: auto; margin-right: auto; }
.stat-sep { width: 1px; height: 60px; background: var(--border2); flex-shrink: 0; align-self: center; }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 84px 0; }
.bg-alt { background: var(--bg2); }
.callout-banner {
  background: linear-gradient(135deg, #0a1a0f, #0d1a10);
  border: 1px solid #1a4a2a; border-left: 4px solid var(--green);
  border-radius: 12px; padding: 28px 32px; margin-bottom: 56px;
}
.callout-banner-inner .callout-eyebrow {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.callout-banner-inner p {
  font-size: 15px; color: #b0c4b8; line-height: 1.75; margin: 0;
}
.callout-banner-inner strong { color: var(--text); }

.section-eyebrow {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 12px;
}
.section-h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}
.section-lead {
  font-size: 18px; color: var(--muted); max-width: 640px; line-height: 1.7; margin-bottom: 52px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two   { grid-template-columns: repeat(2, 1fr); }
.card-grid.four  { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border2); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.card-dim { background: var(--bg2); }
.card-ico { font-size: 28px; margin-bottom: 16px; display: block; }
.card h3  { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -.01em; }
.card p   { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── Feature rows ───────────────────────────────────────────── */
.feat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.feat-row:last-child { border-bottom: none; }
.feat-flip { direction: rtl; }
.feat-flip > * { direction: ltr; }
.feat-text h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; line-height: 1.2;
}
.feat-text p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-list li {
  font-size: 15px; color: var(--muted); padding-left: 22px; position: relative;
}
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── Architecture row ───────────────────────────────────────── */
.arch-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap; margin: 48px 0 40px;
}
.arch-node {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 32px;
  text-align: center; min-width: 180px; flex: 0 0 auto;
}
.arch-node-spine {
  border-color: rgba(167,139,250,.4);
  background: rgba(167,139,250,.05);
}
.arch-ico  { font-size: 32px; margin-bottom: 10px; display: block; }
.arch-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.arch-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.arch-arrow {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 8px; gap: 6px; flex-shrink: 0; min-width: 80px;
}
.arch-line {
  height: 2px; width: 100%; background: var(--border2);
  position: relative;
}
.arch-line::after {
  content: '▶'; position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%); color: var(--border2); font-size: 10px;
}
.arch-arrowlabel { font-size: 11px; color: var(--dim); text-align: center; white-space: nowrap; }
.pull-quote {
  max-width: 700px; margin: 0 auto;
  text-align: center; font-size: 18px; font-style: italic;
  color: var(--muted); line-height: 1.65;
  padding: 28px 0; border-top: 1px solid var(--border);
}

/* ── Domain grid ────────────────────────────────────────────── */
.domain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.domain-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  text-decoration: none; display: block;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.domain-card:hover {
  border-color: rgba(167,139,250,.4);
  box-shadow: 0 8px 28px rgba(167,139,250,.1);
  transform: translateY(-2px); opacity: 1;
}
.domain-ico  { font-size: 28px; margin-bottom: 12px; display: block; }
.domain-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.domain-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.domain-cta { font-size: 13px; color: var(--purple); font-weight: 600; }

/* ── Command grid ───────────────────────────────────────────── */
.cmd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cmd-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
  transition: border-color .2s;
}
.cmd-card:hover { border-color: var(--border2); }
.cmd-card code { display: block; font-size: 12px; color: var(--green); margin-bottom: 5px; background: none; padding: 0; }
.cmd-card p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  padding: 80px 0;
  background:
    linear-gradient(160deg, rgba(167,139,250,.07) 0%, transparent 50%),
    linear-gradient(200deg, rgba(52,211,153,.04) 0%, transparent 50%);
  border-top: 1px solid var(--border);
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; letter-spacing: -.025em; margin-bottom: 16px; line-height: 1.15;
}
.cta-inner p { font-size: 17px; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.cta-fine { font-size: 13px; color: var(--dim); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: start; margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand img { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 140px); gap: 32px; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--dim); margin-bottom: 9px;
  transition: color .15s; text-decoration: none;
}
.footer-col a:hover { color: var(--text); opacity: 1; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom p { font-size: 12px; color: var(--dim); line-height: 1.8; }
.footer-sub { color: var(--dim); margin-top: 4px; }

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.page-hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 12px;
  display: block;
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800; letter-spacing: -.025em; margin-bottom: 16px; line-height: 1.12;
}
.page-hero p { font-size: 18px; color: var(--muted); max-width: 600px; line-height: 1.65; }

/* ── Prose (about, developer pages) ────────────────────────── */
.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 52px 0 14px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 32px 0 10px; color: var(--text); }
.prose p  { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.prose ul { padding-left: 0; list-style: none; margin-bottom: 18px; }
.prose ul li {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  padding-left: 22px; position: relative; margin-bottom: 7px;
}
.prose ul li::before { content: '—'; position: absolute; left: 0; color: var(--dim); }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--purple);
  padding: 6px 20px; margin: 28px 0;
  color: var(--muted); font-style: italic; font-size: 17px; line-height: 1.65;
}

/* ── Steps ──────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px;
  border-radius: 50%; background: var(--surface2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--purple); margin-top: 2px;
}
.step-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-body p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Pills / badges ─────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .03em;
}
.pill-green  { background: rgba(52,211,153,.12);  color: var(--green);  border: 1px solid rgba(52,211,153,.25); }
.pill-purple { background: rgba(167,139,250,.12); color: var(--purple); border: 1px solid rgba(167,139,250,.25); }
.pill-blue   { background: rgba(96,165,250,.12);  color: var(--blue);   border: 1px solid rgba(96,165,250,.25); }
.pill-amber  { background: rgba(251,191,36,.12);  color: var(--amber);  border: 1px solid rgba(251,191,36,.25); }
.pill-red    { background: rgba(248,113,113,.12); color: var(--red);    border: 1px solid rgba(248,113,113,.25); }

/* ── Table ──────────────────────────────────────────────────── */
.site-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.site-table th {
  text-align: left; padding: 10px 16px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--border);
}
.site-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  color: var(--muted); vertical-align: top;
}
.site-table td:first-child { color: var(--text); font-weight: 600; }
.site-table tr:last-child td { border-bottom: none; }
.site-table tbody tr:hover td { background: var(--surface2); }

/* ── Code block ─────────────────────────────────────────────── */
.code-block {
  background: #060810; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px 24px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.8;
  overflow-x: auto; color: #c5cfe8;
}
.code-block .kw { color: var(--purple); }
.code-block .fn { color: var(--blue); }
.code-block .st { color: var(--green); }
.code-block .cm { color: var(--dim); }
.code-block .nu { color: var(--amber); }

/* ── Demo page ──────────────────────────────────────────────── */
.demo-step { display: flex; flex-direction: column; gap: 20px; margin-bottom: 60px; }
.demo-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--purple); margin-bottom: 8px; display: block;
}
.demo-h { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.demo-p { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 560px; }

/* ── Download page ──────────────────────────────────────────── */
.platform-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
}
.platform-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.platform-card p  { font-size: 15px; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }
.platform-available { border-color: rgba(52,211,153,.25); }
.platform-soon { opacity: .65; }
.install-block {
  background: #060810; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 20px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.85;
  color: #c5cfe8; overflow-x: auto; margin: 14px 0;
}
.install-block .cmd::before { content: '$ '; color: var(--green); }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.contact-info p  { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.contact-email {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--purple); font-size: 16px; font-weight: 600;
}
.contact-email:hover { opacity: .8; }

/* ── Hamburger nav ───────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: var(--r-sm);
  margin-left: auto; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--muted); border-radius: 2px; transition: all .2s;
}
.nav-hamburger:hover span { background: var(--text); }
.nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .cmd-grid    { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .feat-row           { grid-template-columns: 1fr; gap: 36px; }
  .feat-flip          { direction: ltr; }
  .footer-top         { grid-template-columns: 1fr; }
  .footer-nav         { grid-template-columns: repeat(2, 1fr); }
  .nav-links          { display: none; }
  .nav-hamburger      { display: flex; }
  .nav-cta            { display: none; }
  .nav.nav-open .nav-links {
    display: flex; flex-direction: column; gap: 2px;
    width: 100%; padding: 8px 0 12px;
    border-top: 1px solid var(--border); margin-top: 8px;
  }
  .nav.nav-open .nav-cta {
    display: block; width: 100%; text-align: center;
    margin: 8px 0 4px; padding: 12px !important;
  }
  .nav-inner          { flex-wrap: wrap; padding: 0; }
  .nav-links > li > a { padding: 10px 8px; font-size: 15px; }
  /* Mobile: always show developer submenu inline */
  .has-dropdown > a   { pointer-events: none; }
  .dropdown-menu      { display: block !important; position: static; padding-top: 0; }
  .dropdown-menu-inner {
    border: none; background: var(--surface2);
    border-radius: var(--r-sm); padding: 4px 0 4px 16px;
    box-shadow: none; min-width: unset;
  }
  /* Only show the dropdown inline when menu is open */
  .nav:not(.nav-open) .dropdown-menu { display: none !important; }
  .arch-row           { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto 40px; }
  .arch-arrow         { flex-direction: row; padding: 8px 0; min-width: 0; }
  .arch-line          { height: 2px; flex: 1; }
  .arch-line::after   { display: none; }
  .card-grid.three,
  .card-grid.four     { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container          { padding: 0 20px; }
  .nav                { padding: 0 20px; }
  .hero               { padding: 64px 0 48px; }
  .section            { padding: 60px 0; }
  .domain-grid        { grid-template-columns: 1fr; }
  .cmd-grid           { grid-template-columns: 1fr 1fr; }
  .footer-nav         { grid-template-columns: 1fr 1fr; }
  .cta-btns           { flex-direction: column; }
  .stat-sep           { display: none; }
  .stat-strip-inner   { gap: 16px; }
}

/* ── Audience toggle (Dev / Plain English) ───────────────────── */
.ss-toggle-block {
  position: relative;
}
.ss-toggle-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.ss-toggle-label {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-ui);
  margin-right: 2px;
}
.ss-pill {
  font-size: 11px;
  font-family: var(--font-ui);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.ss-pill:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.ss-pill-active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.ss-plain-card {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--font-ui);
}
.ss-plain-title {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.ss-view-plain table {
  width: 100%;
  border-collapse: collapse;
}
