:root {
  --orange: #e8631a;
  --orange-dk: #b9490b;
  --orange-hover: #983a06;
  --orange-pale: #fff4ee;
  --sky: #56adc6;
  --sky-pale: #eaf6fa;
  --sky-border: #c2e3ee;
  --sky-ink: #134356;
  --night: #172a3a;
  --ink: #1b2026;
  --text: #2e3338;
  --muted: #52575d;
  --line: #e4ded5;
  --line-strong: #cfc7bc;
  --stone-soft: #e1dad0;
  --stone-track: #dad2c6;
  --stone-border: #bfb5a7;
  --control-border: #575049;
  --bg: #fafaf8;
  --surface-warm: #f4f1eb;
  --card: #ffffff;
  --radius: 10px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(23, 42, 58, 0.06);
  --shadow-lg: 0 2px 8px rgba(23, 42, 58, 0.09);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: 'Avenir Next', Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@keyframes gnFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gnToastIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gnNavSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gnStatusPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(19, 67, 86, 0.16);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(19, 67, 86, 0);
  }
}

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

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.62 var(--sans);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

picture {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange-dk);
  text-underline-offset: 3px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

main p a:not(.btn):not(.link-more),
main section li a:not(.btn):not(.link-more),
main dd a:not(.btn):not(.link-more) {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  letter-spacing: -0.015em;
}

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.32;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 32px;
  }
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--night);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 60;
}

.skip:focus {
  left: 12px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 62ch;
}

/* Preview banner + header */
.demo-bar {
  background: var(--surface-warm);
  color: #3d3a35;
  font-size: 0.84rem;
  padding: 2px 0;
  border-bottom: 1px solid var(--line);
}

.demo-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-bar strong {
  color: var(--ink);
}

.demo-bar a {
  color: var(--ink);
  font-weight: 700;
}

.demo-bar-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.demo-bar-close:hover {
  background: var(--line);
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 4px rgba(23, 42, 58, 0.04);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}

.brand picture {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-tag {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--sky-ink);
  border-radius: 6px;
  padding: 4px 9px;
  white-space: nowrap;
  align-self: center;
}

@media (max-width: 599px) {
  .brand-tag {
    display: none;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  background: none;
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--orange-pale);
  border-color: #f3d5c3;
  color: var(--ink);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--orange-dk);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  animation: gnStatusPulse 2.4s ease-in-out infinite;
}

.search {
  order: 5;
  flex: 1 1 100%;
  display: flex;
  border: 1px solid #9e968c;
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}

.search input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  border: 0;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.94rem;
  background: transparent;
}

.search input:focus {
  outline: none;
}

.search input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search:focus-within {
  border-color: var(--sky-ink);
  box-shadow: 0 0 0 3px var(--sky-pale);
}

.search button {
  border: 0;
  background: var(--orange-dk);
  color: #fff;
  width: 44px;
  min-width: 44px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.search button:hover {
  background: var(--orange-hover);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 8px;
}

.header-phone:hover {
  background: var(--surface-warm);
}

.cat-nav {
  border-top: 1px solid var(--line);
  background: var(--card);
  display: none;
}

.cat-nav.open {
  display: block;
  animation: gnNavSlide 0.18s ease-out;
}

.cat-nav-row {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
  padding-bottom: 8px;
}

.cat-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}

.cat-nav a:hover,
.cat-nav a[aria-current] {
  color: var(--orange-dk);
}

@media (min-width: 900px) {
  .menu-btn {
    display: none;
  }
  .header-row {
    flex-wrap: nowrap;
    gap: 24px;
    min-height: 80px;
  }
  .brand {
    margin-right: 0;
  }
  .brand img {
    height: 50px;
  }
  .search {
    order: 0;
    flex: 1 1 auto;
    max-width: 500px;
  }
  .header-phone {
    display: inline-flex;
    margin-left: auto;
  }
  .cat-nav {
    display: block;
  }
  .cat-nav-row {
    flex-direction: row;
    gap: 28px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .cat-nav a {
    padding: 11px 0 9px;
  }
  .cat-nav a[aria-current] {
    border-bottom-color: var(--orange-dk);
  }
}

/* Assumptions: request steps use the existing site controls and spacing scale. */
.book-page {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: 88px;
}

.book-heading {
  max-width: 65ch;
  margin-bottom: 26px;
}

.book-heading h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.6vw, 3.25rem);
  line-height: 1.08;
}

