/* ============================================================
   RentalAI landing - "C2 Geist" layout with the "b2 Solid" button system
   (dark glass hero, audience signature scenes, bento, dark trust band).

   Fonts: Geist and Geist Mono by Vercel, SIL Open Font License 1.1, self-hosted from
   @fontsource/geist-sans@5.3.0 and @fontsource/geist-mono@5.3.0 (licences in fonts/).
   Geist Sans ships a full Latin-1 "latin" subset only (covers ES / CA / EN); Geist Mono
   also has latin-ext. No third-party font request at runtime.

   Brand tokens mirror @rentalai/design src/tokens.css (the landing is not linked to the kit):
   Trust Green #0f7a57 = renters, Trust Blue #1d4fbe = agencies, accent violet #6d28d9.
   ============================================================ */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/geist-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/geist-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/geist-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/geist-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/geist-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/geist-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/geist-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/geist-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --blue: #1d4fbe; --blue-deep: #163a8a; --blue-wash: #e9eefb;
  --green: #0f7a57; --green-deep: #0b5b41; --green-wash: #e3f1ea;
  --terracotta: #6d28d9; --terracotta-wash: #f0eafb;
  --on-brand: #fff;
  --brand: var(--green); --brand-deep: var(--green-deep); --brand-wash: var(--green-wash);
  --brand-ink: var(--green-deep); --brand-lift: #5fd1a5;
  --accent-ink: var(--terracotta);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --r-sm: 11px; --r: 16px; --r-lg: 22px; --r-file: 26px; --r-pill: 999px; --r-mark: 10px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  /* critically damped spring (damping 1.0) sampled into linear(): no overshoot, interruptible */
  --spring: linear(0 0%, 0.0487 5%, 0.1558 10%, 0.2826 15%, 0.4082 20%, 0.5221 25%, 0.6204 30%, 0.7023 35%, 0.7689 40%, 0.8222 45%, 0.8641 50%, 0.8968 55%, 0.922 60%, 0.9414 65%, 0.9561 70%, 0.9672 75%, 0.9756 80%, 0.9819 85%, 0.9866 90%, 0.9901 95%, 1 100%);
  --dur-press: 160ms; --dur-fast: 150ms; --dur-ui: 200ms;
  --gutter: 16px;

  --canvas: #f5f7fa; --raised: #ffffff; --sunk: #eceff4;
  --ink: #0b111d; --ink-soft: #4a5568; --ink-faint: #5f6b7d; --line: #dfe4ec;
  --night: #070b14; --night-2: #0d1320; --night-ink: #eef1f6; --night-soft: #a3adbd; --night-line: rgba(255,255,255,.09); --glass: rgba(255,255,255,.05);
  --graphite: #2a2d33; --graphite-hover: #33373e;
  --danger: #a12222; --danger-wash: #fdecec;

  --font-display: "Geist", "Geist Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Geist", "Geist Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Aliases read by consent.js (its banner styles itself from these). */
  --bg: var(--raised); --radius: var(--r); --font-body: var(--font-ui);
  --shadow-md: 0 10px 30px -12px rgba(11,27,51,.22);
  color-scheme: light;
}

