/* Cog Machina - site styles.
   Dark industrial-modern: charcoal ground, azure accent, machined edges.
   ASCII only in this file (see RB charset notes). */

:root {
  --ink-0: #0c0e12;      /* page ground */
  --ink-1: #12151c;      /* alt sections */
  --ink-2: #1a1e28;      /* cards */
  --ink-3: #242a37;      /* borders, lifted edges */
  --text-hi: #eef0f4;
  --text-mid: #a8afbd;
  --text-low: #6b7280;

  /* Brand accent. Azure blue as of 2026-09-02 (was brass gold) - it also
     separates Cog Machina from Ravenbreath, whose brand stays gold. */
  --accent: #4a9eff;
  --accent-hi: #7fbaff;
  --accent-dim: rgba(74, 158, 255, 0.14);
  --on-accent: #06131f;  /* text on a filled accent surface */

  /* Legacy aliases - existing rules still say --brass*. Kept so the palette
     lives in ONE place; new rules should use --accent*. */
  --brass: var(--accent);
  --brass-hi: var(--accent-hi);
  --brass-dim: var(--accent-dim);
  --teal: #4fd1c5;
  --radius: 12px;
  --wrap: 1120px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink-0);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 0;
}

/* The golden glow. One per page, anchored under the active nav item via
   --glow-x (site.js measures the real link; the per-page classes below are
   the no-JS / mobile fallback). Home pushes it to the right. */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 560px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 520px at var(--glow-x, 15%) 140px,
              rgba(74, 158, 255, 0.24), transparent 68%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(255,255,255,0.025) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,0.025) 47px 48px);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.pg-home      { --glow-x: 15%; }
.pg-platform  { --glow-x: 60%; }
.pg-solutions { --glow-x: 67%; }
.pg-pricing   { --glow-x: 73%; }
.pg-about     { --glow-x: 78%; }
.pg-contact   { --glow-x: 83%; }
.pg-other     { --glow-x: 50%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-hi);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 600; margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.45em; }

a { color: var(--brass-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img, svg { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brass); color: var(--ink-0); padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 14, 18, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-3);
}

