/* Bethany Home Discount Pharmacy — at-home vaccines
   Palette pulled from the store logo: navy, apothecary red, leaf green, on warm paper. */
:root {
  --paper: #f6efe2;
  --paper-2: #efe4d0;
  --card: #fffaf1;
  --ink: #17224d;
  --ink-2: #3d4670;
  --muted: #6b6a73;
  --red: #a3121b;
  --red-dk: #7f0c14;
  --leaf: #2f7a3a;
  --sun: #e39a2d;
  --line: #d9cbb2;
  --line-2: #c7b593;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; font-variation-settings: "SOFT" 50; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.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(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.eyebrow {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: #f6c58b; }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; padding: 0 1.6rem;
  font: 700 1.05rem/1 var(--sans);
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 3px 0 rgba(23, 34, 77, .25);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 rgba(23, 34, 77, .25); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(23, 34, 77, .25); }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--red-dk); }
.btn--ink { --bg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Top bar */
.topbar { background: var(--ink); color: #e8e4f3; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .6rem; }
.topbar__right { gap: 1.2rem !important; }
.topbar__es { font-style: italic; color: #f6c58b; }
.topbar__phone { font-weight: 700; text-decoration: none; color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #58c26a; box-shadow: 0 0 0 3px rgba(88, 194, 106, .25); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 226, .92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 80px; }
.brand img { width: 230px; height: auto; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 1rem; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.lang {
  font: 700 .95rem/1 var(--sans);
  min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
}
.lang:hover { background: var(--ink); color: var(--paper); }
.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu span:nth-child(1) { top: 17px; }
.menu span:nth-child(2) { top: 26px; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Hero */
.hero { padding-top: clamp(3rem, 6vw, 5.5rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 34, 77, .08) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.hero__title { font-size: clamp(2.9rem, 7.4vw, 6rem); font-weight: 600; line-height: .98; letter-spacing: -0.025em; margin-bottom: 1.6rem; }
.hero__title > span { display: block; }
.hero__em { display: inline-block; position: relative; font-style: italic; font-weight: 400; color: var(--red); }
.squiggle { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .22em; color: var(--sun); }
.hero__lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink-2); max-width: 36em; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.receipt {
  position: relative;
  background: #fffdf8;
  font-family: var(--mono); font-size: .88rem; color: #2b2b33;
  padding: 1.8rem 1.6rem 2.2rem;
  transform: rotate(1.6deg);
  box-shadow: 0 1px 0 var(--line), 0 24px 40px -18px rgba(23, 34, 77, .35);
  --tooth: 10px;
  -webkit-mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) calc(var(--tooth) / 2) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth) / 2) no-repeat;
  mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) calc(var(--tooth) / 2) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth) / 2) no-repeat;
}
.receipt__head { text-align: center; font-weight: 500; letter-spacing: .12em; margin-bottom: .4rem; }
.receipt__head { font-size: 1rem; font-weight: 500; }
.receipt__rule { text-align: center; color: var(--line-2); margin: .4rem 0; overflow: hidden; white-space: nowrap; }
.receipt__lines { margin: .6rem 0; }
.receipt__lines div { display: flex; align-items: baseline; gap: .5rem; padding: .3rem 0; }
.receipt__lines dt { flex: 1; display: flex; gap: .5rem; }
.receipt__lines dt::after { content: ""; flex: 1; border-bottom: 1px dotted #b9ad97; transform: translateY(-4px); }
.receipt__lines dd { margin: 0; text-align: right; font-weight: 500; max-width: 55%; }
.receipt__lines div:not(:last-child) dd { font-size: 1.35rem; color: var(--red); }
.receipt__sub { font-size: .75rem; color: var(--muted); }
.receipt__note { font-family: var(--sans); font-weight: 700; font-size: .95rem; color: var(--ink); margin: .6rem 0 .5rem; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin: .6rem 0; text-transform: uppercase; letter-spacing: .08em; }
.receipt__total strong { font-size: 1.9rem; color: var(--red); letter-spacing: 0; }
.receipt__fine { font-size: .74rem; color: var(--muted); line-height: 1.5; margin: 0; font-family: var(--sans); }
.stamp { position: absolute; right: -28px; top: -34px; width: 118px; color: var(--leaf); transform: rotate(-14deg); opacity: .92; mix-blend-mode: multiply; }
.stamp svg { width: 100%; font-family: var(--mono); }

.hero__photo { margin: clamp(3rem, 6vw, 5rem) auto 0; position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 1800 / 600; min-height: 260px; object-fit: cover; object-position: 60% 40%; border-radius: var(--radius) var(--radius) 0 0; }
.hero__photo figcaption {
  position: absolute; left: 48px; bottom: 0;
  background: var(--paper); padding: .8rem 1.2rem .2rem; max-width: 420px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-2);
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Proof strip */
.proof { background: var(--ink); color: #fff; }
.proof__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__list li { padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .2rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.proof__list li:first-child { border-left: 0; padding-left: 0; }
.proof__list strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.proof__list span { color: #c7cbe0; font-size: .98rem; }
.star { color: var(--sun) !important; font-size: 1.4rem; margin-left: .15rem; }

/* Section heads */
section { position: relative; }
.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.5rem); max-width: 760px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.section-head__aside { color: var(--ink-2); margin: 0; border-left: 3px solid var(--sun); padding-left: 1.2rem; }

/* How */
.how { padding-block: clamp(4.5rem, 9vw, 8rem); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.step { padding: 1.8rem 1.6rem 0 0; display: grid; gap: .9rem; position: relative; }
.step + .step { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 3.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--ink-2); font-size: 1.02rem; }
.step__time { font-family: var(--mono); font-size: .78rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf) !important; margin: 0; }

/* Vaccines */
.vaccines { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--paper-2); border-block: 1px solid var(--line); }
.labels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.label {
  background: var(--card);
  border: 1.5px solid var(--ink);
  padding: 1.3rem 1.3rem 1.1rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 5px 5px 0 var(--ink);
}
.label:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--red); }
.label::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 18px, transparent 18px 24px); }
.label__rx { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--muted); margin: .3rem 0 .7rem; }
.label h3 { font-size: 1.85rem; margin-bottom: .3rem; }
.label__for { font-weight: 700; color: var(--red); font-size: .98rem; margin-bottom: .6rem; }
.label p { font-size: 1rem; color: var(--ink-2); }
.label__qty { margin: auto 0 0 !important; padding-top: .8rem; border-top: 1px dashed var(--line-2); font-family: var(--mono); font-size: .75rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--ink) !important; }
.label--cta { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--sun); }
.label--cta::before { background: repeating-linear-gradient(90deg, var(--sun) 0 18px, transparent 18px 24px); }
.label--cta .label__rx { color: #aab0cc; }
.label--cta p { color: #d9dcec; }
.label--cta .btn { margin-top: auto; align-self: flex-start; --bg: var(--paper); --fg: var(--ink); }
.label--cta:hover { box-shadow: 7px 7px 0 var(--sun); }
.fineprint { font-size: .9rem; color: var(--muted); margin: 2rem 0 0; }

/* Who */
.who { padding-block: clamp(4.5rem, 9vw, 8rem); }
.who__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.who__photo { margin: 0; position: relative; }
.who__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; border-radius: 240px 240px var(--radius) var(--radius); }
.who__photo figcaption { font-family: var(--serif); font-style: italic; color: var(--ink-2); margin-top: .8rem; }
.who__photo::after { content: ""; position: absolute; inset: 18px -18px 44px 18px; border: 1.5px solid var(--red); border-radius: 240px 240px var(--radius) var(--radius); z-index: -1; }
.who__copy h2 { margin-bottom: 2rem; }
.who__list { list-style: none; padding: 0; margin: 0; }
.who__list li { padding: 1.2rem 0 1.2rem 3rem; border-top: 1px solid var(--line); position: relative; }
.who__list li:last-child { border-bottom: 1px solid var(--line); }
.who__list li::before { content: "✚"; position: absolute; left: .3rem; top: 1.25rem; color: var(--leaf); font-size: 1.2rem; }
.who__list h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.who__list p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }

