/* All-Cash Home Buyers landing page. Standalone: its own copy of the Lead
   Finder's emerald glass colours, no shared files. Phone first (a QR scan
   always lands on a phone); wider screens add the side-by-side hero. */

:root {
  --base: #030807;
  --ink: #eef7f1;
  --muted: #a9c2b4;
  --dim: #7c978a;
  --emerald: #3fb97a;
  --emerald-bright: #6fe0a6;
  --emerald-deep: #0e3a28;
  --gold: #e7c873;
  --glass: linear-gradient(160deg, rgba(24, 72, 51, 0.5) 0%, rgba(8, 24, 18, 0.74) 42%, rgba(2, 8, 6, 0.86) 100%);
  --line: rgba(159, 227, 184, 0.16);
  --line-strong: rgba(159, 227, 184, 0.34);
  --field: rgba(0, 0, 0, 0.42);
  --bad: #ff9c8a;
  --r: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --holo: var(--emerald-bright);
  --holo-rgb: 111, 224, 166;
  --holo-speed: 26s;
  --scan-speed: 4.6s;
  --hs: 0.62; /* hologram scale */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; background: var(--base); color: var(--ink);
  font: 17px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ol, fieldset { margin: 0; padding: 0; }
ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* == Backdrop ============================================================ */
.backdrop {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 620px at 82% -8%, rgba(63, 185, 122, 0.22), transparent 62%),
    radial-gradient(760px 560px at -6% 26%, rgba(22, 96, 66, 0.3), transparent 60%),
    radial-gradient(900px 700px at 50% 118%, rgba(231, 200, 115, 0.07), transparent 60%),
    linear-gradient(180deg, #04100b 0%, #030807 46%, #020504 100%);
}
.backdrop::after { /* faint blueprint grid */
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(159, 227, 184, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 227, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 72%);
}
.aura {
  position: fixed; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; z-index: -1;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 600ms;
  background: radial-gradient(circle, rgba(63, 185, 122, 0.16), rgba(63, 185, 122, 0.05) 42%, transparent 68%);
  will-change: transform;
}
.aura.on { opacity: 1; }

/* == Top bar ============================================================= */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; max-width: 1160px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; fill: none; stroke: var(--emerald-bright); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(63, 185, 122, 0.6)); }
.top-call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.3);
}
.top-call svg { width: 17px; height: 17px; fill: none; stroke: var(--emerald-bright); stroke-width: 1.8; stroke-linejoin: round; }

