/* AABox Managed Business Systems. Editorial / poster aesthetic.
   Sans-only, warm palette, column-based plans. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type. */
  --fs-display: clamp(2rem, 1.1rem + 2vw, 2.85rem);
  --fs-h2: clamp(1.4rem, 1rem + 1.2vw, 1.85rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-lede: clamp(1.06rem, 0.95rem + 0.4vw, 1.2rem);
  --fs-price-display: clamp(2.2rem, 1.4rem + 3.5vw, 3.4rem);
  --fs: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;

  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4.5rem;
  --s9: 6rem;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4.5vw, 2.5rem);
  --r-sm: 2px;
  --r-md: 4px;
  --hair: 1px;
  --rule-strong: 2px;

  --dur: 160ms;
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* Light theme. Warm bone paper, deep walnut ink. */
:root, :root[data-theme="light"] {
  color-scheme: light;
  --bg: #faf6ed;
  --bg-alt: #f3ecdc;
  --bg-deep: #ede5d2;

  --ink: #1a1612;
  --ink-2: #4a4239;
  --ink-3: #756a5a;
  --ink-4: #a39884;

  --line: #cdbfa3;
  --line-2: #a89878;

  --accent: #b8421a;
  --accent-2: #8e3211;
  --accent-soft: #f4d8c5;
  --accent-ink: #5a1f08;
  --on-accent: #faf6ed;
}

/* Dark theme. Walnut black, cream ink. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #15110b;
    --bg-alt: #1c1812;
    --bg-deep: #221d15;

    --ink: #f0e6d2;
    --ink-2: #c4b89e;
    --ink-3: #8c8470;
    --ink-4: #5a5446;

    --line: #2e2920;
    --line-2: #463f32;

    --accent: #d96535;
    --accent-2: #ef7e51;
    --accent-soft: #2c1a10;
    --accent-ink: #f4c4a6;
    --on-accent: #15110b;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15110b;
  --bg-alt: #1c1812;
  --bg-deep: #221d15;

  --ink: #f0e6d2;
  --ink-2: #c4b89e;
  --ink-3: #8c8470;
  --ink-4: #5a5446;

  --line: #2e2920;
  --line-2: #463f32;

  --accent: #d96535;
  --accent-2: #ef7e51;
  --accent-soft: #2c1a10;
  --accent-ink: #f4c4a6;
  --on-accent: #15110b;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: oldstyle-nums proportional-nums;
}
h1, h2, h3, h4, p, ul, ol, dl, dt, dd, figure, fieldset, legend, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 0.5rem 0.75rem; text-decoration: none; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(3rem, 4vw + 2rem, 5.5rem);
  scroll-margin-top: 80px;
}
.section + .section {
  border-top: var(--hair) solid var(--line);
}

.section-head {
  margin-bottom: clamp(1.4rem, 2vw + 0.5rem, 2.5rem);
  max-width: 70ch;
}
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.section-sub {
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: var(--fs-lede);
  max-width: 56ch;
  line-height: 1.55;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: var(--hair) solid var(--line);
}
.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 64px;
  padding-block: 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: block;
  flex-shrink: 0;
  color: var(--ink);
}
.brand-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  line-height: 1.05;
}
.brand-name {
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}
.brand-tagline {
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  color: var(--ink-3);
}

.primary-nav { justify-self: center; }
.primary-nav ul {
  display: flex;
  gap: clamp(0.7rem, 2vw, 1.4rem);
}
.primary-nav a {
  display: inline-block;
  padding: 0.55rem 0.3rem;
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0.3rem; right: 0.3rem; bottom: 0.4rem;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.icon-btn.nav-toggle { display: none; }
.nav-toggle-lines { display: inline-grid; gap: 4px; padding: 4px 0; }
.nav-toggle-lines span { display: block; width: 18px; height: 1.5px; background: currentColor; }

.mobile-nav {
  display: none;
  border-top: var(--hair) solid var(--line);
  padding: 0.75rem var(--gutter) 1.25rem;
}
.mobile-nav ul { display: grid; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--ink);
  border-bottom: var(--hair) solid var(--line);
  font-size: 1rem;
  font-weight: 600;
}
.mobile-nav .btn { margin-top: 0.85rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.1;
  letter-spacing: -0.005em;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--on-accent);
}
.btn-primary:active { transform: translateY(1px); }
.btn-text {
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 0.4rem;
  font-weight: 600;
}
.btn-text:hover { color: var(--accent); }
.btn.full { width: 100%; }

.link-btn {
  display: inline;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  font-weight: 600;
}
.link-btn:hover { color: var(--accent-2); text-decoration-thickness: 2px; }

/* Icon-button (theme toggle, hamburger) */
.icon-btn {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 32px;
  padding: 0 0.6rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.85rem;
  background: var(--bg);
  font-weight: 600;
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-2); }

