/* GENERATED by overhaul1-build/shell_v2.py from styles.css: old body components for pages on the v2 shell.
 * Header, footer, nav, base type and the Geist fonts removed; v2.css and shell.css load after this. */
/* We Buy Your Tech — Phase 1 stylesheet
 * Tokens + base + components, all in one file.
 * Built from Claude Design output (May 2026).
 */

/* ============================================================
 * 0. TOKENS
 * ============================================================ */
:root {
  /* Neutrals — warm */
  --c-bone: #fbfaf8;
  --c-paper: #f3f0ea;
  --c-stone-100: #DDD5C7;
  --c-stone-200: #BFB6A6;
  --c-stone-300: #5A5347; /* darkened 27 Oct for AA contrast on paper/stone (was #6E6657) */
  --c-stone-400: #3F3A30;
  --c-ink-soft: #2A2620;
  --c-ink: #1A1814;

  /* Accents */
  --c-rust: #BB3F22;
  --c-rust-deep: #8A3220;
  --c-rust-tint: #F0D7CD;
  --c-moss: #3D4A35;
  --c-moss-tint: #D8DCCD;
  --c-ochre: #C08A3E;

  /* Type */
  --f-sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radii */
  --r-none: 0;
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1196px;
  --pad-x: 48px;
}

@media (max-width: 720px) {
  :root { --pad-x: 24px; }
}

/* ============================================================
 * 1. RESET / BASE
 * ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}


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

a {
  color: inherit;
  text-decoration: none;
  transition: color 120ms ease, opacity 120ms ease;
}



button { font-family: inherit; cursor: pointer; }

ul, ol { padding: 0; margin: 0; list-style: none; }

p { margin: 0 0 var(--s-4); }

/* ============================================================
 * 2. TYPOGRAPHY
 * ============================================================ */
.display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
}

.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-stone-400);
  max-width: 620px;
}

.small {
  font-size: 13px;
  color: var(--c-stone-400);
}

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mono-sm {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ============================================================
 * 3. LAYOUT
 * ============================================================ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding: var(--s-9) var(--pad-x);
  border-bottom: 1px solid var(--c-stone-100);
}

@media (max-width: 720px) {
  .section { padding: var(--s-8) var(--pad-x); }
}

.surface-paper { background: var(--c-paper); }
.surface-ink {
  background: var(--c-ink-soft);
  color: var(--c-bone);
}
.surface-ink h1, .surface-ink h2, .surface-ink h3, .surface-ink h4 {
  color: var(--c-bone);
}

/* ============================================================
 * 4. COMPONENTS
 * ============================================================ */

/* Wordmark */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.wordmark__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--c-stone-300);
  text-transform: uppercase;
  font-weight: 500;
}
.wordmark__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink);
  line-height: 1;
}
.wordmark__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--c-rust);
  border-radius: 50%;
}
.wordmark--inverse .wordmark__name { color: var(--c-bone); }
.wordmark--inverse .wordmark__tag { color: rgba(245, 241, 234, 0.55); }
.wordmark--lg .wordmark__name { font-size: 28px; gap: 14px; }
.wordmark--lg .wordmark__dot { width: 8px; height: 8px; }
.wordmark--sm .wordmark__name { font-size: 14px; gap: 8px; }
.wordmark--sm .wordmark__dot { width: 4px; height: 4px; }

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-rust);
}
.tag--moss { color: var(--c-moss); }
.tag--plain { color: var(--c-stone-300); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 22px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 120ms, border-color 120ms, color 120ms, opacity 120ms;
  text-decoration: none;
  background: transparent;
  color: var(--c-ink);
}
.btn:hover { opacity: 1; }

.btn-primary {
  background: var(--c-ink);
  color: var(--c-bone);
  border-color: var(--c-ink);
}
.btn-primary:hover { background: var(--c-ink-soft); border-color: var(--c-ink-soft); }

.btn-accent {
  background: var(--c-rust);
  color: #fff;
  border-color: var(--c-rust);
}
.btn-accent:hover { background: var(--c-rust-deep); border-color: var(--c-rust-deep); }

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-stone-200);
}
.btn-ghost:hover { background: var(--c-paper); }

.btn-link {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--c-ink);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 2px;
}

/* Section head lockup */
.section-head {
  margin-bottom: var(--s-8);
}
.section-head__tag { margin-bottom: var(--s-4); }
.section-head__title { margin-bottom: var(--s-4); max-width: 880px; }
.section-head__lede { max-width: 620px; }

.section-head--center { text-align: center; }
.section-head--center .section-head__title,
.section-head--center .section-head__lede { margin-left: auto; margin-right: auto; }

/* Indexed list rows */
.indexed-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: baseline;
  gap: var(--s-4);
  padding: 18px 0;
  border-top: 1px solid var(--c-stone-100);
}
.indexed-row__idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-stone-300);
}
.indexed-row__label { font-size: 17px; font-weight: 500; }
.indexed-row__value { font-size: 13px; color: var(--c-stone-400); }

