/* RoboGuard
   Layout: brushed-aluminum greys from the unit, the logo's forest green for
   actions and bands, slab-serif headlines that echo the wordmark, and the real
   unit photo as the hero. Single light theme, chosen to match the logo. */

:root {
  --bg:        #EEF0EE;  /* brushed aluminum */
  --bg-alt:    #E2E6E3;
  --surface:   #FFFFFF;
  --ink:       #1B231E;  /* green-black */
  --ink-soft:  #585F5B;  /* logo grey, darkened for text */
  --line:      #C5CCC7;
  --brand:     #0E4A21;  /* logo green, one step lighter for buttons */
  --brand-deep:#05310E;  /* exact logo green */
  --brand-ink: #FFFFFF;
  --band:      #0B2E14;
  --band-ink:  #EEF0EE;
  --band-soft: #A9BEAF;
  --band-line: #24472D;
  --band-accent:#C8E3CF;
  --error:     #B3261E;
  --ok:        #2E6B3F;

  --f-display: "Zilla Slab", Rockwell, "Roboto Slab", "DejaVu Serif", Georgia, serif;
  --f-body:    "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0:  1.0625rem;
  --step-1:  1.3rem;
  --step-2:  1.7rem;
  --step-3:  clamp(2rem, 1.55rem + 1.8vw, 2.7rem);
  --step-4:  clamp(2.5rem, 1.7rem + 3.4vw, 4.5rem);

  --wrap: 1180px;
  --radius: 4px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 700; line-height: 1; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.05; }
p  { margin: 0; max-width: 64ch; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--brand); color: var(--brand-ink);
  padding: 10px 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

.lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 46ch; }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.005em;
  line-height: 1; text-decoration: none;
  padding: 0.85em 1.4em; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-deep); }
.section-band .btn-primary { background: var(--band-ink); color: var(--band); }
.section-band .btn-primary:hover { background: #FFFFFF; }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-sm { font-size: 1.1rem; padding: 0.55em 1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: auto; width: clamp(150px, 18vw, 210px); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.nav-link { font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-link:hover { border-bottom-color: var(--line); }
.nav-link[aria-current="page"] { border-bottom-color: var(--brand); }
.nav-phone a { font-variant-numeric: tabular-nums; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav .btn[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--ink); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav li:first-child { border-top: 0; }
  .nav-link, .nav-phone a { display: block; padding: 14px 0; border-bottom: 0; }
  .nav-link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--brand); padding-left: 14px; }
  .site-nav .btn { margin-block: 12px 4px; width: 100%; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-alt { background: var(--bg-alt); }
.section-band { background: var(--band); color: var(--band-ink); }
.section-band h2, .section-band h3 { color: var(--band-ink); }
.section-band .muted, .section-band .lede { color: var(--band-soft); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero-copy { display: grid; gap: 24px; align-content: center; min-width: 0; }
.hero-copy .btn-row { margin-top: 8px; }
.hero-note { font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- hero photo ---------- */
.hero-photo { position: relative; margin: 0; min-width: 0; justify-self: end; width: 100%; max-width: 480px; }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(11, 46, 20, 0.45);
}
.photo-tags { list-style: none; margin: 0; padding: 0; }
.photo-tags li {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--ink); background: rgba(255, 255, 255, 0.94);
  padding: 7px 10px 7px 7px; border-radius: 99px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
}
.photo-tags li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}
@media (max-width: 960px) {
  .hero-photo { justify-self: center; max-width: 520px; }
}
@media (max-width: 400px) {
  .photo-tags li { font-size: 0.75rem; padding: 6px 8px 6px 6px; }
}

/* ---------- unit page header with photo ---------- */
.page-head-media .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.page-head-copy { display: grid; gap: 20px; min-width: 0; }
.page-head-photo { display: block; min-width: 0; }
.page-head-photo img { display: block; width: 100%; max-width: 420px; height: auto; margin-left: auto; border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(11, 46, 20, 0.45); }
@media (max-width: 860px) {
  .page-head-media .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-head-photo img { margin-inline: auto; max-width: 360px; }
}