/* == Hero ================================================================ */
main { max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.hero { display: grid; gap: 6px; padding: 4px 0 56px; }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald-bright); font-weight: 600; }
h1 { font-size: clamp(34px, 9.4vw, 66px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 720; margin-top: 10px; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--emerald-bright), #c9f5dc 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: clamp(17px, 4.4vw, 20px); margin-top: 14px; max-width: 34em; text-wrap: pretty; }
.hero-copy { animation: rise 700ms var(--ease) backwards; display: grid; grid-template-rows: 1fr; transition: grid-template-rows 520ms var(--ease), opacity 360ms; }
.hero-copy > div { overflow: hidden; min-height: 0; }
@media (max-width: 979px) {
  /* Removed outright, not folded with an animation: iPhone Safari left the
     folded headline painted over the form (seen by the user, 2026-12-04). */
  body.started .hero-copy { display: none; }
  body.started .holo { transition: none; }
  /* The keyboard is up: the dock would sit on top of it. */
  body:has(.flow input:focus) .dock { display: none; }
  body.started .flow { margin-top: 6px; }
  body.started .holo { height: 176px; }
  body.started.has-photo .holo { height: 212px; }
  body.has-photo .holo-photo { top: 41%; }
  .brand { font-size: 15px; white-space: nowrap; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .top-call { font-size: 14px; padding: 8px 12px; white-space: nowrap; }
}
.holo { transition: height 520ms var(--ease); }

/* == Hologram house ====================================================== */
.holo { position: relative; height: 200px; perspective: 900px; perspective-origin: 50% 38%; animation: rise 900ms var(--ease) backwards; }
.holo-stage { position: absolute; left: 50%; top: 56%; width: 0; height: 0; transform-style: preserve-3d; transform: scale(var(--hs)) rotateX(-17deg); }
.holo-spin { position: absolute; width: 0; height: 0; transform-style: preserve-3d; animation: spin var(--holo-speed) linear infinite; }
.holo-spin > * { position: absolute; transform-style: preserve-3d; }
.h-wall, .h-roof {
  border: 1.5px solid rgba(var(--holo-rgb), 0.9);
  background: linear-gradient(180deg, rgba(var(--holo-rgb), 0.13), rgba(var(--holo-rgb), 0.03));
  box-shadow: 0 0 18px rgba(var(--holo-rgb), 0.28), inset 0 0 26px rgba(var(--holo-rgb), 0.12);
  transition: border-color 600ms, box-shadow 600ms, background 600ms;
}
.h-wall { top: -30px; height: 90px; }
.h-front, .h-back { left: -80px; width: 160px; }
.h-front { transform: translateZ(60px); }
.h-back { transform: rotateY(180deg) translateZ(60px); }
.h-side { left: -60px; width: 120px; }
.h-left { transform: rotateY(-90deg) translateZ(80px); }
.h-right { transform: rotateY(90deg) translateZ(80px); }
.h-roof { left: -86px; top: -85px; width: 172px; height: 82px; transform-origin: 50% 0; background: repeating-linear-gradient(180deg, rgba(var(--holo-rgb), 0.16) 0 1px, transparent 1px 11px), linear-gradient(180deg, rgba(var(--holo-rgb), 0.16), rgba(var(--holo-rgb), 0.04)); }
.h-roof-f { transform: rotateX(47.5deg); }
.h-roof-b { transform: rotateX(-47.5deg); }
.h-gable { left: -60px; top: -85px; width: 120px; height: 55px; overflow: visible; }
.h-gable path { fill: rgba(var(--holo-rgb), 0.07); stroke: rgba(var(--holo-rgb), 0.9); stroke-width: 1.5; filter: drop-shadow(0 0 6px rgba(var(--holo-rgb), 0.5)); transition: stroke 600ms; }
.h-gable-l { transform: rotateY(-90deg) translateZ(80px); }
.h-gable-r { transform: rotateY(90deg) translateZ(80px); }
.h-door, .h-win { position: absolute; border: 1.5px solid rgba(var(--holo-rgb), 0.85); background: rgba(var(--holo-rgb), 0.1); }
.h-door { left: 68px; bottom: -1.5px; width: 24px; height: 44px; }
.h-win { top: 22px; width: 30px; height: 26px; background: linear-gradient(rgba(var(--holo-rgb), 0.6), rgba(var(--holo-rgb), 0.6)) 50% 0 / 1.5px 100% no-repeat, linear-gradient(rgba(var(--holo-rgb), 0.6), rgba(var(--holo-rgb), 0.6)) 0 50% / 100% 1.5px no-repeat, rgba(var(--holo-rgb), 0.14); animation: winlight 5s ease-in-out infinite; }
.h-win-a { left: 16px; } .h-win-b { right: 16px; animation-delay: -2.4s; } .h-win-c { left: 45px; animation-delay: -1.2s; }
.h-floor {
  left: -230px; top: -170px; width: 460px; height: 460px; transform: rotateX(90deg); border-radius: 50%;
  background-image: linear-gradient(rgba(var(--holo-rgb), 0.34) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--holo-rgb), 0.34) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 66%); mask-image: radial-gradient(circle, #000 12%, transparent 66%);
}
.h-ring { left: -130px; top: -70px; width: 260px; height: 260px; transform: rotateX(90deg); border-radius: 50%; border: 1.5px solid rgba(var(--holo-rgb), 0.55); box-shadow: 0 0 30px rgba(var(--holo-rgb), 0.35), inset 0 0 30px rgba(var(--holo-rgb), 0.2); animation: ring 3.4s ease-in-out infinite; }
.h-scan {
  left: -110px; top: -110px; width: 220px; height: 220px; border-radius: 6px;
  background: radial-gradient(circle, rgba(var(--holo-rgb), 0.36), rgba(var(--holo-rgb), 0.1) 55%, transparent 72%);
  border: 1px solid rgba(var(--holo-rgb), 0.5);
  animation: scan var(--scan-speed) ease-in-out infinite;
}
.holo-beam { position: absolute; left: 50%; bottom: 0; width: 260px; height: 120px; margin-left: -130px; pointer-events: none; background: radial-gradient(ellipse at 50% 100%, rgba(var(--holo-rgb), 0.3), transparent 68%); filter: blur(6px); }
.holo-tag { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); font: 600 11px/1 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(var(--holo-rgb), 0.9); padding: 6px 10px; border: 1px solid rgba(var(--holo-rgb), 0.35); border-radius: 999px; background: rgba(0, 0, 0, 0.45); white-space: nowrap; }
.holo-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--holo-rgb)); margin-right: 8px; box-shadow: 0 0 8px rgb(var(--holo-rgb)); animation: blink 1.6s ease-in-out infinite; }