body[data-audience="renters"]  { --brand: var(--green); --brand-deep: var(--green-deep); --brand-wash: var(--green-wash); --brand-ink: var(--green-deep); --brand-lift: #5fd1a5; }
body[data-audience="agencies"] { --brand: var(--blue);  --brand-deep: var(--blue-deep);  --brand-wash: var(--blue-wash);  --brand-ink: var(--blue-deep);  --brand-lift: #8fb0ff; }
/* Landlords only appear in the "live" site mode. */
body[data-audience="landlords"] { --brand: #a9660a; --brand-deep: #7a4708; --brand-wash: #fdf1dc; --brand-ink: #7a4708; --brand-lift: #f0b860; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --accent-ink: #b9a0f5; --canvas: #070b14; --raised: #0f1522; --sunk: #0b101b; --ink: #eef1f6; --ink-soft: #a3adbd; --ink-faint: #8e99ab; --line: #1c2434; --danger: #ff9b9b; --danger-wash: #3a1616; }
  :root:not([data-theme="light"]) body[data-audience="renters"]  { --brand-ink: #5fd1a5; --brand-wash: #0f2e24; }
  :root:not([data-theme="light"]) body[data-audience="agencies"] { --brand-ink: #8fb0ff; --brand-wash: #17264a; }
  :root:not([data-theme="light"]) body[data-audience="landlords"] { --brand-ink: #f0b860; --brand-wash: #3a2708; }
}
:root[data-theme="dark"] { color-scheme: dark; --accent-ink: #b9a0f5; --canvas: #070b14; --raised: #0f1522; --sunk: #0b101b; --ink: #eef1f6; --ink-soft: #a3adbd; --ink-faint: #8e99ab; --line: #1c2434; --danger: #ff9b9b; --danger-wash: #3a1616; }
:root[data-theme="dark"] body[data-audience="renters"]  { --brand-ink: #5fd1a5; --brand-wash: #0f2e24; }
:root[data-theme="dark"] body[data-audience="agencies"] { --brand-ink: #8fb0ff; --brand-wash: #17264a; }
:root[data-theme="dark"] body[data-audience="landlords"] { --brand-ink: #f0b860; --brand-wash: #3a2708; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; overflow-x: clip; background: var(--canvas); color: var(--ink);
  font-family: var(--font-ui); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; }
.ico { flex: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 760px) { :root { --gutter: 32px; } }
.mono { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tstat__n, .scard__n, .solv__fig, [data-count] { font-variant-numeric: tabular-nums; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand); text-decoration: none; font-weight: 600; transition: transform var(--dur-ui) var(--ease-out); }
.skip:focus-visible { transform: translateY(76px); }

/* Focus: 2px brand-lift ring with a 3px gap, visible on green and blue */
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }
.top :focus-visible, .hero :focus-visible, .trust :focus-visible, .cta__box :focus-visible { outline-color: var(--brand-lift); }

/* Audience swap: quick blurred crossfade (out 160ms, in 220ms) */
[data-swap-zone] { transition: opacity 220ms var(--ease-out), filter 220ms var(--ease-out); }
[data-swap-zone].is-swapping { opacity: 0; filter: blur(4px); transition-duration: 160ms; }

/* Site modes (app.js CONFIG.siteMode): markup tagged data-only-mode="<mode>" renders only in that mode. */
html[data-mode="coming-soon"] [data-only-mode="live"],
html[data-mode="live"] [data-only-mode="coming-soon"] { display: none !important; }

/* ---------- Buttons: b2 "Solid · Apple Pay" ---------- */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-pill);
  font-family: var(--font-ui); font-weight: 600; font-size: 15px; letter-spacing: -0.015em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition-property: transform, background-color, box-shadow, color, opacity;
  transition-duration: 340ms, 160ms, 200ms, 160ms, 160ms;
  transition-timing-function: var(--spring), ease, ease, ease, ease;
}
.btn > span { position: relative; z-index: 1; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--lg { min-height: 48px; }
.btn--block { width: 100%; }
.btn:has(.ico--arrow) { padding-right: 18px; }
.btn .ico--arrow { margin-left: -2px; margin-right: -1px; transition: transform 240ms var(--ease-out); }
.btn--primary { color: #fff; background: var(--brand); --btn-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.35); box-shadow: var(--btn-shadow); }
.btn--glass { color: #f5f5f7; background: var(--graphite); --btn-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.35); box-shadow: var(--btn-shadow); }
@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover { transform: translateY(-1px); }
  .btn--primary:not(:disabled):hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 8px 18px -8px rgba(0,0,0,.6); }
  .btn--glass:not(:disabled):hover { background: var(--graphite-hover); }
  .btn:not(:disabled):hover .ico--arrow { transform: translateX(3px); }
}
.btn:not(:disabled):active { transform: scale(0.96); transition-duration: 110ms; transition-timing-function: var(--ease-out); }
.btn--primary:not(:disabled):active { background: var(--brand-deep); }
.btn:focus-visible { box-shadow: var(--btn-shadow, none); outline: 2px solid var(--brand-lift); outline-offset: 3px; border-radius: var(--r-pill); }
.btn:disabled { cursor: not-allowed; opacity: .42; box-shadow: none; transform: none; }

/* live status dot */
.live { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; flex: none; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3ddc97; opacity: 0; }
.motion .live::after { animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
body[data-audience="agencies"] .live { background: #e3b36d; }
body[data-audience="agencies"] .live::after { display: none; }

/* ---------- Header (floats over the dark hero) ---------- */
.top { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.top__in {
  pointer-events: auto; display: flex; align-items: center; gap: var(--s-3); height: 60px; padding: 0 8px 0 18px;
  border-radius: var(--r-pill); background: rgba(9,14,24,.62); border: 1px solid var(--night-line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); color: var(--night-ink);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--brand); color: var(--on-brand); transition: background-color 500ms var(--ease-out); }
.nav { display: none; gap: var(--s-5); margin-left: var(--s-4); font-size: 15px; }
.nav a { text-decoration: none; color: var(--night-soft); white-space: nowrap; transition: color var(--dur-fast) ease; }
@media (hover: hover) { .nav a:hover { color: var(--night-ink); } }
@media (min-width: 1140px) { .nav { display: flex; } }
.top__end { margin-left: auto; display: flex; gap: var(--s-2); align-items: center; min-width: 0; }
.top__login { display: none; }
@media (min-width: 760px) { .top__login { display: inline-flex; } }

.iconbtn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: var(--r-pill);
  background: var(--graphite); color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); cursor: pointer;
  transition-property: transform, background-color, color; transition-duration: 340ms, 160ms, 160ms; transition-timing-function: var(--spring), ease, ease;
}
@media (hover: hover) and (pointer: fine) { .iconbtn:hover { background: var(--graphite-hover); } }
.iconbtn:active { transform: scale(0.94); transition-duration: 110ms; transition-timing-function: var(--ease-out); }
.iconbtn:focus-visible { outline: 2px solid var(--brand-lift); outline-offset: 3px; border-radius: var(--r-pill); }

/* Language pill (ES / CA / EN) */
.lang { display: inline-flex; align-items: center; flex: none; padding: 3px; border-radius: var(--r-pill); background: #16191e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.lang__btn {
  min-width: 34px; height: 38px; padding: 0 8px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--night-soft);
  transition: color 160ms ease, background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .lang__btn:not(.is-active):hover { color: var(--night-ink); } }
.lang__btn.is-active { background: var(--graphite); color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.lang__btn:focus-visible { outline: 2px solid var(--brand-lift); outline-offset: 2px; border-radius: var(--r-pill); }

.top__cta-short { display: none; }
@media (max-width: 559px) { .top__cta-short { display: inline; } }
/* Phones: brand mark + language pill + the one audience action must fit from 320px. */
@media (max-width: 559px) {
  .top { top: 8px; }
  .top .wrap { width: calc(100% - 16px); }
  .top__in { height: 56px; padding: 0 6px 0 12px; gap: var(--s-2); }
  .top__end { gap: 6px; }
  .top__cta { padding: 0 14px; font-size: 13.5px; }
  .top__cta .live { display: none; }
  .top__cta-full { display: none; }
  .lang__btn { min-width: 30px; height: 36px; padding: 0 6px; font-size: 11.5px; }
}
@media (max-width: 419px) {
  .brand__name { display: none; } /* the link keeps aria-label "RentalAI home" */
  .top .iconbtn { display: none; } /* theme still follows the system setting */
}
@media (max-width: 349px) {
  .top__cta { padding: 0 11px; font-size: 13px; letter-spacing: -0.02em; }
  .lang__btn { min-width: 27px; padding: 0 4px; }
}

/* ---------- Hero (always dark) ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; background: var(--night); color: var(--night-ink); padding: 104px 0 var(--s-8); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 50% at 75% 35%, color-mix(in oklab, var(--brand) 26%, transparent), transparent 70%), radial-gradient(40% 40% at 10% 0%, rgba(109,40,217,.16), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; 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__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); align-items: center; }
@media (min-width: 1040px) { .hero { padding: 140px 0 var(--s-9); } .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }

/* Coming-soon notice (mode "coming-soon" only) */
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: var(--s-5); color: var(--night-soft); font-size: 14px; line-height: 1.45; }
.soon__badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(196,177,247,.12); color: #c4b1f7; box-shadow: inset 0 0 0 1px rgba(196,177,247,.22); }

/* Audience switch: radiogroup, thumb measured to the checked label */
.switch { position: relative; isolation: isolate; display: inline-flex; align-items: stretch; max-width: 100%; padding: 3px; border-radius: var(--r-pill); background: #16191e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.switch__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; z-index: 0; border-radius: var(--r-pill);
  background: var(--brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); will-change: transform;
  transition: transform 380ms var(--spring), width 380ms var(--spring), background-color 300ms ease;
}
.switch.no-anim .switch__thumb { transition: none; }
.switch [role="radio"] {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px;
  border: 0; border-radius: var(--r-pill); background: none; cursor: pointer; white-space: nowrap;
  font-family: var(--font-ui); font-size: 15px; font-weight: 600; letter-spacing: -0.015em; line-height: 1; color: var(--night-soft);
  transition: color 160ms ease, transform 340ms var(--spring);
}
.switch [role="radio"] .ico { width: 16px; height: 16px; margin-top: -1px; }
.switch [role="radio"][aria-checked="true"] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .switch [role="radio"][aria-checked="false"]:hover { color: var(--night-ink); } }
.switch [role="radio"]:active { transform: scale(0.96); transition-duration: 160ms, 110ms; transition-timing-function: ease, var(--ease-out); }
.switch [role="radio"]:focus-visible { outline: 2px solid var(--brand-lift); outline-offset: 2px; border-radius: var(--r-pill); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-6); color: #c4b1f7; }
.h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.05em; margin-top: var(--s-4); max-width: 13ch; }
body[data-audience="agencies"] .h1, body[data-audience="landlords"] .h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); max-width: 15ch; }
html[lang="ca"] .h1 { max-width: 14ch; }
.h1 .w { display: inline-block; }
.hero__sub { margin-top: var(--s-5); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--night-soft); max-width: 35rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.magnet { display: inline-flex; }
@media (max-width: 559px) { .hero__actions .btn, .magnet { flex: 1 1 100%; } .magnet .btn { width: 100%; } }
.proof { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); color: var(--night-soft); font-size: 14px; }
.proof li { display: inline-flex; gap: 8px; align-items: center; }
.proof .ico { color: var(--brand-lift); }

