/* Product entry only. The optional road-trip scene retains its own artwork,
   colors and type; calculator styling remains scoped to the React root. */
#story-header .product-lockup { display: none; }

body.product-view {
  background: #ffffff;
  color: #0f172a;
  font-family: "Human Clinical Inter", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  user-select: text;
  -webkit-user-select: text;
}

body.product-view #story-header {
  position: sticky;
  top: 0;
  min-height: 76px;
  gap: 16px;
  padding: 12px max(20px, calc((100vw - 1100px) / 2));
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.product-view #story-header .product-lockup {
  display: block;
  width: 164px;
  height: auto;
}

body.product-view #story-header :is(.mark, .stack) { display: none; }

body.product-view #page {
  background: #ffffff;
  color: #0f172a;
  scroll-margin-top: 76px;
}

body.product-view .band { padding-block: clamp(44px, 6vw, 72px); }
body.product-view .band + .band { border-top-color: #e2e8f0; }

/* Override only the family sheet's important page-heading declaration. */
body.product-view #page :is(h1, h2, h3) {
  font-family: "Human Clinical Inter", Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

body.product-view .product-hero {
  padding-top: clamp(48px, 7vw, 96px);
  text-align: center;
}

body.product-view .product-hero h1 {
  max-width: 17ch;
  margin-inline: auto;
  color: #0f172a;
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

body.product-view .product-hero .lede { margin: 20px auto 0; }
body.product-view .product-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body.product-view :is(.btn-primary, .launch-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #1e40af;
  border-radius: 8px;
  padding: 12px 20px;
  background: #1e40af;
  color: #fff;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}

body.product-view :is(.btn-primary, .launch-link):hover {
  transform: none;
  box-shadow: none;
  background: #17358f;
  border-color: #17358f;
}

body.product-view .btn-ghost {
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1e40af;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

body.product-view .btn-ghost:hover { border-color: #1e40af; }
body.product-view :is(button, a):focus-visible { outline: 3px solid #1e40af; outline-offset: 4px; }

body.product-view .band :is(h2, h3) {
  color: #0f172a;
  font-family: inherit;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

body.product-view .band h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
body.product-view .band .lede,
body.product-view .step-list p,
body.product-view .evidence-list li { color: #334155; font-weight: 400; }

body.product-view #page .band-kicker {
  color: #1e40af;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 650;
  letter-spacing: 0.08em;
}

body.product-view .evidence-list { margin-top: 24px; }
body.product-view .evidence-list li::before { background: #1e40af; }
body.product-view .step-list { gap: 18px; }
body.product-view .step-list li {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
body.product-view .step-list .n {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff4ff;
  color: #1e40af;
  font-family: inherit;
}

body.product-view .shot {
  margin-top: 44px;
  border-color: #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  text-align: left;
}
body.product-view .shot figcaption {
  background: #f8fafc;
  color: #475569;
  border-top-color: #e2e8f0;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}
body.product-view .closing .btn-primary { margin-top: 24px; }
body.product-view .fine { color: #475569; }

@media (max-width: 639px) {
  body.product-view #story-header { min-height: 68px; gap: 10px; padding: 10px 16px; }
  body.product-view #story-header .product-lockup { width: 128px; }
  body.product-view #story-header .launch-link { padding: 10px 12px; font-size: 12px; }
  body.product-view .product-actions { flex-direction: column; align-items: stretch; }
  body.product-view .step-list,
  body.product-view .evidence-list { grid-template-columns: minmax(0, 1fr); }
  body.product-view .shot { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  body.product-view :is(.btn-primary, .launch-link) { transition: none; }
}