/* The real house: a photo of the address takes the wireframe's place. The
   image itself is left as Google serves it (their credit stays readable at
   the bottom edge); the hologram look is the frame, lines and sweep on top. */
.holo-stage { transition: opacity 700ms var(--ease), filter 700ms var(--ease); }
body.has-photo .holo-stage { opacity: 0.16; filter: blur(2px); }
body.has-photo .holo-beam { opacity: 0.5; }
.holo-photo {
  position: absolute; left: 50%; top: 47%; z-index: 2; margin: 0; width: min(74%, 250px); aspect-ratio: 16 / 10;
  transform: translate(-50%, -50%) perspective(900px) rotateX(7deg) scale(0.94); opacity: 0;
  border-radius: 12px; overflow: hidden; border: 1.5px solid rgba(var(--holo-rgb), 0.9);
  box-shadow: 0 0 34px rgba(var(--holo-rgb), 0.45), 0 26px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(var(--holo-rgb), 0.25);
  clip-path: inset(0 0 100% 0); transition: opacity 500ms var(--ease), transform 900ms var(--ease), clip-path 1100ms var(--ease);
  background: #04100b;
}
body.has-photo .holo-photo { opacity: 1; clip-path: inset(0 0 0 0); transform: translate(-50%, -50%) perspective(900px) rotateX(3deg) scale(1); }
.holo-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.holo-photo i { position: absolute; pointer-events: none; }
.hp-lines { inset: 0 0 14px 0; background: repeating-linear-gradient(180deg, rgba(var(--holo-rgb), 0.1) 0 1px, transparent 1px 4px); mix-blend-mode: screen; }
.hp-sweep { left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(var(--holo-rgb), 0.34), transparent); animation: sweep 4.2s ease-in-out infinite; }
@keyframes sweep { 0% { top: -30%; } 60%, 100% { top: 100%; } }
.hp-c { width: 16px; height: 16px; border: 2px solid rgb(var(--holo-rgb)); filter: drop-shadow(0 0 5px rgb(var(--holo-rgb))); }
.hp-tl { left: 6px; top: 6px; border-right: 0; border-bottom: 0; } .hp-tr { right: 6px; top: 6px; border-left: 0; border-bottom: 0; }
.hp-bl { left: 6px; bottom: 18px; border-right: 0; border-top: 0; } .hp-br { right: 6px; bottom: 18px; border-left: 0; border-top: 0; }
.holo-photo figcaption { position: absolute; left: 28px; top: 8px; font: 600 10px/1 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 4px #000, 0 0 10px rgba(var(--holo-rgb), 0.9); }

body[data-holo="scan"] { --holo-speed: 5s; --scan-speed: 0.9s; }
body[data-holo="found"] { --holo-rgb: 231, 200, 115; --holo-speed: 40s; --scan-speed: 7s; }
body[data-holo="done"] { --holo-rgb: 231, 200, 115; --holo-speed: 60s; --scan-speed: 9s; }

@keyframes spin { from { transform: rotateY(-28deg); } to { transform: rotateY(332deg); } }
@keyframes scan { 0%, 100% { transform: translateY(-96px) rotateX(90deg); opacity: 0; } 12% { opacity: 1; } 50% { transform: translateY(58px) rotateX(90deg); opacity: 1; } 62% { opacity: 0; } }
@keyframes ring { 0%, 100% { transform: rotateX(90deg) scale(0.92); opacity: 0.55; } 50% { transform: rotateX(90deg) scale(1.06); opacity: 1; } }
@keyframes winlight { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* == The form ============================================================ */
.flow {
  position: relative; margin-top: 22px; padding: 20px 18px 22px; border-radius: 22px;
  background: var(--glass); border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: rise 800ms 120ms var(--ease) backwards;
}
.flow::before { /* a slow light along the top edge */
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(111, 224, 166, 0.9), transparent); background-size: 40% 100%; background-repeat: no-repeat;
  animation: edge 5.5s linear infinite;
}
@keyframes edge { from { background-position: -60% 0; } to { background-position: 160% 0; } }

.dots { display: flex; gap: 6px; margin-bottom: 16px; }
.dots li { height: 4px; flex: 1; border-radius: 4px; background: rgba(159, 227, 184, 0.14); overflow: hidden; position: relative; }
.dots li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--emerald), var(--emerald-bright)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease); }
.dots li.on::after { transform: scaleX(1); }

