/* FamBox landing page. Values from docs/design/handoff (landing-page.md, system.md); tokens in tokens.css. */
@font-face { font-family: "Gloock"; src: url(/fonts/gloock.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(/fonts/albert-sans.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fb-paper); color: var(--fb-ink); font-family: var(--fb-font-text); -webkit-font-smoothing: antialiased; }
a { color: #1F3B2F; text-decoration-color: #D9A23B; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #B83C25; }
input, textarea, button, output { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--fb-mustard); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--fb-font-display); font-weight: 400; margin: 0; }
h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.section { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); display: flex; flex-direction: column; gap: 40px; }
.band.forest { background: #1F3B2F; color: #F4EFE3; }
.band.sunk { background: #ECE5D4; }
.band.surface { background: #FBF8F1; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.intro.wide { max-width: 680px; }
.sub { font-size: 18px; line-height: 1.55; color: #3C5448; text-wrap: pretty; }
.forest .sub { color: #D6DCD2; }
.label { font: var(--fb-type-label); letter-spacing: .08em; text-transform: uppercase; color: #55695E; padding-bottom: 4px; }

/* Buttons */
.btn { display: inline-block; border: 0; background: #1F3B2F; color: #F4EFE3; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: box-shadow var(--fb-dur-press) var(--fb-ease); }
.btn:hover { color: #F4EFE3; }
.btn.raised { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 0 #fff, 0 4px 10px -2px rgba(31,59,47,.45); }
.btn.raised:hover { box-shadow: var(--fb-depth-raised-hover); }
.btn.raised:active { box-shadow: var(--fb-depth-raised-pressed); }
.btn.small { padding: 12px 20px; font-size: 15px; box-shadow: var(--fb-depth-raised); }
.btn.big { padding: 16px 28px; font-size: 17px; min-height: 52px; }
.pill { border: 0; background: #F4EFE3; border-radius: 999px; padding: 10px 16px; font-weight: 700; box-shadow: inset 0 2px 4px rgba(31,59,47,.2); min-height: 44px; }

/* The family table symbol: a table seen from above with a chair per person on a ring. */
.table { position: relative; width: var(--w); height: var(--w); flex: none; }
.table::before { content: ""; position: absolute; left: 50%; top: 50%; width: var(--t); height: var(--t); transform: translate(-50%, -50%); border-radius: 50%; background: #1F3B2F; }
.chairs b { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%;
  transform: rotate(calc(1turn * var(--i) / var(--n))) translateY(calc(-1 * (var(--d) + var(--o, 0px)))) rotate(calc(-1turn * var(--i) / var(--n)));
  transition: transform var(--fb-dur-chair) var(--fb-ease-chair), width var(--fb-dur-chair), height var(--fb-dur-chair), margin var(--fb-dur-chair), opacity 200ms ease-out; }
.chairs b:nth-child(8n+1) { background: #2F7A78; } .chairs b:nth-child(8n+2) { background: #7FA9CF; }
.chairs b:nth-child(8n+3) { background: #8F5C7E; } .chairs b:nth-child(8n+4) { background: #7FA77B; }
.chairs b:nth-child(8n+5) { background: #D98A9B; } .chairs b:nth-child(8n+6) { background: #A0613F; }
.chairs b:nth-child(8n+7) { background: #9D8FC9; } .chairs b:nth-child(8n+8) { background: #6F6D2E; }
.t30 { --w: 30px; --t: 10px; --d: 11px; --s: 5.6px; }
.t56 { --w: 56px; --t: 20px; --d: 21px; --s: 10px; }
.t160 { --w: 160px; --t: 60px; --d: 62px; --s: 30px; }
.t180 { --w: 180px; --t: 66px; --d: 70px; --s: 32px; }
.t180 .chairs b { transition-delay: calc(150ms + var(--i) * 150ms); }
.t180.away .chairs b { --o: 40px; opacity: 0; transition: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(244,239,227,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #E1D9C7; }
.top-in { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1F3B2F; font-family: var(--fb-font-display); font-size: 24px; }
.brand.small { gap: 8px; font-size: 18px; }
.addr { font-size: 14px; color: #55695E; margin-left: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .btn { margin-left: auto; }
@media (max-width: 480px) { .addr { display: none; } }

/* 1. Hero */
.hero { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: flex-start; }
.hero-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-top: clamp(0px, 2vw, 24px); }
.badge { align-self: flex-start; display: flex; align-items: center; gap: 8px; background: #FBF8F1; border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px #E1D9C7; }
.badge span { width: 10px; height: 10px; border-radius: 50%; background: #D9A23B; margin-left: 4px; }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #3C5448; text-wrap: pretty; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; font-size: 16px; color: #3C5448; }
.hint { font-size: 15px; line-height: 1.5; color: #55695E; border-top: 1px dotted #CFC7B4; padding-top: 16px; max-width: 460px; }

.demo { flex: 1 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.mini { flex: 1 1 300px; min-width: 0; background: #ECE5D4; border-radius: 36px; padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: inset 0 2px 6px rgba(31,59,47,.15); }
.mini-head { display: flex; align-items: center; gap: 10px; padding: 6px 8px 2px; }
.mini-title { font-family: var(--fb-font-display); font-size: 18px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card { position: relative; background: #FBF8F1; border-radius: 26px; padding: 14px 18px; box-shadow: inset 0 2px 5px rgba(31,59,47,.1); }
.clock-card { padding: 16px 18px; }
.clock-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.clock { font-family: var(--fb-font-display); font-size: 60px; line-height: .9; font-variant-numeric: tabular-nums; }
.clock-date { text-align: right; font-size: 13px; line-height: 1.4; color: #3C5448; }
.pip-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dotted #CFC7B4; font-family: var(--fb-font-display); font-size: 17px; line-height: 1.2; }
.pip-face { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 3.5px #D9A23B; }
.pip-face i { position: absolute; top: 11px; width: 4px; height: 5px; border-radius: 50%; background: #1F3B2F; left: 9px; }
.pip-face i + i { left: 17px; }
.pip-face u { position: absolute; left: 10px; top: 18px; width: 10px; height: 4px; border-radius: 0 0 5px 5px; background: #B83C25; }
.pip-face.big { width: 38px; height: 38px; box-shadow: inset 0 0 0 4px #D9A23B; }
.pip-face.big i { top: 13px; width: 5px; height: 6px; left: 11px; } .pip-face.big i + i { left: 22px; }
.pip-face.big u { left: 13px; top: 23px; width: 12px; height: 5px; border-radius: 0 0 6px 6px; }

.row { display: flex; align-items: baseline; gap: 8px; padding: 5px 6px; margin: 0 -6px; border-radius: 10px; font-size: 14px; }
.row .d { width: 30px; flex: none; }
.row .t { font-variant-numeric: tabular-nums; }
.row span { text-align: right; }
.row em { width: 10px; height: 10px; border-radius: 50%; align-self: center; flex: none; }
.lead-dots { flex: 1; min-width: 10px; border-bottom: 2px dotted #CFC7B4; transform: translateY(-4px); }
.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.page { background: #FBF8F1; border-radius: 6px 6px 22px 22px; border-top: 3px dotted #B9B19F; padding: 12px 10px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: var(--fb-depth-card); }
.page .n { font-family: var(--fb-font-display); font-size: 38px; line-height: 1; }
.page .to { font-size: 12px; color: #55695E; }
.page .what { font-size: 13px; font-weight: 700; text-align: center; line-height: 1.2; }
.dream { display: flex; align-items: center; gap: 10px; padding: 6px; margin: 0 -6px; border-radius: 12px; }
.dream > div:first-child { flex: 1; min-width: 0; }
.dream .title { font-family: var(--fb-font-display); font-size: 19px; line-height: 1.15; }
.dream .note { font-size: 12px; color: #55695E; }
.sharers { display: flex; }
.sharers em { width: 16px; height: 16px; border-radius: 50%; margin-left: -4px; box-shadow: 0 0 0 2px #FBF8F1; }

/* Something Pip just added: drops in, then its Mustard wash fades. */
.arrive { transition: transform 480ms var(--fb-ease-chair), opacity 300ms ease-out, background-color 1600ms ease-out, outline-color 1600ms ease-out; outline: 3px solid transparent; }
.arrive.fresh { background-color: rgba(217,162,59,.25); }
.page.arrive.fresh { background-color: #FBF8F1; outline-color: rgba(217,162,59,.6); }
.arrive.hidden { transform: translateY(-14px) scale(.97); opacity: 0; }
.confetti { position: absolute; left: 50%; top: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(.2); }
.confetti.fly { transition: transform 900ms var(--fb-ease); transform: var(--out); }
.confetti.fade { transform: var(--out); opacity: 0; transition: opacity 600ms ease-out; }

/* Chat with Pip */
.chat { flex: 1 1 280px; min-width: 0; background: #FBF8F1; border-radius: 36px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(31,59,47,.45), inset 0 0 0 1px #E1D9C7; min-height: 520px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #E1D9C7; }
.chat-head > div { min-width: 0; }
.chat-name { font-weight: 800; font-size: 15px; }
.chat-status { font-size: 12px; color: #55695E; }
.tg { margin-left: auto; font-size: 12px; font-weight: 700; color: #55695E; background: #ECE5D4; border-radius: 999px; padding: 4px 10px; }
.chat-list { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #F4EFE3; max-height: 420px; }
.bubble { max-width: 86%; padding: 10px 14px; font-size: 15px; line-height: 1.4; box-shadow: 0 1px 0 #E1D9C7; overflow-wrap: anywhere; }
.bubble.pip { align-self: flex-start; background: #FBF8F1; border-radius: 6px 20px 20px 20px; }
.bubble.me { align-self: flex-end; background: #1F3B2F; color: #F4EFE3; border-radius: 20px 20px 6px 20px; }
.bubble.typing { display: flex; gap: 5px; padding: 12px 16px; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #D9A23B; }
.bubble.typing span + span { opacity: .6; } .bubble.typing span + span + span { opacity: .3; }
.chat-foot { padding: 12px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #E1D9C7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; background: #FBF8F1; color: #1F3B2F; border-radius: 999px; padding: 10px 14px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1.5px #1F3B2F; text-align: left; min-height: 44px; transition: all var(--fb-dur-switch) var(--fb-ease); }
.chip:disabled { background: transparent; color: #8A968E; box-shadow: inset 0 0 0 1.5px #D9D2C1; cursor: default; }
.draft { display: flex; gap: 8px; margin: 0; }
.draft input { flex: 1; min-width: 0; border: 0; outline: none; background: #ECE5D4; border-radius: 999px; padding: 12px 16px; font-size: 15px; box-shadow: inset 0 2px 4px rgba(31,59,47,.18); }
.draft input:focus-visible { box-shadow: inset 0 2px 4px rgba(31,59,47,.18), var(--fb-focus); }
.draft button { border: 0; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #ECE5D4; box-shadow: inset 0 2px 4px rgba(31,59,47,.18); display: flex; align-items: center; justify-content: center; }

/* 2. Make it yours */
.yours { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.yours-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.yours-text .sub { max-width: 460px; }
.famfield { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.famfield span, .stepper > span { font-size: 14px; font-weight: 700; }
.famfield input { border: 0; outline: none; background: #F4EFE3; color: #1F3B2F; border-radius: 18px; padding: 16px 18px; font-size: 20px; box-shadow: inset 0 2px 4px rgba(31,59,47,.25); }
.famfield input:focus-visible { box-shadow: inset 0 2px 4px rgba(31,59,47,.25), 0 0 0 3px #D9A23B; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper-in { display: flex; align-items: center; background: #13241D; border-radius: 999px; padding: 4px; }
.stepper-in button { border: 0; width: 40px; height: 40px; border-radius: 50%; background: #1B3027; color: #F4EFE3; font-size: 20px; }
.stepper-in output { width: 40px; text-align: center; font-family: var(--fb-font-display); font-size: 22px; }
.yours-card { flex: 1 1 420px; min-width: 0; background: #F4EFE3; color: #1F3B2F; border-radius: 40px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.yours-card p { font-size: 16px; color: #3C5448; }
.bigaddr { font-family: var(--fb-font-display); font-size: clamp(30px, 4.4vw, 52px); line-height: 1; word-break: break-all; }
.dot { color: #D9A23B; }

/* 3. What's in the box */
.box-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.box-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; width: 100%; position: relative; z-index: 2; }
.box-card { background: #FBF8F1; border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 40px -24px rgba(31,59,47,.45), inset 0 0 0 1px #E1D9C7;
  transition: transform 700ms cubic-bezier(.34,1.3,.64,1) calc(200ms + var(--k) * 120ms), opacity 400ms ease-out calc(200ms + var(--k) * 120ms); }
.box-card h3 { font-size: 24px; line-height: 1.1; }
.box-card p { font-size: 15px; line-height: 1.5; color: #3C5448; }
.art { height: 96px; border-radius: 20px; background: #F4EFE3; position: relative; overflow: hidden; box-shadow: inset 0 2px 5px rgba(31,59,47,.12); }
.art i { position: absolute; }
.crate { position: relative; width: min(560px, 92%); height: 120px; margin-top: -40px; z-index: 1; }
.crate-body { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; border-radius: 12px 12px 36px 36px; background: #1F3B2F; box-shadow: 0 30px 50px -24px rgba(31,59,47,.6); }
.crate-label { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); font-family: var(--fb-font-display); font-size: 22px; color: #F4EFE3; white-space: nowrap; }
.lid { position: absolute; left: -3%; right: -3%; top: 0; height: 30px; border-radius: 14px; background: #2A4C3D; transform-origin: 8% 100%; transform: translate(-14px, -70px) rotate(-14deg); transition: transform 600ms cubic-bezier(.34,1.3,.64,1); }
/* Closed until scrolled into view; only when the script runs, so without it the box reads open. */
.js .box:not(.open) .box-card { transform: translateY(90px) scale(.92); opacity: 0; }
.js .box:not(.open) .lid { transform: none; }

/* 4. Arrange it your way */
.arrange { gap: 28px; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.arrange-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.arrange .intro { max-width: 620px; }
.seg { display: flex; background: #F4EFE3; border-radius: 999px; padding: 5px; box-shadow: inset 0 2px 4px rgba(31,59,47,.2); }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; min-height: 44px; transition: background-color var(--fb-dur-switch) var(--fb-ease), box-shadow var(--fb-dur-switch) var(--fb-ease); }
.seg button[aria-checked="true"] { background: #FBF8F1; box-shadow: 0 1px 0 #fff, 0 3px 6px -2px rgba(31,59,47,.35); }
.seg.sizes { padding: 4px; }
.seg.sizes button { width: 44px; height: 40px; min-height: 0; padding: 0; font-weight: 800; font-size: inherit; }
.seg.sizes button.on { background: #1F3B2F; color: #F4EFE3; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 52px; font-size: 15px; }
.board { background: var(--fb-paper); border-radius: 40px; padding: clamp(14px, 2.5vw, 28px); transition: background-color 400ms ease-out; }
.board[data-theme="paper"] { --sun: #1A1A1A; --depth: inset 0 0 0 1.5px #1A1A1A; }
.board[data-theme="night"] { --depth: inset 0 2px 6px rgba(0,0,0,.35); }
.board[data-theme="paper"], .board[data-theme="paper"] .blk { transition: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 14px; }
.blk { background: var(--fb-surface); color: var(--fb-ink); border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; cursor: grab; user-select: none;
  box-shadow: var(--depth, var(--fb-depth-pressed)); transition: background-color 400ms ease-out, color 400ms ease-out, box-shadow 200ms ease-out; }
.blk.sel { box-shadow: var(--depth, var(--fb-depth-pressed)), 0 0 0 3px #D9A23B; }
.blk.dragging { transform: scale(.97) rotate(-1deg); opacity: .6; }
.blk-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fb-ink-muted); }
.blk-big { font-family: var(--fb-font-display); line-height: .98; }
.blk-line { font-size: 14px; line-height: 1.4; color: var(--fb-ink-muted); border-top: 1px dotted var(--fb-line); padding-top: 5px; }
.ribbon { position: relative; height: 24px; margin-top: auto; flex: none; }
.ribbon::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 5px; border-radius: 999px; background: var(--fb-ribbon); }
.ribbon i { position: absolute; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun, var(--fb-mustard)); box-shadow: 0 0 0 4px var(--fb-surface); }
.settings { display: flex; gap: 4px; margin-top: auto; }
.settings i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--fb-ink); }
.settings i.on { background: var(--sun, var(--fb-mustard)); }

/* 5. Any screen */
.shelf { display: flex; flex-wrap: wrap; gap: 28px 32px; align-items: flex-end; justify-content: center; padding: 24px 0; border-bottom: 3px solid #1F3B2F; }
.shelf figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shelf figcaption { font-size: 14px; font-weight: 700; }
.dev .scr { width: 100%; height: 100%; background: #F4EFE3; display: flex; flex-direction: column; gap: 6px; }
.dev .scr i { display: block; border-radius: 10px; background: #FBF8F1; }
.dt { font-family: var(--fb-font-display); line-height: 1; }
.phone { width: 120px; height: 240px; border-radius: 26px; background: #1F3B2F; padding: 7px; }
.phone .scr { border-radius: 20px; padding: 12px 10px; }
.phone .dt { font-size: 30px; }
.laptop { width: min(300px, 80vw); height: 190px; border-radius: 16px 16px 4px 4px; background: #1F3B2F; padding: 8px; }
.laptop .scr { border-radius: 10px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.laptop .dt { grid-row: span 2; border-radius: 10px; background: #FBF8F1; padding: 8px; font-size: 26px; }
.laptop .scr i.wide { grid-column: span 2; }
.laptop-base { width: min(340px, 88vw); height: 10px; border-radius: 0 0 12px 12px; background: #2A4C3D; margin-top: -12px; }
.tablet { width: 230px; height: 170px; border-radius: 20px; background: #8C6A4F; padding: 10px; box-shadow: inset 0 0 0 2px #6E5038; }
.tablet .scr { border-radius: 12px; padding: 10px; }
.tablet .dt { font-size: 42px; }
.tablet .next { font-size: 11px; font-weight: 700; }
.tablet .scr i.fill { flex: 1; }
.tv { width: min(360px, 84vw); height: 210px; border-radius: 12px; background: #0B1410; box-shadow: 0 0 0 8px #2B2622; padding: 18px 22px; color: #F7F1E4; display: flex; flex-direction: column; justify-content: space-between; }
.tv-fam { font-size: 12px; color: #C3CCC0; }
.tv .dt { font-size: 72px; line-height: .9; }
.tv-line { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.tv-line span { width: 9px; height: 9px; border-radius: 50%; background: #F59A7E; flex: none; }

/* 6. Yours, not ours */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.cmp { background: #F4EFE3; border-radius: 36px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.cmp.ours { box-shadow: inset 0 0 0 2px #1F3B2F; }
.cmp.theirs { box-shadow: inset 0 0 0 1px #D9D2C1; color: #3C5448; }
.cmp h3 { font-size: 28px; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.cmp li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
.cmp li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; margin-top: 1px; }
.ticks li::before { background: #1F3B2F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2L8 3' fill='none' stroke='%23F4EFE3' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.rings li::before { box-shadow: inset 0 0 0 2px #B9B19F; }
.pic { height: 170px; position: relative; border-radius: 24px; overflow: hidden; }
.pic.home { background: linear-gradient(180deg, #F6E7C2, #F4EFE3); }
.house { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 150px; height: 120px; border-radius: 70px 70px 8px 8px; background: #1F3B2F; }
.pic.home .table { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); }
.pic.home .table::before { background: #F4EFE3; }
.sun { position: absolute; left: 62%; top: 24px; width: 36px; height: 36px; border-radius: 50%; background: #D9A23B; }
.pic.flats { background: #ECE5D4; }
.flats .block { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 170px; height: 150px; border-radius: 8px 8px 0 0; background: #B9B19F; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 12px; }
.flats .block i { border-radius: 3px; background: #ECE5D4; }
.flats .block i.lit { background: #D9A23B; }

/* 7. How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.steps li { background: #FBF8F1; border-radius: 32px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--fb-depth-pressed); }
.num { width: 56px; height: 56px; border-radius: 50%; color: #1F3B2F; display: flex; align-items: center; justify-content: center; font-family: var(--fb-font-display); font-size: 28px; }
.steps h3 { font-size: 26px; line-height: 1.1; }
.steps p { font-size: 16px; line-height: 1.5; color: #3C5448; }

/* 8. Pricing */
.price { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.price-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.price-text .sub { max-width: 480px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #C9D1C6; }
.amount { font-family: var(--fb-font-display); font-size: clamp(48px, 7vw, 88px); line-height: .95; }
.price-card { flex: 1 1 320px; min-width: 0; background: #F4EFE3; color: #1F3B2F; border-radius: 36px; padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.pl { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; font-size: 16px; border-bottom: 1px dotted #CFC7B4; }
.pl > span { min-width: 0; overflow-wrap: anywhere; }
.pnote { font-size: 14px; color: #55695E; padding-top: 10px; }

/* 9. Join the beta */
.join { max-width: 760px; gap: 24px; }
#joinForm { display: flex; flex-direction: column; gap: 24px; }
.form { background: #FBF8F1; border-radius: 36px; padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; box-shadow: var(--fb-depth-pressed); margin: 0; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 15px; font-weight: 700; }
.opt { font-weight: 400; color: #55695E; }
.field input, .field textarea, .suffix { border: 0; outline: none; background: #ECE5D4; border-radius: 16px; padding: 14px 16px; font-size: 16px; box-shadow: inset 0 2px 4px rgba(31,59,47,.18); width: 100%; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible, .suffix:focus-within { box-shadow: inset 0 2px 4px rgba(31,59,47,.18), var(--fb-focus); }
.field .bad { box-shadow: inset 0 0 0 2px #B83C25; }
.suffix { display: flex; align-items: center; padding: 0 16px 0 0; }
.suffix input { flex: 1; min-width: 0; background: transparent; box-shadow: none; }
.suffix input:focus-visible { box-shadow: none; }
.suffix span { font-size: 15px; color: #55695E; white-space: nowrap; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #3C5448; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: #1F3B2F; }
.err { font-style: normal; font-size: 14px; font-weight: 600; color: #B83C25; }
.err:empty { display: none; }
#e-consent { margin-top: -8px; }
.form .btn { align-self: flex-start; white-space: normal; text-align: left; }
.thanks { background: #FBF8F1; border-radius: 40px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; box-shadow: 0 30px 60px -30px rgba(31,59,47,.4); }
.thanks-title { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; overflow-wrap: anywhere; }
.thanks .sub { max-width: 520px; overflow-wrap: anywhere; }
.thanks a { font-weight: 700; }

/* Footer */
.foot { border-top: 1px solid #D9D2C1; }
.foot-in { padding-top: 32px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 15px; color: #3C5448; }

/* Server-rendered pages (no JavaScript): thank-you and form errors */
.notice { max-width: 640px; margin: clamp(40px, 10vw, 120px) auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.notice .sub { font-size: 18px; }
.notice.error h1 { color: #1F3B2F; }
.notice.error .sub { color: #B83C25; font-weight: 600; }
.notice h1 { font-size: clamp(36px, 5vw, 56px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .arrive { transition: background-color 1600ms ease-out, outline-color 1600ms ease-out !important; }
  .confetti { display: none; }
}