.book-heading .lede {
  max-width: 65ch;
  margin-bottom: 12px;
}

.book-trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  background: var(--sky-pale);
  border: 1px solid var(--sky-border);
  border-radius: 8px;
  color: var(--sky-ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.book-layout {
  display: grid;
  gap: 24px;
}

.book-main {
  min-width: 0;
}

@media (min-width: 900px) {
  .book-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
    gap: 40px;
    align-items: start;
  }
}

.book-form {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--orange-dk);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3.5vw, 34px);
  box-shadow: var(--shadow);
  gap: 18px;
}

.book-progress {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.book-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.book-stepper-item {
  display: flex;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.book-stepper-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}

.book-stepper-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--stone-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.book-stepper-item.is-active {
  border-color: var(--orange-dk);
  background: var(--orange-pale);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--orange-dk);
}

.book-stepper-item.is-active .book-stepper-num {
  background: var(--orange-dk);
  color: #fff;
}

.book-stepper-item.is-complete {
  border-color: var(--night);
  background: var(--card);
  color: var(--ink);
}

.book-stepper-item.is-complete .book-stepper-btn {
  cursor: pointer;
}

.book-stepper-item.is-complete .book-stepper-num {
  background: var(--night);
  color: #fff;
}

@media (min-width: 600px) {
  .book-stepper {
    gap: 10px;
  }
  .book-stepper-item {
    font-size: 0.9rem;
  }
  .book-stepper-btn {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
  }
}

.book-progress-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--stone-track);
  box-shadow: inset 0 0 0 1px var(--stone-border);
}

.book-progress-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--orange-dk);
  transition: width 180ms ease;
}

.book-step {
  display: grid;
  gap: 20px;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.book-step-title,
.book-step > legend {
  width: 100%;
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--night);
  font: 700 1.4rem/1.22 var(--serif);
}

.book-fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.book-fieldset > legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

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

.choice-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.arrival-choice {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 50px;
  padding: 11px 14px;
  border: 1.5px solid #968d82;
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.choice-card:hover {
  border-color: var(--night);
  background: var(--bg);
}

.choice-card:has(input:checked) {
  border-color: var(--orange-dk);
  box-shadow: inset 0 0 0 1px var(--orange-dk);
  background: var(--orange-pale);
}

.choice-card-study {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 5px;
  padding: 13px 15px;
}

.choice-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.choice-title {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.choice-desc {
  display: block;
  padding-left: 32px;
  font-size: 0.89rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}

@media (min-width: 651px) {
  .study-choice > .choice-card-study:last-child {
    grid-column: 1 / -1;
  }
}

.book-form input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--control-border);
  border-radius: 50%;
  background: var(--card);
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.book-form input[type="radio"]::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange-dk);
  transform: scale(0);
  transition: transform 120ms ease;
}

.book-form input[type="radio"]:checked {
  border-color: var(--orange-dk);
}

.book-form input[type="radio"]:checked::before {
  transform: scale(1);
}

.book-form input[type="radio"]:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.caregiver-check input,
.book-form .check input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: var(--orange-dk);
}

.book-form select,
.book-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.book-form textarea {
  min-height: 48px;
}

.book-form .check {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
}

.book-form .check input {
  margin: 0;
}

.book-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.book-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.book-review,
.book-result {
  margin: 0;
  padding: 16px;
  border-left: 4px solid var(--orange-dk);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-warm);
}

.book-result {
  padding: clamp(22px, 5vw, 44px);
  border-top: 3px solid var(--orange-dk);
  border-radius: var(--radius-lg);
}

.book-error {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid #9b291e;
  background: #f8e9e6;
  color: #66190f;
  font-weight: 700;
}

.book-aside {
  background: var(--surface-warm);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--night);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

@media (min-width: 900px) {
  .book-aside {
    position: sticky;
    top: 100px;
  }
}