.step { display: none; }
.step.is-on { display: block; animation: stepin 520ms var(--ease) backwards; }
.step.is-on.from-back { animation-name: stepback; }
@keyframes stepin { from { opacity: 0; transform: translateX(26px); filter: blur(4px); } }
@keyframes stepback { from { opacity: 0; transform: translateX(-26px); filter: blur(4px); } }
legend { float: left; width: 100%; font-size: clamp(22px, 5.6vw, 28px); font-weight: 680; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; }
legend + * { clear: both; }
legend small { font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; margin-left: 8px; vertical-align: middle; }

.addr {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; padding: 8px 8px 8px 14px;
  border-radius: 18px; background: var(--field); border: 1.5px solid var(--line-strong);
  transition: border-color 200ms, box-shadow 200ms;
}
.addr:focus-within { border-color: var(--emerald-bright); box-shadow: 0 0 0 4px rgba(63, 185, 122, 0.2), 0 0 44px rgba(63, 185, 122, 0.22); }
.addr svg { width: 22px; height: 22px; fill: none; stroke: var(--emerald-bright); stroke-width: 1.8; }
.addr input { min-width: 0; width: 100%; height: 52px; border: 0; background: none; outline: none; font-size: 19px; }
.addr .btn { grid-column: 1 / -1; }
.town { margin-top: 10px; animation: rise 420ms var(--ease) backwards; }
.town input { width: 100%; height: 56px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--emerald-bright); background: var(--field); font-size: 19px; outline: none; box-shadow: 0 0 0 4px rgba(63, 185, 122, 0.2); caret-color: var(--emerald-bright); }
input::placeholder { color: rgba(169, 194, 180, 0.5); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent; font-weight: 650; font-size: 18px; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 200ms, background 200ms, border-color 200ms; position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.975); }
.btn-go { color: #03130c; background: linear-gradient(180deg, #8df0bd, #3fb97a); box-shadow: 0 10px 30px rgba(63, 185, 122, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms var(--ease); }
.btn-go:hover::after, .btn-go:focus-visible::after { transform: translateX(120%); }
.btn-ghost { background: rgba(0, 0, 0, 0.3); border-color: var(--line-strong); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn:focus-visible, .chips button:focus-visible, .link:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--emerald-bright); outline-offset: 3px; }
.addr input:focus-visible, .money input:focus-visible { outline: none; }
.row { display: grid; gap: 10px; margin-top: 16px; }
.link { background: none; border: 0; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; padding: 12px 0 0; cursor: pointer; font-size: 15px; }
.hint { color: var(--dim); font-size: 15px; margin-top: 10px; min-height: 1.4em; }
.hint.bad { color: var(--bad); }

.searching { display: flex; align-items: center; gap: 16px; padding: 14px 4px 6px; color: var(--muted); font-size: 18px; }
.pulse { display: inline-flex; gap: 6px; }
.pulse i { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-bright); box-shadow: 0 0 12px var(--emerald); animation: dot 1s ease-in-out infinite; }
.pulse i:nth-child(2) { animation-delay: 0.15s; } .pulse i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { transform: scale(0.5); opacity: 0.4; } 50% { transform: scale(1); opacity: 1; } }