/* Scenes: stacked in one cell; the audience switch crossfades them (interruptible transitions) */
.scenes { display: grid; grid-template-columns: minmax(0, 1fr); }
.scenes > * { min-width: 0; }
.scenes > [data-scene] { grid-area: 1 / 1; transition: opacity 420ms var(--ease-out), transform 560ms var(--ease-out), filter 420ms var(--ease-out), visibility 0s linear 0s; }
.scenes > [data-scene]:not(.is-active) { opacity: 0; transform: translateY(10px) scale(0.975); filter: blur(6px); visibility: hidden; pointer-events: none; transition: opacity 220ms var(--ease-out), transform 300ms var(--ease-out), filter 220ms var(--ease-out), visibility 0s linear 220ms; }
.no-anim, .no-anim * { transition: none !important; }

.stage { position: relative; margin: 0; min-height: 470px; padding: clamp(16px, 3vw, 26px); border-radius: var(--r-file); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--night-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 100px -40px rgba(0,0,0,.8); }
.stage__bar { display: flex; align-items: center; gap: 10px; color: var(--night-soft); }
.stage__bar > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage__bar .tag { margin-left: auto; flex: none; padding: 3px 8px; border-radius: 6px; border: 1px dashed rgba(255,255,255,.28); }
.pcard { position: relative; margin-top: 18px; padding: 20px; border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line); }
.pcard__head { display: flex; align-items: center; gap: 14px; }
.ring { position: relative; width: 56px; height: 56px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .bg { stroke: rgba(255,255,255,.08); }
.ring .fg { stroke: var(--brand-lift); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1200ms var(--ease-in-out) 200ms; }
.st-2 .ring .fg { stroke-dashoffset: 0; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; }
.pcard__name { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; font-size: 22px; line-height: 1.1; }
.pcard__meta { color: var(--night-soft); font-size: 13px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.slot { height: 44px; min-width: 0; border-radius: 12px; border: 1px dashed rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--night-soft); transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease; transition-delay: calc(var(--i) * 120ms + 650ms); }
.slot .ico { width: 16px; height: 16px; }
.st-1 .slot { border-style: solid; border-color: color-mix(in oklab, var(--brand-lift) 45%, transparent); background: color-mix(in oklab, var(--brand) 16%, transparent); color: var(--night-ink); }
.fly { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #eef1f6; color: #0b111d; font-size: 13px; font-weight: 700; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--r)); transition: transform 760ms var(--ease-in-out), opacity 300ms var(--ease-out); transition-delay: calc(var(--i) * 120ms); }
.fly .ico { width: 16px; height: 16px; color: var(--brand); }
.motion .is-active .fly { opacity: 1; }
.st-1 .fly, .motion .st-1 .fly { transform: translate(var(--tx), var(--ty)) scale(0.7); opacity: 0; transition-property: transform, opacity; transition-duration: 760ms, 300ms; transition-delay: calc(var(--i) * 120ms), calc(var(--i) * 120ms + 560ms); }
.checks { margin-top: 14px; display: grid; }
.check { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--night-line); font-size: 14px; }
.check > span:first-child { min-width: 0; }
.check__v { display: inline-flex; flex: none; align-items: center; gap: 6px; color: var(--night-soft); font-weight: 700; font-size: 13px; white-space: nowrap; transition: color 250ms ease; transition-delay: calc(var(--i) * 220ms + 250ms); }
.check__v svg { width: 16px; height: 16px; }
.check__v path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 380ms var(--ease-out); transition-delay: calc(var(--i) * 220ms + 300ms); }
.st-2 .check__v { color: #7fe0b4; }
.st-2 .check__v path { stroke-dashoffset: 0; }
.stamp { position: absolute; right: 16px; top: 22px; z-index: 4; padding: 10px 16px; border: 2.5px solid var(--brand-lift); border-radius: 12px; color: var(--brand-lift); font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; background: rgba(7,11,20,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transform: rotate(-8deg) scale(1.5); transition: transform 420ms var(--ease-out), opacity 200ms var(--ease-out); }
.st-3 .stamp { opacity: 1; transform: rotate(-8deg) scale(1); }
.motion .st-3 .pcard { animation: thud 260ms var(--ease-out) 180ms; }
@keyframes thud { 40% { transform: translateY(3px); } }
.share { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 8px 8px 14px; border-radius: 14px; background: #eef1f6; color: #0b111d; opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--ease-out), transform 520ms var(--ease-out); }
.share > span { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share b { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand); font-size: 13px; }
.st-4 .share { opacity: 1; transform: none; }
/* renter: the summary the share link shows, revealed with the seal */
.pres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-3); opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: 120ms; }
.st-3 .pres { opacity: 1; transform: none; }
.pres__row { display: flex; align-items: flex-start; gap: var(--s-2); min-width: 0; padding: var(--s-2) 10px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--night-line); font-size: 13px; line-height: 1.35; color: var(--night-ink); }
.pres__row .ico { width: 16px; height: 16px; margin-top: 1px; color: var(--brand-lift); }
@media (max-width: 480px) { .pres { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .pres { transition: none; transform: none; } }
/* agency: what an agency sees when it opens a renter's shared link */
.av { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; background: rgba(255,255,255,.07); border: 1px solid var(--night-line); }
.sfile { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease-out), transform 560ms var(--ease-out); }
.st-1 .sfile { opacity: 1; transform: none; }
.sfile__status { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--brand-lift); font-weight: 600; }
.sfile__status .ico { width: 14px; height: 14px; }
.check__v--plain { color: var(--night-ink); font-weight: 600; }
.st-2 .check__v--plain { color: var(--night-ink); }
.sdocs { margin-top: 6px; border-top: 1px solid var(--night-line); opacity: 0; transition: opacity 400ms var(--ease-out); }
.st-3 .sdocs { opacity: 1; }
.sdocs__sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 0 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; border-radius: 8px; }
.sdocs__sum::-webkit-details-marker { display: none; }
.sdocs__sum:focus-visible { outline: 2px solid var(--brand-lift); outline-offset: 4px; }
.sdocs__chev { width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--night-soft); border-bottom: 2px solid var(--night-soft); transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out); }
.sdocs[open] .sdocs__chev { transform: rotate(-135deg) translateY(-1px); }
.sdocs__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.sdocs__row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.sdocs__row .ico { width: 16px; height: 16px; color: var(--night-soft); }
.sdocs__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sdocs__ok { display: inline-flex; align-items: center; gap: 5px; color: #7fe0b4; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sdocs__ok svg { width: 14px; height: 14px; }
.sdocs__note { margin: 6px 0 0; color: var(--night-soft); font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .sfile, .sdocs, .sdocs__chev { transition: none; } }
.secline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; color: var(--night-soft); }
.secline > span { display: inline-flex; align-items: center; gap: 6px; }
.secline .ico { width: 14px; height: 14px; color: var(--brand-lift); }
@media (max-width: 480px) { .stamp { font-size: 13px; top: 26px; right: 10px; padding: 6px 9px; border-width: 2px; } [data-scene="renters"] .pcard__head { padding-right: 96px; } .fly { font-size: 12px; } .slot { font-size: 11.5px; gap: 4px; } }