.book-aside h2 {
  font-size: 1.35rem;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--night);
}

.book-aside-facts {
  margin: 0;
  display: grid;
  gap: 12px;
}

.book-aside-facts > div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.book-aside-facts > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.book-aside-facts dt {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.book-aside-facts dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.book-aside-call {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.study-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.study-types article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.study-types h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
}

.study-types p {
  margin: 0;
}

.study-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  border-top: 2px solid var(--night);
}

.study-timeline li {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100px;
  padding: 16px 16px 0 0;
}

.study-timeline strong {
  color: var(--orange-dk);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.study-cancel {
  margin-top: 22px;
}

.brand-line {
  padding: 12px 16px;
  border-left: 3px solid var(--orange-dk);
  background: var(--surface-warm);
}

@media (max-width: 650px) {
  .choice-grid,
  .choice-row,
  .arrival-choice {
    grid-template-columns: minmax(0, 1fr);
  }
  .study-types,
  .study-timeline {
    grid-template-columns: minmax(0, 1fr);
  }
  .study-timeline li {
    min-height: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .book-controls {
    justify-content: stretch;
  }
  .book-controls .btn {
    flex: 1;
  }
}

/* Buttons + badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange-dk);
  color: #fff;
  border: 1px solid var(--orange-dk);
  border-radius: 8px;
  padding: 11px 20px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 46px;
  min-width: 44px;
  text-align: center;
}

.btn svg,
.header-phone svg {
  flex-shrink: 0;
}

.btn:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #fff;
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border: 2px solid #6b645c;
}

.btn-ghost:hover {
  background: var(--orange-pale);
  border-color: var(--orange-dk);
  color: var(--ink);
}

.btn-sm {
  padding: 9px 14px;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.9rem;
}

.btn-wide {
  width: 100%;
}

.btn-lg {
  min-height: 52px;
  font-size: 1.05rem;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  line-height: 1.4;
}

.badge-rx {
  background: var(--orange-pale);
  color: #7c2f05;
  border: 1px solid #eabfa6;
}

.badge-norx {
  background: #e4f1e0;
  color: #1e4218;
  border: 1px solid #b9d8b0;
}

.badge-demo {
  background: #efece7;
  color: #3f3c36;
  border: 1px solid #d6cfc4;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

/* Hero */
.hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  animation: gnFadeUp 0.35s ease-out;
}

.hero-grid {
  display: grid;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 40px;
  align-items: center;
}

.hero-kicker {
  color: var(--orange-dk);
  font-weight: 800;
  font-size: 0.96rem;
  margin-bottom: 10px;
}

.hero h1 {
  max-width: 24ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--orange-dk);
  border-bottom: 2px solid var(--orange-dk);
  transform: rotate(-45deg) translateY(-2px);
}

/* The photo is a structural, full-bleed part of the hero: no card frame, border or shadow. */
.hero-media {
  overflow: hidden;
  background: #e9e4dc;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

@media (max-width: 899px) {
  .hero-grid {
    padding-top: 20px;
    padding-bottom: 32px;
    gap: 0;
  }
  .hero-copy {
    display: contents;
  }
  .hero-kicker {
    order: 1;
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  .hero h1 {
    order: 2;
    font-size: 2.05rem;
    max-width: 24ch;
  }
  .hero-media {
    order: 3;
    margin: 14px -16px 22px;
  }
  .hero .lede {
    order: 4;
    margin-bottom: 18px;
  }
  .hero-actions {
    order: 5;
    margin: 0 0 20px;
  }
  .hero-points {
    order: 6;
  }
}

@media (min-width: 900px) {
  .hero {
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    padding-top: 120px;
    padding-bottom: 120px;
  }
  /* Photo runs from the hero's top edge to its bottom edge and out to the viewport's right edge. */
  .hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(50vw - 28px);
  }
  .hero-media picture,
  .hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 2.55vw, 2.32rem);
    max-width: none;
  }
  .hero .lede {
    font-size: 1.14rem;
  }
}