.found { border-radius: var(--r); border: 1px solid rgba(231, 200, 115, 0.34); background: linear-gradient(160deg, rgba(231, 200, 115, 0.1), rgba(0, 0, 0, 0.36)); padding: 16px; }
.found-addr { font-size: 21px; font-weight: 680; letter-spacing: -0.015em; line-height: 1.2; overflow-wrap: anywhere; }
.found-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.facts:empty { display: none; }
.fact { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.36); border: 1px solid var(--line); animation: rise 520ms var(--ease) backwards; }
.fact:nth-child(2) { animation-delay: 70ms; } .fact:nth-child(3) { animation-delay: 140ms; } .fact:nth-child(4) { animation-delay: 210ms; }
.fact b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact span { color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.pick { display: grid; gap: 8px; margin-top: 14px; }

.money { display: flex; align-items: center; gap: 6px; padding: 6px 18px; border-radius: 18px; background: var(--field); border: 1.5px solid var(--line-strong); transition: border-color 200ms, box-shadow 200ms; }
.money:focus-within { border-color: var(--emerald-bright); box-shadow: 0 0 0 4px rgba(63, 185, 122, 0.2); }
.money span { font-size: 30px; color: var(--emerald-bright); font-weight: 600; }
.money input { width: 100%; min-width: 0; height: 60px; border: 0; background: none; outline: none; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.q { margin-top: 16px; } .q:first-of-type { margin-top: 0; }
.q > p { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.3); cursor: pointer; font-size: 16px; transition: background 180ms, border-color 180ms, color 180ms, transform 160ms var(--ease); -webkit-tap-highlight-color: transparent; }
.chips button:active { transform: scale(0.96); }
.chips button[aria-pressed="true"] { background: linear-gradient(180deg, rgba(111, 224, 166, 0.34), rgba(63, 185, 122, 0.2)); border-color: var(--emerald-bright); color: #eafff3; box-shadow: 0 0 18px rgba(63, 185, 122, 0.3); }

.field { display: block; margin-bottom: 12px; }
.field span { display: block; color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.field input { width: 100%; height: 56px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--field); font-size: 19px; outline: none; transition: border-color 200ms, box-shadow 200ms; }
.field input:focus { border-color: var(--emerald-bright); box-shadow: 0 0 0 4px rgba(63, 185, 122, 0.2); }
.field input.bad { border-color: var(--bad); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { color: var(--dim); font-size: 13px; line-height: 1.45; margin-top: 12px; }

.done { text-align: center; padding: 6px 0 4px; display: grid; justify-items: center; gap: 10px; }
.tick { width: 74px; height: 74px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(231, 200, 115, 0.6)); }
.tick circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw 700ms 150ms var(--ease) forwards; }
.tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 420ms 700ms var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-big { font-size: 22px; font-weight: 680; letter-spacing: -0.02em; text-wrap: balance; }
.done-sub { text-wrap: balance; }
.done-sub { color: var(--muted); font-size: 16px; }
.done .btn { margin-top: 6px; }
.preview { font-size: 13px; color: var(--gold); border: 1px dashed rgba(231, 200, 115, 0.5); border-radius: 10px; padding: 8px 10px; }

/* == Lower sections ====================================================== */
.band { padding: 54px 0; border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(28px, 7vw, 44px); letter-spacing: -0.03em; line-height: 1.06; font-weight: 700; margin-top: 10px; text-wrap: balance; }
.steps3 { display: grid; gap: 14px; margin-top: 26px; counter-reset: s; }
.steps3 li { position: relative; padding: 20px 18px 20px 68px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.steps3 b { position: absolute; left: 16px; top: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: #03130c; background: linear-gradient(180deg, #8df0bd, #3fb97a); box-shadow: 0 0 22px rgba(63, 185, 122, 0.45); }
.steps3 h3, .card h3 { font-size: 19px; letter-spacing: -0.015em; }
.steps3 p, .card p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.cards4 { display: grid; gap: 12px; margin-top: 26px; }
.card { position: relative; padding: 20px 18px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: transform 300ms var(--ease), border-color 300ms; }
.card svg { width: 30px; height: 30px; fill: none; stroke: var(--emerald-bright); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 10px; filter: drop-shadow(0 0 8px rgba(63, 185, 122, 0.5)); }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(111, 224, 166, 0.2), transparent 62%); }
.faq { margin-top: 22px; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--glass); border: 1px solid var(--line); padding: 0 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 620; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--emerald-bright); border-bottom: 2px solid var(--emerald-bright); transform: rotate(45deg); transition: transform 240ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { color: var(--muted); padding: 0 0 16px; font-size: 16px; }
.again { display: grid; gap: 10px; margin-top: 28px; }
.foot { max-width: 1160px; margin: 0 auto; padding: 24px 18px 40px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

/* == Hologram details down the whole page ================================ */
/* Scroll progress, a thin line of light along the very top. */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 30; pointer-events: none; }
.progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--emerald), var(--emerald-bright) 70%, var(--gold)); box-shadow: 0 0 12px rgba(111, 224, 166, 0.8); will-change: transform; }
.backdrop::after { transform: translate3d(0, var(--drift, 0px), 0); will-change: transform; }