/* ---------- Cities ---------- */
.cities { padding: var(--s-7) 0; overflow: clip; border-bottom: 1px solid var(--line); }
.cities__lbl { text-align: center; color: var(--ink-faint); padding-inline: var(--gutter); }
.cities__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(20px, 5vw, 64px); margin-top: var(--s-4); padding-inline: var(--gutter); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1.1; }
.motion .cities__row { flex-wrap: nowrap; white-space: nowrap; padding-inline: 0; font-size: clamp(2rem, 6vw, 5rem); line-height: 1; will-change: transform; }
.cities__row > :nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink-faint); }
@supports not (-webkit-text-stroke: 1px black) { .cities__row > :nth-child(even) { color: var(--ink-faint); } }

/* ---------- Sections ---------- */
.sec { padding: var(--s-9) 0; }
.sec--flush { padding-top: 0; }
.kicker { color: var(--accent-ink); }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 18ch; margin-top: var(--s-3); overflow-wrap: break-word; hyphens: auto; }
.lead { margin-top: var(--s-5); font-size: 18px; color: var(--ink-soft); max-width: 40rem; }
.pgrid { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 860px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.prob { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--raised); border: 1px solid var(--line); }
.prob__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sunk); color: var(--ink-soft); }
.prob h3, .scard h3, .bc h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: -0.035em; overflow-wrap: break-word; hyphens: auto; }
.prob h3 { margin-top: var(--s-6); }
.prob p { margin-top: var(--s-2); color: var(--ink-soft); font-size: 16px; }

