:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-cool: #eef3f7;
  --ink: #0e1726;
  --ink-soft: #304157;
  --muted: #65758a;
  --line: #d8e0e8;
  --accent: #d71928;
  --accent-dark: #a9121d;
  --steel: #315f7a;
  --steel-dark: #183247;
  --shadow: 0 18px 50px rgba(14, 23, 38, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 74px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 232, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 25px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 25px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(440px, 1.05fr);
  min-height: clamp(660px, 74svh, 820px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 42%, rgba(255, 255, 255, 0.64) 54%, rgba(255, 255, 255, 0) 68%),
    var(--bg);
}

.hero-copy {
  align-self: center;
  width: auto;
  padding: 70px 0 82px max(20px, calc((100vw - 1180px) / 2));
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(43px, 4.2vw, 68px);
  font-weight: 870;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.safety-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 31px;
  color: var(--ink);
  font-size: 18px;
}

.shield-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(215, 25, 40, 0.22);
  border-radius: 8px;
  color: var(--accent);
}

.shield-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 30px rgba(215, 25, 40, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  background: white;
  border-color: #9aaabd;
  color: var(--steel-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--steel);
  box-shadow: 0 12px 25px rgba(24, 50, 71, 0.1);
}

.hero-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.service-strip,
.quote-section,
.module-search-section,
.shipping-section,
.process-band,
.inquiry-section,
.partners-section,
.faq-section {
  padding: 60px max(20px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(280px, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}

h2 {
  position: relative;
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 860;
  line-height: 1.05;
  letter-spacing: 0;
}

h2::after {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  background: var(--accent);
  content: "";
}

.section-heading p,
.partners-section p,
.inquiry-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

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

.service-item {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.line-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--steel-dark);
}

.line-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.24;
}

.service-item p,
.process-list p,
.faq-list p,
.partner-note p,
.send-list li {
  color: var(--muted);
}

.service-item p {
  margin: 14px 0 0;
  font-size: 15px;
}

.quote-section {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(31, 157, 85, 0.07), rgba(255, 255, 255, 0) 48%),
    #ffffff;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(420px, 0.52fr);
  gap: 34px;
  align-items: stretch;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(31, 157, 85, 0.28);
  border-radius: 6px;
  color: #116134;
  font-size: 13px;
  font-weight: 850;
}

.quote-copy h2 {
  max-width: 15ch;
}

.quote-copy p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.price-card {
  display: grid;
  align-content: start;
  min-height: 185px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.price-card:last-child {
  border-right: 0;
}

.price-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.price-card strong {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 880;
  line-height: 1;
}

.price-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price-card-strong {
  background: var(--steel-dark);
}

.price-card-strong span,
.price-card-strong strong,
.price-card-strong p {
  color: white;
}

.price-card-strong p {
  opacity: 0.82;
}

.module-search-section {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.module-search-panel {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 45px rgba(14, 23, 38, 0.08);
}

.module-search-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(260px, 0.42fr);
  gap: 18px;
  align-items: end;
}

.module-search-field {
  max-width: none;
}

.module-source-note,
.module-safety-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.module-safety-note {
  padding-top: 2px;
}

.module-search-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: 18px;
  align-items: start;
}

.module-results {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.module-picker {
  display: grid;
  grid-template-columns: minmax(145px, 0.32fr) minmax(0, 0.68fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.module-list-column {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
}

.module-brand-column {
  border-right: 1px solid var(--line);
}

.module-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--steel-dark);
}

.module-list-head strong {
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.module-list-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.module-brand-list,
.module-serial-list {
  display: grid;
  align-content: start;
  max-height: 430px;
  overflow: auto;
}

.module-brand-option,
.module-serial-option {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 120ms ease, color 120ms ease;
}

.module-brand-option {
  min-height: 39px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 720;
}

.module-serial-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 39px;
  padding: 8px 12px;
}

.module-serial-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.25;
}

.module-brand-option:hover,
.module-brand-option:focus-visible,
.module-serial-option:hover,
.module-serial-option:focus-visible {
  background: #f8fbfd;
  outline: 0;
}

.module-brand-option.is-active,
.module-serial-option.is-active {
  background: #cfe8f8;
}

.module-brand-option.is-active {
  color: var(--steel-dark);
  font-weight: 850;
}

.module-serial-option.is-active span {
  color: var(--steel-dark);
  font-weight: 850;
}