/* Dust rising through the hologram, and a ring that answers each keystroke. */
.holo-dust { position: absolute; left: 50%; bottom: 8%; width: 0; height: 0; pointer-events: none; }
.holo-dust i { position: absolute; left: var(--x); bottom: 0; width: 3px; height: 3px; border-radius: 50%; background: rgb(var(--holo-rgb)); box-shadow: 0 0 8px rgb(var(--holo-rgb)); opacity: 0; animation: dust var(--t) linear infinite; animation-delay: var(--d); }
.holo-dust i:nth-child(1) { --x: -92px; --t: 6.2s; --d: -1s; } .holo-dust i:nth-child(2) { --x: -58px; --t: 7.4s; --d: -4s; }
.holo-dust i:nth-child(3) { --x: -24px; --t: 5.6s; --d: -2.2s; } .holo-dust i:nth-child(4) { --x: 12px; --t: 8s; --d: -6s; }
.holo-dust i:nth-child(5) { --x: 44px; --t: 6.8s; --d: -3.1s; } .holo-dust i:nth-child(6) { --x: 78px; --t: 7.1s; --d: -0.4s; }
.holo-dust i:nth-child(7) { --x: 104px; --t: 5.9s; --d: -5s; } .holo-dust i:nth-child(8) { --x: -112px; --t: 8.4s; --d: -2.8s; }
.holo-dust i:nth-child(9) { --x: 26px; --t: 9s; --d: -7.5s; } .holo-dust i:nth-child(10) { --x: -40px; --t: 6.5s; --d: -5.6s; }
@keyframes dust { 0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; } 12% { opacity: 0.9; } 80% { opacity: 0.5; } 100% { transform: translate3d(calc(var(--x) * -0.12), calc(var(--rise, -150px)), 0) scale(1); opacity: 0; } }
.holo-ping { position: absolute; left: 50%; top: 56%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; border: 1.5px solid rgba(var(--holo-rgb), 0.9); opacity: 0; pointer-events: none; }
.holo-ping.go { animation: ping 620ms var(--ease); }
@keyframes ping { from { transform: scale(0.5); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.holo-stage { transform: scale(var(--hs)) rotateX(calc(-17deg + var(--py, 0) * -7deg)) rotateY(calc(var(--px, 0) * 16deg)); transition: transform 700ms var(--ease), opacity 700ms var(--ease), filter 700ms var(--ease); }
body.typing .h-wall, body.typing .h-roof { box-shadow: 0 0 30px rgba(var(--holo-rgb), 0.6), inset 0 0 34px rgba(var(--holo-rgb), 0.28); }
body.typing .addr { border-color: var(--emerald-bright); box-shadow: 0 0 0 4px rgba(63, 185, 122, 0.22), 0 0 60px rgba(63, 185, 122, 0.34); }
.addr input, .money input, .field input { caret-color: var(--emerald-bright); }

/* Section dividers: a line with a light travelling along it. */
.band { position: relative; border-top: 0; overflow-x: clip; overflow-clip-margin: 14px; }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(159, 227, 184, 0.3) 20%, rgba(159, 227, 184, 0.3) 80%, transparent); }
.band::after { content: ""; position: absolute; left: 0; top: -1px; width: 22%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--emerald-bright), transparent); filter: blur(1px); animation: travel 7s linear infinite; }
@keyframes travel { from { transform: translateX(-100%); } to { transform: translateX(560%); } }
.band .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 12px; }
.band .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-bright); box-shadow: 0 0 10px var(--emerald-bright); animation: blink 1.8s ease-in-out infinite; }
.band .eyebrow::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--emerald-bright), transparent); }