/* How it works: sticky stacking cards */
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
@media (min-width: 960px) { .how__grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); } .how__head { position: sticky; top: 120px; align-self: start; } }
.how__grid > *, .stack > * { min-width: 0; }
.stack { display: grid; gap: var(--s-4); }
.scard { position: sticky; top: calc(96px + var(--i) * 18px); padding: var(--s-6); border-radius: var(--r-file); background: var(--raised); border: 1px solid var(--line); box-shadow: 0 -10px 40px -24px rgba(11,17,29,.35); transform-origin: 50% 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; min-height: 180px; }
.scard__n { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: .9; letter-spacing: -0.04em; color: var(--brand-ink); }
.scard__ico { display: block; margin-bottom: var(--s-3); color: var(--ink-faint); }
.scard p { margin-top: var(--s-2); color: var(--ink-soft); }
@media (max-width: 959px) { .scard { position: relative; top: auto; } }
@media (max-width: 480px) { .scard { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-5); } .scard__n { font-size: 40px; } }

/* Benefits: bento with pointer spotlight */
.bento { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > :nth-child(1), .bento > :nth-child(4) { grid-column: span 4; } .bento > :nth-child(2), .bento > :nth-child(3) { grid-column: span 2; } }
.bc { position: relative; overflow: hidden; isolation: isolate; padding: var(--s-6); border-radius: var(--r-file); background: var(--raised); border: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; transition: transform 400ms var(--ease-out), border-color 300ms ease; }
.bc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--brand) 14%, transparent), transparent 60%); transition: opacity 300ms ease; }
.bc__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand-ink); }
.bc h3 { margin-top: auto; padding-top: var(--s-6); }
.bc p { margin-top: var(--s-2); color: var(--ink-soft); max-width: 34rem; }
@media (hover: hover) and (pointer: fine) { .bc:hover::before { opacity: 1; } .bc:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--brand) 35%, var(--line)); } }

