/* ============================================
   Design system — 3 variants via [data-variant]
   conservative | balanced | bold
   Shared: industrial aesthetic, US manufacturing
   ============================================ */

:root {
  /* Type scale */
  --f-xs: 11px;
  --f-sm: 13px;
  --f-base: 15px;
  --f-md: 17px;
  --f-lg: 20px;
  --f-xl: 28px;
  --f-2xl: 40px;
  --f-3xl: 56px;
  --f-4xl: 80px;
  --f-5xl: 120px;

  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Fraunces', 'Times New Roman', serif;

  --container: 1240px;
  --radius: 2px;
  --border: 1px solid var(--line);
}

/* --- CONSERVATIVE: Dark navy, restrained, trust-first --- */
[data-variant='conservative'] {
  --bg: #ffffff;
  --bg-2: #f4f4f1;
  --bg-3: #ebebe6;
  --ink: #0f1419;
  --ink-2: #3d4651;
  --ink-3: #6b7280;
  --line: #d9d9d3;
  --line-strong: #0f1419;
  --accent: #1a3a5c;
  --accent-ink: #ffffff;
  --warn: #a84410;
  --family-display: var(--sans);
  --family-body: var(--sans);
  --family-mono: var(--mono);
  --display-weight: 600;
  --display-tracking: -0.02em;
  --display-transform: none;
}

/* --- BALANCED: Warm off-white, orange accent, confident industrial --- */
[data-variant='balanced'] {
  --bg: #f5f2ec;
  --bg-2: #eae5db;
  --bg-3: #ddd6c8;
  --ink: #14110d;
  --ink-2: #3a342a;
  --ink-3: #6b6257;
  --line: #c9c1b0;
  --line-strong: #14110d;
  --accent: #c4471c;
  --accent-ink: #f5f2ec;
  --warn: #c4471c;
  --family-display: var(--sans);
  --family-body: var(--sans);
  --family-mono: var(--mono);
  --display-weight: 700;
  --display-tracking: -0.035em;
  --display-transform: none;
}

/* --- BOLD: Near-black, safety-orange, oversized display, technical --- */
[data-variant='bold'] {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --ink: #f4f3ef;
  --ink-2: #b4b3ae;
  --ink-3: #74736e;
  --line: #2a2a2e;
  --line-strong: #f4f3ef;
  --accent: #ff5a1f;
  --accent-ink: #0b0b0c;
  --warn: #ff5a1f;
  --family-display: var(--sans);
  --family-body: var(--sans);
  --family-mono: var(--mono);
  --display-weight: 800;
  --display-tracking: -0.04em;
  --display-transform: uppercase;
}