/* focus on dark green surfaces */
.section-band :focus-visible, .site-footer :focus-visible { outline-color: var(--band-ink); }

/* ---------- spec list ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 48px; }
.spec { display: grid; gap: 8px; align-content: start; padding-block: 24px; border-top: 2px solid var(--ink); }
.spec h3 { font-size: var(--step-1); font-weight: 600; }
.spec p { color: var(--ink-soft); }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-family: var(--f-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 2px 8px; border-radius: 99px; border: 1px solid var(--ink-soft); color: var(--ink-soft);
}

/* ---------- industries list (home) ---------- */
.industry-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.industry-row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto;
  gap: 16px 40px; align-items: baseline; padding-block: 28px; border-bottom: 1px solid var(--line);
}
.industry-row h3 { font-size: var(--step-2); font-weight: 700; }
.industry-row p { color: var(--ink-soft); }
.industry-row a.more { font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) {
  .industry-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start;
  padding-top: 20px; border-top: 2px solid var(--band-line); position: relative; }
.steps li::before {
  content: counter(step); font-family: var(--f-display); font-weight: 700; font-size: 3.2rem; line-height: 1;
  color: var(--band-accent);
}
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--band-soft); }
.section:not(.section-band) .steps li { border-top-color: var(--ink); }
.section:not(.section-band) .steps p { color: var(--ink-soft); }
.section:not(.section-band) .steps li::before { color: var(--ink); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta-band h2 { font-size: var(--step-4); line-height: 1; max-width: 16ch; }
.cta-band .phone-big {
  display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--step-2);
  font-variant-numeric: tabular-nums; text-decoration: none; margin-top: 12px;
}
.cta-side { display: grid; gap: 4px; justify-items: start; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 20px; }
.page-head h1 { max-width: 16ch; }

/* ---------- spec table (unit page) ---------- */
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); }
.spec-table thead th { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; border-bottom: 2px solid var(--ink); }
.spec-table tbody th { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; width: 22%; }
.spec-table td { color: var(--ink-soft); }
.spec-table td:first-of-type { color: var(--ink); }

.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.two-col > * { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.35em; width: 14px; height: 8px;
  border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--f-display); font-weight: 600; font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > p { padding-bottom: 22px; color: var(--ink-soft); }

