/* houseola coming soon. Tokens from the houseola brand kit. */
@font-face { font-family: "Google Sans"; src: url("/assets/fonts/GoogleSans-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("/assets/fonts/GoogleSans-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("/assets/fonts/GoogleSans-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("/assets/fonts/GoogleSans-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --paper: #ffffff;
  --paper-raised: #ffffff;
  --mist: #f4f4f4;
  --line: #e6e6e6;
  --line-strong: #858585;
  --ink: #0a0a0a;
  --graphite: #5c5c5c;
  --on-ink: #ffffff;
  --ink-soft: #ededed;
  --success: #1b7340;
  --success-soft: #e6f2ea;
  --danger: #c2261f;
  --danger-soft: #fbe7e6;

  --font: "Google Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(10,10,10,.06), 0 8px 24px rgba(10,10,10,.06);
  --shadow-pop: 0 12px 40px rgba(10,10,10,.14);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.625; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1px 6px; word-break: break-all; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: var(--r-md); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 23px; width: auto; }
.top-right { display: flex; align-items: center; gap: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--mist); border-radius: var(--r-pill); padding: 6px 14px 6px 12px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* Buttons */
.btn { font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--paper-raised); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, opacity .15s, transform .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--ink-soft); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink); opacity: .86; }
.btn-invert { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-invert:hover { background: var(--paper); opacity: .9; }
.btn-ghost { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.btn-sm { height: 40px; font-size: 15px; padding: 0 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: none; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: flex; align-items: center; padding: clamp(32px, 6vh, 72px) 0; }
.hero-visual { position: absolute; inset: 0; z-index: -1; }
#scene { width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; touch-action: pan-y; }
.scene-ready #scene { opacity: 1; }
.hero-fallback { position: absolute; inset: 0; display: none; background-color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 100 100'%3E%3Cpath fill='%23ededed' transform='translate(30 30) scale(.4)' d='M17 94V6h24v24l18-17 24 24v57H61V64a10 10 0 0 0-20 0v30z'/%3E%3C/svg%3E"); }
.no-webgl #scene { display: none; }
.no-webgl .hero-fallback { display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,0) 58%); }
.hero-hint { position: absolute; right: var(--gutter); bottom: 20px; font-size: 13px; color: var(--graphite); background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: var(--r-pill); pointer-events: none; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desktop { display: none; } .hint-touch { display: inline; } }
.no-webgl .hero-hint { display: none; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 560px); }
.hero-copy { display: grid; gap: 20px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--graphite); letter-spacing: 0; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: 1; letter-spacing: -0.035em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--graphite); max-width: 52ch; }