/* Area */
.area { min-height: 620px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.area__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 25, 58, .92) 0%, rgba(17, 25, 58, .7) 45%, rgba(17, 25, 58, .05) 80%); }
.area__inner { padding-block: 5rem; }
.area__card { max-width: 560px; color: #fff; }
.area__card h2 { margin-bottom: 1.6rem; }
.area__towns { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.area__towns li { border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: .3rem .9rem; font-size: .98rem; }
.area__towns li:first-child { background: var(--sun); color: var(--ink); border-color: var(--sun); font-weight: 700; }
.area__card p { color: #e1e4f0; }

/* Neighbors */
.neighbors { padding-block: clamp(4.5rem, 9vw, 8rem); }
.neighbors__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.neighbors__copy h2 { margin-bottom: 1.5rem; }
.neighbors__copy > p { color: var(--ink-2); }
.services { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--line); }
.services li { padding: .8rem 0 .8rem 2.2rem; border-bottom: 1px solid var(--line); position: relative; font-weight: 700; }
.services li::before { content: "Rx"; position: absolute; left: 0; top: .9rem; font: italic 800 .95rem/1 var(--serif); color: var(--red); }
.collage { position: relative; padding-bottom: 5rem; }
.collage figure { margin: 0; }
.collage img { width: 100%; object-fit: cover; }
.collage figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.collage__a img { aspect-ratio: 4 / 3.3; object-position: 45% 50%; border-radius: var(--radius); }
.collage__a figcaption { max-width: 40%; }
.collage__b { position: absolute; right: -12px; bottom: 0; width: 56%; background: var(--card); padding: 10px 10px 2px; transform: rotate(-2.5deg); box-shadow: 0 20px 40px -16px rgba(23, 34, 77, .45); }
.collage__b img { aspect-ratio: 4 / 3; object-position: 30% 50%; }

/* Book */
.book { background: var(--ink); color: #fff; padding-block: clamp(4.5rem, 9vw, 7rem); overflow: hidden; }
.book::before { content: "Rx"; position: absolute; right: -2rem; top: -3rem; font: italic 800 26rem/1 var(--serif); color: rgba(255, 255, 255, .03); pointer-events: none; }
.book__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; position: relative; }
.book__intro { position: sticky; top: 120px; }
.book__intro h2 { margin-bottom: 1.3rem; }
.book__intro > p { color: #d0d4e6; }
.book__promises { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .7rem; }
.book__promises li { padding-left: 2rem; position: relative; }
.book__promises li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--leaf); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.book__hours { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1.2rem; font-size: 1rem; }
.book__hours p { display: flex; justify-content: space-between; margin: .3rem 0; max-width: 300px; color: #d0d4e6; }
.book__hours .book__hoursTitle { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #f6c58b; margin-bottom: .6rem; }

.formcard { background: var(--paper); color: var(--ink); border-radius: 10px; padding: clamp(1.4rem, 3.5vw, 2.6rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.progress { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; counter-reset: s; }
.progress li { display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; color: var(--muted); }
.progress li span { display: block; height: 5px; border-radius: 3px; background: var(--line); font-size: 0; transition: background .3s; }
.progress li em { font-style: normal; font-weight: 700; }
.progress li.is-active span, .progress li.is-done span { background: var(--red); }
.progress li.is-active em { color: var(--ink); }
.progress li.is-done em { color: var(--ink-2); }

.fstep { border: 0; padding: 0; margin: 0; min-width: 0; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fstep legend { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; margin-bottom: 1.4rem; padding: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field { margin-bottom: 1.3rem; display: flex; flex-direction: column; min-width: 0; }
.field label, .field__label { font-weight: 700; margin-bottom: .45rem; font-size: 1rem; }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.hint { font-size: .92rem; color: var(--muted); margin: .4rem 0 1rem; }

input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; font: 400 1.08rem/1.3 var(--sans); color: var(--ink);
  background: #fffdf8; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  padding: .85rem .95rem; min-height: 54px;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2317224d' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(227, 154, 45, .35); }
.is-invalid { border-color: var(--red) !important; background: #fff4f2 !important; }
.error { color: var(--red); font-size: .92rem; font-weight: 700; margin: -.4rem 0 1rem; }
.field .error { margin: .4rem 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.1rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fffdf8; font-weight: 700; font-size: 1rem; transition: all .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.chips--days .chip span { min-width: 64px; justify-content: center; }

.checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1.2rem; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: flex; align-items: center; gap: .6rem; min-height: 58px; padding: .5rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fffdf8; font-weight: 700; transition: all .15s; }
.check span::before { content: ""; flex: none; width: 22px; height: 22px; border: 2px solid var(--line-2); border-radius: 4px; background: #fff center / 14px no-repeat; transition: all .15s; }
.check:hover span { border-color: var(--ink); }
.check input:checked + span { border-color: var(--red); background: #fff3ee; }
.check input:checked + span::before { background-color: var(--red); border-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11'%3E%3Cpath d='M1 5.5l4 4 8-8' fill='none' stroke='white' stroke-width='2.4'/%3E%3C/svg%3E"); }
.check input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.check--wide { grid-column: span 2; }

.yn { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--line); }
.yn:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; }
.yn p { margin: 0; font-weight: 700; flex: 1 1 240px; }
.yn .chip span { min-height: 42px; padding: 0 .95rem; }

.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); margin: .4rem 0 1rem; cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--red); }

.hp { position: absolute !important; left: -9999px !important; }

.form__status { background: #fff4f2; border: 1.5px solid var(--red); color: var(--red-dk); padding: .9rem 1rem; border-radius: var(--radius); font-weight: 700; }
.form__nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.form__nav #nextBtn, .form__nav #submitBtn { margin-left: auto; }
.form__count { margin: 0; font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#backBtn:not([hidden]) + .form__count { margin-left: 0; }

.success { text-align: center; padding: 2rem 0; outline: none; animation: fadeIn .4s ease; }
.success__check { width: 84px; margin: 0 auto 1.2rem; color: var(--leaf); }
.success__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 2.2rem; margin-bottom: 1rem; }
.success__ref { font-family: var(--mono); background: var(--card); border: 1.5px dashed var(--line-2); display: inline-block; padding: .6rem 1rem; border-radius: var(--radius); font-size: .95rem; }
.success .btn { margin-top: 1rem; }

/* FAQ */
.faq { padding-block: clamp(4.5rem, 9vw, 8rem); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); }
.faq h2 { margin-bottom: 1.2rem; }
.faq__side { color: var(--ink-2); margin-bottom: 1.6rem; }
.faq__list details { border-top: 1px solid var(--line-2); }
.faq__list details:last-child { border-bottom: 1px solid var(--line-2); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; position: relative; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; transition: transform .25s, background-color .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
.faq__list summary:hover { color: var(--red); }
.faq__list details p { color: var(--ink-2); padding-right: 3rem; margin-bottom: 1.4rem; }

/* Footer */
.footer { background: #0f1638; color: #c9cde0; padding-top: 4rem; font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2.5rem; }
.footer__brand img { width: 240px; background: var(--paper); padding: 10px 14px; border-radius: var(--radius); margin-bottom: 1.2rem; }
.footer__brand p { max-width: 30ch; }
.footer__extra { font-size: .92rem; color: #9ca2c1; }
.footer__title { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #f6c58b; margin-bottom: .9rem; }
.footer p { margin: 0 0 .35rem; }
.footer address { font-style: normal; margin-bottom: .6rem; }
.footer a { color: #fff; }
.footer__link { font-weight: 700; }
.footer__map { grid-column: 1 / -1; }
.mapbox { position: relative; min-height: 280px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.mapbox__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.5); }
.mapbox::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 22, 56, .95) 0%, rgba(15, 22, 56, .8) 55%, rgba(15, 22, 56, .45) 100%); }
.mapbox.is-loaded::after { content: none; }
.mapbox__panel { padding: 1.6rem; max-width: 560px; }
.mapbox__title { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin-bottom: .4rem !important; }
.mapbox__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin: 1rem 0 .8rem; }
.mapbox__remember { display: flex; align-items: center; gap: .5rem; font-size: .92rem; cursor: pointer; }
.mapbox__remember input { width: 20px; height: 20px; accent-color: var(--sun); }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-block: 1.4rem 2rem; font-size: .85rem; color: #8e94b5; }
.footer__legal a { color: #b9bfdc; }

.mobilebar { display: none; }

/* Buttons: extra variants */
.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.label--cta .btn { --bg: var(--paper); --fg: var(--ink); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.linkbtn--inline { color: var(--red); font-weight: 700; }

/* Fees in the area band */
.area__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.area__card { max-width: 600px; }
.fees { margin: 0 0 1.4rem; border-top: 1px solid rgba(255, 255, 255, .3); }
.fees__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.fees__row dt { font-size: 1.1rem; }
.fees__row dd { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 600; color: #ffd08f; }
.fees__row--muted dd { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: #fff; }
.area__townsLabel { font-weight: 700; color: #fff !important; margin: 1.4rem 0 .6rem; }
.area__towns li:first-child { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); font-weight: 400; }
.area__fine { font-size: .9rem; color: #c3c8de !important; }
.rings { width: 100%; max-width: 380px; justify-self: center; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }

/* Form additions */
.req-note { font-size: .9rem; color: var(--muted); margin: -1rem 0 1rem; }
.field--group { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
.field--group > legend { padding: 0; margin-bottom: .55rem; }
.hint--tight { margin: .35rem 0 .6rem; }
.review { margin: 0 0 1.4rem; background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: .4rem 1.1rem; }
.review div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.review div:last-child { border-bottom: 0; }
.review dt { color: var(--muted); font-size: .95rem; }
.review dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.feebox { background: #fff6e4; border-left: 4px solid var(--sun); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 1.4rem; }
.feebox__title { font-weight: 700; margin-bottom: .4rem; }
.feebox ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; font-size: 1rem; }
.consents { display: grid; gap: .3rem; }
.consent a { color: var(--red); font-weight: 700; }
.book__emergency { margin-top: 1.4rem; font-weight: 700; color: #f6c58b; }

/* Footer legal nav */
.footer__legalnav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: flex-start; }
.footer__legalnav a, .footer__legalnav .linkbtn { color: #dfe2f0; font-size: .92rem; }
.footer--slim { padding-top: 0; }
.footer--slim .footer__legal { margin-top: 0; border-top: 0; }

/* Privacy choices dialog */
.choices { width: min(560px, calc(100% - 32px)); border: 0; border-radius: 10px; padding: 1.8rem; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.choices::backdrop { background: rgba(15, 22, 56, .6); }
.choices h2 { font-size: 1.8rem; margin-bottom: .8rem; }
.choices > p { color: var(--ink-2); font-size: 1rem; }
.choices__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); cursor: default; }
label.choices__row { cursor: pointer; }
.choices__row p { margin: 0; }
.choices__name { font-weight: 700; }
.choices__desc { font-size: .92rem; color: var(--muted); margin-top: .2rem !important; }
.choices__always { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--leaf); white-space: nowrap; }
.choices__actions { display: flex; justify-content: flex-end; gap: .6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.switch { appearance: none; flex: none; width: 52px; height: 30px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch:checked { background: var(--leaf); }
.switch:checked::after { transform: translateX(22px); }

/* Legal pages */
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal__grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.legal__grid > * { min-width: 0; }
.legal__toc { position: sticky; top: 110px; }
.legal__toc nav { display: grid; gap: .2rem; }
.legal__toc a { text-decoration: none; padding: .55rem .8rem; border-left: 3px solid var(--line); font-weight: 700; color: var(--ink-2); }
.legal__toc a:hover { border-color: var(--ink); color: var(--ink); }
.legal__toc a[aria-current="page"] { border-color: var(--red); color: var(--red); background: var(--card); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: .6rem; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.3rem; display: grid; gap: .5rem; margin: 0 0 1em; }
.prose a { color: var(--red); }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
.legal__meta { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal__es { background: var(--card); border: 1px dashed var(--line-2); padding: .7rem 1rem; border-radius: var(--radius); }
.callout { background: #eef5ec; border-left: 4px solid var(--leaf); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2rem; }
.prose table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--paper-2); }

@media (max-width: 920px) {
  .area__inner { grid-template-columns: 1fr; }
  .rings { max-width: 280px; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc nav { grid-auto-flow: column; overflow-x: auto; }
  .legal__toc a { white-space: nowrap; border-left: 0; border-bottom: 3px solid var(--line); }
  .legalpage .header__actions .btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .review div { grid-template-columns: 1fr; gap: .1rem; }
  .legal__cta { display: none !important; }
  .legalpage .footer { padding-bottom: 1rem; }
  .fees__row:not(.fees__row--muted) dd { font-size: 1.6rem; }
  .fees__row--muted dd { text-align: right; line-height: 1.3; }
  .legalpage .brand img { width: 140px; }
  .legalpage .header__actions .btn { white-space: nowrap; padding: 0 .9rem; font-size: .9rem; }
  .mapbox { min-height: 340px; }
  .choices { padding: 1.3rem; }
  .choices__actions .btn { flex: 1; }
}

/* At Home Vaccines brand */
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; line-height: 1; letter-spacing: -.015em; white-space: nowrap; }
.brand__name em { font-style: italic; font-weight: 400; color: var(--red); }
.brand--light { color: #fff; margin-bottom: 1rem; }
.brand--light .brand__name em { color: #ffb3a0; }

/* Hero "what's included" card */
.receipt__list { list-style: none; padding: 0; margin: .6rem 0; }
.receipt__list li { display: flex; gap: .7rem; padding: .35rem 0; }
.receipt__list li::before { content: "✓"; color: var(--leaf); font-weight: 700; }
.receipt__call { display: inline-block; font: 700 1.15rem/1.2 var(--sans); color: var(--red); text-decoration: none; margin-top: .1rem; }
.receipt__call:hover { text-decoration: underline; }

/* Provided-by credit */
.provider { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: var(--paper-2); border-top: 1px solid var(--line); }
.provider__grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 980px; }
.provider__logo { width: 100%; background: #fffdf8; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.provider .eyebrow { margin-bottom: .4rem; }
.provider__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; }
.provider p { color: var(--ink-2); font-size: 1rem; }
.provider__meta { font-size: .92rem !important; margin: 0; }
.provider__meta a { color: var(--red); font-weight: 700; }

@media (max-width: 920px) {
  .provider__grid { grid-template-columns: 1fr; }
  .provider__logo { max-width: 220px; }
}
@media (max-width: 640px) {
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.18rem; }
  .lang { padding: 0 .8rem; font-size: .88rem; }
}

.form__fallback { margin: .8rem 0 0; }
.form__filewarn { background: #fff6e4; border-left: 4px solid var(--sun); padding: .8rem 1rem; border-radius: 0 var(--radius) var(--radius) 0; font-weight: 700; font-size: .95rem; }
.checks--eth { grid-template-columns: repeat(2, 1fr); margin-bottom: .4rem; }
@media (max-width: 640px) { .checks.checks--eth { grid-template-columns: 1fr; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 1.1rem; }
  .nav a { font-size: .95rem; }
  .labels { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .step, .step + .step { padding: 1.6rem 1.4rem 1.6rem 0; border-left: 0; border-top: 2px solid var(--ink); }
  .step:nth-child(even) { padding-left: 1.4rem; border-left: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 24px 1.2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a::after { display: none; }
  .header__actions { margin-left: auto; }
  .hero__grid, .who__grid, .neighbors__grid, .book__grid, .faq__grid, .section-head--split { grid-template-columns: 1fr; }
  .section-head--split { gap: 1.2rem; }
  .receipt { max-width: 420px; margin: 1rem 0 0 auto; width: calc(100% - 20px); }
  .proof__list { grid-template-columns: repeat(2, 1fr); }
  .proof__list li { padding: 1.3rem 1rem; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .proof__list li:nth-child(-n+2) { border-top: 0; }
  .proof__list li:nth-child(odd) { padding-left: 0; }
  .who__photo img { aspect-ratio: 4 / 3.4; }
  .book__intro { position: static; }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .area::after { background: linear-gradient(0deg, rgba(17, 25, 58, .95) 0%, rgba(17, 25, 58, .75) 60%, rgba(17, 25, 58, .35) 100%); }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .wrap { padding-inline: 18px; }
  .topbar__hours { display: none !important; }
  .topbar__inner { justify-content: center; }
  .header__inner { min-height: 68px; gap: .6rem; }
  .brand img { width: 170px; }
  .header__actions .btn { display: none; }
  .hero__cta .btn { width: 100%; }
  .stamp { width: 88px; right: 2px; top: -34px; }
  .hero__photo { padding-inline: 0; }
  .hero__photo img { border-radius: 0; min-height: 240px; object-position: 70% 40%; }
  .hero__photo figcaption { position: static; max-width: none; padding: .8rem 18px 0; }
  .steps, .labels { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(even) { padding: 1.4rem 0; border-left: 0; }
  .step { grid-template-columns: auto 1fr; gap: 1.2rem; }
  .step__num { font-size: 2.6rem; }
  .grid2 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
  .check--wide { grid-column: 1 / -1; }
  .collage { padding-bottom: 4rem; }
  .collage__b { width: 64%; right: 0; }
  .form__nav { flex-wrap: wrap; }
  .form__count { order: -1; width: 100%; }
  .form__nav .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .book::before { font-size: 14rem; }
  .mobilebar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    min-height: 56px; align-items: center; justify-content: center;
    background: var(--red); color: #fff; font-weight: 700; text-decoration: none; border-radius: 999px;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
    transition: transform .25s ease, opacity .25s;
  }
  .mobilebar.is-hidden { transform: translateY(90px); opacity: 0; }
  .footer { padding-bottom: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