.header-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text-hi); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--brass); flex: none; }
.mark-gear { transform-origin: 24px 24px; transition: transform 0.6s ease; }
.brand:hover .mark-gear { transform: rotate(30deg); }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  color: var(--text-hi); letter-spacing: -0.01em; white-space: nowrap;
}
.brand-accent { color: var(--brass); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a {
  color: var(--text-mid); font-size: 0.95rem; font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}
.site-nav > a:hover {
  color: var(--text-hi); text-decoration: none;
  /* Text-glow twin of the .btn-primary:hover box-shadow. */
  text-shadow: 0 0 14px rgba(74, 158, 255, 0.7), 0 0 28px rgba(74, 158, 255, 0.35);
}
.site-nav > a.active { color: var(--text-hi); border-bottom-color: var(--brass); }

.nav-toggle { display: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.98rem; padding: 12px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(160deg, var(--accent-hi), var(--accent));
  color: var(--on-accent);
  box-shadow: 0 4px 18px rgba(74, 158, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(74, 158, 255, 0.4); }

.btn-ghost {
  color: var(--text-hi); border-color: var(--ink-3); background: transparent;
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-hi); }

.btn-small { padding: 8px 18px; font-size: 0.88rem; }
.nav-cta { margin-left: 6px; }
/* Outranks .site-nav > a, which would otherwise gray out the pill's text. */
/* Specificity note: `.site-nav > a` (0,1,1) outranks `.btn`/`.btn-small`
   (0,1,0), so the pill inherits the nav's `padding: 4px 0` and loses its
   horizontal padding. Restate it here at (0,2,1) so the pill breathes. */
.site-nav > a.nav-cta {
  color: var(--on-accent); border-bottom: 0; padding: 9px 22px;
}
.site-nav > a.nav-cta:hover { color: var(--on-accent); text-shadow: none; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; }

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  /* Glow and grid live on body::before (shared by every page); the hero
     keeps only its teal counterweight. */
  background:
    radial-gradient(45% 60% at 15% 85%, rgba(79, 209, 197, 0.07), transparent 60%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

/* Same wrap as every other page - no private 820px column that floats the
   hero into the middle of wide screens. */
.hero-inner { position: relative; padding: 110px 24px 90px; }

.eyebrow {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 16px;
}

.grad {
  background: linear-gradient(100deg, var(--brass-hi) 10%, var(--brass) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Descriptive intros (.lede / .section-lede) span their container like the
   headings above them - no early 640px wrap. One rule, every page. */
.lede { font-size: 1.16rem; color: var(--text-mid); margin-top: 22px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-proof { margin-top: 30px; font-size: 0.92rem; color: var(--text-low); }

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section-alt { background: var(--ink-1); border-block: 1px solid var(--ink-3); }

.page-head { padding: 90px 0 8px; }
.page-head + .section { padding-top: 48px; }

.cols-2, .cols-3 { display: grid; gap: 22px; margin-top: 36px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card p { font-size: 0.97rem; }

.card-link { display: block; color: inherit; }
.card-link:hover {
  text-decoration: none; border-color: var(--brass); transform: translateY(-3px);
}
.card-more {
  display: inline-block; margin-top: 14px; color: var(--brass-hi);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
}

.card-num {
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  color: var(--brass); background: var(--brass-dim);
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 16px;
}

/* ---------- flagship / terminal ---------- */

.flagship { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.flagship-copy p { margin-bottom: 1em; }
.flagship-copy .btn { margin-top: 8px; }

.term {
  background: #0a0c10; border: 1px solid var(--ink-3); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--ink-3); background: var(--ink-1);
}
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-3); }
.term-bar span:first-child { background: #b8544d; }
.term-bar span:nth-child(2) { background: #c9a13b; }
.term-bar span:nth-child(3) { background: #4e9a63; }
.term-bar em {
  margin-left: 8px; font-style: normal; font-size: 0.78rem; color: var(--text-low);
  font-family: var(--font-head);
}
.term-body {
  padding: 20px 22px; font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.86rem; line-height: 1.75; color: var(--teal);
  white-space: pre; overflow-x: auto;
}

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band p { margin-bottom: 26px; }

/* ---------- platform layers ---------- */

.layer-list { display: grid; gap: 18px; margin-top: 10px; }
.layer {
  display: grid; grid-template-columns: 110px 1fr; gap: 26px;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 30px 28px;
}
.layer-tag {
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass);
  padding-top: 4px;
}

/* ---------- deployment models (the isolation ladder) ----------
   Numbered because the rungs ARE a sequence: each one isolates more than
   the last, and the number is the thing a reader compares on. */

.rung-list { display: grid; gap: 16px; margin-top: 30px; }
.rung {
  display: grid; grid-template-columns: 58px 1fr; gap: 20px;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 24px 26px;
}
.rung-n {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--accent); letter-spacing: 0.04em; padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.rung h3 { margin-bottom: 6px; }
.rung p { font-size: 0.96rem; }
.rung p strong { color: var(--text-hi); font-weight: 600; }
.rung-top { border-color: var(--accent); }

.rung-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rung-meta span {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mid);
  background: var(--ink-1); border: 1px solid var(--ink-3);
  border-radius: 999px; padding: 3px 11px;
}
.rung-meta span.hot {
  color: var(--accent-hi); border-color: var(--accent); background: var(--accent-dim);
}

.note-band {
  margin-top: 26px; padding: 24px 26px;
  background: linear-gradient(180deg, var(--accent-dim), transparent 70%), var(--ink-2);
  border: 1px solid var(--accent); border-radius: var(--radius);
}
.note-band h3 { margin-bottom: 6px; }
.note-band p { font-size: 0.96rem; max-width: 74ch; }

/* ---------- solutions ---------- */

.solution { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.solution-copy p { margin-bottom: 1.1em; }

.checks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; font-size: 0.98rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--brass-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%234a9eff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

.fine-print { font-size: 0.85rem; color: var(--text-low); margin-top: 14px; }

.solution-quote {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius); padding: 28px 26px; margin-top: 44px;
}
.solution-quote blockquote {
  font-family: var(--font-head); font-size: 1.06rem; color: var(--text-hi);
  line-height: 1.5;
}
.solution-quote cite {
  display: block; margin-top: 14px; font-style: normal;
  font-size: 0.85rem; color: var(--text-low);
}

/* ---------- pricing ---------- */

/* Cards size to their own content and sit on a shared baseline (the RB
   pattern): bottoms aligned, tops stagger with how much each tier holds,
   so the featured tier - the one with the most in it - reads tallest.
   Five-up needs more room than the standard wrap, hence wrap-wide. */
.wrap-wide { max-width: 1360px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 18px; margin-top: 42px; align-items: end;
}
.tier { position: relative; padding: 24px 20px; }
.tier h3 { font-size: 1.08rem; }
.tier p { font-size: 0.9rem; }
.tier .checks li { font-size: 0.88rem; padding-left: 26px; }
.tier .checks li::before { width: 16px; height: 16px; background-size: 11px; top: 2px; }
.tier-tag {
  font-family: var(--font-head); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-low);
  margin-bottom: 12px;
}
.tier .checks { padding-top: 16px; gap: 9px; }
.tier-price { margin: 2px 0 12px; }
.tier-price .amount {
  font-family: var(--font-head); font-weight: 700; font-size: 1.7rem;
  color: var(--text-hi); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tier-price .per { display: inline-block; }
.tier-price .per { font-size: 0.85rem; color: var(--text-low); }
.tier-featured {
  border-color: var(--accent); box-shadow: 0 12px 40px rgba(74, 158, 255, 0.12);
  padding-top: 34px; padding-bottom: 34px;
}
.tier-flag {
  position: absolute; top: -13px; left: 24px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-head); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}

.section-lede { color: var(--text-mid); }

/* ---------- tier comparison matrix ---------- */

.matrix { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 860px; }
.matrix th, .matrix td { text-align: center; padding: 10px 14px; border-bottom: 1px solid var(--ink-3); }
.matrix th {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: var(--text-hi);
  letter-spacing: 0.02em; padding-top: 16px;
}
.matrix .matrix-feature { text-align: left; color: var(--text-mid); }
.matrix td:first-child { min-width: 240px; }
.matrix-group td {
  text-align: left; font-family: var(--font-head); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass);
  padding-top: 26px; padding-bottom: 8px; border-bottom: 1px solid var(--ink-3);
}
.matrix .col-hot { background: var(--brass-dim); color: var(--text-hi); }
.matrix th.col-hot { color: var(--brass-hi); }
.matrix-price { color: var(--text-low); font-size: 0.84rem; margin-left: 6px; white-space: nowrap; }
.matrix-legend { margin-top: 14px; color: var(--text-low); font-size: 0.88rem; }
.matrix-legend span { color: var(--brass-hi); }

.table-scroll {
  overflow-x: auto; margin-top: 30px;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius);
}
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
.price-table th {
  font-family: var(--font-head); font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-low);
  text-align: left; padding: 16px 22px 12px; border-bottom: 1px solid var(--ink-3);
}
.price-table td {
  padding: 15px 22px; border-bottom: 1px solid var(--ink-3);
  color: var(--text-mid); vertical-align: top;
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table td strong { color: var(--text-hi); }
.price-table .num {
  text-align: right; white-space: nowrap; color: var(--brass-hi);
  font-family: var(--font-head); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
th.num { color: var(--text-low); }

/* ---------- about ---------- */

.prose p { margin-bottom: 1.1em; font-size: 1.04rem; }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px;
  align-items: start;   /* an opened bio grows its own card, not the whole row */
}
.person {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 22px 20px;
}
.person h3 { font-size: 1.02rem; margin-bottom: 2px; }
.person p { font-size: 0.88rem; color: var(--text-low); }
/* Contact-card layout (2026-10-11): photo at the left, name + title beside it, the public words beneath. */
.person-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.person-photo {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid var(--ink-3); background: var(--ink-1);
}
.person-photo-blank {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem var(--font-mono); letter-spacing: 0.04em; color: var(--accent-hi); background: var(--accent-dim);
}
.person-id { min-width: 0; }
.person-id h3 { overflow-wrap: anywhere; }
.person-bio { margin-top: 14px; font-size: 0.86rem; line-height: 1.55; color: var(--text-mid); }
/* Two lines, then an ellipsis; .is-open shows it all. The toggle is only drawn where text was cut (site.js). */
.person-bio.is-clamped {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.person-bio.is-open { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.person-more {
  display: inline-block; margin-top: 6px; padding: 0; background: none; border: 0; cursor: pointer;
  font: 500 0.72rem var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent);
}
.person-more:hover { color: var(--accent-hi); }
.person-link {
  display: inline-block; margin-top: 10px; font: 500 0.72rem var(--font-mono); color: var(--accent);
  text-decoration: none; border-bottom: 1px solid transparent; overflow-wrap: anywhere;
}
.person-link:hover { border-bottom-color: var(--accent); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }

.form-card {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 34px 32px;
}
.sent-card h2 { margin-bottom: 10px; }
.sent-card p { margin-bottom: 22px; }

.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.88rem; color: var(--text-hi); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink-0); border: 1px solid var(--ink-3);
  border-radius: 8px; color: var(--text-hi); font-family: var(--font-body);
  font-size: 0.98rem; padding: 11px 13px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-dim);
}
.field textarea { resize: vertical; }

/* Honeypot: visually removed, still in the DOM for bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside h3 { margin-top: 26px; }
.contact-aside h3:first-child { margin-top: 6px; }
.contact-aside p { margin-top: 6px; }

.steps { margin: 12px 0 0 20px; display: grid; gap: 10px; font-size: 0.97rem; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--ink-3); background: var(--ink-1); }

.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px;
  padding-top: 56px; padding-bottom: 40px;
}
.footer-tagline { margin-top: 10px; font-size: 0.92rem; color: var(--text-low); }

.footer-col h4 {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-low); margin-bottom: 14px;
}
.footer-col a { display: block; color: var(--text-mid); font-size: 0.94rem; padding: 4px 0; }
.footer-col a:hover { color: var(--brass-hi); text-decoration: none; }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
  border-top: 1px solid var(--ink-3);
  padding-top: 22px; padding-bottom: 30px;
  font-size: 0.84rem; color: var(--text-low);
}

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
  /* 5-up no longer fits; 3+2 keeps the ladder readable, bottoms aligned per row. */
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .cols-3, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .flagship, .solution, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .solution-quote { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layer { grid-template-columns: 1fr; gap: 8px; }
  .rung { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 640px) {
  .cols-2, .cols-3, .team-grid, .pricing-grid { grid-template-columns: 1fr; }

  /* Stack the pricing table into cards; the 3-column row doesn't fit. */
  .price-table { min-width: 0; }
  .price-table tr { display: block; padding: 16px 20px; border-bottom: 1px solid var(--ink-3); }
  .price-table tr:first-child { display: none; }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table td { display: block; padding: 2px 0; border: 0; }
  .price-table .num { text-align: left; }
  .hero-inner { padding-top: 72px; padding-bottom: 60px; }
  .section { padding: 60px 0; }

  .nav-toggle {
    display: grid; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--text-hi);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--ink-1); border-bottom: 1px solid var(--ink-3);
    padding: 16px 24px 22px;
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
  .nav-cta { margin: 10px 0 0; }
}
