/* Deliberately NOT government-looking: no seals, eagles, flags, or navy-with-red-and-white flag colors. Calm mid-blue brand. */
:root {
  --ink: #1c2a38; --muted: #5b6b7b; --line: #dde5ee; --bg: #f6f8fb; --card: #ffffff;
  --brand: #2f6fa8; --brand-dark: #20507c; --brand-soft: #e4eef8; --accent: #e9a23b;
  --error: #b3261e; --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
body { margin: 0; font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Required disclosure bar — must stay first on every page, in readable type. */
.disclosure { background: #fff8e6; border-bottom: 1px solid #ecd9a6; font-size: .9rem; padding: 10px 0; }
.disclosure strong { font-weight: 700; }

.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lbl-short { display: none; }
@media (max-width: 400px) { .nav .lbl-long { display: none; } .nav .lbl-short { display: inline; } }
@media (max-width: 340px) { .nav [data-email] { display: none; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.logo-img { display: block; height: 34px; width: auto; }
.foot-logo { display: block; width: 170px; height: auto; margin-bottom: 14px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--brand-dark); text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a.btn { color: #fff; }
#lang-switch { display: inline-flex; gap: 2px; }
#lang-switch:empty { display: none; }
#lang-switch button { border: 1px solid var(--line); background: none; padding: 4px 8px; border-radius: 6px; cursor: pointer; font: inherit; font-size: .85rem; }
#lang-switch button.active { background: var(--brand-soft); border-color: var(--brand); }

.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: none; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.big { padding: 15px 28px; font-size: 1.05rem; }

section { padding: 56px 0; }
/* ---------- Full-screen hero: auto-sliding photos with the headline on top ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: #13314f;
  min-height: max(560px, calc(100vh - 150px)); display: flex; align-items: center; padding: 56px 0 80px; }
.hero-photos { position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
/* Each slide: a blurred, enlarged copy fills the space (soft "generated" background),
   the sharp photo sits in front at closer to its real size with feathered edges. */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide .bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover;
  filter: blur(28px) saturate(1.15) brightness(.92); transform: scale(1.1); }
.hero-slide .fg { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: 100%; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 60% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 85% at 60% 45%, #000 55%, transparent 100%);
  transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slide.on .fg { transform: scale(1); }
/* "Lens": soft edge darkening plus fine film grain, which hides the softness of small photos. */
.hero-photos::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at 62% 42%, transparent 45%, rgba(10,30,50,.45) 100%); }
.hero-photos::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-content > * { max-width: 540px; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); margin: 22px 0 20px; }
/* Two-level headline: the topic big and bold, the promise lighter underneath with the key phrase in gold. */
/* One sentence, one size: the whole headline matches; only the promise is colored. */
.hero-title { font-size: clamp(2rem, 3.3vw, 2.65rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.ht-main, .ht-sub { display: inline; }

.ht-accent { color: #f2b950; }
.hero-kicker { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 14px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #dbe7f3; }
.hero p.lead { font-size: 1.08rem; line-height: 1.6; color: #dbe7f3; max-width: 30rem; margin: 0 0 28px; }
.hero .btn.big { background: var(--accent); color: #1c2a38; box-shadow: 0 8px 24px rgba(233,162,59,.35); transition: transform .2s, box-shadow .2s; }
.hero .btn.big:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(233,162,59,.45); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 0; }
.hero .btn.big { padding: 15px 30px; font-size: 1.02rem; border-radius: 12px; }
.hero-link { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.hero-link:hover { border-color: #fff; } .hero-link::after { content: " \2192"; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; font-weight: 500; color: #dbe7f3; }
.hero-points li::before { content: "\2713"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 7px; border-radius: 50%; background: #2e8b57; font-size: .75rem; }
.hero-note { font-size: .8rem; line-height: 1.5; color: #a9bfd6; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); max-width: 30rem; }
/* Gentle entrance for the text */
.hero-content > * { animation: heroUp .8s ease both; }
.hero-content > :nth-child(2) { animation-delay: .1s } .hero-content > :nth-child(3) { animation-delay: .2s }
.hero-content > :nth-child(4) { animation-delay: .3s } .hero-content > :nth-child(5) { animation-delay: .4s } .hero-content > :nth-child(6) { animation-delay: .5s }
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-pause { position: absolute; right: 16px; bottom: 16px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); color: #fff; font-size: .8rem; cursor: pointer; }
.hero-pause:hover, .hero-pause:focus-visible { background: rgba(255,255,255,.45); outline: none; }
.hero-scroll { position: absolute; left: 50%; bottom: 10px; z-index: 3; transform: translateX(-50%); color: #fff; text-decoration: none; font-size: 1.8rem; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@media (max-width: 760px) {
  .hero { min-height: max(560px, calc(100svh - 190px)); align-items: flex-end; }
  .hero-photos { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-photos::before { background: linear-gradient(180deg, rgba(19,49,79,.15) 0%, rgba(19,49,79,.75) 45%, rgba(19,49,79,.95) 100%); }
  .hero-slide .fg { width: 100%; -webkit-mask-image: none; mask-image: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide .fg, .hero-content > *, .hero-scroll { transition: opacity .3s; animation: none; transform: none !important; } }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.1rem; }
.card .price { font-size: 1.6rem; font-weight: 800; color: var(--brand-dark); }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 10px; }
.lead-in { margin: -6px 0 18px; color: var(--muted); font-size: 1.05rem; }
.callout { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 8px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
footer { background: #16283a; color: #cfdbe6; padding: 36px 0; font-size: .875rem; }
footer a { color: #fff; }

/* Homepage polish: clickable service cards, price cards with buttons, extras */
.card { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card.service { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card.service:hover, .card.service:focus-visible, .price-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28,42,56,.10); border-color: #c7d6e6; }
.card.service:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.card.service p { flex: 1; color: var(--muted); }
.icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); margin-bottom: 12px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.go { font-weight: 700; color: var(--brand); } .go::after { content: " →"; transition: margin .15s; } .card.service:hover .go::after { margin-left: 4px; }
.price-card { display: flex; flex-direction: column; } .price-card p { flex: 1; } .price-card .btn { text-align: center; margin-top: 6px; }
.card .price { font-size: 2.2rem; } .card .price::after { content: " " attr(data-unit); font-size: .85rem; font-weight: 500; color: var(--muted); }
/* Pricing: one panel, one price, three service choices */
.price-panel { border: 1.5px solid #c7d6e6; border-radius: 20px; padding: 28px; background: linear-gradient(180deg, #fbfdff, #fff); box-shadow: 0 10px 30px rgba(28,42,56,.06); }
.pp-top { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pp-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.pp-price .price { font-size: 3.2rem; font-weight: 800; color: var(--brand-dark); line-height: 1.1; letter-spacing: -.02em; }
.pp-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 8px 24px; }
.pp-list li { font-weight: 600; } .pp-list li::before { content: "\2713"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: #2e8b57; color: #fff; font-size: .72rem; }
.pp-choose { margin: 22px 0 14px; font-size: 1.05rem; }
.pp-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pp-choice { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; transition: transform .15s, border-color .15s, box-shadow .15s; }
.pp-choice:hover, .pp-choice:focus-visible { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 10px 24px rgba(28,42,56,.10); }
.pp-choice .icon { margin-bottom: 6px; } .pp-choice .go { margin-top: 10px; }
@media (max-width: 760px) { .price-panel { padding: 20px; } .pp-top { grid-template-columns: 1fr; gap: 16px; } .pp-choices { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .pp-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }
.extras { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.extra { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; border: 1px dashed #c3cfdb; border-radius: 12px; padding: 14px 16px; background: #fbfdff; }
.extra .tag { grid-row: span 2; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; border-radius: 8px; padding: 4px 9px; }
details[open] summary { margin-bottom: 6px; } details p { margin: 0; color: #33475a; }

/* Simple content pages (Terms, Privacy, Refund, Contact) */
.page { max-width: 820px; padding-top: 36px; padding-bottom: 64px; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page h2 { font-size: 1.2rem; margin-top: 28px; }
.page li { margin-bottom: 6px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 18px 0 8px; }
.toc ol { columns: 2; column-gap: 28px; margin: 8px 0 0; padding-left: 22px; font-size: .92rem; } .toc li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.page h2[id] { scroll-margin-top: 80px; }
.page .short { background: var(--brand-soft); border-radius: 8px; padding: 8px 12px; font-size: .95rem; }
.refund-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; background: var(--card); }
.refund-table th, .refund-table td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.refund-table th { background: #eff3f7; }
.draft { background: #fff3dc; border: 1px solid #ecd9a6; border-radius: 8px; padding: 10px 14px; font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; max-width: 1000px; }
.page:has(.contact-grid) { max-width: 1000px; }
.contact-form { display: grid; gap: 14px; } .contact-form textarea { width: 100%; padding: 11px 12px; border: 1.5px solid #c3cfdb; border-radius: 8px; font: inherit; }
.contact-form .err:empty { display: none; }
.contact-side { display: grid; gap: 14px; } .contact-side h2 { font-size: 1rem; margin: 0 0 .4em; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Application form ---------- */
.summary { position: sticky; top: 84px; }
.apply { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: center; gap: 24px; padding: 32px 0 64px; align-items: start; }
@media (max-width: 860px) { .apply { grid-template-columns: 1fr; } }
.apply.no-summary { grid-template-columns: minmax(0, 760px); }
.subhead .form-items { display: block; margin-top: 2px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fields > .subhead:first-of-type { }
/* Step-by-step layout: one open card, finished steps collapsed above it, later steps greyed below. */
.steps { display: grid; gap: 14px; max-width: 760px; }
.step-card, .step-pill { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 6px 18px rgba(27, 43, 42, .06); }
.step-card { padding: 26px; scroll-margin-top: 84px; }
.step-head, .step-pill { display: flex; align-items: center; gap: 14px; }
.step-head { margin-bottom: 18px; }
.step-head h2 { margin: 0; font-size: 1.35rem; }
.step-pill { padding: 16px 26px; color: var(--muted); font-weight: 600; }
.step-pill.past { color: var(--ink); }
.num { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e8edf3; color: var(--muted); font-weight: 700; }
.step-card .num, .step-pill.past .num { background: var(--brand-soft); color: var(--brand-dark); }
.pill-title { margin-right: auto; }
.pill-title .small { font-weight: 400; }
#packet .steps { margin-bottom: 28px; }
.linkbtn { background: none; border: 0; color: var(--brand); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 4px; }
.choices.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair .choice { justify-content: center; padding: 15px; margin: 0; font-weight: 700; color: var(--brand); border-color: var(--brand); position: relative; }
.pair .choice input { position: absolute; opacity: 0; }
.pair .choice:has(input:checked) { background: var(--brand); color: #fff; }
.pair .choice:has(input:focus-visible) { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.order-card { background: var(--brand-soft); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.order-card .row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.order-card .total { font-weight: 800; font-size: 1.3rem; border-top: 1px solid #bcd2e6; margin-top: 6px; padding-top: 10px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { grid-column: 1 / -1; }
.field.half { grid-column: span 1; }
/* Short fields (names, city/state, date/sex) stay side by side on phones; only very narrow screens stack them. */
@media (max-width: 359px) { .field.half { grid-column: 1 / -1; } }
.fields { align-items: end; }   /* side-by-side boxes line up even when only one has a hint */
@media (max-width: 560px) { .fields { gap: 12px 10px; } input[type=text], input[type=email], input[type=tel], input[type=date], select { padding: 10px; } }
label.lbl, legend { display: block; font-weight: 600; margin-bottom: 5px; padding: 0; }
.subhead { margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.1rem; }
.hint { font-size: .85rem; color: var(--muted); margin: 2px 0 6px; }
input[type=text], input[type=email], input[type=tel], input[type=date], select {
  width: 100%; padding: 11px 12px; border: 1.5px solid #c3cfdb; border-radius: 8px; font: inherit; background: #fff;
}
input[type=text], input[type=email], input[type=tel], input[type=date], select { height: 46px; }
@media (max-width: 560px) { input[type=text], input[type=email], input[type=tel], input[type=date], select { height: 44px; } }
input:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
fieldset { border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #c3cfdb; border-radius: 12px; padding: 11px 12px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice input { margin-top: 4px; }
.choice .price-tag { margin-left: auto; font-weight: 700; white-space: nowrap; }
.err { color: var(--error); font-size: .85rem; margin-top: 4px; }
.invalid input, .invalid select { border-color: var(--error); }
.note { background: #fff8e6; border: 1px solid #ecd9a6; border-radius: 8px; padding: 12px 14px; font-size: .92rem; }
.actions { display: flex; margin-top: 24px; gap: 12px; }
.actions .btn[type=submit] { flex: 1; }
.summary dl { margin: 0; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.summary .total { font-weight: 800; font-size: 1.15rem; border-bottom: 0; }
table.review { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
table.review td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.review td:first-child { color: var(--muted); width: 42%; }

/* Simple numbered how-to lists (packet guide + online option) */
ol.howto { padding-left: 22px; } ol.howto li { margin-bottom: 10px; } ol.howto li b { display: block; }
.online-opt { margin-bottom: 28px; border-left: 4px solid var(--brand); }

/* After-payment appointment summary */
.visit-sec { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.visit-sec h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.visit-sec h3 .num { width: 28px; height: 28px; font-size: .85rem; }
.visit-sec ul { padding-left: 20px; margin: 6px 0; } .visit-sec li { margin-bottom: 6px; }
.visit-sec ul.bring { list-style: none; padding-left: 0; }
.visit-sec ul.bring li::before { content: "☐ "; font-size: 1.1em; color: var(--brand); }

/* Free-shipping card on the review step */
.ship-card { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--brand); background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; margin: 6px 0 4px; }
.ship-icon { font-size: 1.6rem; } .ship-card > div { flex: 1; }
.ship-card .price-tag { font-weight: 800; color: var(--ok, #2e8b57); white-space: nowrap; }

/* Mailing address check */
.addr-panel { margin-top: 16px; border-radius: 12px; padding: 14px 16px; background: var(--brand-soft); border: 1.5px solid #bcd2e6; }
.addr-panel.warn { background: #fff3dc; border-color: #ecd9a6; }
.addr-suggest { font-family: ui-monospace, Menlo, Consolas, monospace; margin: 8px 0; padding: 8px 10px; background: #fff; border-radius: 8px; }
.addr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.addr-actions .btn { padding: 9px 16px; }

/* Payment pop-up */
.pay-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(19, 49, 79, .55); display: grid; place-items: center; padding: 16px; animation: payFade .2s ease; }
.pay-dialog { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.3); animation: payUp .25s ease; }
.pay-dialog h2 { margin: 0 0 4px; }
.pay-dialog .agree { text-align: center; margin: 14px 0 0; }
.pay-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.pay-dialog .actions .btn.big { flex: 1; }
@keyframes payFade { from { opacity: 0; } } @keyframes payUp { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .pay-scrim, .pay-dialog { animation: none; } }
@media (max-width: 640px) { .pay-dialog { padding: 20px; border-radius: 16px; } .pay-dialog .actions { flex-direction: column-reverse; gap: 8px; } .pay-dialog .actions .btn { width: 100%; text-align: center; } }

/* ---------- Generated packet ---------- */
.packet-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 24px 0; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 36px; margin-bottom: 24px; }
.doc h2 { border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.doc th, .doc td { border: 1px solid #b8c2cc; padding: 7px 9px; text-align: left; vertical-align: top; }
.doc th { background: #eff3f7; }
.doc td.item { width: 52px; font-weight: 700; text-align: center; }
.doc .hand { font-style: italic; color: var(--muted); }
.doc li { margin-bottom: 6px; }
.doc .docfoot { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 20px; padding-top: 8px; }
.checkbox-line::before { content: "☐ "; font-size: 1.1em; }

.print-only { display: none; }


input.ssn { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; }

@media print {
  .print-only { display: inline; }
  .screen-only { display: none !important; }
  .disclosure, .site-header, footer, .packet-bar, .no-print { display: none !important; }
  body { background: #fff; }
  .wrap { max-width: none; padding: 0; }
  .doc { border: 0; padding: 0; margin: 0; page-break-after: always; }
  .doc:last-child { page-break-after: auto; }
}

/* ---------- Phone layout (≤ 640px): compact header, notice bar and hero that fit one screen ---------- */
@media (max-width: 640px) {
  .disclosure { font-size: .78rem; line-height: 1.45; padding: 8px 0; }
  .site-header .wrap { min-height: 56px; flex-wrap: nowrap; gap: 10px; }
  .logo { font-size: 1.1rem; white-space: nowrap; } .logo-img { height: 29px; }
  .nav { flex-wrap: nowrap; gap: 10px; }
  .nav a:not(.btn):not([data-email]) { display: none; }   /* page sections are reached by scrolling */
  .nav .btn { padding: 8px 12px; font-size: .84rem; white-space: nowrap; }
  #lang-switch button { padding: 3px 6px; font-size: .75rem; }
  .logo { font-size: 1rem; } .logo-img { height: 25px; }
  .site-header .wrap { gap: 8px; }
  .nav [data-email] { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36vw; }
  section { padding: 40px 0; }
  .hero { min-height: calc(100svh - 150px); padding: 32px 0 56px; }
  .hero h1 { margin: 10px 0 .5em; }
  .hero-title { font-size: clamp(1.65rem, 7vw, 2.1rem); }
  .hero p.lead { font-size: 1rem; margin: 0 0 14px; }
  .hero-kicker { font-size: .75rem; margin: 0 0 10px; }
  .hero-cta { margin: 0; justify-content: center; gap: 12px; }
  .hero .btn.big { display: block; flex: 1 1 100%; text-align: center; padding: 14px; }
  .hero-points { gap: 6px 14px; margin: 16px 0 0; font-size: .86rem; }
  .hero-note { font-size: .76rem; margin: 14px 0 0; padding-top: 12px; }
  .hero-scroll { display: none; }
  .step-card { padding: 18px; border-radius: 16px; }
  .step-pill { padding: 12px 16px; border-radius: 16px; }
  .apply { padding: 16px 0 40px; }
  .doc { padding: 18px; }
}

a.tel { white-space: nowrap; font-weight: 600; }

/* Long web addresses wrap instead of running off the edge */
.visit-sec a, .doc a, .note a, .card a { overflow-wrap: anywhere; }

/* ---------- Phone refinements for the application (≤ 640px) ---------- */
@media (max-width: 640px) {
  .apply .nav [data-email], body:has(#form) .nav [data-email] { display: none; }   /* contact link stays in the footer */
  /* Review answers: question above, answer below, instead of a cramped two-column table */
  table.review, table.review tbody, table.review tr, table.review td { display: block; width: 100%; }
  table.review tr { padding: 9px 0; border-bottom: 1px solid var(--line); }
  table.review td { padding: 0; border: 0; }
  table.review td:first-child { width: auto; font-size: .8rem; margin-bottom: 2px; }
  table.review td:last-child { font-weight: 600; }
  /* Shipping card: title and "Free" on one line, description underneath */
  .ship-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: start; }
  .ship-card .ship-icon { display: none; }
  .ship-card .price-tag { grid-row: 1; grid-column: 2; }
  .step-head h2 { font-size: 1.2rem; }
  .subhead { font-size: 1.02rem; }
  .choice { padding: 10px 11px; }
  .actions { margin-top: 18px; }
}

/* Tablet widths: keep the logo and menu on one line (2026-12-01, image logo) */
@media (min-width: 641px) and (max-width: 860px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 12px; }
  .nav { flex-wrap: nowrap; gap: 12px; white-space: nowrap; }
  .logo-img { height: 28px; }
  .nav .lbl-long { display: none; } .nav .lbl-short { display: inline; }
  .nav .btn { padding: 10px 16px; }
}

/* Orders paused notice (config.ordersOpen = false) */
.card.paused { padding: 32px; } .card.paused h2 { margin-top: 0; } .card.paused p { max-width: 60ch; }