/* HERO. */
.hero {
  position: relative;
  padding-block: clamp(1rem, 1.5vw + 0.4rem, 1.8rem) clamp(2rem, 3vw + 1rem, 3.5rem);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: 0;
}
.hero-text {
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.4rem);
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 18ch;
  text-wrap: balance;
  padding-bottom: 0.1em;
}
.lede {
  font-size: var(--fs-lede);
  color: var(--ink-2);
  max-width: 50ch;
  line-height: 1.55;
}
.hero-note {
  padding-left: 0.95rem;
  border-left: var(--rule-strong) solid var(--accent);
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 50ch;
}
.hero-note strong { color: var(--ink); font-weight: 700; }
.hero-note a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  white-space: nowrap;
}
.hero-note a:hover { color: var(--accent); }

/* Hero illustration */
.hero-art {
  position: relative;
  color: var(--ink);
  width: 100%;
}
.hero-illustration {
  width: 100%;
  height: auto;
  display: block;
}
.hero-grid { color: var(--ink-3); opacity: 0.35; }
.hero-hatch { color: var(--ink-3); opacity: 0.55; }
.hero-ground { color: var(--ink-3); opacity: 0.5; }

.hero-meta {
  margin-top: clamp(0.6rem, 1vw, 1rem);
  padding-top: 1rem;
  border-top: var(--rule-strong) solid var(--ink);
}
.price-line {
  font-size: 1rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  max-width: 50ch;
}
.price-line strong {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
}

/* THE MACHINERY UNDERNEATH. */
.frame-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.frame-art {
  color: var(--ink);
  width: 100%;
}
.frame-illustration {
  width: 100%;
  height: auto;
  display: block;
}
.frame-prose {
  display: grid;
  gap: 0.85rem;
  max-width: 60ch;
}
.frame-prose p {
  color: var(--ink-2);
  font-size: var(--fs-lede);
  line-height: 1.55;
}