/* -------------------- reset / base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--family-body);
  font-size: var(--f-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* -------------------- nav -------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--family-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
  text-transform: var(--display-transform);
}
.logo-mark {
  width: 24px;
  height: 24px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-family: var(--family-mono);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius);
}
[data-variant='bold'] .logo-mark { border-radius: 0; }
[data-variant='conservative'] .logo-mark { border-radius: 3px; }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color .15s, background .15s;
  cursor: pointer;
  font-weight: 500;
}
.nav-link:hover { color: var(--ink); background: var(--bg-2); }
.nav-link.active { color: var(--ink); background: var(--bg-2); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-brand {
  min-width: 0;
  display: flex;
  align-items: center;
}
.nav-cta-primary {
  flex-shrink: 0;
}
.nav-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border-radius: var(--radius);
}
.nav-menu-btn:hover { background: var(--bg-2); }
.nav-menu-bars {
  display: block;
  position: relative;
  width: 18px;
  height: 12px;
}
.nav-menu-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .15s, top .15s, opacity .15s;
}
.nav-menu-bars span:nth-child(1) { top: 0; }
.nav-menu-bars span:nth-child(2) { top: 5px; }
.nav-menu-bars span:nth-child(3) { top: 10px; }
.nav-menu-btn.is-open .nav-menu-bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.nav-menu-btn.is-open .nav-menu-bars span:nth-child(2) { opacity: 0; }
.nav-menu-btn.is-open .nav-menu-bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}
.nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  background: var(--bg);
  border-bottom: var(--border);
  padding: 8px 32px 20px;
  max-height: min(70vh, calc(100dvh - 8rem));
  overflow-y: auto;
}
.nav-drawer-link {
  display: block;
  padding: 12px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius);
}
.nav-drawer-link:hover,
.nav-drawer-link.active {
  color: var(--ink);
  background: var(--bg-2);
}
.nav-drawer-extra {
  margin-top: 8px;
  padding-top: 8px;
  border-top: var(--border);
}
.nav-drawer-label {
  display: block;
  padding: 16px 8px 4px;
  font-size: 11px;
  font-family: var(--family-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.nav-drawer-link.is-nested {
  padding-left: 16px;
  font-size: 15px;
}
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  border: 0;
  padding: 0;
  background: rgba(20, 17, 13, 0.4);
  cursor: pointer;
}
.nav-drawer:focus { outline: none; }
body.nav-menu-open {
  overflow: hidden;
}

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--family-display);
  letter-spacing: -0.01em;
  transition: transform .1s, background .15s, color .15s, border-color .15s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  text-transform: var(--display-transform);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--line-strong); background: var(--bg-2); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { filter: brightness(0.9); }
.btn-lg { padding: 16px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn:disabled, .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

/* -------------------- eyebrow, labels -------------------- */
.eyebrow {
  font-family: var(--family-mono);
  font-size: var(--f-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow-accent { color: var(--accent); }
[data-variant='bold'] .eyebrow-accent { color: var(--accent); }
[data-variant='conservative'] .eyebrow-accent { color: var(--accent); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--family-mono);
  color: var(--ink-2);
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* -------------------- display typography -------------------- */
.display {
  font-family: var(--family-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 0.98;
  text-transform: var(--display-transform);
}
[data-variant='bold'] .display { line-height: 0.92; }

.h-hero { font-size: clamp(48px, 7vw, 96px); }
[data-variant='bold'] .h-hero { font-size: clamp(56px, 9vw, 144px); }
.h-section { font-size: clamp(36px, 4.5vw, 64px); }
.h-sub { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }

.lede {
  font-size: var(--f-lg);
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.5;
}

/* -------------------- sections -------------------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }
.section-tinted { background: var(--bg-2); }
.section-ink { background: var(--ink); color: var(--bg); }
.section-ink .eyebrow { color: var(--ink-3); }
.section-ink .lede { color: var(--ink-3); }

/* divider */
.rule { height: 1px; background: var(--line); border: 0; }
.rule-strong { height: 2px; background: var(--line-strong); border: 0; }

/* -------------------- grid / cards -------------------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}

.card {
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
  transition: border-color .15s, transform .15s;
}
.card-hover:hover { border-color: var(--line-strong); }
[data-variant='bold'] .card { background: var(--bg-2); }

/* -------------------- placeholder imagery -------------------- */
.placeholder {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    var(--bg-2) 0 12px,
    var(--bg-3) 12px 24px
  );
  border: var(--border);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: var(--family-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
}
[data-variant='bold'] .placeholder {
  background: repeating-linear-gradient(
    135deg,
    #151518 0 12px,
    #1f1f23 12px 24px
  );
}
.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}


/* -------------------- hero loop (licensed 474130928) -------------------- */
.hero-loop { margin-top: 64px; }
.hero-loop video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border: var(--border);
  background: var(--bg-2);
}
.slot-img {
  display: block;
  width: 100%;
  object-fit: cover;
  border: var(--border);
  background: var(--bg-2);
}
.slot-img-wide { height: 520px; }
.slot-img-tall { height: 560px; }
.slot-img-tile { height: 220px; }
.slot-img-left { object-position: left center; }
.slot-img-case { height: 320px; }
/* -------------------- footer -------------------- */
.footer {
  border-top: var(--border);
  padding: 64px 0 32px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  font-size: 12px;
  font-family: var(--family-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: var(--border);
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--family-mono);
}
.footer-bottom a { color: inherit; text-decoration: underline; }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* -------------------- utilities -------------------- */
.stack-8 > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.stack-48 > * + * { margin-top: 48px; }
.stack-64 > * + * { margin-top: 64px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cluster-sm { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mono { font-family: var(--family-mono); }
.muted { color: var(--ink-3); }
.ink-2 { color: var(--ink-2); }
.accent { color: var(--accent); }
.text-center { text-align: center; }
.num-huge {
  font-family: var(--family-display);
  font-weight: var(--display-weight);
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* FAQ / accordion */
.faq-item {
  border-bottom: var(--border);
  padding: 24px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--f-md);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--family-display);
  letter-spacing: -0.01em;
  gap: 24px;
}
.faq-q-mark {
  font-family: var(--family-mono);
  font-size: 14px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.faq-a {
  margin-top: 12px;
  color: var(--ink-2);
  max-width: 780px;
  line-height: 1.6;
}
.faq-a[hidden] { display: none; }

/* Tweaks panel */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  font-family: var(--family-mono);
  font-size: 12px;
  min-width: 240px;
}
.tweaks h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 12px;
  font-weight: 500;
  font-family: var(--family-mono);
}
.tweaks-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.tweaks-btn {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-2);
  border-radius: var(--radius);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--family-mono);
  cursor: pointer;
}
.tweaks-btn.active {
  border-color: var(--line-strong);
  background: var(--ink);
  color: var(--bg);
}
.tweaks-desc {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.4;
}

