/* ============================================================
   Straightway Admin L.L.C. — Monochrome Operations Interface
   Pure #000 / #0a0a0a / #fff · 0px sharp geometry · 1px hairlines
   ============================================================ */

:root {
  --bg: #000000;
  --bg-1: #0a0a0a;
  --bg-2: #121212;
  --line: #1d1d1d;
  --line-2: #2a2a2a;
  --fg: #e8e8e8;
  --fg-strong: #fafafa;
  --muted: #8a8a8a;
  --faint: #565656;
  --white: #ffffff;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1200px;
  --pad: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background: var(--white);
  color: #000000;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 2px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout & constrained 1200px hairlines ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section,
.statband,
.cta,
.footer {
  position: relative;
}

.section::before,
.statband::before,
.cta::before,
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(min(var(--maxw), 100%) - 2 * var(--pad));
  height: 1px;
  background: var(--line);
  pointer-events: none;
  z-index: 5;
}

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--white);
  display: inline-block;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  line-height: 1.05;
}

.h-section {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 50ch;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--white);
  color: #000000;
}

.btn-primary:hover {
  background: #d6d6d6;
}

.btn-ghost {
  background: transparent;
  color: var(--fg-strong);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: #555555;
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.btn .arrow {
  transition: transform 0.2s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background 0.2s var(--ease);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.82);
}

.nav-inner {
  height: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 17px;
  color: var(--fg-strong);
  justify-self: start;
}

.brand .mark {
  width: 22px;
  height: 22px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.nav-links a:hover {
  color: var(--fg-strong);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--fg-strong);
  background: transparent;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.status-pill:hover {
  border-color: #4a4a4a;
  background: var(--bg-1);
}

.status-pill .sq {
  width: 6px;
  height: 6px;
  background: var(--white);
  display: inline-block;
}

.nav-toggle {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 72% 18%, #161616 0%, #0b0b0b 46%, #000000 78%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(75% 75% at 76% 36%, #000 0%, rgba(0, 0, 0, 0.45) 52%, transparent 88%);
  mask-image: radial-gradient(75% 75% at 76% 36%, #000 0%, rgba(0, 0, 0, 0.45) 52%, transparent 88%);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 84%, #000000 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(92px, 14vw, 176px) var(--pad) clamp(72px, 10vw, 128px);
  display: grid;
  gap: 32px;
}

.hero-copy {
  max-width: 880px;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(42px, 6.8vw, 86px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.5;
  text-wrap: pretty;
}

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

.hero-meta {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--faint);
  display: inline-block;
}

/* ---------- stats band ---------- */
.statband {
  background: #000000;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 46px 40px;
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat .num {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg-strong);
  font-variant-numeric: tabular-nums;
}

.stat .lbl {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ============================================================
   SECTION HEADERS & PROBLEM / SOLUTION STACK
   ============================================================ */
.sec-head {
  padding: clamp(60px, 8vw, 96px) 0 clamp(30px, 4vw, 48px);
  max-width: 760px;
}

.sec-head .eyebrow {
  margin-bottom: 20px;
}

.sec-head .lead {
  margin-top: 20px;
}

.stack {
  position: relative;
  z-index: 1;
}

.stack-panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(82px, 12vh, 128px) 0 clamp(60px, 9vh, 96px);
  overflow: hidden;
  will-change: transform;
}

#solution.stack-panel {
  z-index: 2;
}

.panel-body {
  width: 100%;
  transform-origin: center 42%;
  will-change: transform, opacity, filter;
}

.stack-panel .sec-head {
  padding: 0 0 clamp(28px, 4vw, 44px);
}

.stack-panel::before {
  z-index: 6;
}

.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.prob {
  padding: 38px 30px 40px;
  border-left: 1px solid var(--line);
  position: relative;
}

.prob:first-child {
  border-left: none;
  padding-left: 0;
}

.prob:last-child {
  padding-right: 0;
}

.prob .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.1em;
}

.prob h3 {
  font-size: 22px;
  margin: 24px 0 12px;
  letter-spacing: -0.02em;
}