/* ===== CHOOSER ===== */
.chooser {
  display: grid;
  border-top: var(--rule-strong) solid var(--ink);
  border-bottom: var(--hair) solid var(--line);
}
.chooser-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 0.85rem;
  padding: 1rem 0.25rem;
  border-bottom: var(--hair) solid var(--line);
  cursor: pointer;
}
.chooser-row:last-child { border-bottom: 0; }
.chooser-row input[type="radio"] {
  margin-top: 0.18rem;
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.chooser-text { display: grid; gap: 0.2rem; }
.chooser-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: -0.005em;
}
.chooser-note {
  font-size: 0.92rem;
  color: var(--ink-3);
}
.chooser-row:hover .chooser-label { color: var(--accent); }
.chooser-row:has(input:checked) {
  background: var(--bg-alt);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

.recommendation {
  margin-top: 1.5rem;
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 72ch;
}
.rec-label {
  display: inline-block;
  font-weight: 700;
  color: var(--ink-3);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.5rem;
}
.rec-plan {
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}
.rec-plan:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* PLANS. Column composition, no card outlines.
   Subgrid so name/tag/price/bullets/actions line up across all three. */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr auto;
  border-top: var(--rule-strong) solid var(--ink);
  border-bottom: var(--rule-strong) solid var(--ink);
}
.plan {
  position: relative;
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0.85rem;
  padding: 1.6rem 1.4rem 1.6rem;
  border-right: var(--hair) solid var(--line);
}
.plan:last-child { border-right: 0; }
.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.plan-tag {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.4;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.5rem;
  padding-block: 0.4rem;
  font-variant-numeric: tabular-nums;
  border-block: var(--hair) solid var(--line);
}
.plan-price-amount {
  font-size: var(--fs-price-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price-period {
  color: var(--ink-3);
  font-size: 0.95rem;
  font-weight: 500;
}

.plan-bullets {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.plan-bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.plan-bullets li::before {
  content: "\2022"; /* bullet */
  position: absolute;
  left: 0.1rem;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.5;
}

.plan-actions {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Recommended plan: a subtle rust top-rule on the column only.
   The chooser text "Starting point: Essential" already names it explicitly. */
.plan.is-recommended {
  box-shadow: inset 0 3px 0 0 var(--accent);
}
.plan.is-recommended .plan-name::after { content: none; }

.plans-foot {
  margin-top: 1.6rem;
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* ===== WHAT WE DO ===== */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule-strong) solid var(--ink);
  border-bottom: var(--hair) solid var(--line);
}
.services > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: var(--hair) solid var(--line);
}
.services > div:nth-last-child(-n+2) { border-bottom: 0; }
.services > div:nth-child(odd) {
  border-right: var(--hair) solid var(--line);
  padding-right: 1.8rem;
}
.services > div:nth-child(even) { padding-left: 1.8rem; }
.services dt {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  align-self: start;
  padding-top: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.service-mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services dd {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.services-aside { margin-top: 1.3rem; font-size: 0.95rem; }

/* ===== LOCATIONS / OPS-FACTS ===== */
.locations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.locations-grid h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
  line-height: 1.05;
}
.locations-grid p {
  color: var(--ink-2);
  font-size: var(--fs-lede);
  max-width: 50ch;
  line-height: 1.55;
}

.ops-facts {
  border-top: var(--rule-strong) solid var(--ink);
}
.ops-facts li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: var(--hair) solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.ops-label {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== FAQ ===== */
.faq-wrap { max-width: 880px; }
.faq {
  border-top: var(--rule-strong) solid var(--ink);
}
.faq-item {
  border-bottom: var(--hair) solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1;
  width: 1.1rem;
  text-align: center;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-item[open] summary::after {
  content: "\2212"; /* minus sign */
  transform: none;
}
.faq summary:hover { color: var(--accent); }
.faq-item[open] summary {
  border-bottom: var(--hair) solid var(--line);
  margin-bottom: 0;
  padding-bottom: 0.6rem;
}
.faq-body {
  padding: 0.7rem 0 1.2rem 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  max-width: 70ch;
  line-height: 1.65;
}
.faq-body p + p { margin-top: 0.7rem; }

/* ===== CONTACT ===== */
.contact-intro h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.contact-intro p {
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  max-width: 60ch;
}
.contact-actions {
  margin-top: 1.4rem;
}

.modal-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.8rem;
}
.modal-form .cf-turnstile { margin-top: 0.2rem; min-height: 65px; }
.field { display: grid; gap: 0.35rem; }
.field label {
  font-size: 0.82rem;
  color: var(--ink-3);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  color: var(--ink);
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 4.5rem; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.form-status {
  font-size: 0.92rem;
  padding: 0.7rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: var(--rule-strong) solid var(--accent);
  color: var(--ink-2);
  display: none;
}
.form-status.is-visible { display: block; }

/* ===== FOOTER ===== */
.site-footer {
  padding-block: 2.5rem;
  border-top: var(--rule-strong) solid var(--ink);
  margin-top: 1rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.1;
}
.footer-name {
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0;
}
.footer-tagline {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin: 0;
}
.footer-nav ul {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-legal {
  text-align: right;
  max-width: 38ch;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ===== MODALS ===== */
.modal {
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 100%;
  max-width: min(640px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
}
.modal[id="modal-compare"] { max-width: min(860px, calc(100vw - 2rem)); }
.modal::backdrop { background: rgba(0,0,0,0.55); }
.modal-shell {
  background: var(--bg);
  border-top: 3px solid var(--accent);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}
.modal-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.modal-close {
  font-size: 1.4rem;
  line-height: 1;
  border: 0;
  background: transparent;
  align-self: flex-start;
  margin-top: -0.15rem;
}
.modal-close:hover { color: var(--accent); }
.modal-body {
  padding: 1.2rem 1.3rem 1.4rem;
  overflow-y: auto;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.6;
}
.modal-body h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}
.modal-body ul { display: grid; gap: 0.4rem; }
.modal-body ul li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.94rem;
}
.modal-body ul li::before {
  content: "\2022";
  position: absolute;
  left: 0.05rem; top: 0;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.6;
}
.modal-body p + p,
.modal-body p + h3,
.modal-body p + ul,
.modal-body h3 + ul { margin-top: 0.6rem; }
.modal-note {
  margin-top: 1.1rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  color: var(--ink-3);
  background: var(--bg-alt);
  border-left: 2px solid var(--line-2);
}
.modal-foot {
  padding: 0.9rem 1.3rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  border-top: 1px solid var(--line);
}

/* Help wizard */
.help-list { display: grid; gap: 1.1rem; margin-top: 0.8rem; }
.help-q {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
}
.help-options { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 500;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
}

.help-result {
  margin-top: 1.2rem;
  padding: 0.95rem 1.1rem;
  border-top: var(--rule-strong) solid var(--accent);
  background: var(--bg-alt);
}
.help-result-lead {
  font-weight: 800;
  color: var(--ink-3);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.help-result-plan {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.2rem;
  letter-spacing: -0.02em;
}
.help-result-why {
  margin-top: 0.4rem;
  color: var(--ink-2);
  font-size: 0.93rem;
}

/* In/Out columns */
.in-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.in-out h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0.6rem;
}
.in-out section:first-child h3 {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.in-out section:last-child h3 {
  color: var(--ink-3);
}
.in-out ul { display: grid; gap: 0.45rem; }
.in-out section:first-child li::before {
  content: "\2022";
  position: absolute; left: 0.05rem; top: 0;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.5;
}
.in-out section:last-child li::before {
  content: "\2022";
  position: absolute; left: 0.05rem; top: 0;
  color: var(--ink-4);
  font-weight: 700;
  line-height: 1.5;
}
.in-out li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.in-out-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* Compare table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.compare-table tbody th {
  font-weight: 700;
  color: var(--ink-3);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: 28%;
}
.compare-table tbody td { color: var(--ink-2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-art { order: 2; max-width: 380px; }
  .hero-text { order: 1; }

  .frame-grid { grid-template-columns: 1fr; row-gap: clamp(1.5rem, 3vw, 2rem); }
  .frame-art { order: 2; max-width: 420px; margin-inline: auto; }
  .frame-content { order: 1; }

  .plans {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    border-bottom: var(--hair) solid var(--line);
  }
  .plan {
    grid-row: auto;
    grid-template-rows: auto auto auto 1fr auto;
    border-right: 0;
    border-bottom: var(--hair) solid var(--line);
  }
  .plan:last-child { border-bottom: 0; }
  .plan.is-recommended::after { right: var(--gutter); }

  .services { grid-template-columns: 1fr; }
  .services > div { grid-template-columns: 110px 1fr; }
  .services > div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .services > div:nth-child(even) { padding-left: 0; }
  .services > div:nth-last-child(-n+2) { border-bottom: var(--hair) solid var(--line); }
  .services > div:last-child { border-bottom: 0; }

  .locations-grid { grid-template-columns: 1fr; }
  .in-out { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-nav ul { justify-content: flex-start; }
  .footer-legal { text-align: left; }

  .primary-nav { display: none; }
  .cta-nav { display: none; }
  .icon-btn.nav-toggle { display: inline-grid; }
  .mobile-nav:not([hidden]) { display: block; }
}

@media (max-width: 560px) {
  :root { --gutter: 1.1rem; }
  .nav-wrap { min-height: 56px; }
  .services > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .ops-facts li { grid-template-columns: 1fr; gap: 0.1rem; padding: 0.7rem 0; }
  .compare-table tbody th { width: auto; }
  .compare-table { font-size: 0.88rem; }
  .compare-table th, .compare-table td { padding: 0.55rem 0.6rem; }

  .modal,
  .modal[id="modal-compare"] {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    margin: 0;
  }
  .modal-shell {
    border-left: 0;
    border-right: 0;
    max-height: 100dvh;
    height: 100dvh;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-actions, .hero-ctas, .plan-actions, .modal { display: none !important; }
  body { background: white; color: black; }
}
