
:root {
  --night: #001F30;
  --navy: #003C58;
  --navy-2: #0A4A6A;
  --sky: #13B5E8;
  --frost: #EAF6FB;
  --mist: #9CC0D1;
  --ember: #F2B33D;
  --error: #FF9B8A;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; background: var(--night); color: var(--frost); font: 400 16px/1.5 "Public Sans", system-ui, sans-serif; }
::selection { background: var(--sky); color: var(--night); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
body { display: grid; grid-template-rows: auto minmax(160px, 1fr) auto; height: 100dvh; overflow: hidden; }
button, input { font: inherit; color: inherit; }

.bar { display: flex; align-items: center; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 18px 10px; }
.bar img { height: 26px; width: auto; display: block; }
.bar .step { font-size: 13px; color: var(--mist); font-variant-numeric: tabular-nums; }

.stage { position: relative; min-height: 0; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.readout { position: absolute; left: 18px; right: 18px; top: 4px; font-size: 15px; line-height: 1.5; color: var(--mist); pointer-events: none; }
.readout b { color: var(--frost); font-weight: 600; font-variant-numeric: tabular-nums; }
.readout div { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.readout div.on { opacity: 1; transform: none; }

.panel { padding: 18px 18px max(22px, env(safe-area-inset-bottom)); background: var(--night); max-height: calc(100dvh - 210px); overflow-y: auto; overscroll-behavior: contain; }
.panel .sticky-cta { position: sticky; bottom: calc(-1 * max(22px, env(safe-area-inset-bottom))); margin: 0 -18px; padding: 12px 18px max(22px, env(safe-area-inset-bottom)); background: var(--night); }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center;
          font: 700 17px "Zilla Slab", serif; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.who p { font-size: 15px; line-height: 1.4; color: var(--mist); }
.who p strong { color: var(--frost); font-weight: 600; }
h1 { font: 700 32px/1.05 "Zilla Slab", serif; letter-spacing: -0.01em; margin-bottom: 8px; text-wrap: balance; }
.sub { color: var(--mist); margin-bottom: 16px; }
.small { font-size: 13px; color: var(--mist); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 22px; border: 0;
       font-weight: 600; font-size: 17px; cursor: pointer; transition: transform .15s var(--ease), background .2s; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--sky); color: var(--night); }
.btn.primary:hover { background: #3cc4ee; }
.btn.quiet { background: var(--navy); color: var(--frost); }
.btn.quiet:hover { background: var(--navy-2); }
.btn.link { background: none; color: var(--mist); height: 48px; margin-top: 6px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.btn.link:hover { color: var(--frost); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.row { display: flex; gap: 10px; }
.row .btn { flex: 1; }
.btn.wide { width: 100%; }

.field { display: block; margin-bottom: 10px; }
.field span { display: block; font-size: 13px; color: var(--mist); margin-bottom: 4px; }
.field input { width: 100%; height: 52px; padding: 0 14px; background: var(--navy); border: 2px solid transparent;
               color: var(--frost); font-size: 17px; caret-color: var(--sky); }
.field input::placeholder { color: #7FA6B9; }
.field input:focus { outline: none; border-color: var(--sky); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.suggest { list-style: none; padding: 0; margin: -4px 0 12px; background: var(--navy); max-height: 260px; overflow-y: auto; }
.suggest li { padding: 12px 14px; cursor: pointer; border-top: 1px solid rgba(234, 246, 251, .06); }
.suggest li:first-child { border-top: 0; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--navy-2); }

.choices { display: grid; gap: 10px; margin-bottom: 14px; }
.choices.three { grid-template-columns: repeat(3, 1fr); }
.choice { background: var(--navy); border: 2px solid transparent; padding: 12px 10px 10px; cursor: pointer; text-align: center;
          transition: border-color .2s, background .2s; }
.choices.cards .choice { padding: 16px 10px 14px; }
.choices.cards .choice svg { height: 76px; }
.choice svg { width: 100%; height: 64px; display: block; margin-bottom: 6px; }
.choice svg * { fill: none; stroke: var(--mist); stroke-width: 2; stroke-linejoin: round; }
.choice.on { border-color: var(--sky); background: var(--navy-2); }
.choice.on svg * { stroke: var(--sky); }
.choice b { font-weight: 600; }
.choice.text { text-align: left; padding: 16px 14px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--mist); margin: 6px 0 14px; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--sky); flex: none; }

.code { margin-bottom: 14px; }
.code input { width: 100%; height: 64px; padding: 0 0 0 calc(50% - 7.6ch); background: var(--navy); border: 2px solid transparent;
              color: var(--frost); font: 600 30px "Public Sans", sans-serif; letter-spacing: .7ch; font-variant-numeric: tabular-nums;
              caret-color: var(--sky); }
.code input:focus { outline: none; border-color: var(--sky); }
.error { color: var(--error); font-size: 14px; min-height: 1.4em; margin-bottom: 6px; }

.prices { display: grid; gap: 8px; margin-bottom: 12px; }
.price { text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 14px; background: var(--navy);
         border: 2px solid transparent; cursor: pointer; transition: border-color .2s, background .2s; }
.price.on { border-color: var(--sky); background: var(--navy-2); }
.price .name { font: 700 20px "Zilla Slab", serif; }
.price .amt { font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.price .per { grid-column: 1 / -1; font-size: 13px; color: var(--mist); }
.price .blurb { grid-column: 1 / -1; font-size: 14px; color: var(--frost); opacity: .9; }

.cash { font-size: 14px; color: var(--frost); margin: 2px 0 10px; }
.video { width: 100%; aspect-ratio: 16 / 9; background: #000; margin-bottom: 12px; display: block; }
.hidden { display: none !important; }

@media (min-width: 900px) {
  .panel { max-height: none; overflow: visible; }
  body { grid-template-columns: 1fr 440px; grid-template-rows: auto 1fr; }
  .bar { grid-column: 1 / -1; padding: 22px 32px 10px; }
  .stage { grid-row: 2; grid-column: 1; }
  .panel { grid-row: 2; grid-column: 2; align-self: end; padding: 32px; }
  .readout { left: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.proof { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--mist); margin-top: 12px; }
.proof b { color: var(--frost); font-weight: 600; }
.badges { display: flex; gap: 14px; align-items: center; margin: 10px 0 2px; opacity: .9; }
.badges img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .75; }
.bar a.call { color: var(--frost); font-size: 14px; font-weight: 600; text-decoration: none; }
.linkish { background: none; border: 0; color: var(--mist); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 6px 0; font-size: 14px; }
.linkish:hover { color: var(--frost); }
.linkish[disabled] { opacity: .5; cursor: default; text-decoration: none; }
.anchor { font: 700 26px "Zilla Slab", serif; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 3; }
.progress i { display: block; height: 100%; width: 0; background: var(--sky); transition: width .6s var(--ease); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price .tag { grid-column: 1 / -1; justify-self: start; font-size: 12px; font-weight: 600; color: var(--night); background: var(--sky); padding: 1px 8px; margin-bottom: 2px; }

/* Booking: the time list reads as the second question, not more days */
.times-head { margin: 6px 0 10px; font-weight: 600; letter-spacing: .01em; color: var(--sky, #13B5E8); }
#times .choice { min-height: 0; padding-block: 14px; }

/* Bot trap: off-screen for people (and screen readers), still filled in by form bots */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#botCheck:not(:empty) { margin: 4px 0 12px; }

.legal { margin: -2px 0 12px; }
.legal a { color: var(--mist); }

/* Aaron's hello: tap the photo to hear it (phones block sound that starts on its own) */
button.avatar { position: relative; padding: 0; border: 0; cursor: pointer; overflow: visible; color: inherit; }
button.avatar img { border-radius: 50%; }
.avatar .play { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky); box-shadow: 0 0 0 2px var(--night); display: grid; place-items: center; }
.avatar .play::before { content: ""; width: 6px; height: 8px; margin-left: 2px; background: var(--night); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.avatar[aria-pressed="true"] .play::before { margin: 0; width: 6px; height: 7px; clip-path: none;
  background: linear-gradient(90deg, var(--night) 0 2px, transparent 2px 4px, var(--night) 4px 6px); }
.avatar[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--sky); animation: hello-ring 1.4s var(--ease) infinite; }
@keyframes hello-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .avatar[aria-pressed="true"]::after { animation: none; opacity: .8; } }
button.avatar:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* After the quote: drag to spin the house */
.stage canvas.explore { cursor: grab; touch-action: none; }
.stage canvas.explore:active { cursor: grabbing; }
.spin-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 7px 14px;
  border-radius: 999px; background: rgba(0, 31, 48, .78); color: var(--frost); font-size: 13px; font-weight: 600;
  pointer-events: none; white-space: nowrap; transition: opacity .6s var(--ease); }
.spin-hint.fade { opacity: 0; }

/* Prices: why it's a range, said plainly before the numbers */
.why { font-size: 14px; line-height: 1.45; color: var(--mist); margin: -4px 0 14px; max-width: 60ch; }
.why b { color: var(--frost); font-weight: 600; }