/* Trust & security: dark band */
.trust { position: relative; overflow: clip; background: var(--night); color: var(--night-ink); }
.trust::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 20%, color-mix(in oklab, var(--brand) 20%, transparent), transparent 70%); pointer-events: none; }
.trust .wrap { position: relative; }
.trust .kicker { color: #c4b1f7; }
.trust .lead { color: var(--night-soft); }
.tgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
@media (min-width: 960px) { .tgrid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-8); } }
.ticks { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.ticks li { display: flex; gap: 12px; }
.ticks .ico { color: var(--brand-lift); margin-top: 5px; }
.tstats { display: grid; gap: var(--s-3); align-self: center; }
.tstat { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--night-line); }
.tstat__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; min-width: 3.6ch; }
.tstat__l { color: var(--night-soft); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; }
.shield { width: 48px; height: 48px; color: var(--brand-lift); margin-bottom: var(--s-4); }
.shield path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .shield path { stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease-in-out); }
.motion .shield.is-in path { stroke-dashoffset: 0; }

/* Beta note (live mode only) */
.plans { padding-bottom: 0; text-align: center; }
.plans .h2 { margin-inline: auto; }

/* CTA band */
.cta__box { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-file); background: var(--night); color: var(--night-ink); padding: clamp(40px, 8vw, 104px) clamp(20px, 6vw, 80px); text-align: center; }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 120%, color-mix(in oklab, var(--brand) 40%, transparent), transparent 70%); }
.cta__box .h2 { margin-inline: auto; max-width: 16ch; }
.cta__box .lead { margin-inline: auto; color: var(--night-soft); }
.cta__form { margin: var(--s-6) auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); max-width: 520px; }
.cta__input { flex: 1 1 240px; min-height: 48px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: #16191e; color: var(--night-ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 16px; }
.cta__input::placeholder { color: var(--night-soft); }
.cta__input:focus-visible { outline: 2px solid var(--brand-lift); outline-offset: 2px; }
.cta__fine { margin-top: var(--s-4); color: var(--night-soft); font-size: 14px; }
@media (max-width: 559px) { .cta__form .btn { width: 100%; } }

/* FAQ: native details/summary accordion */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
@media (min-width: 960px) { .faq__grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); } .faq__grid > .h2 { position: sticky; top: 120px; align-self: start; } }
.faq__grid > * { min-width: 0; }
.faq__grid > .h2 { margin-top: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 44px; padding: var(--s-5) 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); border-radius: 8px; transition: color var(--dur-fast) ease; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .faq__q:hover { color: var(--brand-ink); } }
.faq__chev { flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint); transform: rotate(45deg) translateY(-3px); transition: transform var(--dur-ui) var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(-135deg) translateY(-1px); }
.faq__a { padding: 0 0 var(--s-5); max-width: 40rem; color: var(--ink-soft); }
.faq__a a { color: var(--brand-ink); text-underline-offset: 3px; }
@media (max-width: 480px) { .faq__q { font-size: 18px; padding: var(--s-4) 0; } }
@media (prefers-reduced-motion: reduce) { .faq__chev { transition: none; } }