/* ---------- industries page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.jump a { font-weight: 600; }
.industry { scroll-margin-top: 90px; }
.industry + .industry { border-top: 1px solid var(--line); }
.industry-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.industry-grid > * { min-width: 0; }
.industry-grid h2 { font-size: var(--step-3); font-weight: 700; line-height: 1; }
.industry-body { display: grid; gap: 24px; }
.industry-body h3 { font-size: var(--step-1); }
@media (max-width: 860px) { .industry-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- quote form ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-grid > * { min-width: 0; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; gap: 28px; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.fieldset legend { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); padding: 0; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: var(--step--1); color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; width: 100%; min-width: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--step--1); font-weight: 600; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-weight: 500; }
.choice input { margin-top: 0.3em; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 16px 18px; border-radius: var(--radius); border: 1.5px solid; font-weight: 500; }
.notice-error { border-color: var(--error); color: var(--error); }

.quote-aside { display: grid; gap: 28px; position: sticky; top: 100px; }
.aside-block { display: grid; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.aside-block h2 { font-size: var(--step-2); }
.aside-phone { font-family: var(--f-display); font-weight: 600; font-size: 2rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.next-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-soft); }
.next-steps li::marker { font-family: var(--f-display); font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .quote-aside { position: static; } }

.sent { display: grid; gap: 20px; padding-block: 8px 24px; }
.sent h2 { font-size: var(--step-4); line-height: 1; }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--band-ink); padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-logo img { display: block; width: 100%; max-width: 280px; height: auto; filter: brightness(0) invert(0.94); }
.footer-head { font-size: 1.2rem; margin-bottom: 12px; color: var(--band-soft); font-weight: 500; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--band-line); color: var(--band-soft); font-size: var(--step--1); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.not-found { display: grid; gap: 20px; padding-block: clamp(64px, 12vw, 140px); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- build your unit ---------- */
.build-section { padding-top: clamp(32px, 4vw, 56px); }
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.build-steps { display: grid; gap: 44px; min-width: 0; }
.build-group { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.build-group legend { font-family: var(--f-display); font-weight: 700; font-size: var(--step-2); padding: 0; margin-bottom: 2px; }
.group-intro { color: var(--ink-soft); margin-top: -6px; }

.presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.preset {
  display: grid; gap: 4px; padding: 14px 16px; text-decoration: none;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
}
.preset strong { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.15; }
.preset span { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.35; }
.preset:hover { border-color: var(--ink-soft); }
.preset[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }

.qty-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qty-label { display: grid; gap: 2px; min-width: 0; cursor: default; }
.qty-label strong { font-weight: 600; }
.qty-label span { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.4; }
.qty-row.is-on .qty-label strong { color: var(--brand); }

.stepper { display: flex; align-items: center; flex: none; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stepper input {
  width: 3.2em; text-align: center; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums;
  border: 0; background: transparent; color: var(--ink); padding: 10px 0; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.step {
  display: none; width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink);
  font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.step:hover { background: var(--bg-alt); }
.build-js .step { display: block; }
.build-js .stepper input { width: 2.4em; }

.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.option {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
}
.option input { margin-top: 0.25em; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.option-text { display: grid; gap: 2px; min-width: 0; }
.option-text strong { font-weight: 600; line-height: 1.3; }
.option-text span { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.4; }
.option:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.option-recommend { border-style: dashed; }
.option-recommend:has(input:checked) { border-style: solid; }

.build-details { padding-top: 28px; border-top: 2px solid var(--ink); gap: 18px; scroll-margin-top: 96px; }

.build-sheet {
  position: sticky; top: 96px; display: grid; gap: 16px;
  max-height: calc(100vh - 116px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--brand);
  border-radius: var(--radius); padding: 22px 22px 20px;
  box-shadow: 0 18px 40px -28px rgba(11, 46, 20, 0.5);
}
.sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sheet-head h2 { font-size: var(--step-2); }
.sheet-units { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.sheet-list { margin: 0; display: grid; }
.sheet-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); }
.sheet-row dt { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
.sheet-row dd { margin: 0; font-size: 0.95rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.sheet-row.is-empty dd { color: var(--ink-soft); }
.sheet-count { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; padding-top: 10px; border-top: 1px solid var(--line); }
.sheet-cta { width: 100%; }
.sheet-note { font-size: var(--step--1); color: var(--ink-soft); }

.build-bar { display: none; }

@media (max-width: 960px) {
  .build-grid { grid-template-columns: minmax(0, 1fr); }
  .build-sheet { position: static; order: 2; max-height: none; overflow: visible; }
  .build-steps { display: contents; }
  .build-steps > * { order: 1; }
  .build-steps > .build-details { order: 3; }
  .build-js .build-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, 0.35);
    font-weight: 600; font-variant-numeric: tabular-nums;
    transition: transform .2s;
  }
  .build-bar.is-hidden { transform: translateY(110%); }
  .page-build .site-footer { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .presets, .option-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- components page ---------- */
.component-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.component-list > div { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.component-list dt { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); }
.component-list dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 600px) { .component-list { grid-template-columns: minmax(0, 1fr); } }
.component-section .section-head { margin-bottom: 0; }

.preset-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.preset-links li { display: grid; gap: 10px; align-content: start; justify-items: start; padding-top: 18px; border-top: 2px solid var(--band-line); }
.preset-links h3 { font-size: var(--step-1); }
.preset-links p { color: var(--band-soft); }
@media (max-width: 860px) { .preset-links { grid-template-columns: minmax(0, 1fr); } }

.spec-cta { border-top-color: var(--brand); }
.hero-caption { margin-top: 10px; font-size: var(--step--1); color: var(--ink-soft); }