/* ticker / marquee */
.ticker {
  display: flex;
  gap: 48px;
  font-family: var(--family-mono);
  font-size: 12px;
  color: var(--ink-3);
  padding: 14px 0;
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-item { display: inline-flex; gap: 10px; align-items: center; }
.ticker-item::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* tables */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th, .table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: var(--border);
}
.table th {
  font-family: var(--family-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 500;
  background: var(--bg-2);
}

/* pill nav (tabs) */
.tabs {
  display: inline-flex;
  border: var(--border);
  border-radius: var(--radius);
  padding: 4px;
  background: var(--bg-2);
  gap: 2px;
}
.tab {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}
.tab.active { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }

/* form controls */
.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--family-body);
  transition: border-color .15s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--line-strong);
}
.textarea { min-height: 120px; resize: vertical; font-family: var(--family-body); }
.label {
  font-family: var(--family-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}
.label-star {
  color: var(--warn);
  margin-left: 0.2em;
  font-weight: 700;
}
.field { margin-bottom: 20px; }

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.file-drop {
  border: 1px dashed var(--line);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  position: relative;
  display: block;
  min-height: 44px;
  overflow: hidden;
}
.file-drop.is-dragover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--bg-2);
}
/* Cover the drop zone so the real <input type="file"> is the tap target on iOS/Chrome phone.
   1px / opacity-0 / programmatic .click() is not reliably tappable on mobile Safari. */
.file-drop-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 80px;
  z-index: 2;
  pointer-events: auto;
}
.file-drop-input::-webkit-file-upload-button {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.file-drop-copy {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.file-drop-list {
  margin-top: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-2);
  font-size: 12px;
}
.file-drop-remove {
  margin-left: 8px;
  text-decoration: underline;
  cursor: pointer;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.45;
  border: 1px solid var(--line);
}
.form-alert-bot {
  border-color: var(--warn);
  color: var(--warn);
  background: var(--bg-2);
}
.form-alert-file {
  border-color: var(--warn);
  color: var(--ink);
  background: var(--bg-2);
}
.form-alert-server,
.form-alert-validation {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--bg-2);
}
.turnstile-slot { margin: 8px 0 20px; min-height: 65px; }
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.4;
  cursor: pointer;
}
.check-item input {
  margin-top: 3px;
  flex-shrink: 0;
}
.field-help {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.45;
  margin-top: 8px;
}