/* Sections */
.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (min-width: 900px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.section-tint {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
}

.link-more {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
}

.link-more::after {
  content: '\2192';
  display: inline-block;
  text-decoration: none;
}

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

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cat-card:hover {
  border-color: var(--orange-dk);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.cat-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  background: var(--surface-warm);
}

.cat-name {
  font-weight: 800;
  color: var(--ink);
  padding: 12px 14px 4px;
  font-size: 1.02rem;
}

.cat-blurb {
  display: none;
  padding: 0 14px;
  font-size: 0.9rem;
  color: var(--text);
}

.cat-count {
  padding: 4px 14px 14px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

@media (min-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .cat-blurb {
    display: block;
  }
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--night);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.steps p:last-child {
  margin: 0;
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--night);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.step-title {
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.split {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.split-media {
  align-items: center;
}

.split-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Product grid + cards */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}

.card:hover {
  border-color: #b5aba0;
  box-shadow: var(--shadow-lg);
}

.card[hidden] {
  display: none;
}

.card-media {
  background: #f6f2ec;
  border-bottom: 1px solid var(--line);
  display: block;
}

.card-media img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: contain;
  padding: 6px;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
  min-width: 0;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.32;
  margin: 0 0 6px;
  overflow-wrap: break-word;
}

.card-title a {
  color: var(--ink);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--orange-dk);
  text-decoration: underline;
}

.card-summary {
  display: none;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.card-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-top: 8px;
}

.price {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
}

.price-call {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink);
}

.card .btn-sm {
  width: 100%;
  background: var(--night);
  color: #fff;
  border-color: var(--night);
}

.card .btn-sm:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  color: #fff;
}

@media (min-width: 600px) {
  .card-body {
    padding: 16px;
  }
  .card-title {
    font-size: 1.03rem;
  }
  .card-summary {
    display: block;
  }
}

/* Support / Trust band */
.band-ship {
  background: var(--card);
  color: var(--text);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.ship-title {
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 4px;
}

.ship-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange-dk);
  border-radius: 8px;
  padding: 16px;
}

.ship-item p:last-child {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.band-ship a {
  color: var(--orange-dk);
  font-weight: 700;
}

@media (min-width: 900px) {
  .ship-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 14px 32px 14px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--night);
  inset: 11px 6px;
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq details[open] .faq-toggle::after {
  display: none;
}

.faq-link {
  color: var(--orange-dk);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.faq details p {
  margin: 0 0 16px;
}

.faq + p {
  margin-top: 16px;
}

/* Breadcrumbs + category head */
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 18px 0 0;
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.crumbs li:not(:last-child)::after {
  content: '\203A';
  color: #7c756c;
  font-weight: 700;
}

.crumbs a {
  color: var(--text);
  text-decoration: none;
}

.crumbs li[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 767px) {
  .crumbs ol:has(> li:nth-child(4)) > li:nth-child(3)::after {
    content: none;
  }
  .crumbs ol:has(> li:nth-child(4)) > li[aria-current="page"] {
    flex-basis: 100%;
    padding-top: 2px;
  }
}

.cat-head {
  padding-top: 24px;
  padding-bottom: 8px;
}

.cat-hero {
  display: grid;
  gap: 20px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 24px;
  animation: gnFadeUp 0.3s ease-out;
}

.cat-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.cat-hero img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .cat-hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
  }
}

.guide {
  display: grid;
  gap: 12px;
  margin: 8px 0 28px;
}

.guide-item {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--orange-dk);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.guide-item p {
  margin: 0;
  font-size: 0.93rem;
}

.guide-item .step-title {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .guide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.toolbar-count {
  margin: 0 auto 0 0;
  font-weight: 700;
  color: var(--ink);
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  padding: 4px 2px;
}

.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--orange-dk);
  cursor: pointer;
}

.sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

select, input, textarea {
  font: inherit;
  color: var(--ink);
}

.sort select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  min-width: 44px;
  padding: 9px 36px 9px 12px;
  border: 1px solid #bfb7ac;
  border-radius: 8px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b9490b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-weight: 600;
  cursor: pointer;
}

.sort select:focus {
  outline: none;
  border-color: var(--sky-ink);
  box-shadow: 0 0 0 3px var(--sky-pale);
}

