/* The public homepage (/ and /en/). Navy ink from the Roost app's theme
   (mobile/lib/theme.ts) on a warmer light background; gold only for Founding
   Gold and a few highlights, with the darker --gold for any gold text. Fonts are self-hosted (OFL licences in /web/fonts/). */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900; src: url("/web/fonts/schibsted-grotesk-latin-wght-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: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900; src: url("/web/fonts/schibsted-grotesk-latin-ext-wght-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: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url("/web/fonts/figtree-latin-wght-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: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url("/web/fonts/figtree-latin-ext-wght-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; }

:root {
  --paper: #F7F3EC; --surface: #FFFFFF; --surface-2: #EFE9DF; --ink: #16324F; --ink-strong: #0E2237; --on-ink: #F5F7F9;
  --text: #1B2A36; --soft: #4F5F6B; --border: #D8D0C4; --gold: #7A5C14; --gold-line: #A8842E; --gold-bg: #F3ECD9;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1720; --surface: #16222D; --surface-2: #1E2E3B; --ink: #9BC0E0; --ink-strong: #CFE1F0; --on-ink: #0E1720;
    --text: #E4EBF0; --soft: #9DB0BD; --border: #2C4050; --gold: #E2C25E; --gold-line: #D4B24C; --gold-bg: #2E2917;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; }
/* A long word at a large text size wraps instead of widening the page. */
h1, h2, h3, p, li, figcaption, summary, blockquote, .eyebrow { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-line); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink-strong); text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: 1.1875rem; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); max-width: 60ch; }
.eyebrow { font: 700 0.8125rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
section { padding-block: clamp(56px, 8vw, 96px); }
section[id] { scroll-margin-top: 84px; }
.tight { padding-top: 0; }
.no-bottom { padding-bottom: 0; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 36px; }

/* Not flex: flex would split the label around the brand-name span (brandText.ts) and drop its spaces. */
.btn { display: inline-block; text-align: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; font: 700 1rem/1.25 var(--body); text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-soon { background: var(--surface-2); color: var(--ink-strong); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; min-height: 64px; }
.wordmark { font: 800 1.125rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-strong); text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; font-weight: 700; font-size: 0.875rem; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang a { padding: 6px 10px; text-decoration: none; color: var(--soft); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.login { color: var(--soft); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.login.discreet { font-weight: 500; font-size: 0.875rem; }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.nav-start-short, .nav-menu { display: none; }
.nav-menu { position: relative; }
.nav-menu summary { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; list-style: none; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.nav-menu .bars, .nav-menu .bars::before, .nav-menu .bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.nav-menu .bars { position: relative; }
.nav-menu .bars::before, .nav-menu .bars::after { content: ""; position: absolute; left: 0; }
.nav-menu .bars::before { top: -6px; }
.nav-menu .bars::after { top: 6px; }
.nav-menu[open] .bars { background: transparent; }
.nav-menu[open] .bars::before { top: 0; transform: rotate(45deg); }
.nav-menu[open] .bars::after { top: 0; transform: rotate(-45deg); }
.nav-menu:not([open]) .nav-menu-panel { display: none; }
.nav-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; width: min(280px, calc(100vw - 40px)); display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(14, 34, 55, .45); }
.nav-menu-panel a { padding: 11px 12px; border-radius: 8px; color: var(--ink-strong); font-weight: 600; text-decoration: none; }
.nav-menu-panel a:hover { background: var(--surface-2); }
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav .btn { min-height: 44px; padding-block: 10px; }
  .wordmark { display: inline-block; padding-block: 14px; }
  .lang a { padding: 11px 12px; }
  .nav-right > .login { display: inline-block; padding-block: 12px; }
  footer a { display: inline-block; padding-block: 11px; }
}
@media (max-width: 520px) {
  .nav .wrap { gap: 4px 10px; }
  .nav-right { gap: 8px; }
  .nav .nav-start, .nav-right > .login { display: none; }
  .nav .nav-start-short { display: inline-block; padding-inline: 14px; }
}
@media (max-width: 360px) {
  .nav .wrap { gap: 4px 6px; }
  .nav-right { gap: 6px; }
  .wordmark { font-size: 1rem; letter-spacing: .1em; }
  .lang a { padding-inline: 6px; }
  .nav .nav-start-short { padding-inline: 10px; }
}

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(2.125rem, 5vw, 3.625rem); line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; }
.hero h1 span { display: block; }
.hero h1 .quiet { color: var(--ink); font-size: .58em; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin-top: .45em; }
.hero .eyebrow { color: var(--gold); }
.small { font-size: 0.9375rem; color: var(--soft); max-width: 54ch; }
.small strong { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero-shot { margin: 0; min-width: 0; }
.product-frame { width: min(420px, 100%); margin-inline: auto; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 22px 44px -28px rgba(14, 34, 55, .4); }
.product-frame img { width: 100%; }
/* A street photo behind the product screen: the screen overlaps its lower left. */
.hero-shot:has(.hero-photo) { display: grid; }
.hero-shot:has(.hero-photo) > * { grid-area: 1 / 1; }
.hero-photo { position: relative; justify-self: end; align-self: start; width: 74%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 22px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Low and narrow enough that the gable and the front door stay in view. */
.hero-shot:has(.hero-photo) .product-frame { position: relative; justify-self: start; width: min(300px, 62%); margin: 200px 0 0; }
.hero-shot:has(.hero-photo) .sample { grid-area: 2 / 1; }
@media (max-width: 860px) {
  .hero-photo { justify-self: stretch; width: 100%; aspect-ratio: 16 / 10; }
  .hero-shot:has(.hero-photo) .product-frame { justify-self: center; width: min(340px, 84%); margin-top: clamp(150px, 42vw, 300px); }
  .hero-photo .photo-cap { top: 12px; bottom: auto; }
}
.photo-cap { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(14, 34, 55, .62); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: .02em; }
.sample { font-size: 0.8125rem; color: var(--soft); text-align: center; margin-top: 10px; }

/* Renter strip */
.renter { background: var(--surface); border-block: 1px solid var(--border); padding-block: 18px; }
.renter .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.renter strong { color: var(--ink-strong); }

/* Channels → link → Roost */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .9fr) auto minmax(0, .8fr); gap: 18px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.chips li { font-weight: 600; font-size: 1rem; color: var(--ink-strong); }
.chips li + li::before { content: "·"; margin-inline: 8px; color: var(--soft); }
.arrow { font: 700 1.625rem/1 var(--display); color: var(--soft); text-align: center; }
.linkbox { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px; display: grid; gap: 6px; min-width: 0; }
.linkbox code { font: 600 0.875rem/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-strong); word-break: break-all; }
.roostbox { background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: 16px; display: grid; gap: 4px; }
.roostbox .wordmark { color: var(--on-ink); font-size: 1rem; }
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); } .arrow { transform: rotate(90deg); } }
.share-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 36px; align-items: start; }
.share-path { border-top: 2px solid var(--gold-line); padding-top: 14px; display: grid; gap: 8px; }
.share-path > p { color: var(--soft); }
.reply-sample { margin: 6px 0 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.reply-sample p { color: var(--text); font-size: 1rem; }
.share-note { margin-top: 18px; }
@media (max-width: 760px) { .share-paths { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--border); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font: 800 0.9375rem/1 var(--display); color: var(--on-ink); background: var(--ink); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.steps h3 { font-size: 1.0625rem; }
.steps p { font-size: 0.9375rem; color: var(--soft); }
@media (max-width: 960px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; } .steps li::before { grid-row: span 2; } }

/* Product screens */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; align-items: stretch; }
.shot { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 14px; min-width: 0; }
.shot-stage { display: flex; align-items: center; justify-content: center; padding: clamp(14px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.shot-stage img { width: 100%; max-width: 420px; border-radius: 10px; }
.shot-stage.tall img { max-width: 340px; border: 1px solid var(--border); }
.shot figcaption { display: grid; gap: 4px; }
.shot figcaption b { font-family: var(--display); color: var(--ink-strong); font-size: 1.125rem; }
.shot figcaption span { color: var(--soft); font-size: 0.9375rem; }
.decides { margin-top: 18px; font-weight: 700; color: var(--ink); }
.mid-cta { margin-top: 28px; justify-content: center; }
@media (max-width: 760px) { .shots { grid-template-columns: minmax(0, 1fr); } }

/* Benefits */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefit { border-top: 2px solid var(--gold-line); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.benefit p { color: var(--soft); }
@media (max-width: 860px) { .cards3 { grid-template-columns: minmax(0, 1fr); } }

/* Fair selection */
.fair { background: #16324F; color: #F5F7F9; }
.fair h2, .fair h3 { color: #FFFFFF; }
.fair .lead, .fair p { color: #D6E0E8; }
.fair .eyebrow { color: #B8C7D3; }
.fairgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.fairitem { border-top: 1px solid rgba(245, 247, 249, .28); padding-top: 14px; display: grid; gap: 6px; }
.fair .note { margin-top: 28px; font-size: 0.9375rem; }
@media (max-width: 760px) { .fairgrid { grid-template-columns: minmax(0, 1fr); } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.trust li { font-weight: 600; font-size: 0.9375rem; color: var(--ink-strong); }
.trust li::before { content: "✓"; margin-right: 8px; color: var(--gold); font-weight: 800; }
.trust-note { margin-top: 14px; max-width: 70ch; }

/* Founding Gold */
.gold { background: var(--gold-bg); border: 2px solid var(--gold-line); border-radius: 26px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.gold .eyebrow { color: var(--gold); }
.gold-copy { display: grid; gap: 16px; min-width: 0; }
.gold-count { background: var(--surface); border-radius: 18px; padding: 22px; display: grid; gap: 10px; text-align: center; border: 1px solid var(--gold-line); }
.gold-count .num { font: 800 clamp(1.875rem, 3.2vw, 2.25rem)/1 var(--display); color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.gold-count .of { color: var(--soft); font-weight: 600; }
.gold small, .gold-count small { color: var(--soft); font-size: 0.875rem; }
@media (max-width: 760px) { .gold { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
/* Block, with the marker placed separately: flex would split the question around the brand-name span. */
.faq summary { cursor: pointer; position: relative; padding: 16px 32px 16px 0; font-weight: 700; color: var(--ink-strong); list-style: none; display: block; }
summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 1.1rem; right: 0; font: 700 1.25rem/1 var(--display); color: var(--soft); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; max-width: 68ch; }

/* Final + footer */
.final .wrap { display: grid; gap: 18px; justify-items: center; text-align: center; }
.final h2 { font-size: clamp(1.875rem, 4.4vw, 2.875rem); max-width: 20ch; }
/* The closing section over a full-width street photo, darkened so the text stays readable. */
.final-photo { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(88px, 13vw, 168px); }
.final-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 34, 55, .28), rgba(14, 34, 55, .5)); }
.final-photo h2, .final-photo .lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.final-photo h2 { color: #fff; }
.final-photo .lead { color: rgba(255, 255, 255, .9); }
.final-photo .btn-primary { background: #F7F3EC; color: #0E2237; }
.final-photo .btn-primary:hover { background: #fff; }
.final-photo .btn-soon { background: #16324F; color: #fff; border-color: rgba(255, 255, 255, .5); }
footer { border-top: 1px solid var(--border); padding-block: 28px 40px; font-size: 0.875rem; color: var(--soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--soft); }