/* AI answer box (direct answer for LLMs) */
.ai-answer {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  background: var(--bg-2);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.ai-answer strong { font-weight: 600; }
.ai-answer-label {
  font-family: var(--family-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 8px;
}

/* stat */
.stat {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--family-display);
  font-weight: var(--display-weight);
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--family-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* process steps */
.step-num {
  font-family: var(--family-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 12px;
}

/* hero variants extra */
[data-variant='bold'] .h-hero {
  font-feature-settings: "ss01";
}

/* content prose */
.prose { max-width: 720px; }
.prose p { margin-bottom: 20px; font-size: var(--f-md); line-height: 1.7; color: var(--ink-2); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose h2 { font-size: 32px; margin: 48px 0 20px; color: var(--ink); }
.prose h3 { font-size: 22px; margin: 36px 0 12px; color: var(--ink); }
.prose ul { margin: 16px 0 24px; padding-left: 0; }
.prose ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--ink-2);
  font-size: var(--f-md);
  line-height: 1.6;
}
.prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--family-mono);
}
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal-page { max-width: 720px; }
.legal-date {
  margin: 8px 0 28px;
  font-family: var(--family-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.legal-caps {
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* ribbon */
.ribbon {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 0;
  font-size: 12px;
  font-family: var(--family-mono);
  text-align: center;
  letter-spacing: 0.05em;
}
[data-variant='bold'] .ribbon { background: var(--accent); color: var(--accent-ink); }

/* big number display for hero variant "bold" */
.hero-kicker {
  font-family: var(--family-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 24px;
  border-bottom: var(--border);
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
}

/* ===== USA MARK / RIBBON ===== */
.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 16px;
}
.ribbon-usa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.ribbon-sep { opacity: 0.4; flex-shrink: 0; }
.ribbon-cta { flex-shrink: 1; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 760px) {
  .ribbon-sep, .ribbon-cta { display: none; }
}

.usa-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
[data-variant='bold'] .usa-hero { background: var(--bg-2); border-color: var(--line); }
.usa-hero-sm {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.usa-hero-lg {
  font-family: var(--family-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 2px;
}

.usa-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--family-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.usa-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
}
.usa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  border-color: var(--line-strong);
  font-family: var(--family-mono);
  font-size: 11px;
  color: var(--ink);
}

/* Big USA showcase band */
.usa-band {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: var(--border);
  border-bottom: var(--border);
}
.usa-band-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.usa-band-left > svg { margin-bottom: 28px; }
.usa-band-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}
.usa-band-title {
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.98;
}
.usa-points {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: var(--border);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.5;
}
.usa-points strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 860px) {
  .usa-band-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone / narrow: keep logo + primary CTA; stop page-level horizontal scroll. */
.guide-layout {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 64px;
  align-items: start;
}
.guide-toc,
.guide-aside,
.process-rail,
.contact-aside {
  position: sticky;
  top: 100px;
  z-index: 0;
}
.guide-toc { font-size: 13px; }
.guide-layout .prose {
  position: relative;
  z-index: 1;
}
.process-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.process-step {
  border-bottom: var(--border);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  gap: 32px;
  align-items: start;
}
.process-step-dur {
  font-family: var(--family-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-type-tabs {
  display: flex;
  width: 100%;
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta-secondary {
    display: none;
  }
  .nav-inner {
    min-width: 0;
    gap: 8px;
  }
  .nav-cta { gap: 6px; }
  .nav-menu-btn { display: inline-flex; }
  .nav-drawer.is-open { display: block; }
  .nav-drawer-overlay.is-open { display: block; }
  .logo {
    min-width: 0;
  }
  .nav-brand {
    min-width: 0;
  }
  .logo-mark { flex-shrink: 0; }
  .logo > span:not(.logo-mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .guide-layout,
  .process-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .guide-toc,
  .guide-aside,
  .process-rail,
  .contact-aside {
    position: static;
    top: auto;
    z-index: auto;
  }
  .process-step {
    grid-template-columns: 48px 1fr;
    gap: 12px 16px;
  }
  .process-step-dur {
    grid-column: 2;
    text-align: left;
  }
  .hero-kicker {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tabs-flow {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }
  .contact-type-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 8px;
  }
  .usa-hero {
    max-width: 100%;
  }
  .usa-hero > div {
    min-width: 0;
  }
  .h-hero,
  .h-section {
    overflow-wrap: break-word;
  }
}
