/* RentSynk landing. Tokens mirror frontend/lib/core/theme/app_colors.dart (the app's only colour
   source) plus the logo's night palette. Change a brand colour there first, then here. */

@font-face { font-family: 'Plus Jakarta Sans'; src: url(/fonts/jakarta.woff2) format('woff2'); font-weight: 200 800; font-display: swap;
  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: 'Plus Jakarta Sans'; src: url(/fonts/jakarta-rupee.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jbmono.woff2) format('woff2'); font-weight: 100 800; font-display: swap; unicode-range: U+0020-007E, U+00B7, U+2013-2014, U+2026; }

:root {
  --night: #0B0A0C; --espresso: #2A1810; --ember: #F7931E; --silver: #C9CBD1;
  --sand: #F2EBE0; --sand-50: #FEFCF9; --sand-100: #F9F4EC; --sand-300: #E9DFD1; --sand-400: #DCCEBA;
  --brown: #7A4A28; --brown-d: #5C3720; --copper: #B07C4F;
  --ink: #2A1810; --ink-2: #4E3B2E; --ink-3: #6B5747; --on-brand: #FFF8F1;
  --night-ink: #FFF8F1; --night-ink-2: #D9C8B6;
  --paid: #1F6B4A; --paid-bg: #DCEFE4; --due: #9A6805; --due-bg: #FBEED0;
  --raise: 8px 8px 20px rgba(122,74,40,.14), -8px -8px 20px rgba(255,255,255,.85);
  --raise-sm: 4px 4px 10px rgba(122,74,40,.14), -4px -4px 10px rgba(255,255,255,.8);
  --inset: inset 4px 4px 9px rgba(122,74,40,.18), inset -4px -4px 9px rgba(255,255,255,.7);
  --brand-grad: linear-gradient(135deg, #8E5A33 0%, #5C3720 100%);
  --paid-grad: linear-gradient(135deg, #2E8B60 0%, #1F6B4A 100%);
  --shadow-brand: 0 12px 26px rgba(92,55,32,.3);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Plus Jakarta Sans', ui-monospace, monospace;
  --gutter: clamp(16px, 6.6vw, 96px);
  --bar-ink: var(--ink); --bar-ink-2: var(--ink-3); --bar-bg: 249,244,236; --focus: var(--brown);
}
.ink-light { --bar-ink: var(--night-ink); --bar-ink-2: #CDBFB0; --bar-bg: 18,13,12; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; background: var(--night); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; color: var(--ink); font: 500 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 20; left: 16px; top: -80px; padding: 12px 18px; border-radius: 12px; background: var(--sand-100); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
.i { width: 1em; height: 1em; flex: none; }

/* ---------- the 3D world + overlay ---------- */
.world { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; }
.overlay { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .35s; will-change: transform; white-space: nowrap; }
.tag.show { opacity: 1; }
.tag-loop { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: #E8D9C8; }
.tag-loop::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px var(--ember); }
.tag-pin { padding: 8px 12px; border-radius: 12px; background: var(--sand-100); box-shadow: 5px 5px 12px rgba(122,74,40,.18), -4px -4px 10px rgba(255,255,255,.8); font-size: 13px; font-weight: 700; color: var(--ink); }
.tag-pin span { font-family: var(--mono); font-weight: 600; }
.tag-card { width: 214px; padding: 13px 15px; border-radius: 20px; background: var(--sand-100); box-shadow: 8px 8px 20px rgba(122,74,40,.18), -6px -6px 16px rgba(255,255,255,.85); display: flex; flex-direction: column; gap: 3px; white-space: normal; color: var(--ink); }
.tag-card .k { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--brown); }
.tag-card .k span { font-family: var(--mono); color: var(--ink-3); }
.tag-card b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.tag-card .price { font: 600 15px/1.3 var(--mono); }
.tag-card small { font-size: 12px; color: var(--ink-3); }

/* ---------- header ---------- */
.bar { position: fixed; z-index: 10; left: 0; right: 0; top: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); color: var(--bar-ink); transition: color .4s, background-color .4s, box-shadow .4s; }
.bar.scrolled { background: rgba(var(--bar-bg), .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.ink-light .bar { --focus: var(--ember); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.03em; text-decoration: none; color: inherit; }
.brand-mark { width: 34px; height: 34px; }
.bar-nav { display: flex; gap: 32px; }
.bar-nav a { color: var(--bar-ink-2); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .2s; }
.bar-nav a:hover { color: var(--bar-ink); }

/* ---------- buttons & badges ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 16px; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand-grad); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.btn-brand:hover { box-shadow: 0 16px 32px rgba(92,55,32,.38); }
.btn-glass { background: rgba(255,248,241,.08); color: #E8D9C8; }
.btn-glass:hover { background: rgba(255,248,241,.15); color: var(--on-brand); }
.bar-cta { height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.badge { display: inline-flex; border-radius: 10px; transition: transform .2s; }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 48px; width: auto; }

/* ---------- chapters ---------- */
.ch { position: relative; z-index: 2; min-height: 130vh; padding: 120px var(--gutter); display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 1fr); align-items: center; gap: 48px; color: var(--ink); --focus: var(--brown); }
.ch.night { color: var(--night-ink); --focus: var(--ember); }
.ch-hero { min-height: 100vh; min-height: 100svh; padding-top: 96px; grid-template-columns: minmax(0, 700px) minmax(0, 1fr); }
.copy { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 580px; }
.aside { grid-column: 2; min-width: 0; }
.eyebrow { margin: 0; font: 600 13px/1.4 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--brown); }
.night .eyebrow { color: var(--copper); }
.display { margin: 0; font-weight: 800; font-size: clamp(42px, 5.6vw, 82px); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; text-wrap: balance; }
h1.display { font-size: clamp(64px, 9vw, 140px); line-height: .88; letter-spacing: -.055em; white-space: nowrap; }
.lede { margin: 0; max-width: 520px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); }
.night .lede { color: var(--night-ink-2); }
.fine { margin: 0; max-width: 520px; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.well { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--sand-300); box-shadow: var(--inset); display: flex; align-items: center; justify-content: center; }
.well svg { width: 20px; height: 20px; fill: none; stroke: var(--brown); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* a soft sand scrim keeps the copy readable where the world gets busy (close-ups, the city map) */
@media (min-width: 901px) {
  .live #tenants::before, .live #services::before, .live #listings::before, .live #safety::before, .live #everywhere::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(242,235,224,.94) 0%, rgba(242,235,224,.8) 36%, rgba(242,235,224,0) 58%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  }
}

/* hero */
.ch-hero .copy { gap: 26px; max-width: 700px; }
.cue { position: absolute; left: var(--gutter); bottom: 40px; margin: 0; display: flex; align-items: center; gap: 16px; font: 500 12px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: #9A8877; }
.cue-line { width: 2px; height: 48px; position: relative; overflow: hidden; background: rgba(255,248,241,.12); }
.cue-line::after { content: ''; position: absolute; inset: 0; background: var(--ember); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.still-icon { display: none; }

/* owners */
.feats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feats li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.overview { width: min(340px, 100%); margin: 58vh 0 0 auto; padding: 22px 24px; border-radius: 26px; color: var(--on-brand); background: var(--brand-grad); box-shadow: 0 18px 40px rgba(92,55,32,.35); }
.overview p { margin: 0; }
.overview-k { font-size: 13px; font-weight: 600; color: rgba(255,248,241,.7); }
.overview-t { font-size: 22px; font-weight: 700; }
.overview-row { display: flex; gap: 28px; margin: 16px 0 0; }
.overview-row dt { font-size: 13px; color: rgba(255,248,241,.7); }
.overview-row dd { margin: 0; font: 600 26px/1.2 var(--mono); }

/* tenants */
.steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 18px; transition: background-color .4s, box-shadow .4s; }
.steps li > span:last-child { display: flex; flex-direction: column; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.steps b { font-size: 16px; color: var(--ink); }
.step-n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 600 14px/1 var(--mono); background: var(--sand-300); color: var(--ink-3); transition: background-color .4s, color .4s; }
.steps li.on { background: var(--sand-100); box-shadow: var(--raise); }
.steps li.on .step-n { background: var(--brown); color: var(--on-brand); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks .i { color: var(--paid); }

/* the phone (fixed overlay in the live page, inline in the still one) */
.phone { --w: 300px; width: var(--w); height: calc(var(--w) * 2.07); padding: 10px; border-radius: calc(var(--w) * .16); background: var(--espresso); box-shadow: 0 40px 80px rgba(42,24,16,.35); font-size: 13px; color: var(--ink); }
.live .phone { position: fixed; left: 0; top: 0; z-index: 3; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .13); background: var(--sand); padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.ph-head { display: flex; align-items: center; gap: 10px; }
.ph-head > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.ph-head b { font-size: 19px; }
.ph-head small, .ph-id small { font-size: 12px; color: var(--ink-3); }
.ph-tile { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-grad); display: flex; align-items: center; justify-content: center; }
.ph-tile svg { width: 18px; height: 18px; fill: none; stroke: var(--on-brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ph-id { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 20px; background: var(--sand-100); box-shadow: var(--raise-sm); }
.ph-id b { font: 600 19px/1.3 var(--mono); letter-spacing: .04em; }
.ph-card { display: none; flex-direction: column; padding: 18px; border-radius: 24px; animation: swap .5s cubic-bezier(.2,.8,.2,1) both; }
.ph-card small { font-size: 13px; opacity: .8; }
.ph-card b { font: 600 32px/1.25 var(--mono); }
.ph-due { color: var(--on-brand); background: var(--brand-grad); box-shadow: 0 14px 30px rgba(92,55,32,.3); }
.ph-sent { background: var(--due-bg); box-shadow: var(--raise-sm); }
.ph-sent small:first-child { color: var(--due); font-weight: 700; opacity: 1; }
.ph-paid { color: var(--on-brand); background: var(--paid-grad); box-shadow: 0 14px 30px rgba(31,107,74,.3); }
.ph-btn { margin-top: 14px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: var(--sand-100); color: var(--brown-d); }
.ph-paid .ph-btn { background: rgba(255,248,241,.16); color: var(--on-brand); }
.ph-file { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--sand-100); font-weight: 600; }
.ph-file i { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--sand-400), var(--copper)); }
.phone[data-state="0"] .ph-due, .phone[data-state="1"] .ph-sent, .phone[data-state="2"] .ph-paid, .phone[data-state="3"] .ph-paid { display: flex; }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; padding: 14px 18px; border-radius: 28px 28px 0 0; background: var(--sand-100); box-shadow: 0 -10px 30px rgba(42,24,16,.18); display: flex; flex-direction: column; gap: 10px; transform: translateY(105%); transition: transform .55s cubic-bezier(.2,.8,.2,1); z-index: 1; }
.phone[data-state="3"] .ph-sheet { transform: none; }
.ph-sheet > i { width: 40px; height: 4px; border-radius: 2px; background: var(--sand-400); align-self: center; }
.ph-sheet > b { font-size: 18px; }
.ph-amt { padding: 10px 14px; border-radius: 16px; color: var(--on-brand); background: var(--paid-grad); font: 600 22px/1.3 var(--mono); }
.ph-sheet dl { margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--sand-300); display: grid; grid-template-columns: 1fr 1fr; row-gap: 6px; }
.ph-sheet dt { color: var(--ink-3); }
.ph-sheet dd { margin: 0; font-weight: 600; }
.ph-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px; border-radius: 22px; background: var(--sand-100); box-shadow: var(--raise-sm); font-size: 11px; font-weight: 600; color: var(--ink-3); }
.ph-nav .on { color: var(--brown); font-weight: 800; }
@keyframes swap { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* services + listings controls */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--sand-100); box-shadow: var(--raise-sm); color: var(--ink); font: 600 14px/1.2 var(--font); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.chip:hover { background: var(--sand-50); }
.chip[aria-pressed="true"] { background: var(--brand-grad); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.chips-sm .chip { box-shadow: none; background: var(--sand-300); }
.chips-sm .chip[aria-pressed="true"] { background: var(--brown); box-shadow: none; }
.avail { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 520px; padding: 16px 18px; border-radius: 22px; color: var(--on-brand); background: var(--brand-grad); box-shadow: var(--shadow-brand); }
.avail > span:first-child { display: flex; flex-direction: column; flex: 1; font-size: 14px; color: rgba(255,248,241,.78); line-height: 1.45; }
.avail b { font-size: 16px; color: var(--on-brand); }
.toggle { width: 54px; height: 30px; flex: none; position: relative; border-radius: 999px; background: rgba(255,248,241,.22); }
.toggle i { position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--on-brand); }
.finder { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 26px; background: var(--sand-100); box-shadow: var(--raise); }
.seg { display: flex; padding: 5px; border-radius: 999px; background: var(--sand-300); box-shadow: var(--inset); }
.seg button { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font: 600 15px/1 var(--font); cursor: pointer; transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--brand-grad); color: var(--on-brand); font-weight: 700; box-shadow: var(--shadow-brand); }
.radius { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.radius output { min-width: 52px; text-align: right; font: 600 15px/1 var(--mono); color: var(--ink); }
.radius input { flex: 1; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --fill: 44%; }
.radius input::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--copper), var(--brown)) 0 / var(--fill) 100% no-repeat, var(--sand-400); box-shadow: inset 2px 2px 4px rgba(122,74,40,.2); }
.radius input::-moz-range-track { height: 10px; border-radius: 999px; background: var(--sand-400); }
.radius input::-moz-range-progress { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--copper), var(--brown)); }
.radius input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -7px; border-radius: 50%; background: var(--brown); box-shadow: 0 3px 8px rgba(92,55,32,.35); }
.radius input::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--brown); box-shadow: 0 3px 8px rgba(92,55,32,.35); }
.finder-msg { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 600; color: var(--due); }