/* Step block (dark) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--c-ink-soft);
  color: var(--c-bone);
}
.step {
  padding: var(--s-7) var(--s-6);
  border-left: 1px solid rgba(245, 241, 234, 0.18);
}
.step:first-child { border-left: none; }
.step__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}
.step__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-rust);
}
.step__icon { color: rgba(245, 241, 234, 0.55); }
.step__title {
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 1;
  margin: 0 0 4px;
  color: var(--c-bone);
  font-weight: 400;
  font-style: italic;
}
.step__caption {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 241, 234, 0.55);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-top: 1px solid rgba(245, 241, 234, 0.18); }
  .step:nth-child(odd) { border-left: none; }
}

/* Equipment / location card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--c-stone-100);
}
.card {
  padding: var(--s-5);
  background: var(--c-bone);
  border-right: 1px solid var(--c-stone-100);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-height: 160px;
}
.card:last-child { border-right: none; }
.card__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}
.card__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-stone-300);
}
.card__title { font-size: 18px; font-weight: 500; margin: auto 0 0; color: var(--c-ink); }
.card__cta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-rust);
  margin-top: var(--s-4);
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(2n) { border-right: none; }
  .card:nth-child(n+3) { border-top: 1px solid var(--c-stone-100); }
}
@media (max-width: 540px) {
  .card-grid { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 1px solid var(--c-stone-100); }
  .card:last-child { border-bottom: none; }
}

/* Form */
.form-sub {
  font-size: 14px;
  color: var(--c-stone-400);
  margin-bottom: var(--s-5);
}
.field { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.field .opt {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-stone-300);
  font-weight: 400;
  margin-left: 6px;
}

/* Chips — self-selecting form input */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-stone-400);
  background: transparent;
  border: 1px solid var(--c-stone-200);
  border-radius: var(--r-md);
  cursor: pointer;
  user-select: none;
  transition: background 120ms, border-color 120ms, color 120ms;
}
.chip:hover {
  border-color: var(--c-ink);
  color: var(--c-ink);
}
.chip.selected {
  background: var(--c-ink);
  color: var(--c-bone);
  border-color: var(--c-ink);
}

.form-note {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-stone-300);
  margin-top: var(--s-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-stone-300);
  font-weight: 500;
}
.input, .textarea {
  font-family: var(--f-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--c-stone-200);
  background: var(--c-bone);
  color: var(--c-ink);
  border-radius: var(--r-md);
  transition: border-color 120ms;
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-ink);
}
.textarea { min-height: 120px; resize: vertical; }

/* ============================================================
 * 7. UTILITIES
 * ============================================================ */
.flex { display: flex; }
.grid { display: grid; }
.gap-2 { gap: var(--s-2); }
.gap-4 { gap: var(--s-4); }
.gap-6 { gap: var(--s-6); }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }

/* NAVFIX-LAYOUT v1 */
/* Inline grid-template-columns on page grids beat the responsive rules; collapse them on small screens */
.grid > *, .card-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .card-grid[style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 720px) {
  .grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: var(--s-7) !important; }
}
@media (max-width: 540px) {
  .card-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .steps { grid-template-columns: 1fr; }
  .steps > * { min-width: 0; }
  .step { border-left: none; }
}
.form-row > *, .field { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
@media (max-width: 400px) {
  [style*="grid-template-columns: 160px 1fr"] { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) !important; }
}

/* ===== Quick picker (home page, above the quote form) ===== */
.kit-picker {
  background: var(--c-bone);
  color: var(--c-ink);
  padding: var(--s-6);
  border-radius: var(--r-md);
  margin-bottom: var(--s-5);
}
.kit-picker__title, .surface-ink .kit-picker__title { margin: 0 0 var(--s-2); color: var(--c-ink); }
.kit-picker__sub { margin: 0 0 var(--s-5); color: var(--c-stone-400); font-size: 15px; }
.kit-picker__step { border: 0; margin: 0 0 var(--s-5); padding: 0; min-width: 0; }
.kit-picker__step legend {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-stone-300);
  font-weight: 500;
}
.kit-picker__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--c-stone-200);
  font-size: 11px;
  letter-spacing: 0;
}
.kit-picker__step.is-done .kit-picker__n { background: var(--c-rust); border-color: var(--c-rust); color: var(--c-bone); }
.kit-picker button.chip {
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
  line-height: 1.2;
  margin: 0;
}
.kit-picker button.chip[aria-pressed="true"] {
  background: var(--c-ink);
  color: var(--c-bone);
  border-color: var(--c-ink);
}
.kit-picker button.chip:focus-visible {
  outline: 2px solid var(--c-rust);
  outline-offset: 2px;
}
.kit-picker__status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--c-stone-400); }
@media (max-width: 540px) {
  .kit-picker { padding: var(--s-5); }
  .kit-picker .chip-group { gap: 6px; }
  .kit-picker button.chip { padding: 9px 12px; flex: 1 1 auto; justify-content: center; }
}
#quote-form { scroll-margin-top: 96px; }

/* ===== DESIGN-FIX 2026-10-27 ===== */
/* Small rust text: darker shade so labels pass WCAG AA (4.5:1) on bone, paper and stone-100 */
:root { --c-rust-text: #A33519; }
.tag { color: var(--c-rust-text); }
.tag--moss { color: var(--c-moss); }
.tag--plain { color: var(--c-stone-300); }
.mono[style*="color: var(--c-rust)"],
.mono-sm[style*="color: var(--c-rust)"],
.indexed-row__idx[style*="color: var(--c-rust)"] { color: var(--c-rust-text) !important; }
/* Indexed rows: on phones the auto-width value column squeezed the label to one word per line.
   Stack the value under the label instead. */
.indexed-row > * { min-width: 0; }
@media (max-width: 720px) {
  .indexed-row { grid-template-columns: 32px minmax(0, 1fr); column-gap: var(--s-3, 12px); row-gap: 4px; }
  .indexed-row__value { grid-column: 2; text-align: left !important; }
  .grid > div[style*="padding: var(--s-7)"] { padding: var(--s-5) !important; }
}