a[href^="tel:"] {
  white-space: nowrap;
}

[data-grid] {
  margin-bottom: 56px;
}

.empty {
  padding: 24px;
  background: var(--card);
  border: 1px dashed #c8c0b5;
  border-radius: var(--radius);
}

/* Product detail */
.pdp {
  display: grid;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 32px;
  animation: gnFadeUp 0.3s ease-out;
}

.pdp-media {
  margin: 0;
  max-width: 460px;
  width: 100%;
  background: #f6f2ec;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  align-self: start;
  box-shadow: var(--shadow);
}

.pdp-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 10px;
}

.pdp-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.pdp[data-cat="cpap-machines"] .pdp-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.media-note {
  font-size: 0.88rem;
  color: var(--text);
  background: var(--surface-warm);
  padding: 10px 14px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.pdp-info .badge {
  font-size: 0.95rem;
  padding: 6px 12px;
}

.pdp-info .badge-rx {
  color: var(--card);
  background: var(--night);
  border-color: var(--night);
}

.pdp-requirement {
  margin: 16px 0 12px;
}

.pdp-subtitle {
  display: block;
  margin-top: 6px;
  font-size: 0.74em;
  font-weight: 400;
  line-height: 1.3;
}

.pdp-meta {
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.pdp-meta > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
}

.pdp-meta dt {
  font-weight: 700;
  color: var(--ink);
}

.pdp-meta dd {
  margin: 0;
  color: var(--text);
}

.cat-section {
  padding-top: 12px;
  padding-bottom: 24px;
}

.cat-section h2 {
  margin-bottom: 16px;
}

.guide-item h3.step-title {
  font-family: var(--serif);
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.pdp-info h1 {
  font-size: clamp(1.9rem, 4vw, 2.65rem);
}

.pdp-price {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.buy {
  margin: 20px 0 12px;
}

.buy-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}

.buy-row > .btn {
  min-height: 51px;
  padding: 11px 24px;
  white-space: nowrap;
}

.qty-field {
  flex: none;
}

.qty-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.qty {
  display: inline-flex;
  border: 1.5px solid #9e968c;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
  flex: none;
}

.qty-field .qty {
  gap: 4px;
  padding: 2px;
}

.qty button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.qty button:hover {
  background: var(--orange-pale);
}

.qty input {
  width: 44px;
  min-height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
  -moz-appearance: textfield;
}

.qty-field input {
  width: 48px;
}

@media (max-width: 599px) {
  .buy-row {
    flex-wrap: wrap;
  }
  .buy-row > .btn,
  .call-row .btn {
    flex-basis: 100%;
    width: 100%;
  }
}

.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.buy-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  font-weight: 700;
  color: #1e4218;
}

.buy-status:empty {
  min-height: 0;
  margin: 0;
}

.call-row {
  margin: 0 0 18px;
}

.call-row .btn {
  min-height: 48px;
  padding: 11px 20px;
}

.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid #6b9e60;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.notice p {
  margin: 0;
}

.notice-rx {
  border-left-color: var(--sky-ink);
  background: var(--sky-pale);
  border-color: #b8dfec;
}

.rx-steps {
  padding: 20px 24px;
}

.rx-steps h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.rx-steps ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 14px;
}

.rx-steps li {
  padding-left: 6px;
}

.rx-steps li::marker {
  color: var(--sky-ink);
  font-weight: 700;
}

.rx-steps strong {
  display: block;
  color: var(--ink);
}

