/*!
 * Real Sign Guy - design system (mobile-first, app style).
 * Same family as MH Carpentry (Bebas Neue display + Montserrat body, square architectural
 * buttons, reveal-on-scroll, mobile bottom tab bar) in Real Sign Guy's own palette:
 * navy + gold taken from the supplied superhero video - NOT confirmed brand colours yet
 * (see includes/config.php / OPEN-QUESTIONS.md).
 *
 *  1 tokens  2 base  3 layout  4 buttons  5 ribbon  6 header  7 tab bar  8 scroll hero
 *  9 sections (actions, steps, know, film, band)  10 form pages  11 form controls
 * 12 success  13 prose / terms  14 footer  15 reveal  16 reduced motion  17 print
 */

/* 1. TOKENS ================================================================ */
:root {
  --navy: #16223F;
  --navy-2: #22325A;
  --navy-3: #0D1630;
  --gold: #F0C040;
  --gold-2: #D9A92A;
  --ink: #0E1526;
  --muted: #535E74;
  --line: #DFE4EE;
  --bg: #F4F6FA;
  --card: #FFFFFF;
  --danger: #B42318;
  --ok: #1E7B4F;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14, 21, 38, .06), 0 8px 24px rgba(14, 21, 38, .08);
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --tabbar-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* 2. BASE ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 17px/1.6 var(--body);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--flip { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 6px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.center { text-align: center; }
.hl { color: var(--gold); }
.eyebrow { font: 700 .78rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 .7em; }
.eyebrow--gold { color: var(--gold); }

/* 3. LAYOUT ================================================================ */
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 56px; }
.section--navy { background: var(--navy); color: #fff; }
.section--soft { background: #E9EDF5; }
.section__h { font: 400 clamp(2.2rem, 7vw, 3.6rem)/1 var(--display); letter-spacing: .02em; color: var(--navy); margin-bottom: 28px; }
.section__h--light { color: #fff; }

/* 4. BUTTONS =============================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--radius-sm);
  font: 700 1rem/1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(240, 192, 64, .35); }
.btn--gold:hover { background: #F5CC5C; color: var(--ink); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }

/* 5. WINTER RIBBON ========================================================= */
.ribbon { background: var(--navy-3); color: #DCE3F2; font-size: .85rem; overflow: hidden; white-space: nowrap; }
.ribbon__track { display: flex; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__set { display: flex; margin: 0; }
.ribbon__set span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 28px; }
.ribbon__set span + span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-right: 20px; }
.ribbon strong { color: var(--gold); }
.ribbon .icon { color: var(--gold); width: 1em; height: 1em; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* 6. HEADER ================================================================ */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.hdr.is-scrolled { box-shadow: 0 6px 20px rgba(14, 21, 38, .08); }
.hdr__in { display: flex; align-items: center; gap: 16px; width: min(1180px, 100% - 32px); margin: 0 auto; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__logo { display: block; width: 52px; height: 52px; flex: none; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 400 1.65rem/1 var(--display); letter-spacing: .05em; }
.brand__tag { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand--light { color: #fff; }
.brand--light .brand__tag { color: #AEB9D3; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink); }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.hdr__call { margin-left: auto; }
.hdr__call span { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .hdr__call { margin-left: 8px; }
  .hdr__call span { display: inline; }
}

/* 7. MOBILE TAB BAR (app style) =========================================== */
.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(14, 21, 38, .06);
}
.tabbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: .72rem; font-weight: 700; }
.tabbar__item .icon { width: 24px; height: 24px; }
.tabbar__item[aria-current="page"] { color: var(--navy); }
.tabbar__item[aria-current="page"] .icon { color: var(--gold-2); }
.tabbar__item--call { color: var(--ink); }
.tabbar__item--call .icon { width: 44px; height: 44px; padding: 10px; margin-top: -18px; border-radius: 50%; background: var(--gold); box-shadow: 0 6px 16px rgba(240, 192, 64, .45); }
@media (min-width: 900px) { .tabbar { display: none; } body { padding-bottom: 0; } }

/* 8. HERO: phone = scroll-scrubbed image sequence, desktop = autoplay video (2026-10-25) =========================================================== */
.scrolly { position: relative; height: 320vh; background: var(--navy-3); }
/* Stage sits under the 68px sticky header; the ribbon above scrolls away first. */
.scrolly__sticky { position: sticky; top: 68px; height: calc(100vh - 68px); height: calc(100svh - 68px); overflow: hidden; }
.scrolly__poster, .scrolly__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrolly__canvas { opacity: 0; transition: opacity .4s; }
.scrolly.is-ready .scrolly__canvas { opacity: 1; }
.scrolly__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13, 22, 48, .55) 0%, rgba(13, 22, 48, 0) 34%),
  linear-gradient(0deg, rgba(13, 22, 48, .92) 0%, rgba(13, 22, 48, .55) 34%, rgba(13, 22, 48, 0) 62%); }
.scrolly__copy { position: absolute; inset: auto 0 calc(var(--tabbar-h) + 26px) 0; width: min(1180px, 100% - 32px); margin: 0 auto; color: #fff; }
.scene { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(28px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.scene.is-on { opacity: 1; transform: none; pointer-events: auto; }
.scene__h { font: 400 clamp(3.2rem, 14vw, 6.6rem)/.9 var(--display); letter-spacing: .01em; margin: 0 0 .25em; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }
.scene__p { max-width: 34ch; font-size: 1.05rem; color: #E3E8F3; }
.scene__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.scrolly__progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.scrolly__progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold); }
.scrolly__hint { position: absolute; right: 18px; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0;
  color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; transition: opacity .3s; }
.scrolly__hint i { width: 2px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: hint 1.6s ease-in-out infinite; }
.scrolly.is-past-start .scrolly__hint { opacity: 0; }
@keyframes hint { 0%, 100% { transform: translateY(-6px); opacity: .4; } 50% { transform: translateY(6px); opacity: 1; } }
@media (min-width: 900px) {
  .scrolly__copy { bottom: 64px; }
  .scene__p { font-size: 1.2rem; }
}

/* Desktop video hero */
.hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--navy-3);
  height: calc(100vh - 68px - var(--tabbar-h)); height: calc(100svh - 68px - var(--tabbar-h)); min-height: 520px; max-height: 900px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13, 22, 48, .45) 0%, rgba(13, 22, 48, 0) 30%),
  linear-gradient(0deg, rgba(13, 22, 48, .94) 0%, rgba(13, 22, 48, .6) 38%, rgba(13, 22, 48, 0) 68%); }
.hero__copy { position: relative; width: min(1180px, 100% - 32px); margin: 0 auto; padding-bottom: 30px; }
.hero__h { font: 400 clamp(3.2rem, 14vw, 6.6rem)/.9 var(--display); letter-spacing: .01em; margin: 0 0 .25em; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }
.hero__p { max-width: 36ch; font-size: 1.05rem; color: #E3E8F3; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__toggle { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(13, 22, 48, .55); color: #fff; cursor: pointer; }
.hero__toggle .icon { width: 18px; height: 18px; }
.hero__toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hero__play, .hero__toggle[aria-pressed="true"] .hero__pause { display: none; }
.hero__toggle[aria-pressed="true"] .hero__play { display: block; }
@media (min-width: 900px) {
  .hero { height: calc(100svh - 68px); }
  .hero__copy { padding-bottom: 64px; }
  .hero__p { font-size: 1.2rem; }
}

/* One hero per breakpoint (after both blocks so it wins). */
@media (min-width: 900px) { .scrolly { display: none; } }
@media (max-width: 899px) { .hero { display: none; } }

/* 9. SECTIONS ============================================================== */
.actions { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.action {
  position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s;
}
.action:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 21, 38, .14); color: var(--ink); }
.action__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--bg); color: var(--navy); margin-bottom: 10px; }
.action__icon .icon { width: 28px; height: 28px; }
.action__t { font: 400 1.6rem/1 var(--display); letter-spacing: .03em; color: var(--navy); }
.action__s { font-size: .85rem; color: var(--muted); }
.action__go { position: absolute; right: 14px; top: 16px; color: var(--gold-2); }
.action--install { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); color: #fff; min-height: 170px; }
.action--install::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 192, 64, .35), transparent 70%); }
.action--install .action__icon { background: var(--gold); color: var(--navy); }
.action--install .action__t { color: #fff; font-size: 2.2rem; }
.action--install .action__s { color: #C9D2E6; }
.action--install:hover { color: #fff; }
.action--call .action__icon { background: var(--gold); }
@media (min-width: 900px) { .actions { grid-template-columns: 2fr 1fr 1fr 1fr; } .action--install { grid-column: auto; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { position: relative; padding: 24px 22px 22px 84px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.step__n { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); font: 400 1.6rem/1 var(--display); }
.step h3 { font: 400 1.6rem/1.05 var(--display); letter-spacing: .03em; color: #fff; margin-bottom: 6px; }
.step p { color: #C9D2E6; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.know { display: grid; gap: 14px; margin-bottom: 28px; }
.know__card { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.know__card > .icon { width: 30px; height: 30px; color: var(--gold-2); margin-bottom: 10px; }
.know__card h3 { font: 400 1.5rem/1 var(--display); letter-spacing: .03em; color: var(--navy); margin-bottom: 6px; }
.know__card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 700px) { .know { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .know { grid-template-columns: repeat(3, 1fr); } }

.film { display: grid; gap: 32px; align-items: center; }
.film__copy p { color: var(--muted); }
.film__phone { justify-self: center; width: min(320px, 82vw); padding: 10px; border-radius: 34px; background: var(--ink); box-shadow: 0 30px 60px rgba(14, 21, 38, .3); }
.film__video { width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; background: #000; object-fit: cover; }
@media (min-width: 900px) { .film { grid-template-columns: 1.1fr 1fr; } }

.band { background: var(--gold); padding: 44px 0; }
.band__in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.band__h { font: 400 clamp(2.2rem, 7vw, 3.2rem)/1 var(--display); color: var(--navy); margin: 0 0 6px; }
.band__p { margin: 0; color: var(--navy-3); font-weight: 600; }
.band__p a { color: var(--navy-3); }

/* 10. FORM PAGES =========================================================== */
.fhead { background: var(--navy); color: #fff; padding: 22px 0 0; }
.fhead__back { display: inline-flex; align-items: center; gap: 6px; color: #C9D2E6; text-decoration: none; font-weight: 700; font-size: .9rem; }
.fhead__back:hover { color: var(--gold); }
.fhead__h { font: 400 clamp(2.6rem, 10vw, 4.2rem)/.95 var(--display); letter-spacing: .02em; margin: 14px 0 8px; }
.fhead__p { color: #C9D2E6; max-width: 60ch; margin: 0 0 18px; }
.stepper, .chips { display: flex; gap: 8px; margin: 0; padding: 0 0 16px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
.stepper a, .chips a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: #DCE3F2; text-decoration: none; font-weight: 700; font-size: .85rem; transition: background .2s, color .2s; }
.chips a { padding-left: 14px; }
.stepper a span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.stepper a.is-active { background: var(--gold); color: var(--navy); }
.stepper a.is-active span { background: var(--navy); color: var(--gold); }
.stepper a.is-done span { background: var(--ok); color: #fff; }
.fwrap { display: grid; gap: 24px; padding: 24px 0 48px; }
.fwrap--single { max-width: 680px; padding: 48px 0; }
@media (min-width: 1000px) { .fwrap { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .fside { position: sticky; top: 92px; } }
.fside { display: grid; gap: 16px; }
.fside__card { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.fside__card--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.fside__card--navy p { color: #C9D2E6; }
.fside__h { font: 400 1.6rem/1 var(--display); letter-spacing: .03em; color: inherit; margin-bottom: 12px; }
.fside__card:not(.fside__card--navy) .fside__h { color: var(--navy); }
.fside__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 6px; }
.ticks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.ticks li { display: flex; gap: 10px; }
.ticks .icon { color: var(--ok); margin-top: 3px; width: 18px; height: 18px; }

/* 11. FORM CONTROLS ======================================================== */
.rform { display: grid; gap: 18px; }
.fsec { padding: 22px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 700px) { .fsec { padding: 30px 32px; } }
.fsec__title { display: flex; align-items: center; gap: 12px; font: 400 1.9rem/1 var(--display); letter-spacing: .03em; color: var(--navy); margin-bottom: 18px; }
.fsec__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--gold); font-size: 1.3rem; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field[hidden] { display: none; }
.field.is-revealed { animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.field__label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; padding: 0; color: var(--ink); }
.req { color: var(--danger); }
.opt { font-weight: 500; color: var(--muted); font-size: .88rem; }
.field__note { display: block; margin-top: 4px; font-weight: 500; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.suggest__chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font: 600 .84rem/1.2 var(--body); cursor: pointer; text-align: left; }
.suggest__chip .icon { width: 15px; height: 15px; color: var(--gold-2); flex: none; }
.suggest__chip:hover, .suggest__chip:focus-visible { border-color: var(--navy); }
.suggest__chip.is-used { background: var(--navy); border-color: var(--navy); color: #fff; }
.field__help { margin: -2px 0 8px; font-size: .88rem; color: var(--muted); }
.rform input[type="text"], .rform input[type="email"], .rform input[type="tel"], .rform input[type="date"], .rform textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 10px; background: #fff;
  font: 500 1.05rem/1.4 var(--body); color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none;
}
.rform textarea { min-height: 110px; resize: vertical; }
.rform input:focus, .rform textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22, 34, 63, .12); }
.rform input::placeholder, .rform textarea::placeholder { color: #8C96AB; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; flex: 1 1 140px; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 14px; text-align: center;
  border: 2px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; transition: all .15s; }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: inset 0 -4px 0 var(--gold); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 14px; border: 2px solid var(--line); border-radius: 10px; background: #FAFBFD; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #9AA4BA; border-radius: 7px; background: #fff; color: transparent; transition: all .15s; }
.check__box .icon { width: 18px; height: 18px; }
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.check input:focus-visible + .check__box { outline: 3px solid var(--gold); outline-offset: 2px; }
.check__text { font-size: .95rem; line-height: 1.5; }
.upload { position: relative; }
.upload input { position: absolute; inset: 0; width: 100%; height: 60px; opacity: 0; cursor: pointer; }
.upload__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; border: 2px dashed #A9B3C7; border-radius: 10px; background: #FAFBFD; font-weight: 700; color: var(--navy); }
.upload input:focus-visible + .upload__btn { outline: 3px solid var(--gold); outline-offset: 2px; }
.upload__list { list-style: none; margin: 8px 0 0; padding: 0; font-size: .88rem; color: var(--muted); }
.upload__list li { padding: 4px 0; }
.upload__list .bad { color: var(--danger); font-weight: 700; }
.field__error { margin: 8px 0 0; color: var(--danger); font-weight: 700; font-size: .92rem; }
.field.has-error input, .field.has-error textarea, .field.has-error .choice span, .field.has-error .check { border-color: var(--danger); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 16px; border-radius: 10px; background: #FEF3F2; border: 2px solid #FDA29B; color: var(--danger); font-weight: 700; }
.form-alert--static { margin-bottom: 16px; }
.submitbar { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b) + 10px); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px 12px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(14, 21, 38, .14); }
@media (min-width: 900px) { .submitbar { bottom: 16px; } }
.submitbar__note { margin: 0; font-size: .85rem; color: var(--muted); }
.btn__spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(14, 21, 38, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.is-sending .btn__spinner { display: inline-block; }
.is-sending .btn__label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 12. SUCCESS ============================================================== */
.done { padding: 34px 22px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); animation: pop .5s var(--ease); }
.done:focus { outline: none; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } }
.done__badge { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 16px; border-radius: 50%; background: var(--ok); color: #fff; box-shadow: 0 0 0 10px rgba(30, 123, 79, .12); }
.done__badge .icon { width: 40px; height: 40px; }
.done__badge--muted { background: var(--navy); color: var(--gold); box-shadow: 0 0 0 10px rgba(22, 34, 63, .1); }
.done__h { font: 400 clamp(2rem, 7vw, 2.8rem)/1 var(--display); color: var(--navy); }
.done__p { color: var(--muted); }
.done__ref { font-size: 1.05rem; }
.done__ref strong { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--bg); color: var(--navy); letter-spacing: .05em; }
.done__sum { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 14px; max-width: 560px; margin: 18px auto; text-align: left; font-size: .92rem; }
.done__sum dt { color: var(--muted); }
.done__sum dd { margin: 0; font-weight: 700; white-space: pre-wrap; word-break: break-word; }
.done__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }

/* 13. PROSE / TERMS ======================================================== */
.prose-wrap { padding: 28px 0 56px; }
.prose { max-width: 780px; }
.term { padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.term h2 { font: 400 1.9rem/1 var(--display); letter-spacing: .03em; color: var(--navy); }
.term p { color: #2C3549; }
.notice { padding: 22px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.notice h2 { display: flex; align-items: center; gap: 10px; font: 400 1.9rem/1 var(--display); color: var(--gold); }
.notice ul { padding-left: 20px; }
.notice p:last-child { margin: 0; }
.prose__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 14. FOOTER =============================================================== */
.ftr { background: var(--navy-3); color: #C9D2E6; padding: 52px 0 20px; }
.ftr__grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.ftr__area { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold); font-weight: 700; }
.ftr__h { font: 400 1.4rem/1 var(--display); letter-spacing: .06em; color: #fff; }
.ftr__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr__list a { display: inline-flex; align-items: center; gap: 8px; color: #C9D2E6; text-decoration: none; word-break: break-all; }
.ftr__list a:hover { color: var(--gold); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.ftr__bottom p { margin: 0; }

.ftr__review { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--gold); font-weight: 700; text-decoration: none; }
.ftr__review:hover { text-decoration: underline; }
.ftr__review .icon { width: 18px; height: 18px; }

/* Google review prompt (home + success panel) */
.review { background: #fff; text-align: center; }
.review__in { max-width: 640px; }
.review__stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 10px; color: var(--gold-2); }
.review__stars .icon { width: 28px; height: 28px; fill: currentColor; }
.review__p { color: var(--muted); margin: 0 auto 22px; }
.done__review { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 16px; color: var(--muted); }
.done__review .icon { width: 18px; height: 18px; color: var(--gold-2); fill: currentColor; }
.done__review a { color: var(--navy); font-weight: 700; }

/* 15. REVEAL ON SCROLL ===================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 16. REDUCED MOTION ======================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ribbon__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .scrolly { height: auto; }
  .scrolly__sticky { position: relative; height: 92vh; }
  .scrolly__canvas { display: none; }
  .scene { display: none; }
  .scene--final { display: block; opacity: 1; transform: none; pointer-events: auto; }
  .scrolly__hint, .scrolly__progress { display: none; }
  .hero__toggle { display: none; }
}

/* 17. PRINT ================================================================ */
@media print {
  .ribbon, .hdr, .tabbar, .ftr, .fhead .chips, .prose__actions, .fhead__back { display: none !important; }
  body { background: #fff; padding: 0; font-size: 12pt; }
  .fhead { background: #fff; color: #000; }
  .notice { background: #fff; color: #000; border: 1px solid #000; }
  .notice h2 { color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