.prob p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.feat {
  padding: 38px 38px 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.25s var(--ease);
}

.feat:nth-child(odd) {
  padding-left: 0;
}

.feat:nth-child(even) {
  padding-right: 0;
  border-right: none;
}

.feat:nth-last-child(-n+2) {
  border-bottom: none;
}

.feat:hover {
  background: var(--bg-1);
}

.feat .tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.feat .metric {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg-strong);
  line-height: 1.05;
}

.feat h3 {
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
}

.feat p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 42ch;
}

@media (prefers-reduced-motion: reduce) {
  .stack-panel {
    position: static;
    min-height: 0;
    padding: clamp(60px, 8vw, 96px) 0;
    display: block;
  }
  .panel-body {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

@media (max-width: 760px) {
  .stack-panel {
    position: static;
    min-height: 0;
    padding: clamp(56px, 12vw, 84px) 0;
    display: block;
  }
  .panel-body {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

/* ============================================================
   OPERATIONS BLUEPRINT (Tabs + 3 Steps)
   ============================================================ */
.how {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 100px);
}

.how > * {
  min-width: 0;
}

.code-panel {
  border: 1px solid var(--line);
  background: #060606;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.code-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.code-tabs::-webkit-scrollbar {
  display: none;
}

.code-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 46px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  transition: color 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease);
}

.code-tab:hover {
  color: var(--fg-strong);
  background: rgba(255, 255, 255, 0.02);
}

.code-tab.active {
  color: var(--fg-strong);
  border-bottom-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.code-body {
  flex: 1;
  padding: 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.78;
  color: var(--fg);
  overflow-x: auto;
  min-height: 290px;
}

.spec-line {
  display: block;
  white-space: pre-wrap;
}

.spec-com {
  color: var(--faint);
}

.spec-key {
  color: var(--white);
}

.spec-mut {
  color: var(--muted);
}

.spec-val {
  color: #b9b9b9;
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 6px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.step:first-child {
  border-top: none;
  padding-top: 4px;
}

.step .sidx {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
  padding-top: 3px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 7px;
}

.step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ============================================================
   GOVERNANCE STATEMENT
   ============================================================ */
.oss {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(60px, 8vw, 100px) 0;
}

.oss-single > div {
  max-width: 680px;
}

.oss .eyebrow {
  margin-bottom: 20px;
}

.oss h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.oss p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 28px;
}

.oss-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   FINAL DOT-MATRIX CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.cta-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.24;
  -webkit-mask-image: radial-gradient(90% 100% at 65% 50%, #000 20%, rgba(0, 0, 0, 0.5) 58%, transparent 88%);
  mask-image: radial-gradient(90% 100% at 65% 50%, #000 20%, rgba(0, 0, 0, 0.5) 58%, transparent 88%);
}

.cta-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(95% 130% at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 62%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

.cta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(76px, 11vw, 136px) var(--pad);
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.cta-copy h2 {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.cta-copy p {
  color: var(--muted);
  font-size: 17.5px;
  margin-top: 22px;
  max-width: 46ch;
  line-height: 1.5;
}

.cta-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  padding-bottom: clamp(64px, 9vw, 110px);
  align-items: start;
}

.contact-meta {
  border-top: 1px solid var(--line);
}

.contact-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row .k {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.contact-row .v {
  font-size: 17px;
  color: var(--fg-strong);
  font-weight: 500;
}

.contact-row a.v:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 1px solid var(--line-2);
  background: var(--bg-1);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--bg-1);
  padding: 32px;
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  background: #000000;
  border: 1px solid var(--line-2);
  color: var(--fg-strong);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 0.16s var(--ease);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--white);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  min-height: 20px;
  line-height: 1.55;
}

.form-status.err {
  color: var(--fg-strong);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px var(--pad) 76px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.footer .brand {
  margin-bottom: 18px;
}

.footer .brand-lg {
  font-size: 21px;
}

.footer .brand-lg .mark {
  width: 28px;
  height: 28px;
}

.footer .tagline {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 38ch;
  line-height: 1.55;
}

.footer-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-config {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 2;
  color: var(--muted);
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  justify-self: end;
  width: max-content;
  max-width: 100%;
}

.footer-config .brace,
.footer-config .p {
  color: var(--faint);
}

.footer-config .k {
  color: var(--muted);
}

.footer-config .s {
  color: var(--fg-strong);
}

.footer-config a.lnk {
  color: var(--fg-strong);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.15s var(--ease);
}

.footer-config a.lnk:hover {
  border-color: var(--white);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: 0.06s;
}

.reveal.d2 {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.mnav {
  position: fixed;
  left: 0;
  right: 0;
  top: 60px;
  z-index: 99;
  background: #000000;
  border-bottom: 1px solid var(--line);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.mnav.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mnav a {
  display: block;
  padding: 17px var(--pad);
  border-bottom: 1px solid var(--line);
  color: var(--fg-strong);
  font-size: 16px;
  font-weight: 500;
}

.mnav .mcta {
  padding: 18px var(--pad) 22px;
  border-bottom: none;
}

.mnav .mcta .btn {
  width: 100%;
  height: 48px;
}

/* ============================================================
   LEGAL PAGES (/privacy, /terms)
   ============================================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--pad) clamp(64px, 9vw, 120px);
}

.legal-head {
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.legal-head h1 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.03em;
}

.legal-head .updated {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 18px;
}

.legal-head .intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 22px;
  max-width: 64ch;
}

.legal h2 {
  font-size: clamp(21px, 2.4vw, 27px);
  letter-spacing: -0.02em;
  margin: clamp(38px, 5vw, 54px) 0 16px;
}

.legal h2 .sec-no {
  font-family: var(--mono);
  font-size: 0.62em;
  color: var(--faint);
  margin-right: 12px;
  font-weight: 400;
}

.legal p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
  margin: 14px 0;
  max-width: 70ch;
}

.legal ul {
  list-style: none;
  margin: 14px 0;
  display: grid;
  gap: 11px;
  max-width: 70ch;
}

.legal li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--faint);
}

.legal a {
  color: var(--fg-strong);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.15s var(--ease);
}

.legal a:hover {
  border-color: var(--white);
}

.legal .lead-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
  border-bottom: none;
}

.legal .lead-back:hover {
  color: var(--fg-strong);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .how,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 20px;
  }

  .nav-links,
  .nav-right .status-pill {
    display: none;
  }

  .nav-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-2);
    background: transparent;
    cursor: pointer;
    flex: none;
  }

  .nav-toggle span {
    width: 17px;
    height: 1.5px;
    background: var(--fg);
    position: relative;
    transition: background 0.15s var(--ease);
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 17px;
    height: 1.5px;
    background: var(--fg);
    transition: transform 0.22s var(--ease), top 0.22s var(--ease);
  }

  .nav-toggle span::before {
    top: -5.5px;
  }

  .nav-toggle span::after {
    top: 5.5px;
  }

  .nav-toggle.open span {
    background: transparent;
  }

  .nav-toggle.open span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle.open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hero-inner {
    padding-top: clamp(78px, 20vw, 112px);
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.5vw, 56px);
  }

  .hero-actions .btn,
  .cta-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 26px 0;
    border-left: none;
  }

  .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .sec-head {
    padding: clamp(48px, 12vw, 72px) 0 clamp(24px, 6vw, 36px);
  }

  .prob-grid {
    grid-template-columns: 1fr;
  }

  .prob,
  .prob:first-child,
  .prob:last-child {
    padding: 30px 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .prob:first-child {
    border-top: none;
    padding-top: 4px;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .feat,
  .feat:nth-child(odd),
  .feat:nth-child(even) {
    padding: 30px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .feat:last-child {
    border-bottom: none;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px var(--pad);
  }

  .footer-config {
    justify-self: start;
    width: 100%;
    font-size: 12.5px;
    border: 1px solid var(--line);
    background: var(--bg-1);
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(32px, 11vw, 44px);
  }
}