.module-count-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.module-selection-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.module-compact-selection {
  background: linear-gradient(180deg, #ffffff, #fff8f9);
}

.module-selection-summary {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.module-selection-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.module-selection-summary strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.module-selection-summary em {
  color: var(--accent);
  font-size: 24px;
  font-style: normal;
  font-weight: 880;
  line-height: 1;
}

.module-turnaround {
  margin: 0;
  color: var(--steel-dark);
  font-size: 14px;
}

.module-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.module-action-status {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--steel-dark);
  font-size: 14px;
  font-weight: 760;
}

.module-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 2px 0 0;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.module-price-label {
  width: 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.module-price strong {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.module-price s {
  color: var(--muted);
  font-size: 14px;
}

.module-price-tag {
  color: var(--steel-dark);
  font-size: 12px;
  font-weight: 800;
}

.module-price-review {
  display: block;
  color: var(--steel-dark);
  font-weight: 700;
  font-size: 13px;
}

.shipping-section {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.shipping-step {
  min-height: 188px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.shipping-step:last-child {
  border-right: 0;
}

.shipping-step span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--steel-dark);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

.shipping-step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.shipping-note {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(215, 25, 40, 0.18);
  border-radius: var(--radius);
  background: #fff8f9;
}

.shipping-note strong {
  color: var(--accent);
  font-size: 18px;
}

.shipping-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.process-band {
  background: linear-gradient(180deg, var(--bg-cool), #ffffff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  padding: 6px 24px 0 0;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 20px;
  right: 12px;
  width: 52px;
  height: 1px;
  background: #93a4b7;
  content: "";
}

.process-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--steel-dark);
  color: white;
  font-size: 15px;
  font-weight: 850;
}

.process-list h3 {
  margin-bottom: 9px;
}

.process-list p {
  margin: 0;
  max-width: 260px;
  font-size: 15px;
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(500px, 0.64fr);
  gap: 56px;
  align-items: start;
}

.inquiry-copy {
  position: sticky;
  top: 104px;
}

.inquiry-copy h2 {
  margin-bottom: 24px;
}

.send-list {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.send-list ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.inquiry-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-grid .wide-field {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
}

input,
textarea {
  width: 100%;
  border: 1px solid #bcc8d6;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  min-height: 126px;
  padding: 12px 13px;
}

input:focus,
textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 4px rgba(49, 95, 122, 0.12);
}

.wide-field {
  margin-top: 18px;
}

.form-note {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.form-actions {
  justify-content: flex-end;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--steel-dark);
  font-size: 14px;
  font-weight: 760;
}

.form-status.is-error {
  color: var(--accent-dark);
}

.manual-copy-box {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.manual-copy-box textarea {
  min-height: 150px;
  border-color: rgba(169, 18, 29, 0.35);
  background: #fffafa;
  font-size: 13px;
  line-height: 1.45;
}

.shipping-tool h1 {
  position: relative;
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 860;
  line-height: 1.02;
  letter-spacing: 0;
}

.shipping-tool h1::after {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  background: var(--accent);
  content: "";
}

.send-list h2 {
  margin: 0;
  font-size: 18px;
}

.send-list h2::after {
  display: none;
}

.quote-results {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.quote-offer,
.empty-result {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.quote-offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
}

.quote-offer h3 {
  grid-column: 1 / -1;
}

.quote-offer p {
  margin: 0;
  color: var(--muted);
}

.quote-offer strong {
  color: var(--steel-dark);
  font-size: 18px;
}

.partners-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(280px, 0.45fr);
  gap: 50px;
  background: var(--steel-dark);
  color: white;
}

.partners-section h2,
.partners-section h3,
.partners-section p,
.partners-section .partner-note p {
  color: white;
}

.partners-section h2::after {
  background: var(--accent);
}

.partners-section p {
  opacity: 0.83;
}

.partner-note {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.partner-note p {
  margin: 14px 0 0;
}

.faq-section {
  background: var(--bg-soft);
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}

details {
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

summary::marker {
  color: var(--accent);
}

details p {
  margin: 0;
  padding: 0 24px 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.8fr) minmax(220px, 1fr);
  gap: 48px;
  padding: 46px max(20px, calc((100vw - 1180px) / 2));
  background: #0d1925;
  color: white;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 16px;
}

.site-footer h2::after {
  display: none;
}

.footer-brand {
  margin-bottom: 14px;
  color: white;
}

.footer-small {
  font-size: 13px;
}

@media (max-width: 960px) {
  .site-header {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand {
    margin-right: auto;
  }

  .header-action {
    display: none;
  }

  .main-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    overflow: visible;
    padding-bottom: 0;
  }

  .main-nav a {
    padding: 6px 0 8px;
    white-space: nowrap;
  }

  .main-nav a::after {
    bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background: white;
  }

  .hero-copy {
    padding: 48px 20px 30px;
  }

  .hero h1 {
    max-width: 620px;
  }

  .hero-media {
    min-height: 380px;
  }

  .section-heading,
  .quote-layout,
  .inquiry-section,
  .partners-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shipping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shipping-step:nth-child(2) {
    border-right: 0;
  }

  .shipping-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-item:nth-child(2) {
    border-right: 0;
  }

  .service-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .module-search-top,
  .module-search-body {
    grid-template-columns: 1fr;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    padding-right: 0;
  }

  .process-list li::after {
    display: none;
  }

  .process-list span {
    grid-row: span 2;
    margin: 0;
  }

  .process-list p {
    max-width: none;
  }

  .inquiry-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand {
    font-size: 22px;
  }

  .main-nav {
    font-size: 13px;
  }

  .hero-copy,
  .service-strip,
  .quote-section,
  .module-search-section,
  .shipping-section,
  .process-band,
  .inquiry-section,
  .partners-section,
  .faq-section,
  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.06;
  }

  .hero-lede,
  .section-heading p,
  .partners-section p,
  .inquiry-copy p {
    font-size: 16px;
  }

  .hero-copy {
    padding-top: 32px;
    padding-bottom: 22px;
  }

  .hero-lede {
    margin-top: 18px;
    line-height: 1.55;
  }

  .safety-line {
    gap: 12px;
    margin-top: 20px;
    font-size: 16px;
  }

  .shield-icon {
    width: 38px;
    height: 38px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 48px;
  }

  .hero-media {
    min-height: 140px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 210px;
    min-width: 0;
    width: auto;
    padding: 0 12px;
    gap: 8px;
    font-size: 14px;
    text-align: center;
    white-space: normal;
  }

  .quote-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .price-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-card:last-child {
    border-bottom: 0;
  }

  .module-search-panel {
    gap: 12px;
    padding: 14px;
    box-shadow: none;
  }

  .module-search-top {
    gap: 10px;
  }

  .module-source-note {
    display: none;
  }

  .module-picker {
    grid-template-columns: minmax(108px, 0.36fr) minmax(0, 0.64fr);
    min-height: 0;
  }

  .module-brand-column {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .module-list-head {
    min-height: 40px;
    padding: 8px 9px;
  }

  .module-list-head strong {
    font-size: 11px;
  }

  .module-list-head span {
    font-size: 11px;
  }

  .module-brand-list {
    max-height: calc(42px * 7);
  }

  .module-serial-list {
    max-height: calc(42px * 7);
  }

  .module-brand-option {
    min-height: 42px;
    padding: 8px 9px;
    font-size: 13px;
  }

  .module-serial-option {
    align-items: flex-start;
    min-height: 42px;
    padding: 8px 8px;
  }

  .module-serial-option span {
    font-size: 12px;
    line-height: 1.22;
  }

  .module-selection-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .module-selection-summary strong {
    font-size: 13px;
  }

  .module-selection-summary em {
    font-size: 22px;
  }

  .module-action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 8px;
  }

  .module-results > .module-selection-actions .module-action-buttons {
    grid-template-columns: 1fr;
  }

  .module-action-buttons .button {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-actions .button {
    width: 100%;
  }

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

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

  .shipping-step,
  .shipping-step:nth-child(2),
  .shipping-step:last-child {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 12px;
    min-height: 0;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .shipping-step span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .shipping-step h3 {
    align-self: end;
  }

  .shipping-step p {
    margin-top: 4px;
  }

  .shipping-step:last-child {
    border-bottom: 0;
  }

  .shipping-note {
    padding: 14px 16px;
  }

  .service-item,
  .service-item:nth-child(2),
  .service-item:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item:last-child {
    border-bottom: 0;
  }

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

  .inquiry-form {
    padding: 20px;
  }

  summary {
    padding: 18px;
  }

  details p {
    padding-right: 18px;
    padding-left: 18px;
  }
}

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