.rx-steps p {
  margin-top: 3px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pdp-detail {
  display: grid;
  gap: 32px;
  padding-bottom: 28px;
}

.pdp-detail h2 {
  font-size: 1.6rem;
  margin-top: 8px;
}

.feature-intro {
  color: var(--muted);
  margin-bottom: 12px;
}

.feature-list h3 {
  margin: 0 0 4px;
}

.feature-list p {
  margin: 0 0 10px;
}

.model-confirmation {
  padding: 16px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-weight: 600;
}

.related-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.related-head .link-more::after {
  content: none;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.ticks li {
  position: relative;
  padding: 6px 0 6px 26px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--orange-dk);
  border-bottom: 2px solid var(--orange-dk);
  transform: rotate(-45deg);
}

@media (min-width: 900px) {
  .pdp {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 48px;
    padding-top: 28px;
  }
  .pdp-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

/* Request list */
.cart-layout {
  display: grid;
  gap: 24px;
  padding-bottom: 56px;
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
  }
  .summary {
    position: sticky;
    top: 120px;
  }
}

.line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.line-unavailable {
  grid-template-columns: minmax(0, 1fr);
}

.line img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f6f2ec;
  object-fit: contain;
}

.line-name {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: break-word;
}

.line-name:hover {
  color: var(--orange-dk);
  text-decoration: underline;
}

.line-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 2px 0 8px;
}

.line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: none;
  color: var(--orange-dk);
  text-decoration: underline;
  cursor: pointer;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
}

.link-btn:hover {
  background: var(--orange-pale);
  color: var(--ink);
}

.summary {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.summary h2 {
  font-size: 1.5rem;
}

.summary .btn-wide {
  margin-bottom: 10px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--orange-dk);
  border-radius: 12px;
  padding: 20px;
  margin: 0;
  min-width: 0;
  box-shadow: var(--shadow);
}

/* Prose + Informational pages */
.confirm {
  padding-top: 48px;
  padding-bottom: 64px;
  max-width: 760px;
}

.prose {
  padding-top: 16px;
  padding-bottom: 56px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.prose h2 {
  margin-top: 32px;
}

.three-up {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.three-up .panel p:last-child {
  margin: 0;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-list li {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 13px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  background: var(--night);
  color: #d2dde4;
  padding-top: 52px;
  font-size: 0.94rem;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 4px;
  text-decoration-skip-ink: none;
}

.site-footer a:hover {
  color: #ffd2b8;
  text-decoration-color: #ffd2b8;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (max-width: 767px) {
  .footer-col + .footer-col {
    padding-top: 20px;
    border-top: 1px solid #2b4153;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.25fr 0.85fr 0.9fr 1fr;
    gap: 36px;
  }
}

.footer-head {
  font-family: var(--serif);
  color: #fff;
  font-weight: 700;
  font-size: 1.26rem;
  line-height: 1.2;
  padding-bottom: 10px;
  margin: 0 0 14px;
  border-bottom: 1px solid #355066;
}

.footer-summary {
  max-width: 42ch;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-contact {
  margin: 0;
  display: grid;
  gap: 6px;
}

.footer-contact > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.footer-contact dt {
  color: #b8c8d4;
  font-weight: 600;
}

.footer-contact dd {
  margin: 0;
}

.footer-contact a[href^="tel:"] {
  font-size: 1.08rem;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
}

.footer-loc p {
  margin: 0;
  line-height: 1.55;
}

.footer-loc-name {
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px !important;
}

.footer-loc + .footer-loc {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #38536a;
}

.footer-legal {
  border-top: 1px solid #355066;
  margin-top: 40px;
  padding-top: 24px;
  padding-bottom: 36px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #e3ecf1;
  display: grid;
  gap: 18px;
}

.footer-legal .footer-preview {
  padding-bottom: 16px;
  border-bottom: 1px solid #2b4153;
}

.footer-legal p {
  margin: 0;
  max-width: 72ch;
}

.footer-note {
  max-width: 65ch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #355066;
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 22px 24px;
  line-height: 1.8;
}

.footer-note h2 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: #ffd2b8;
}

/* Mobile sticky call & request bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: var(--card);
  border-top: 1px solid var(--line-strong);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -1px 6px rgba(23, 42, 58, 0.08);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-bar .btn {
  min-height: 44px;
  padding: 8px 10px;
  font-size: 0.9rem;
  position: relative;
}

.mobile-bar-list .cart-count {
  position: static;
  margin-left: 2px;
}

@media (max-width: 899px) {
  .site-footer {
    padding-bottom: 68px;
  }
}

@media (min-width: 900px) {
  .mobile-bar {
    display: none;
  }
}

/* Toast notification */
.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 76px;
  z-index: 45;
  background: var(--night);
  color: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  animation: gnToastIn 0.22s ease-out;
}

.toast a {
  color: #ffd2b8;
  white-space: nowrap;
  font-weight: 700;
}

@media (min-width: 600px) {
  .toast {
    left: auto;
    width: 380px;
  }
}

@media (min-width: 900px) {
  .toast {
    bottom: 20px;
  }
}

/* ---- Full practice site (2026-11-03): main nav, shop sub-nav, practice page components ---- */
.header-book {
  display: none;
}

.nav-mobile-only {
  display: inline-flex;
}

.shop-nav {
  background: var(--surface-warm);
  border-bottom: 1px solid var(--line);
}

.shop-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.shop-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.shop-nav a:hover,
.shop-nav a[aria-current] {
  color: var(--orange-dk);
  border-bottom-color: var(--orange-dk);
}

@media (min-width: 900px) {
  .header-book {
    display: inline-flex;
  }
  .header-phone + .header-book {
    margin-left: 0;
  }
  .is-site .header-phone {
    margin-left: auto;
  }
  .nav-mobile-only {
    display: none;
  }
  .main-nav .cat-nav-row {
    gap: 26px;
  }
}

/* Practice hero */
.page-hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 36px;
  align-items: center;
}

.page-hero-grid .split-img {
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    padding-top: 40px;
    padding-bottom: 56px;
  }
}