/* Waitlist card */
.card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-pop); padding: clamp(20px, 3vw, 28px); margin-top: 8px; outline: none; }
.card-head { margin-bottom: 18px; }
.card-head h2 { font-size: 24px; letter-spacing: -0.02em; }
.card-head p { color: var(--graphite); font-size: 15px; margin-top: 4px; }
.form { display: grid; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; line-height: 20px; padding: 0; }
.opt { color: var(--graphite); font-weight: 400; }
input[type="text"], input[type="email"], select { font: inherit; font-size: 16px; width: 100%; height: 46px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--paper-raised); color: var(--ink); appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s; }
select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230a0a0a' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.invalid input, .invalid select, input.invalid, .invalid .seg span { border-color: var(--danger); }
.err { font-size: 13px; line-height: 18px; color: var(--danger); min-height: 0; }
.err:empty { display: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: var(--r-md); border: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; transition: background .15s, color .15s; cursor: pointer; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.seg input:focus-visible + span { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 20px; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.check.invalid input { outline: 2px solid var(--danger); outline-offset: 1px; }

.form-status { font-size: 14px; line-height: 20px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); background: var(--danger-soft); padding: 10px 12px; border-radius: var(--r-md); }
.form-status.is-note { color: var(--ink); background: var(--mist); padding: 10px 12px; border-radius: var(--r-md); }
.fine { font-size: 13px; color: var(--graphite); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success { text-align: left; display: grid; gap: 10px; outline: none; }
.success[hidden] { display: none; }
.success-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.success-mark svg { width: 24px; height: 24px; fill: none; stroke: var(--on-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success-title { font-size: 28px; letter-spacing: -0.02em; margin-top: 6px; }
.success-body { color: var(--graphite); }
.share { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; display: grid; gap: 10px; }
.share p { font-weight: 500; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.link { font: inherit; font-size: 14px; color: var(--graphite); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; }

/* Sections */
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section-tight { padding-top: clamp(48px, 6vw, 72px); }
.section-mist { background: var(--mist); }
.section h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; margin-top: 10px; max-width: 18ch; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.feature { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--paper-raised); }
.feature h3 { font-size: 20px; letter-spacing: -0.015em; }
.feature p { color: var(--graphite); font-size: 15px; line-height: 1.6; }
.ico { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }

.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.how .lead { margin-top: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 600; }
.steps h3 { font-size: 18px; letter-spacing: -0.01em; }
.steps p { color: var(--graphite); font-size: 15px; margin-top: 4px; }

.markets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.market { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.market h3 { font-size: 24px; }
.market ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.market li { position: relative; padding-left: 28px; color: var(--ink); }
.market li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.faq-wrap h2 { margin-top: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 20px; color: var(--graphite); max-width: 62ch; }

.cta { background: var(--ink); color: var(--on-ink); padding: clamp(56px, 8vw, 96px) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.03em; max-width: 16ch; }
.cta .btn-invert:focus-visible { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--paper); }

.foot { padding: 40px 0 32px; border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-row img { height: 18px; width: auto; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.copy { font-size: 14px; color: var(--graphite); margin-left: auto; }
.tm { font-size: 12px; line-height: 1.6; color: var(--graphite); margin-top: 24px; max-width: 100ch; }

.spots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.spot { border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: start; background: var(--paper-raised); }
.spot h3 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -0.02em; max-width: 22ch; }
.spot-art { background: var(--mist); border-radius: var(--r-lg); padding: 22px; min-height: 284px; display: grid; place-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--graphite); }
.ticks li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 13px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.mini-crm { width: 100%; max-width: 380px; display: grid; gap: 8px; }
.mini-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; }
.mini-av { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.mini-txt { display: grid; line-height: 1.3; min-width: 0; }
.mini-txt b { font-size: 14px; font-weight: 600; }
.mini-txt i { font-style: normal; font-size: 13px; color: var(--graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-tag { font-size: 12px; font-weight: 600; border: 1px solid var(--ink); border-radius: var(--r-pill); padding: 3px 10px; white-space: nowrap; }
.mini-site { width: 100%; max-width: 380px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.mini-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mini-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.mini-bar em { font-style: normal; font-size: 11px; color: var(--graphite); margin-left: 8px; background: var(--mist); border-radius: var(--r-pill); padding: 2px 10px; }
.mini-hero { height: 92px; background: linear-gradient(180deg, #d9d9d9 0%, #bdbdbd 100%); position: relative; }
.mini-hero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 70px; height: 56px; transform: translateX(-50%); background: #8e8e8e; clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%); }
.mini-lines { display: grid; gap: 6px; padding: 12px; }
.mini-lines b { height: 10px; width: 60%; background: var(--ink); border-radius: 3px; }
.mini-lines i { height: 7px; width: 92%; background: var(--line); border-radius: 3px; }
.mini-lines i.short { width: 70%; }
.mini-btn { margin: 0 12px 12px; background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 600; border-radius: var(--r-sm); padding: 7px 10px; width: max-content; }

/* Simple pages */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; }
.page h2 { font-size: 22px; margin-top: 36px; }
.page p, .page li { color: var(--graphite); margin-top: 12px; }
.page .lead { margin-top: 16px; }
.center-page { min-height: calc(100vh - 68px - 140px); display: grid; place-items: center; text-align: center; }
.center-page .stack { display: grid; gap: 16px; justify-items: center; max-width: 520px; }

/* Responsive */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how, .faq-wrap, .spots { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .pill { display: none; }
  .hero { display: block; min-height: 0; padding: 0 0 40px; }
  .hero-visual { position: relative; inset: auto; height: 46vh; min-height: 300px; max-height: 440px; z-index: 0; }
  .hero::after { display: none; }
  .hero-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
  .hero-hint { left: 50%; right: auto; transform: translateX(-50%); bottom: 28px; z-index: 1; white-space: nowrap; }
  .hero-grid { margin-top: 4px; position: relative; z-index: 1; }
  .hero-copy { gap: 16px; }
}
@media (max-width: 640px) {
  .grid-2, .markets, .features { grid-template-columns: 1fr; }
  .top-right .btn { padding: 0 14px; }
  .copy { margin-left: 0; width: 100%; }
  .card { border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
  .cta-row .btn { width: 100%; }
}
