/* Everyroom landing page. Same tokens as the app: cream and brass by day,
   near-black and amber at night. System fonts only (the CSP allows no font host). */
:root {
  --ground: #F6F2EA; --surface: #FFFDF8; --raised: #EBE4D6; --line: #E6DFD2;
  --ink: #1F1D1A; --muted: #5C564C; --accent: #7A5C22; --accent-ink: #FFFDF8;
  --primary: #1F1D1A; --primary-ink: #FFFDF8; --stage: #3B3B3B;
  --shadow: 0 18px 40px rgba(60, 45, 20, 0.16);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0E1013; --surface: #181B20; --raised: #22262D; --line: #2A2E35;
    --ink: #F3EFE7; --muted: #A7A398; --accent: #E3B66B; --accent-ink: #17130B;
    --primary: #F3EFE7; --primary-ink: #0E1013; --stage: #2E2E2E;
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--primary-ink); padding: 10px 14px; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; z-index: 10; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.nav, main > section, .foot { width: min(1120px, 100% - 40px); margin-inline: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.wordmark svg { color: var(--accent); }
.nav nav { display: flex; gap: 26px; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 10px 0; }
.nav nav a:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill-soft { background: var(--surface); color: var(--ink); border: 1px solid var(--line); height: 40px; border-radius: 20px; padding: 0 16px; font-size: 14px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; padding: 48px 0 72px; }
.hero-copy { display: grid; gap: 22px; }
.lede { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 34em; }
.facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { flex: 1 1 150px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: grid; gap: 2px; }
.facts strong { font-size: 18px; letter-spacing: -0.01em; }
.facts span { font-size: 14px; color: var(--muted); }

.compare { margin: 0; display: grid; gap: 12px; }
.compare-stage { --pos: 50%; position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--stage); aspect-ratio: 4 / 3; }
.compare-stage > img, .compare-before img { width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); }
.compare-line span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
.compare-line span::before, .compare-line span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid #1F1D1A; border-width: 0 0 2.5px 2.5px; }
.compare-line span::before { left: 13px; transform: translateY(-50%) rotate(45deg); }
.compare-line span::after { right: 13px; transform: translateY(-50%) rotate(-135deg); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-stage:has(.compare-range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.tag { position: absolute; left: 12px; bottom: 12px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(14, 13, 10, 0.72); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; align-items: center; }
.tag-left { top: 12px; bottom: auto; }
.tag-right { top: 12px; bottom: auto; left: auto; right: 12px; }
.tag-accent { background: var(--accent); color: var(--accent-ink); }
figcaption, .fine, .section-note { color: var(--muted); font-size: 15px; }
figcaption { text-align: center; }

.band { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; max-width: 720px; margin-bottom: 36px; }
.section-note { font-size: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li, .pack, .who li { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.steps p, .pack p, .who p, .faq p { color: var(--muted); }
.step-n { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; margin-bottom: 6px; }

.pairs { display: grid; gap: 20px; }
.pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair > div { position: relative; border-radius: 20px; overflow: hidden; background: var(--raised); }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.versus { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.versus-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); align-items: center; }
.versus-row:first-child { border-top: 0; }
.versus-head { font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.versus-row > :first-child { font-weight: 600; }
.versus-row > :nth-child(2) { color: var(--muted); }
.versus-row > :nth-child(3) { font-weight: 600; }
.versus-head > :nth-child(3) { color: var(--accent); }
.fine { margin-top: 14px; }

.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack { position: relative; gap: 6px; }
.pack-main { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.pack .pill { position: absolute; top: -15px; left: 24px; }
.price { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink) !important; }
.per { color: var(--accent) !important; font-weight: 600; margin-bottom: 6px; }

.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.who li { padding: 22px; gap: 6px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 0 20px; max-width: 62ch; }

.closing { text-align: center; padding: 88px 0; border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: center; }
.closing p { color: var(--muted); font-size: 19px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.wordmark-small { font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 24px 0 56px; }
  .steps, .packs { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .band { padding: 56px 0; }
  .pack-main { margin-top: 10px; }
}
@media (max-width: 560px) {
  .nav, main > section, .foot { width: calc(100% - 32px); }
  .pair { grid-template-columns: 1fr; }
  .versus-row { grid-template-columns: 1fr 1fr; padding: 16px 18px; }
  .versus-row > :first-child { grid-column: 1 / -1; }
  .versus-head > :first-child { display: none; }
  .pill-soft { font-size: 13px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