/* Plain fact strip (all real, sourced facts) */
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.facts li {
  border-left: 3px solid var(--orange-dk);
  padding-left: 14px;
}

.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--ink);
}

.facts span {
  font-size: 0.94rem;
  color: var(--text);
}

@media (min-width: 900px) {
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
}

/* Service cards */
.svc-grid {
  display: grid;
  gap: 16px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.svc-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  background: var(--surface-warm);
}

.svc-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.svc-body p {
  font-size: 0.96rem;
}

.svc-body .link-more {
  margin-top: auto;
}

.svc-plain {
  border-top: 3px solid var(--orange-dk);
}

@media (min-width: 700px) {
  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .svc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Numbered flow (plain list, no cards) */
.flow {
  list-style: none;
  counter-reset: flow;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.flow li {
  counter-increment: flow;
  position: relative;
  padding-left: 52px;
  min-height: 36px;
}

.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--night);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow p {
  margin: 0;
}

.flow .step-title {
  margin-bottom: 2px;
}

@media (min-width: 900px) {
  .flow-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 48px;
  }
}

/* Testimonials (verbatim from goodnitesleepsolution.com) */
.quotes {
  display: grid;
  gap: 16px;
}

.quote {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
}

.quote blockquote {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink);
}

.quote figcaption {
  margin-top: auto;
  font-size: 0.92rem;
  color: var(--muted);
}

.quote figcaption strong {
  color: var(--ink);
}

@media (min-width: 900px) {
  .quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Location cards */
.loc-grid {
  display: grid;
  gap: 16px;
}

.loc-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--orange-dk);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.loc-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
}

.loc-card dl {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px 12px;
}

.loc-card dt {
  font-weight: 700;
  color: var(--ink);
}

.loc-card dd {
  margin: 0;
}

.loc-card .ticks {
  margin-bottom: 14px;
}

.loc-hero {
  padding-top: 26px;
  padding-bottom: 28px;
}

.loc-hero h1 {
  margin-bottom: 12px;
}

.loc-hero .lede,
.is-locations main p {
  max-width: 65ch;
}

.is-locations .loc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange-dk);
  padding: 24px 26px;
  box-shadow: 0 1px 4px rgba(23, 42, 58, 0.04);
}

.is-locations .loc-card h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.is-locations .loc-card dl {
  margin: 0 0 18px;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: baseline;
}

.is-locations .loc-card dt {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--muted);
}

.is-locations .loc-card dd {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
}

.is-locations .loc-card .ticks {
  margin: 0 0 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.loc-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.loc-btn-dir {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}

.loc-btn-dir:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  color: #fff;
}

@media (max-width: 599px) {
  .loc-actions {
    flex-direction: column;
  }
}