/* safety */
.grievance { width: 100%; max-width: 520px; margin-top: 6px; padding: 20px 22px; border-radius: 22px; background: var(--sand-300); box-shadow: var(--inset); display: flex; flex-direction: column; gap: 6px; }
.grievance .eyebrow { font-size: 12px; letter-spacing: .24em; }
.grievance a { font-size: 17px; font-weight: 700; color: var(--brown); }
.safe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 640px; justify-self: end; }
.safe { padding: 26px; border-radius: 26px; background: linear-gradient(160deg, var(--sand-50), #F4ECE1); box-shadow: 10px 10px 24px rgba(122,74,40,.14), -8px -8px 20px rgba(255,255,255,.9); display: flex; flex-direction: column; gap: 12px; }
.safe .well { width: 48px; height: 48px; border-radius: 14px; }
.safe .well svg { width: 22px; height: 22px; }
.safe h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.safe p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* everywhere */
.screens { position: relative; height: 560px; max-width: 820px; width: 100%; justify-self: end; }
.browser { position: absolute; right: 0; top: 0; width: min(100%, 720px); height: 440px; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--sand-100); box-shadow: 0 40px 90px rgba(92,55,32,.22); transform: perspective(1800px) rotateY(-12deg) rotateX(4deg); }
.browser-bar { height: 42px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--sand-300); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--sand-400); }
.browser-bar span { margin-left: 14px; flex: 0 1 340px; height: 26px; border-radius: 999px; background: var(--sand-100); display: flex; align-items: center; padding: 0 14px; font: 500 13px/1 var(--mono); color: var(--ink-3); }
.browser-body { flex: 1; display: flex; }
.browser-side { width: 168px; padding: 18px 12px; display: flex; flex-direction: column; gap: 6px; background: var(--sand); font-size: 14px; font-weight: 600; color: var(--ink-3); }
.browser-side span { padding: 8px 12px; border-radius: 12px; }
.browser-side .on { background: var(--brand-grad); color: var(--on-brand); font-weight: 700; }
.browser-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mini-ov { padding: 16px 18px; border-radius: 20px; color: var(--on-brand); background: var(--brand-grad); display: flex; flex-wrap: wrap; gap: 6px 26px; font: 600 20px/1.2 var(--mono); }
.mini-ov b { width: 100%; font: 700 16px/1.2 var(--font); }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini-stats span { display: flex; flex-direction: column; padding: 12px; border-radius: 16px; background: var(--sand-100); box-shadow: var(--raise-sm); font-size: 13px; color: var(--ink-3); }
.mini-stats b { font: 600 22px/1.2 var(--mono); color: var(--ink); }
.mini-stats .paid { color: var(--paid); }
.mini-stats .due { color: var(--due); }
.widget { position: absolute; left: 0; bottom: 0; width: 190px; height: 190px; padding: 16px; border-radius: 40px; color: var(--on-brand); background: var(--brand-grad); box-shadow: 0 26px 50px rgba(92,55,32,.35); display: flex; flex-direction: column; gap: 8px; font-size: 13px; animation: bob 6s ease-in-out infinite; }
.widget > small { font-size: 11px; color: rgba(255,248,241,.6); }
.widget-block { flex: 1; padding: 12px; border-radius: 18px; background: linear-gradient(160deg, #9C6A42, #6E4426); box-shadow: -2px -2px 0 rgba(176,124,79,.6), 4px 4px 10px rgba(0,0,0,.25); display: flex; flex-direction: column; justify-content: center; }
.widget-block span { font: 600 26px/1.2 var(--mono); }
.w-due { color: var(--due-bg); }
.w-paid { color: var(--paid-bg); }
.mini-phone { position: absolute; right: 24px; bottom: -10px; width: 210px; height: 420px; padding: 8px; border-radius: 36px; background: var(--espresso); box-shadow: 0 30px 70px rgba(42,24,16,.35); }
.mini-phone > div { height: 100%; padding: 26px 12px 12px; border-radius: 28px; background: var(--sand); display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.mini-phone > div > b { font-size: 16px; }
.mini-phone .mini-ov { padding: 12px; font-size: 13px; gap: 4px 12px; }
.mini-phone .mini-ov b { font-size: 14px; }
.mini-phone .mini-stats { gap: 6px; }
.mini-phone .mini-stats span { padding: 8px; }
.mini-phone .mini-stats b { font-size: 15px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* download */
.ch-download { min-height: 120vh; grid-template-columns: minmax(0, 1fr); align-items: end; justify-items: center; text-align: center; padding-bottom: 14vh; }
.ch-download .copy { grid-column: 1; align-items: center; max-width: 920px; }
.live .ch-download::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(18,13,12,0) 30%, rgba(18,13,12,.55) 72%, #120D0C 100%); }
.ch-download .display { font-size: clamp(48px, 7.4vw, 112px); }
.ch-download .lede { color: #F1DFC9; }
.ch-download .ctas { justify-content: center; }

/* footer */
.foot { position: relative; z-index: 2; padding: 80px var(--gutter) 40px; background: #120D0C; color: #CDBFB0; font-size: 15px; --focus: var(--ember); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-brand .brand { color: var(--night-ink); }
.foot-brand p { margin: 0; color: #9A8877; }
.foot-h { margin: 0 0 4px; font: 600 12px/1.4 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--copper); }
.foot a { display: inline-flex; align-items: center; gap: 6px; color: #CDBFB0; text-decoration: none; }
.foot a:hover { color: var(--night-ink); }
.foot a .i { width: .85em; height: .85em; opacity: .7; }
.foot-base { margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; font-size: 13px; color: #8A7B6A; box-shadow: inset 0 1px 0 rgba(255,248,241,.08); }

/* ---------- motion (live page only) ---------- */
.live .ch-hero .copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.live .ch-hero .copy > :nth-child(2) { animation-delay: .12s; }
.live .ch-hero .copy > :nth-child(3) { animation-delay: .24s; }
.live .ch-hero .copy > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.live .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.live .copy.reveal { opacity: 1; transform: none; }
.live .copy.reveal > * { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.live .copy.reveal > :nth-child(2) { transition-delay: .07s; }
.live .copy.reveal > :nth-child(3) { transition-delay: .14s; }
.live .copy.reveal > :nth-child(4) { transition-delay: .21s; }
.live .copy.reveal > :nth-child(n+5) { transition-delay: .28s; }
.live .reveal.in, .live .copy.reveal.in > * { opacity: 1; transform: none; }
.live .safe.reveal:nth-child(2) { transition-delay: .08s; }
.live .safe.reveal:nth-child(3) { transition-delay: .16s; }
.live .safe.reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- the still page: no WebGL, reduced motion, or ?static ---------- */
.static .world, .static .overlay, .static .live-only, .static .cue { display: none; }
.static .ch { min-height: 0; padding-top: 140px; padding-bottom: 140px; }
.static .ch-hero { min-height: 100vh; min-height: 100svh; background: radial-gradient(90% 80% at 72% 46%, #2E1B12 0%, #160F0D 48%, #0B0A0C 100%); }
.static .still-icon { display: block; grid-column: 2; justify-self: center; width: min(320px, 60vw); height: auto; border-radius: 22%; box-shadow: 0 0 120px rgba(247,147,30,.25); }
.static #loops { background: linear-gradient(180deg, #120D10 0%, #2A1A17 46%, #5A3424 100%); }
.static #owners { background: linear-gradient(180deg, #E9B98E 0%, #EED3B6 38%, #F2EBE0 80%); }
.static #owners .overview { margin: 0; }
.static #tenants { background: linear-gradient(180deg, #F3D9BC 0%, #F4E6D4 45%, #F2EBE0 100%); }
.static .phone { grid-column: 2; grid-row: 1; justify-self: center; transform: perspective(1600px) rotateY(-12deg) rotateX(4deg); }
.static #services { background: linear-gradient(180deg, #ECE0CE 0%, #F2EBE0 45%); }
.static #listings { background: #F4EEE5; }
.static #safety { background: linear-gradient(180deg, #EFE1CC 0%, #F2EBE0 60%); }
.static #everywhere { background: var(--sand); }
.static .ch-download { min-height: 0; padding-top: 160px; background: linear-gradient(180deg, #2A1810 0%, #5C3720 40%, #A8683A 80%, #120D0C 100%); }

/* ---------- small screens: copy becomes a card over the world ---------- */
@media (max-width: 900px) {
  .bar { height: 64px; }
  .bar-nav { display: none; }
  .brand { font-size: 19px; }
  .brand-mark { width: 30px; height: 30px; }
  .ch { grid-template-columns: minmax(0, 1fr); min-height: 150vh; align-items: end; gap: 20px; padding: 96px 16px 12vh; }
  .ch-hero { min-height: 100vh; min-height: 100svh; padding-bottom: 92px; }
  .copy { gap: 16px; max-width: none; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; }
  .aside { grid-column: 1; }
  .live .ch:not(.ch-hero):not(.ch-download) .copy { padding: 24px 18px; border-radius: 28px; background: rgba(249,244,236,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--raise); }
  .live .ch.night:not(.ch-hero):not(.ch-download) .copy { background: rgba(18,13,12,.62); box-shadow: none; }
  .display { font-size: clamp(36px, 10.6vw, 56px); }
  h1.display { font-size: clamp(60px, 19vw, 96px); }
  .ch-download .display { font-size: clamp(44px, 13vw, 72px); }
  .feats li { font-size: 15px; }
  .overview { margin: 0; }
  .overview-row { gap: 20px; }
  .overview-row dd { font-size: 22px; }
  .live .phone { --w: 220px; }
  .static .phone, .static .still-icon { grid-column: 1; grid-row: auto; }
  .safe-grid { grid-template-columns: minmax(0, 1fr); justify-self: stretch; gap: 16px; }
  .safe { padding: 22px; }
  .screens { height: 420px; justify-self: stretch; }
  .browser { height: 320px; transform: none; }
  .browser-side { display: none; }
  .widget { width: 150px; height: 150px; border-radius: 32px; padding: 12px; }
  .widget-block span { font-size: 20px; }
  .mini-phone { width: 150px; height: 300px; right: 0; border-radius: 28px; }
  .mini-phone > div { border-radius: 22px; padding-top: 18px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .cue { bottom: 28px; left: 16px; }
  .tag-card { width: 180px; padding: 10px 12px; }
  .tag-card b { font-size: 15px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .badge img { height: 44px; }
  .ctas .btn { height: 44px; }
  .cue { display: none; }
}