/* Footer */
.foot { padding: var(--s-8) 0 var(--s-6); border-top: 1px solid var(--line); }
.foot__grid { display: grid; gap: var(--s-6); }
@media (min-width: 820px) { .foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.foot__tag { margin-top: var(--s-3); color: var(--ink-soft); max-width: 28ch; }
.foot h2 { color: var(--ink-faint); margin-bottom: var(--s-3); font-weight: 400; }
.foot nav a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink-soft); }
@media (hover: hover) { .foot nav a:hover { color: var(--ink); } }
.foot__bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: 14px; color: var(--ink-faint); }

/* ---------- Sub-pages (about.html, careers.html) ----------
   Same dark hero and section rhythm as the home page; content in calm two-column blocks
   (heading left, text right on wide screens), divided by hairlines like the FAQ. */
.hero--page { padding-bottom: var(--s-8); }
@media (min-width: 1040px) { .hero--page { padding: 168px 0 var(--s-9); } }
.hero--page .h1 { max-width: 16ch; }
.hero--page .hero__sub { max-width: 40rem; }
.pblocks { border-top: 1px solid var(--line); }
.pblock { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding: var(--s-7) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .pblock { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); } }
.pblock > * { min-width: 0; }
.h2--sm { margin-top: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; max-width: 16ch; }
.pblock .lead { margin-top: 0; }
.pblock .lead + .lead, .pnote .lead + .lead { margin-top: var(--s-4); }
.statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; }
.plist { display: grid; gap: var(--s-4); }
.plist li { display: flex; gap: 12px; color: var(--ink-soft); font-size: 18px; max-width: 40rem; }
.plist .ico { color: var(--brand-ink); margin-top: 6px; }
.pblock .lead a, .pnote .lead a { color: var(--brand-ink); text-underline-offset: 3px; }
.pblock__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
@media (max-width: 559px) { .pblock__actions .btn { width: 100%; } }
.pnote { max-width: 44rem; }
.pnote .lead:first-child { margin-top: 0; }
.foot nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Agency waitlist modal ---------- */
body.modal-open { overflow: hidden; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--s-5) var(--gutter); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,11,20,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn 200ms ease both; }
.modal__dialog { position: relative; z-index: 2; width: 100%; max-width: 540px; max-height: calc(100vh - 48px); overflow-y: auto; padding: var(--s-6) var(--s-6) var(--s-5); border-radius: var(--r-file); background: var(--raised); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); animation: popIn 280ms var(--ease-out) both; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--r-pill); background: var(--sunk); color: var(--ink-soft); cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .modal__close:hover { color: var(--ink); } }
.modal__eyebrow { color: var(--accent-ink); }
.modal__title { margin-top: var(--s-2); padding-right: 48px; font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -0.035em; }
.modal__sub { margin-top: var(--s-3); color: var(--ink-soft); font-size: 16px; }
.modal__form { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.modal__form[hidden] { display: none; }
.modal__unavailable { margin-top: var(--s-5); }
.modal__unavailable[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--canvas); color: var(--ink); font-size: 16px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 13px; }
/* Agency place: <rentalai-place-select> (@rentalai/geo). It styles itself from these custom properties
   (zero-specificity defaults), so map them to the modal's input look: same fill, line, radius, 48px
   targets and brand focus halo in light and dark. */