.loc-split-col {
  display: flex;
  flex-direction: column;
}

.loc-split-cta {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 8px;
}

@media (min-width: 900px) {
  .loc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* Billing code table */
.codes-stack .codes + .codes {
  margin-top: 22px;
}

.codes {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 0.94rem;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.codes caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-warm);
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 14px;
}

.codes th,
.codes td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.codes tr:last-child th,
.codes tr:last-child td {
  border-bottom: 0;
}

.codes th {
  width: 88px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* Contact form (preview: does not submit anywhere) */
.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #9e968c;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  width: 100%;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 14px;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Quick browse resupply strip */
.resupply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.resupply-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--orange-dk);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.resupply-tile strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.resupply-tile span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.resupply-tile:hover {
  border-color: var(--orange-dk);
  background: var(--orange-pale);
}

@media (min-width: 700px) {
  .resupply-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .resupply-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Recommended accessories (Goodnite's Amazon affiliate picks) */
.aff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.aff-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
}

.aff-card-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.aff-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.aff-card p {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.aff-card .btn {
  margin-top: auto;
}

.aff-card-rx img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.aff-note {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 68ch;
  margin-top: 16px;
}

@media (min-width: 900px) {
  .aff-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Grid-level pricing note (one per product grid) */
.grid-note {
  background: var(--surface-warm);
  border-left: 3px solid var(--orange-dk);
  border-radius: 8px;
  padding: 11px 15px;
  color: var(--ink);
  margin: 0 0 18px;
  font-size: 0.94rem;
}

.grid-note strong {
  color: var(--ink);
}

.cta-band {
  background: var(--night);
  color: #f0f4f8;
}

.cta-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 0.35em;
  text-wrap: balance;
}

.cta-band p:not(.cta-title) {
  color: #eef3f7;
  max-width: 58ch;
  margin: 0;
  font-size: 1.02rem;
}

.cta-band .wrap {
  display: grid;
  gap: 20px;
  align-items: center;
}

.cta-band .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta-band .btn-ghost:hover {
  background: #fff;
  color: var(--night);
}

@media (min-width: 900px) {
  .cta-band .wrap {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.section h3:not(.card-title) {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.loc-card h2,
.panel h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.quotes-stack {
  grid-template-columns: minmax(0, 1fr) !important;
}

.page-hero-single {
  grid-template-columns: minmax(0, 1fr) !important;
}

.prose-wide {
  max-width: 980px;
}

.main-nav a.nav-mobile-only {
  display: inline-flex;
}

@media (min-width: 900px) {
  .main-nav a.nav-mobile-only {
    display: none;
  }
}

.svc-grid-2 {
  margin-top: 16px;
}

@media (min-width: 1100px) {
  .svc-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .svc-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }
}

@media (min-width: 1000px) and (max-width: 1099px) {
  .svc-grid-4,
  .svc-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

h1, h2, h3 {
  text-wrap: balance;
}

.lede {
  text-wrap: pretty;
}

.crumbs ol,
.crumbs a {
  color: var(--text);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--orange-dk);
  text-decoration: underline;
}

.shop-lbl-short {
  display: inline;
}

.shop-lbl-full {
  display: none;
}

.shop-nav-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.shop-nav a {
  justify-content: center;
  text-align: center;
  padding: 5px 8px;
  min-height: 36px;
  font-size: 0.85rem;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--line-strong);
}

.shop-nav a:hover {
  border-color: var(--orange-dk);
  color: var(--orange-dk);
}

.shop-nav a[aria-current] {
  background: var(--night);
  color: #fff;
  border-color: var(--night);
}

@media (min-width: 900px) {
  .shop-lbl-short {
    display: none;
  }
  .shop-lbl-full {
    display: inline;
  }
  .shop-nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .shop-nav a {
    padding: 5px 12px;
    font-size: 0.9rem;
    background: transparent;
    border-color: transparent;
  }
  .shop-nav a:hover {
    background: var(--card);
    border-color: var(--line-strong);
  }
  .shop-nav a[aria-current] {
    background: var(--night);
    color: #fff;
    border-color: var(--night);
  }
}