/* Arrival: headings wipe in like a scan, the pieces follow one by one. */
.reveal { opacity: 1; transform: none; transition: none; }
.fx .reveal > .eyebrow, .fx .reveal > h2, .fx .reveal > .final-sub, .fx .reveal .steps3 > li:not(.steps-line), .fx .reveal .card, .fx .reveal .faq details, .fx .reveal .again, .fx .reveal .holo-mini {
  opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 800ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms);
}
.fx .reveal > h2 { clip-path: inset(0 100% 0 0); transition: opacity 500ms var(--ease), transform 900ms var(--ease), clip-path 1000ms var(--ease); --i: 1; }
.fx .reveal.seen > .eyebrow, .fx .reveal.seen > h2, .fx .reveal.seen > .final-sub, .fx .reveal.seen .steps3 > li:not(.steps-line), .fx .reveal.seen .card, .fx .reveal.seen .faq details, .fx .reveal.seen .again, .fx .reveal.seen .holo-mini { opacity: 1; transform: none; }
.fx .reveal.seen > h2 { clip-path: inset(0 0 0 0); }
.steps3 > li:nth-child(2), .card:nth-child(1), .faq details:nth-child(1) { --i: 2; }
.steps3 > li:nth-child(3), .card:nth-child(2), .faq details:nth-child(2) { --i: 3; }
.steps3 > li:nth-child(4), .card:nth-child(3), .faq details:nth-child(3) { --i: 4; }
.card:nth-child(4), .faq details:nth-child(4) { --i: 5; }
.reveal > .final-sub { --i: 2; } .reveal .again { --i: 3; }

/* How it works: a line that fills as you scroll, rings round the numbers,
   and icons that draw themselves. */
.steps3 { position: relative; }
.steps3 .steps-line { all: unset; position: absolute; z-index: 2; left: -10px; top: 4px; bottom: 4px; width: 2px; background: rgba(159, 227, 184, 0.14); border-radius: 2px; pointer-events: none; }
.steps3 .steps-line i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--emerald-bright), var(--gold)); box-shadow: 0 0 12px rgba(111, 224, 166, 0.8); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; transition: transform 240ms linear; }
.steps3 > li:not(.steps-line) { transform-style: preserve-3d; overflow: hidden; }
.steps3 b { z-index: 3; }
.steps3 b::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px dashed rgba(111, 224, 166, 0.7); animation: turn 9s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.draw { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; fill: none; stroke: var(--emerald-bright); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; filter: drop-shadow(0 0 8px rgba(63, 185, 122, 0.7)); }
.draw path, .draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1500ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 300ms); }
.seen .draw path, .seen .draw circle { stroke-dashoffset: 0; }

/* Cards: corner brackets like the photo frame, a sweep of light, a tilt. */
.card, .steps3 > li:not(.steps-line) { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.fx .reveal.seen .card, .fx .reveal.seen .steps3 > li:not(.steps-line) { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 500ms var(--ease), opacity 800ms var(--ease), border-color 300ms; }
.hud::after, .steps3 > li:not(.steps-line)::after {
  content: ""; position: absolute; inset: 7px; pointer-events: none; opacity: 0.75; --c: rgba(111, 224, 166, 0.9);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 14px 1.5px, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 14px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 14px 1.5px, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 14px,
    linear-gradient(var(--c), var(--c)) 0 100% / 14px 1.5px, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 14px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 14px 1.5px, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 14px;
  background-repeat: no-repeat; transition: inset 400ms var(--ease), opacity 300ms;
}
.card svg { animation: float 5s ease-in-out infinite; }
.card:nth-child(2) svg { animation-delay: -1.2s; } .card:nth-child(3) svg { animation-delay: -2.4s; } .card:nth-child(4) svg { animation-delay: -3.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.card > i.sweep { display: none; }

/* Questions open smoothly. */
.faq details[open] p { animation: faqin 420ms var(--ease); }
@keyframes faqin { from { opacity: 0; transform: translateY(-8px); } }
.faq details { transition: border-color 300ms, background 300ms; }
.faq details[open] { border-color: var(--line-strong); }

/* The last section: a small hologram and one more way to start. */
.final { text-align: center; display: grid; justify-items: center; padding-bottom: 70px; }
.final-sub { color: var(--muted); font-size: 18px; margin-top: 12px; }
.final .again { justify-content: center; width: 100%; max-width: 420px; }
.holo-mini { --hs: 0.5; width: 100%; height: 170px; animation: none; margin-bottom: 4px; }
.holo-mini .holo-stage { top: 58%; }
.holo-mini .holo-beam { width: 220px; margin-left: -110px; height: 90px; }

/* Buttons answer a press. */
.chips button { position: relative; overflow: hidden; }
.rip { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); pointer-events: none; animation: rip 620ms var(--ease) forwards; }
@keyframes rip { to { transform: scale(26); opacity: 0; } }

/* Top bar gets a glass back once the page has moved. */
.top { position: sticky; top: 0; z-index: 20; transition: background 300ms, box-shadow 300ms; }
/* Full-width back for a centred bar, without making the page wider. */
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 300ms; background: rgba(3, 12, 8, 0.9); box-shadow: 0 0 0 100vmax rgba(3, 12, 8, 0.9); clip-path: inset(0 -100vmax); }
.top.scrolled::before { opacity: 1; }

