/* roomor.app. Steelers palette on a dark ground, Bricolage Grotesque for display, the system face for reading. */
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --steel: #101820;
  --deep: #0A0F14;
  --iron: #1E262F;
  --line: #2A343F;
  --gold: #FFB612;
  --gold-soft: #FFC94D;
  --silver: #A5ACAF;
  --white: #FFFFFF;
  --danger: #FF7A8A;
  --display: "Bricolage", "Bricolage Grotesque", -apple-system, "Segoe UI", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--steel); color: var(--white); font-family: var(--text); font-size: 17px; line-height: 1.55; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 12px; background: var(--gold); color: var(--steel); padding: 10px 16px; border-radius: 10px; font-weight: 700; z-index: 10; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(16, 24, 32, 0.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; }
.brand:hover { color: var(--white); }
.brand svg { width: 38px; height: 38px; }
.nav { display: flex; gap: clamp(14px, 3vw, 28px); }
.nav a { color: var(--silver); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }

/* Type */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(46px, 7.4vw, 92px); }
h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--silver); max-width: 34em; margin: 22px 0 0; }
.muted { color: var(--silver); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 120px); }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -220px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 182, 18, 0.16), rgba(255, 182, 18, 0)); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 26px; background: var(--gold); color: var(--steel); font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.pill svg { width: 20px; height: 20px; }
.fine { font-size: 15px; color: var(--silver); }
/* The hero phone: a real iPhone shape, kept small like the Whittle site. */
.phone { position: relative; justify-self: center; width: min(300px, 76vw); aspect-ratio: 9 / 19.3; padding: 11px; border-radius: 52px; background: linear-gradient(145deg, #2A343F, #0A0F14 45%, #1E262F); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 90px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.04); }
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2A343F; }
.phone::before { left: -3px; top: 22%; height: 11%; box-shadow: 0 -52px 0 -8px #2A343F; }
.phone::after { right: -3px; top: 27%; height: 15%; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: linear-gradient(#0E1720, #0C151A); }
.island { position: absolute; z-index: 3; top: 11px; left: 50%; width: 31%; height: 26px; transform: translateX(-50%); border-radius: 14px; background: #000; }
.statusbar { position: absolute; z-index: 2; top: 13px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 26px 0 30px; font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.sb-icons { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.sb-icons i { display: block; width: 3px; border-radius: 1px; background: var(--white); }
.sb-icons i:nth-child(1) { height: 4px; } .sb-icons i:nth-child(2) { height: 6px; } .sb-icons i:nth-child(3) { height: 8px; } .sb-icons i:nth-child(4) { height: 11px; }
.film { position: absolute; inset: 0; }
.film video, .film img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.film button { position: absolute; bottom: 22px; border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 20px; background: rgba(30, 38, 47, 0.85); color: var(--white); display: grid; place-items: center; }
.film button svg { width: 17px; height: 17px; }
.film .playpause { right: 18px; }
.film .sound { right: 66px; }
.film .sound[aria-pressed="true"] { background: var(--gold); color: var(--steel); }

.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 14px; background: #1A2129; color: #7C858B; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); cursor: default; user-select: none; }
.store-badge svg { width: 24px; height: 24px; opacity: 0.8; }
.store-badge span { display: grid; font-family: var(--text); font-weight: 600; font-size: 21px; line-height: 1; letter-spacing: -0.01em; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; margin-bottom: 3px; }
.text-link { font-weight: 600; text-decoration: none; }
.hero .fine { margin: 16px 0 0; }

/* No signal */
.paths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.paths li { position: relative; background: var(--iron); border-radius: 26px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.paths li + li::before { content: ""; position: absolute; left: -14px; top: 50px; width: 14px; height: 2px; background: var(--gold); }
.paths .icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--steel); color: var(--gold); }
.paths .icon svg { width: 24px; height: 24px; }
.paths p { margin: 0; color: var(--silver); }
.signal .note { margin: 22px 0 0; color: var(--silver); font-size: 15px; }

/* Sections */
.band { padding-block: clamp(64px, 9vw, 128px); }
.band.alt { background: var(--deep); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.head-row p { margin: 0; max-width: 30em; color: var(--silver); }

.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.type { background: var(--iron); border-radius: 26px; padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start; }
.type .icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--steel); color: var(--gold); }
.type .icon svg { width: 24px; height: 24px; }
.type .kind { font-size: 13px; font-weight: 700; color: var(--silver); letter-spacing: 0.04em; }
.type.public .kind { color: var(--gold); }
.type p { margin: 0; color: var(--silver); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--gold); letter-spacing: -0.05em; margin-bottom: 18px; }
.steps p { margin: 10px 0 0; color: var(--silver); }

.critters { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.critter { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.critter img { width: 88%; height: 88%; }
.critter:nth-child(8n+1) { background: #FFB612; } .critter:nth-child(8n+2) { background: #5DA9FF; }
.critter:nth-child(8n+3) { background: #C9B6FF; } .critter:nth-child(8n+4) { background: #8FD3C7; }
.critter:nth-child(8n+5) { background: #FF7A8A; } .critter:nth-child(8n+6) { background: #FF9F43; }
.critter:nth-child(8n+7) { background: #B8E986; } .critter:nth-child(8n+8) { background: #FF8AD8; }

.safety { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.safety > div { border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
.safety p { margin: 10px 0 0; color: var(--silver); }
.ratings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ratings span { font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 16px; background: var(--iron); }
.ratings span.adult { background: var(--danger); color: var(--steel); }

.close { text-align: center; }
.close .wrap { display: grid; justify-items: center; gap: 22px; }
.close svg.mark { width: 110px; height: 110px; }

/* Documents: privacy, terms, support */
.doc { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); }
.doc .updated { color: var(--silver); margin: 16px 0 0; font-size: 15px; }
.doc .summary { margin: 32px 0 8px; background: var(--iron); border-radius: 22px; padding: 22px 26px; }
.doc .summary ul { margin: 10px 0 0; padding-left: 20px; }
.doc h2 { font-size: clamp(26px, 3vw, 32px); margin: 48px 0 12px; letter-spacing: -0.025em; }
.doc h3 { font-size: 20px; margin: 28px 0 8px; }
.doc p, .doc li { max-width: 68ch; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--silver); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--iron); border-radius: 22px; padding: 22px 26px; margin-top: 28px; }
.contact strong { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; user-select: all; }
.contact button { border: 0; cursor: pointer; min-height: 44px; padding: 0 20px; border-radius: 22px; background: var(--gold); color: var(--steel); font-weight: 700; font-size: 15px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; color: var(--silver); }

/* Footer */
.foot { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-block: 36px 44px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { color: var(--silver); text-decoration: none; font-weight: 600; font-size: 15px; }
.foot a:hover { color: var(--white); }
.foot small { color: var(--silver); font-size: 14px; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost p { color: var(--silver); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .paths li + li::before { left: 50px; top: -14px; width: 2px; height: 14px; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .critters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .safety { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav a.hide-sm { display: none; }
  .types { grid-template-columns: 1fr; }
  .top .wrap { min-height: 60px; }
  .brand { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