.field--place { margin: 0; padding: 0; border: 0; min-width: 0; }
.field--place > legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.field--place rentalai-place-select {
  --paper-raised: var(--canvas);
  --brand-deep: var(--brand-ink);
  --target-min: 48px;
  --rps-gap: var(--s-3);
  --sh-lift: var(--shadow-md);
  --caution: var(--danger);
  --z-popover: 5;
}
.field--place rentalai-place-select .rps-label { font-size: 13px; font-weight: 500; }
.field--place rentalai-place-select .rps-input { padding: 0 14px; font-size: 16px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field--place rentalai-place-select .rps-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.field--place rentalai-place-select .rps-input[aria-invalid="true"] { border-color: var(--danger); }
.field--place rentalai-place-select .rps-hint:empty { display: none; }
.field--place rentalai-place-select .rps-listbox { background: var(--raised); }
.field__credit { margin: 0; font-size: 12px; color: var(--ink-faint); }
.field__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.field__credit a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.consent-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand); }
.consent-row a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
.turnstile-slot:empty { display: none; }
.modal__note { padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; background: var(--brand-wash); color: var(--brand-ink); }
.modal__note--err { background: var(--danger-wash); color: var(--danger); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 559px) { .modal__dialog { padding: var(--s-5) var(--s-4) var(--s-4); } .modal__title { font-size: 26px; } }

/* ---------- Motion initial states (only when JS sets html.motion) ---------- */
.motion .h1 .wi, .motion .js-cut .wi { display: inline-block; clip-path: inset(0 0 100% 0); transform: translateY(0.35em); }
.motion .js-fade { opacity: 0; transform: translateY(14px); }
.motion .hero__visual { opacity: 0; transform: translateY(24px) scale(0.98); }
.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }
.motion [data-reveal] { transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--ri, 0) * 70ms); }
.motion [data-reveal].no-anim { transition: none; }

/* ---------- Reduced motion: final states, no transforms ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  [data-swap-zone], [data-swap-zone].is-swapping { transition: none; opacity: 1; filter: none; }
  .scenes > [data-scene], .scenes > [data-scene]:not(.is-active) { transition: opacity 200ms ease, visibility 0s linear 200ms; transform: none; filter: none; }
  .scenes > [data-scene].is-active { transition: opacity 200ms ease; }
  .btn, .btn:active, .iconbtn:active, .switch [role="radio"]:active { transform: none !important; }
  .btn .ico--arrow { transition: none; transform: none !important; }
  .switch__thumb { transition: background-color 200ms ease !important; }
  .switch [role="radio"] { transition: color 160ms ease; }
  .bc, .bc:hover { transform: none !important; }
}