/* The dock: always one tap from the form on a phone. */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25; display: flex; gap: 10px; padding: 8px; border-radius: 20px; background: rgba(4, 16, 11, 0.86); border: 1px solid var(--line-strong); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: dockin 520ms var(--ease) backwards; }
.dock .btn { flex: 1; min-height: 50px; }
.dock-call { width: 50px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.3); }
.dock-call svg { width: 21px; height: 21px; fill: none; stroke: var(--emerald-bright); stroke-width: 1.8; stroke-linejoin: round; }
@keyframes dockin { from { transform: translateY(120%); opacity: 0; } }
.foot { padding-bottom: 96px; }

/* The cursor ring (laptops; fx.js switches it on). */
.cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 40; border-radius: 50%; pointer-events: none; opacity: 0; border: 1.5px solid rgba(111, 224, 166, 0.85); box-shadow: 0 0 16px rgba(63, 185, 122, 0.5), inset 0 0 10px rgba(63, 185, 122, 0.3); transition: opacity 300ms, width 260ms var(--ease), height 260ms var(--ease), margin 260ms var(--ease), border-color 260ms, background 260ms; will-change: transform; }
.cursor.on { opacity: 1; }
.cursor.over { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--gold); background: rgba(231, 200, 115, 0.08); }
.cursor.down { width: 22px; height: 22px; margin: -11px 0 0 -11px; }

/* == Wider screens ======================================================= */
@media (min-width: 620px) {
  .addr { grid-template-columns: auto 1fr auto; padding-right: 8px; }
  .addr .btn { grid-column: auto; }
  .row { grid-template-columns: repeat(auto-fit, minmax(0, max-content)); }
  .steps3 { grid-template-columns: repeat(3, 1fr); }
  .steps3 > li:not(.steps-line) { padding: 68px 20px 66px; }
  .steps3 .steps-line { left: 4px; right: 4px; top: -14px; bottom: auto; width: auto; height: 2px; }
  .steps3 .steps-line i { transform: scaleX(var(--p, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, var(--emerald-bright), var(--gold)); }
  .draw { top: auto; bottom: 14px; }
  .dock { left: auto; right: 24px; bottom: 24px; width: 330px; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .again { grid-template-columns: repeat(2, max-content); }
}
@media (min-width: 980px) {
  :root { --hs: 1.18; }
  main { padding: 0 28px; }
  .top { padding: 20px 28px; }
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); grid-template-areas: "copy holo" "flow holo"; column-gap: 40px; align-items: start; padding: 44px 0 90px; }
  .hero-copy { grid-area: copy; }
  .flow { grid-area: flow; padding: 26px 26px 28px; margin-top: 30px; }
  .holo { grid-area: holo; height: 560px; position: sticky; top: 30px; }
  .holo-stage { top: 54%; }
  .holo-beam { width: 460px; margin-left: -230px; height: 220px; bottom: 30px; }
  .holo-tag { bottom: 40px; }
  .holo-photo { width: min(92%, 520px); top: 46%; border-radius: 16px; }
  .hp-c { width: 22px; height: 22px; }
  .cards4 { grid-template-columns: repeat(4, 1fr); }
  .band { padding: 84px 0; }
  .faq { max-width: 760px; }
  .card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
  .card:hover::before { opacity: 1; }
}

/* The small hologram in the last section is not part of the hero layout. */
@media (min-width: 980px) {
  .holo.holo-mini { --hs: 0.72; grid-area: auto; position: relative; top: auto; height: 230px; }
  .holo-mini .holo-stage { top: 60%; }
  .holo-mini .holo-beam { width: 300px; margin-left: -150px; height: 120px; bottom: 0; }
  .final .again { grid-template-columns: repeat(2, max-content); max-width: none; }
}

/* == Calm mode =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .holo-spin { transform: rotateY(-28deg); }
  .h-scan { opacity: 0; }
  .holo-photo { clip-path: none; }
  .tick circle, .tick path { stroke-dashoffset: 0; }
  .aura { display: none; }
}
