/* Starter-kit page. Shared typography and colors come from base.css. */
:root {
  --ink: #16181a;
  --paper: #f7f5f1;
  --accent: #b34c17;
  --muted: #5d6266;
  --line: #d8d5cd;
}

[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { overflow-wrap: break-word; }
main > section { padding: 58px 0; }
main > section + section { border-top: 1px solid var(--line); }
h2 { margin: 10px 0 20px; }
h3 { line-height: 1.3; }
button, input, select, textarea { font-family: Arial, sans-serif; }
button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.button {
  cursor: pointer;
  font: 700 15px/1.5 Arial, sans-serif;
  text-align: center;
  background: transparent;
  color: var(--ink);
}
.button.primary { background: var(--ink); color: #fff; }
.button:hover { background: #edeae3; }
.button.primary:hover { background: #343739; }
.button:disabled { cursor: default; opacity: .6; }
.text-link { text-underline-offset: 4px; }

.review-banner { background: var(--ink); color: #fff; }
.review-inner {
  max-width: 1120px;
  margin: auto;
  padding: 12px 28px;
  font-size: 13px;
  line-height: 1.6;
}
.review-inner strong { margin-right: 7px; }
.review-inner p { margin: 0; }
.site-header { align-items: center; }
.site-header nav a { text-underline-offset: 4px; }

main > .product-hero { padding: 57px 0 43px; border: 0; }
.product-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 5.5vw, 66px);
  line-height: 1.08;
  margin: 20px 0 26px;
}
.hero-lead {
  max-width: 790px;
  font-size: 21px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 27px 0 0; }
.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 27px 0 0;
  margin: 37px 0 0;
}
.benefit-row > div { min-width: 0; }
.benefit-row span { display: block; font-size: 12px; letter-spacing: .1em; font-weight: 700; color: var(--accent); margin-bottom: 7px; }
.benefit-row strong { display: block; font-size: 18px; line-height: 1.4; margin-bottom: 7px; }
.benefit-row p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.section-intro { max-width: 780px; margin-bottom: 30px; }
.section-intro > p:not(.eyebrow) { color: var(--muted); }
.section-intro h2 { font-size: clamp(27px, 3vw, 35px); line-height: 1.2; }
.tier-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin: 33px 0 17px; }
.tier-heading h3 { font-size: 25px; margin: 0; }
.tier-heading p { font-size: 15px; color: var(--muted); margin: 0; }
.kit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kit-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.kit-visual { display: flex; align-items: center; justify-content: center; background: #edeae3; border-bottom: 1px solid var(--line); min-height: 240px; }
.kit-visual > img { display: block; width: 100%; height: 300px; object-fit: contain; padding: 10px; }
.visual-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 345px; min-height: 240px; padding: 30px 24px; text-align: center; color: var(--muted); }
.visual-pending svg { width: 46px; height: 46px; margin-bottom: 17px; color: #87867f; }
.visual-pending strong { color: #555b5f; font-size: 16px; line-height: 1.4; }
.visual-pending span { display: block; max-width: 260px; font-size: 13px; line-height: 1.6; margin-top: 7px; }
.card-body { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; flex: 1; min-width: 0; }
.kit-badge { display: inline-block; color: var(--accent); font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.card-body h3 { font-size: 27px; letter-spacing: -.02em; margin: 9px 0 14px; }
.kit-description { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 16px; }
.kit-meta { width: 100%; color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 19px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.kit-meta strong, .kit-meta span { display: block; }
.kit-card.is-selected { border-color: var(--accent); }
.feature-list { padding-left: 20px; font-size: 15px; line-height: 1.6; margin: 0 0 25px; }
.feature-list li { padding-left: 3px; margin: 7px 0; }
.kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 19px; margin-top: auto; padding-top: 2px; }
.kit-actions .text-link { font-size: 14px; }
.mockup-note { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 21px 0 0; max-width: 850px; }

.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.65; }
.compare-table th, .compare-table td { padding: 15px 19px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: #eeebe4; font-size: 16px; line-height: 1.4; padding-block: 18px; }
.compare-table th:first-child { width: 25%; }
.compare-table td { width: 37.5%; color: var(--muted); }
.compare-table tbody th { font-weight: 700; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.scroll-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.common-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 31px; }
.inventory-group { min-width: 0; padding-top: 17px; border-top: 2px solid var(--line); }
.inventory-group h3 { margin: 0 0 17px; font-size: 20px; }
.inventory-group ul, .tier-list ul { margin: 0; padding-left: 19px; font-size: 15px; line-height: 1.7; }
.inventory-group li, .tier-list li { margin: 10px 0; padding-left: 2px; }
.item-model { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.tier-inventories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; }
.tier-tools { min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.tier-tools > summary { cursor: pointer; padding: 20px 23px; font-weight: 700; font-size: 17px; line-height: 1.5; }
.tier-tools > summary::marker, .faq-list summary::marker { color: var(--accent); }
.tier-tools[open] > summary { border-bottom: 1px solid var(--line); }
.tier-list { padding: 10px 24px 22px; }
.scope-panel { padding: 25px 29px; margin: 30px 0 0; background: #edeae3; border-left: 3px solid var(--accent); }
.scope-panel h3 { font-size: 20px; margin: 0 0 13px; }
.scope-panel p { margin-bottom: 13px; }
.scope-panel p, .scope-panel ul { font-size: 15px; color: var(--muted); line-height: 1.7; }
.scope-panel ul { padding-left: 20px; margin: 0; }
.scope-panel li { margin: 7px 0; }
.scope-panel > :last-child { margin-bottom: 0; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.quote-intro h2 { font-size: clamp(28px, 3vw, 35px); line-height: 1.2; }
.quote-intro p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.quote-intro a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.quote-form { min-width: 0; padding: 29px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 17px; }
.field { display: flex; flex-direction: column; align-items: stretch; gap: 7px; font-size: 14px; font-weight: 700; line-height: 1.5; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; max-width: 100%; padding: 11px 12px; border: 1px solid #aaa99f; border-radius: 3px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.5; font-weight: 400; }
.field input, .field select { min-height: 47px; }
.field textarea { min-height: 115px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #737773; opacity: 1; }
.field [aria-invalid="true"] { border-color: #a73722; }
.field small { font-size: 12px; color: var(--muted); font-weight: 400; }
.form-hint { margin: 15px 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.quote-form > .button { margin-top: 8px; }
.quote-review { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-review h3 { font-size: 19px; margin: 0 0 13px; }
.quote-review pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 18px; padding: 17px; font: 14px/1.7 Arial, sans-serif; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.email-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.form-status { min-height: 24px; color: var(--muted); font-size: 14px; line-height: 1.6; margin: 14px 0 0; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 20px 0; font-size: 18px; line-height: 1.5; font-weight: 700; cursor: pointer; }
.faq-list details p { color: var(--muted); max-width: 820px; font-size: 16px; margin: 0 0 24px; }
.site-footer a { text-underline-offset: 4px; }

@media (max-width: 960px) {
  .site-header { align-items: flex-start; }
  .site-header nav { gap: 9px 16px; }
  .quote-layout { gap: 30px; }
  .common-grid { gap: 24px; }
  .card-body { padding: 25px; }
}

@media (max-width: 760px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .quote-intro { max-width: 680px; }
  .common-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .inventory-group ul { columns: 2; column-gap: 30px; }
  .inventory-group li { break-inside: avoid; }
  .tier-inventories { gap: 18px; }
  .kit-grid { gap: 18px; }
  .kit-visual, .visual-pending { min-height: 215px; }
  .card-body { padding: 23px; }
  .card-body h3 { font-size: 25px; }
}

@media (max-width: 640px) {
  .review-inner { padding: 11px 21px; font-size: 12px; }
  .review-inner strong { display: block; }
  .site-header { gap: 20px; }
  main > section { padding: 40px 0; }
  main > .product-hero { padding: 29px 0 36px; }
  .product-hero h1 { font-size: clamp(36px, 8.2vw, 48px); margin: 16px 0 22px; }
  .hero-lead { font-size: 18px; line-height: 1.65; }
  .hero-actions { gap: 11px; margin-top: 22px; }
  .hero-actions .button { padding: 11px 16px; }
  .benefit-row { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 30px; padding-top: 25px; }
  .benefit-row span { float: left; margin: 3px 12px 0 0; width: 21px; }
  .benefit-row strong, .benefit-row p { margin-left: 33px; }
  .benefit-row strong { font-size: 17px; }
  .section-intro { margin-bottom: 23px; }
  .section-intro h2 { font-size: 28px; }
  .tier-heading { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 29px; }
  .kit-grid, .tier-inventories { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .kit-visual, .visual-pending { min-height: 210px; }
  .kit-visual > img { height: auto; max-height: 360px; }
  .card-body { padding: 24px; }
  .card-body h3 { font-size: 27px; }
  .kit-actions { gap: 13px 18px; }
  .mockup-note { margin-top: 18px; }
  .compare-table th, .compare-table td { padding: 13px 15px; }
  .inventory-group ul { columns: auto; }
  .tier-inventories { margin-top: 26px; }
  .scope-panel { padding: 23px; }
  .quote-form { padding: 23px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .field-wide { grid-column: auto; }
  .email-actions { align-items: flex-start; }
  .faq-list summary { font-size: 17px; padding: 18px 0; }
}

@media print {
  .review-banner { background: #fff; color: #16181a; border-bottom: 1px solid #999; }
  .review-inner { padding-inline: 0; }
  .hero-actions, .kit-actions, .quote-layout, .scroll-hint { display: none; }
  main > section { padding-block: 22px; }
  .kit-card, .inventory-group, .scope-panel { break-inside: avoid; }
  .kit-visual, .visual-pending { min-height: 120px; }
  .table-scroll { overflow: visible; }
  .compare-table { min-width: 0; font-size: 9pt; }
  .compare-table th, .compare-table td { padding: 8px; }
  .card-body { padding: 18px; }
}

/* The selected original mockups are shown in full, without cropping or edits. */
.kit-visual { display: block; min-height: 0; aspect-ratio: 3 / 2; }
.mockup-link { display: flex; align-items: center; width: 100%; height: 100%; background: #e5e3e0; }
.mockup-link img { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.mockup-caption { margin: 0; padding: 15px 28px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.mockup-caption a { text-underline-offset: 3px; white-space: nowrap; }
.legacy-anchor { display: block; height: 0; scroll-margin-top: 24px; }
@media (max-width: 640px) { .mockup-caption { padding-inline: 24px; } }

.assembly-note { max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 24px; }
.assembly-note strong { color: var(--ink); }

.warranty-note { max-width: 760px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: -13px 0 24px; }
.quote-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote-form input:disabled, .quote-form select:disabled, .quote-form textarea:disabled { background: #f3f1ec; color: #626461; opacity: 1; cursor: not-allowed; }
