/* Hallmark · shape: Letter · genre: editorial · theme: Studio (deal 1/3, seed roomheim-flat-sharing-app-germany-f229·c85ff232·2026-11-21·r0), Roomheim's palette and Manrope kept · job: try · draw: manual
 * hero: centred title, one sentence, one action (the owner's rule: standalone titles are centred) · nav: edge-aligned, the mark and the wordmark, the language switch · footer: a colophon of the legal links · imagery: none (the app is not in the stores yet) · signature: the house mark with its yellow door, set large over the title
 * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E3 S3 R4 V3 · weakest: E, no product picture yet, the facts carry the page until store screenshots exist */
/* waive 7b: the paper and ink are the app's own white and black (src/constants/theme.ts), so site and app match */
/* waive 44c: the hero is centred because the owner's standing rule centres standalone titles on the web */
:root {
  color-scheme: light dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  /* Roomheim's own palette and face (src/constants/theme.ts), kept over the dealt theme's: the site has to look like the app. */
  --color-paper: #FFFFFF; --color-paper-2: #F3F5F7; --color-paper-3: #E6EAEE; --color-paper-hi: #FFFFFF;
  --color-ink: #1C2128; --color-ink-2: #3A424C; --color-muted: #545D68;
  --color-rule: #D9DEE4;
  --color-accent: #BC3F0B; --color-accent-ink: #FFFFFF; --color-focus: #BC3F0B; --color-door: #FBBF24;
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif; --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 12px; --radius-pill: 999px; --rule-hair: 1px;
  --tracking-display: -0.025em; --display-weight: 800;
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-paper: #000000; --color-paper-2: #212225; --color-paper-3: #2E3135; --color-paper-hi: #111214;
    --color-ink: #FFFFFF; --color-ink-2: #D6D9DD; --color-muted: #B0B4BA;
    --color-rule: #3A3D42;
    --color-accent: #FB923C; --color-accent-ink: #000000; --color-focus: #FB923C;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }


@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/fonts/manrope-400.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/fonts/manrope-600.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("/fonts/manrope-800.ttf") format("truetype"); }

:root { --container: 1120px; --measure: 68ch; }
body { display: flex; flex-direction: column; min-height: 100dvh; }
main { flex: 1; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-md); }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; font-weight: 800; font-size: var(--text-lg); letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 32px; border-radius: 8px; }
.langs { display: flex; gap: var(--space-2xs); }
.langs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-sm); border-radius: var(--radius-pill); text-decoration: none; font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.langs a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.langs a[aria-current="true"] { background: var(--color-paper-2); color: var(--color-ink); }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-lg); padding-block: var(--space-3xl) var(--space-2xl); }
.hero .mark { width: 88px; height: 88px; border-radius: 22px; }
.hero h1 { max-width: 16ch; font-size: var(--text-display-s); line-height: 1.02; }
.hero .lead { color: var(--color-muted); max-width: 44ch; }
.hero .soon { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }

/* Buttons: as wide as their words */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-inline: var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.btn:active { transform: scale(0.98); }
.btn:disabled { background: var(--color-paper-3); color: var(--color-muted); cursor: progress; }

/* What Roomheim does: equal tiles, two or three across, never an orphan */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); padding-block: var(--space-xl) var(--section-gap-s); margin: 0; padding-inline: 0; list-style: none; }
.facts li { display: flex; flex-direction: column; gap: var(--space-2xs); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.facts h2 { max-width: none; font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.facts p { color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 60rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* Reading pages: the title centred, the text left-aligned at a reading measure */
.page { max-width: var(--measure); margin-inline: auto; padding-block: var(--space-2xl) var(--section-gap-s); }
.page h1 { margin-inline: auto; max-width: 22ch; text-align: center; font-size: var(--text-section); }
.page .intro { margin-top: var(--space-md); text-align: center; color: var(--color-muted); }
.section { padding-top: var(--space-xl); }
.section h2 { max-width: none; font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.section p, .section li { color: var(--color-ink-2); }
.section p { margin-top: var(--space-xs); white-space: pre-line; }
.section ul { margin: var(--space-xs) 0 0; padding-left: 1.25em; }
.section li + li { margin-top: var(--space-2xs); }
.section .more { display: inline-block; margin-top: var(--space-sm); font-weight: 600; color: var(--color-accent); }

/* Contact form */
.form { display: flex; flex-direction: column; gap: var(--space-lg); margin-top: var(--space-xl); }
.field { display: flex; flex-direction: column; gap: var(--space-xs); }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); transition: border-color var(--dur-short) var(--ease-out); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--color-error); }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); }
.form .note { text-align: center; font-size: var(--text-sm); color: var(--color-muted); }
.status { text-align: center; font-weight: 600; }
.status[data-kind="error"] { color: var(--color-error); }
.status[data-kind="ok"] { color: var(--color-success); }

/* Footer */
.footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-xl); }
.footer nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2xs) var(--space-md); margin: 0; padding: 0; list-style: none; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.footer a:hover { color: var(--color-ink); text-decoration: underline; }
.footer .owner { margin-top: var(--space-sm); text-align: center; font-size: var(--text-sm); color: var(--color-muted); }
