@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:700 800;font-display:swap;src:url(assets/fonts/BigShouldersDisplay.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-weight:400 600;font-display:swap;src:url(assets/fonts/SchibstedGrotesk.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}
/* GodMode Hub product page: styled after the app's Room dashboard.
   Night brick room, amber glass notes, magenta / purple / cyan RGB when Game Mode is on. */
:root {
  --night: #0b0709;
  --night-2: #140d10;
  --brick: #2b1b18;
  --amber: #f0a73c;
  --amber-hi: #ffd08a;
  --amber-glass: rgba(34, 20, 8, 0.62);
  --amber-edge: rgba(240, 167, 60, 0.42);
  --magenta: #ff3ea5;
  --violet: #8b5cff;
  --cyan: #2be0ff;
  --text: #f3ebe4;
  --text-2: #c2b5ab;
  --muted: #8f8179;
  --accent: var(--amber);
  --accent-edge: var(--amber-edge);
  --accent-glow: rgba(240, 167, 60, 0.35);
  --display: 'Big Shoulders Display', 'Bahnschrift', 'Arial Narrow', sans-serif;
  --body: 'Schibsted Grotesk', 'Segoe UI', system-ui, sans-serif;
  --header-h: 64px;
}
body[data-mode="on"] {
  --accent: var(--cyan);
  --accent-edge: rgba(43, 224, 255, 0.45);
  --accent-glow: rgba(139, 92, 255, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-hi); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 40px); }
h1, h2, h3, dt, summary {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 18px; }
h3 { font-size: 26px; }
.lede { color: var(--text-2); max-width: 58ch; font-size: 18px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

/* Buttons */
.btn {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  color: #1b1004;
  background: linear-gradient(135deg, var(--amber-hi), var(--amber));
  box-shadow: 0 0 0 1px rgba(255, 208, 138, 0.5), 0 10px 34px rgba(240, 167, 60, 0.28);
  transition: transform 0.2s, box-shadow 0.3s, background 0.4s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--amber-hi), 0 14px 44px rgba(240, 167, 60, 0.45); }
body[data-mode="on"] .btn-hero {
  background: linear-gradient(120deg, var(--magenta), var(--violet) 55%, var(--cyan));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 10px 40px rgba(139, 92, 255, 0.5);
}
.btn-small { font-size: 16px; padding: 8px 16px; }
.btn-large { font-size: 26px; padding: 18px 38px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(11, 7, 9, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 167, 60, 0.18);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { width: 104px; height: auto; }
.site-nav { display: flex; gap: 26px; flex: 1; justify-content: center; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--text); }

/* Glass */
.glass {
  background: var(--amber-glass);
  border: 1px solid var(--amber-edge);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 208, 138, 0.14), 0 18px 50px rgba(0, 0, 0, 0.45);
}
.glass-neon {
  background: rgba(14, 8, 30, 0.62);
  border: 1px solid rgba(139, 92, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(43, 224, 255, 0.18), 0 0 34px rgba(139, 92, 255, 0.22), 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ------- Hero ------- */
.hero { position: relative; background: #000; }
.stage {
  position: relative;
  height: clamp(440px, 56.25vw, calc(100svh - var(--header-h)));
  overflow: hidden;
  background: #000;
}
.plate {
  position: absolute; left: 50%; top: 0;
  height: 100%;
  aspect-ratio: 16 / 9;
  transform: translateX(-50%);
}
.plate > img.room {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 1.4s ease;
}
.room-on { opacity: 0; }
body[data-mode="on"] .room-on { opacity: 1; }
body[data-mode="on"] .room-off { opacity: 0; }
.stage::after { /* top and bottom shading so copy and the page edge stay readable */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 7, 9, 0.55) 0%, rgba(11, 7, 9, 0) 26%),
    linear-gradient(0deg, var(--night) 0%, rgba(11, 7, 9, 0) 9%);
}

.sign {
  position: absolute;
  left: 41.6%; top: 62.6%; width: 17.6%;
  border: 0; background: none; padding: 0; cursor: pointer;
  z-index: 3;
}
button.sign:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; border-radius: 10px; }
.sign img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transition: opacity 0.5s; }
.sign::before { content: ""; display: block; padding-top: 71.5%; }
.sign .sign-on { opacity: 0; filter: drop-shadow(0 0 14px rgba(255, 62, 165, 0.55)) drop-shadow(0 0 40px rgba(43, 224, 255, 0.4)); }
.sign .sign-off { opacity: 0.9; filter: drop-shadow(0 0 12px rgba(220, 230, 255, 0.45)); }
body[data-mode="on"] .sign .sign-on { opacity: 1; }
body[data-mode="on"] .sign .sign-off { opacity: 0; }
.sign.flicker .sign-on { animation: neon-on 1.5s steps(1, end) both; }
@keyframes neon-on {
  0% { opacity: 0; } 8% { opacity: 0.85; } 12% { opacity: 0.1; } 22% { opacity: 0.9; }
  27% { opacity: 0.2; } 40% { opacity: 1; } 46% { opacity: 0.55; } 52% { opacity: 1; }
  70% { opacity: 0.8; } 76% { opacity: 1; } 100% { opacity: 1; }
}
body[data-mode="on"] .sign .sign-on { animation: neon-hum 5s ease-in-out 1.5s infinite; }
@keyframes neon-hum { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 49% { opacity: 0.82; } 51% { opacity: 1; } }

/* The "HUB STATUS" note under the desk, like the app */
.hub-note {
  position: absolute; left: 78.5%; top: 75%;
  width: 15%; min-width: 150px;
  padding: 10px 14px;
  font-size: clamp(10px, 1vw, 14px);
  line-height: 1.45;
  z-index: 3;
}
.hub-note b { font-family: var(--display); font-weight: 800; letter-spacing: 0.12em; color: var(--amber); text-transform: uppercase; }
.hub-note span { display: block; color: var(--text); }
.hub-note i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5df0a0; margin-right: 6px; box-shadow: 0 0 8px #5df0a0; }

/* Hero copy card */
.hero-card {
  position: absolute; z-index: 5;
  left: clamp(16px, 4vw, 64px); top: clamp(16px, 5vw, 64px);
  width: min(430px, 34vw);
  min-width: 330px;
  padding: 24px 26px 20px;
}
.hero-card .tag { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 10px; transition: color 0.6s; }
.hero-card h1 { font-size: clamp(40px, 4vw, 58px); margin-bottom: 14px; }
.hero-sub { color: var(--text-2); font-size: 17px; margin-bottom: 22px; }
.muted-lines { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.muted-lines a { color: var(--text-2); }

/* Switch */
.mode-bar { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--amber-edge); flex-wrap: wrap; }
.mode-switch {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--accent-edge);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.5s, box-shadow 0.6s;
}
body[data-mode="on"] .mode-switch { box-shadow: 0 0 24px var(--accent-glow); }
.mode-switch .knob-track {
  width: 52px; height: 28px; border-radius: 999px; position: relative;
  background: #3a2a1a; transition: background 0.5s;
}
body[data-mode="on"] .mode-switch .knob-track { background: linear-gradient(90deg, var(--magenta), var(--violet), var(--cyan)); }
.mode-switch .knob {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber-hi); transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}
body[data-mode="on"] .mode-switch .knob { transform: translateX(24px); background: #fff; }
.mode-switch .lbl-on { display: none; }
body[data-mode="on"] .mode-switch .lbl-on { display: inline; }
body[data-mode="on"] .mode-switch .lbl-off { display: none; }

.mute-btn {
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--amber-edge); border-radius: 50%;
  width: 40px; height: 40px; color: var(--text-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mute-btn:hover { color: var(--text); }
.icon-muted { display: none; }
.mute-btn[aria-pressed="true"] .icon-sound { display: none; }
.mute-btn[aria-pressed="true"] .icon-muted { display: block; }
.mode-hint { width: 100%; color: var(--muted); font-size: 13px; }

/* ------- Zoom story ------- */
.story { position: relative; height: 260vh; background: var(--night); }
.story-pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }
.story-plate {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, calc((100svh - var(--header-h)) * 1.7778));
  aspect-ratio: 16 / 9;
  transform-origin: 43.5% 43.5%;
  transform: translate(-50%, -50%) scale(var(--zoom, 1));
  will-change: transform;
}
.story-plate > img { width: 100%; height: 100%; object-fit: cover; }
.story-app {
  position: absolute; left: 50%; top: 45%;
  width: min(1040px, 92vw);
  transform: translate(-50%, -50%) scale(calc(0.9 + var(--app, 0) * 0.1));
  opacity: var(--app, 0);
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(139, 92, 255, 0.6);
  box-shadow: 0 0 60px rgba(139, 92, 255, 0.35), 0 40px 100px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.story-app img { width: 100%; }
.story-cap {
  position: absolute; left: 50%; bottom: clamp(20px, 5vh, 56px); transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); padding: 16px 22px; text-align: center; z-index: 3;
}
.story-cap h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 4px; }
.story-cap p { color: var(--text-2); font-size: 15px; }
.story-cap .cap-b { display: none; }
.story.opened .cap-a { display: none; }
.story.opened .cap-b { display: block; }
.story-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 43% 45%, transparent 30%, rgba(11, 7, 9, 0.7) 100%); }

/* ------- Room dashboard (beta) ------- */
.room-section { background: linear-gradient(180deg, var(--night), #0e0816 60%, var(--night)); }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.beta-chip { display: inline-block; font-family: var(--display); font-weight: 800; letter-spacing: 0.14em; font-size: 14px; text-transform: uppercase; color: #1b1004; background: var(--amber); padding: 3px 10px; border-radius: 4px; margin-bottom: 14px; }
.room-pair { display: grid; gap: 18px; }
.shot {
  border-radius: 10px; overflow: hidden; position: relative;
  border: 1px solid var(--amber-edge);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  background: #05040a;
}
.shot.neon { border-color: rgba(139, 92, 255, 0.55); box-shadow: 0 0 46px rgba(139, 92, 255, 0.25), 0 24px 70px rgba(0, 0, 0, 0.55); }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; font-size: 13px; border-radius: 6px; background: rgba(11, 7, 9, 0.78); border: 1px solid var(--amber-edge); }
.room-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; color: var(--text-2); }
.room-list li { padding-left: 18px; position: relative; }
.room-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--amber); }

/* ------- How it works ------- */
.steps-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; margin-top: 36px; }
.steps-track::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber) 48%, var(--magenta) 64%, var(--violet) 82%, var(--cyan) 100%);
  box-shadow: 0 0 14px rgba(139, 92, 255, 0.5);
}
.step { position: relative; padding-top: 66px; }
.step-number {
  position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--night); border: 2px solid var(--amber); color: var(--amber);
  font-family: var(--display); font-weight: 800; font-size: 22px;
}
.step:nth-child(3) .step-number { border-color: var(--magenta); color: var(--magenta); box-shadow: 0 0 18px rgba(255, 62, 165, 0.5); }
.step:nth-child(4) .step-number { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px rgba(43, 224, 255, 0.45); }
.step-title { margin-bottom: 8px; }
.step-desc { color: var(--text-2); font-size: 15px; max-width: 30ch; }

/* ------- Feature bento ------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 40px; }
.card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 18px 22px 22px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--text-2); font-size: 15px; max-width: 48ch; }
.card .card-img { border-bottom: 1px solid inherit; background: #05040a; }
.card.wide { grid-column: span 3; }
.card.third { grid-column: span 2; }
.card.full { grid-column: span 6; flex-direction: row; align-items: center; }
.card.full .card-img { width: 56%; flex-shrink: 0; }
.card.full .card-body { padding: 28px; }
.card.text-only .card-body { padding: 22px; }
.card.text-only h3 { font-size: 24px; }

/* ------- Leaves alone ------- */
.safe-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; margin-top: 30px; max-width: 920px; }
.safe-list li { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 12px; border-bottom: 1px solid rgba(240, 167, 60, 0.22); }
.lock-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--amber); margin-top: 5px; }

/* ------- FAQ ------- */
.narrow { max-width: 820px; }
details { border-bottom: 1px solid rgba(240, 167, 60, 0.22); padding: 18px 0; }
summary { cursor: pointer; font-size: 26px; list-style: none; position: relative; padding-right: 36px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 0; color: var(--amber); }
details[open] summary::after { content: "\2013"; }
details p { color: var(--text-2); max-width: 66ch; padding-top: 10px; }

/* ------- Download ------- */
.download-band {
  position: relative; text-align: center; overflow: hidden; isolation: isolate;
  padding: clamp(90px, 14vw, 180px) 0 clamp(70px, 10vw, 130px);
}
.download-band .bg { position: absolute; inset: 0; z-index: -2; }
.download-band .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; opacity: 0.55; }
.download-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 55%, rgba(11, 7, 9, 0.35), var(--night) 78%), linear-gradient(180deg, var(--night), transparent 30%, transparent 70%, var(--night)); }
.download-band .lede { margin: 0 auto 30px; }
.download-band .btn { background: linear-gradient(120deg, var(--magenta), var(--violet) 55%, var(--cyan)); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 12px 50px rgba(139, 92, 255, 0.55); }
.download-band .muted-lines { margin-top: 20px; }

.site-footer { border-top: 1px solid rgba(240, 167, 60, 0.18); padding: 30px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ------- Responsive ------- */
@media (max-width: 1000px) {
  .hero-card { position: relative; left: auto; top: auto; width: auto; min-width: 0; margin: -14px 16px 0; z-index: 6; }
  .stage { height: clamp(300px, 64svh, 560px); }
  .stage::after { background: linear-gradient(0deg, var(--night) 0%, rgba(11, 7, 9, 0) 28%); }
  .hero { padding-bottom: 36px; background: var(--night); }
  .hub-note { display: none; }
  .split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.wide, .card.third, .card.full { grid-column: span 2; }
  .card.third { grid-column: span 1; }
  .card.full { flex-direction: column; align-items: stretch; }
  .card.full .card-img { width: 100%; }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .steps-track { grid-template-columns: 1fr; gap: 6px; }
  .steps-track::before { top: 0; bottom: 0; left: 22px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--amber), var(--magenta) 60%, var(--cyan)); }
  .step { padding: 4px 0 22px 70px; }
  .safe-list { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card.wide, .card.third, .card.full { grid-column: span 1; }
  /* Phones: the zoom can't fit a 16:9 room and a readable app shot in a tall screen,
     so the story stacks: whole room photo, then the whole app screenshot, uncropped. */
  .story { height: auto; padding: 48px 0; }
  .story-pin { position: static; height: auto; overflow: visible; padding: 0 16px; display: flex; flex-direction: column; gap: 16px; }
  .story-plate { position: relative; left: auto; top: auto; width: 100%; transform: none; will-change: auto; border-radius: 12px; overflow: hidden; border: 1px solid rgba(139, 92, 255, 0.35); }
  .story-plate > img { object-fit: contain; }
  .story-vignette { display: none; }
  .story-app { position: relative; left: auto; top: auto; width: 100%; margin: 0; transform: none; opacity: 1; box-shadow: 0 0 40px rgba(139, 92, 255, 0.3), 0 20px 50px rgba(0, 0, 0, 0.6); }
  .story-app img { display: block; height: auto; }
  .story-app { order: 2; }
  .story-cap { order: 1; position: relative; left: auto; bottom: auto; transform: none; width: 100%; margin: 0; }
  .story .story-cap .cap-a { display: block; }
  .story .story-cap .cap-b { display: none; }
  summary { font-size: 22px; }
}
@media (max-width: 380px) { .btn-large { font-size: 22px; padding: 16px 22px; } }

/* No-JS / reduced motion: no pinned zoom, show the app plainly */
.no-story .story { height: auto; }
.no-story .story-pin { position: static; height: auto; overflow: visible; padding: 40px 0; }
.no-story .story-plate, .no-story .story-vignette { display: none; }
.no-story .story-app { position: relative; left: auto; top: auto; transform: none; opacity: 1; margin: 0 auto; }
.no-story .story-cap { position: relative; left: auto; bottom: auto; transform: none; margin: 24px auto 0; }
.no-story .story-cap .cap-a { display: none; }
.no-story .story-cap .cap-b { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber-hi); color: #1b1004; padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; }
.mode-switch:focus-visible, .mute-btn:focus-visible, .btn:focus-visible { outline-offset: 4px; }
.mode-switch:hover { border-color: var(--accent); }
.mute-btn { transition: color .2s, border-color .2s; }
.mute-btn:hover { border-color: var(--accent); }
.hero-card .btn-hero { display: block; text-align: center; }
.hero-card h1 { text-wrap: balance; }
h2, .lede { text-wrap: balance; }
.site-nav a { position: relative; padding: 4px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.card { transition: border-color .3s; }
.card .card-img { border-bottom: 1px solid var(--amber-edge); }
.card.glass-neon .card-img { border-bottom-color: rgba(139, 92, 255, 0.5); }
summary:focus-visible { outline-offset: 6px; }
summary:hover::after { color: var(--amber-hi); }
.muted-lines { color: #a09389; }
.hub-note { top: 76%; }

/* Trust strip */
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1160px; margin: 0 auto; padding: 26px clamp(16px, 5vw, 40px) 0; gap: 14px 28px; position: relative; z-index: 2; }
.trust li { border-left: 2px solid var(--amber); padding-left: 14px; }
.trust b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1; }
.trust span { color: var(--text-2); font-size: 14px; line-height: 1.4; display: block; margin-top: 4px; }
@media (max-width: 1000px) { .trust { grid-template-columns: 1fr 1fr; padding-top: 4px; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; gap: 12px; } .trust b { font-size: 20px; } }
@media (max-width: 1000px) { .stage { height: clamp(280px, 52svh, 520px); } .hero { padding-bottom: 20px; } }
@media (max-width: 760px) { .sign { left: 38%; width: 24%; top: 60%; } .section { padding: 56px 0; } }

/* Wall posters: original art fitted into the two frames in the photo, so they are always filled */
.poster { position: absolute; z-index: 2; object-fit: cover; pointer-events: none; filter: brightness(0.72) saturate(0.8) sepia(0.25); transition: filter 1.4s ease, box-shadow 1.4s ease; box-shadow: inset 0 0 12px rgba(0,0,0,.6); }
.poster-a { left: 47.2%; top: 11.1%; width: 7.7%; height: 19.5%; }
.poster-b { left: 23.75%; top: 13.3%; width: 13.05%; height: 16%; }
body[data-mode="on"] .poster { filter: none; animation: poster-rgb 6s linear infinite; }
@keyframes poster-rgb {
  0%, 100% { box-shadow: 0 0 0 2px var(--magenta), 0 0 16px 3px rgba(255,62,165,.7), 0 0 36px rgba(255,62,165,.35); }
  33% { box-shadow: 0 0 0 2px var(--violet), 0 0 16px 3px rgba(139,92,255,.75), 0 0 36px rgba(139,92,255,.35); }
  66% { box-shadow: 0 0 0 2px var(--cyan), 0 0 16px 3px rgba(43,224,255,.7), 0 0 36px rgba(43,224,255,.35); }
}
@media (prefers-reduced-motion: reduce) { body[data-mode="on"] .poster { animation: none !important; box-shadow: 0 0 0 2px var(--violet), 0 0 18px 3px rgba(139,92,255,.6); } }

/* ================= Pass 2 ================= */
/* Type scale (ratio about 1.25): display caps only for h1, h2 and the big controls; everything smaller is the body face in sentence case. */
:root { --t-s: 14px; --t-0: 17px; --t-1: 20px; --t-2: 25px; --t-3: clamp(36px, 5vw, 60px); }
h3, summary { font-family: var(--body); font-weight: 600; text-transform: none; letter-spacing: -0.005em; line-height: 1.25; }
h3 { font-size: var(--t-1); }
.card h3, .card.text-only h3 { font-size: var(--t-1); }
summary { font-size: var(--t-1); padding-right: 40px; }
summary::after { font-family: var(--display); font-size: 30px; line-height: 1; top: -2px; }
.step-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--t-2); letter-spacing: .02em; }
.trust b { font-family: var(--body); font-weight: 600; font-size: var(--t-0); text-transform: none; letter-spacing: 0; }
.lede { line-height: 1.6; }

/* Lights on: the page opens in the dark photo, then the bulbs catch. CSS only, so it cannot get stuck if JS is slow. */
.dark-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; display: block; }
.dark-layer .room-dark { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #07050a; transition: none; animation: bulbs 3.2s linear 0s both; }
@keyframes bulbs {
  0%, 31% { opacity: 1; animation-timing-function: steps(1, end); }
  32% { opacity: 0.3; } 34% { opacity: 1; } 37% { opacity: 0.08; } 40% { opacity: 0.85; }
  43% { opacity: 0; } 47% { opacity: 0.7; } 50% { opacity: 0.05; } 55% { opacity: 0.4; }
  58% { opacity: 0; animation-timing-function: linear; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .dark-layer { display: none; } }

/* Hero card: compact, sits under the left poster instead of on top of it */
@media (min-width: 1181px) {
  .hero-card { top: 33%; width: min(400px, 30vw); min-width: 340px; padding: 20px 24px 18px; }
  .hero-card h1 { font-size: clamp(34px, 3.3vw, 50px); margin-bottom: 10px; }
  .hero-sub { font-size: 16px; margin-bottom: 16px; line-height: 1.5; }
  .hero-card .btn-hero { padding: 11px 22px; font-size: 19px; }
  .muted-lines { margin-top: 10px; font-size: 13px; }
  .mode-bar { margin-top: 14px; padding-top: 14px; }
  .mode-hint { font-size: 12.5px; line-height: 1.4; }
}
@media (min-width: 1181px) and (max-height: 860px) {
  .hero-card { top: 31%; padding: 16px 22px 14px; }
  .hero-card h1 { font-size: clamp(30px, min(3.3vw, 5.2vh), 50px); margin-bottom: 8px; }
  .hero-sub { font-size: 15px; margin-bottom: 12px; }
  .hero-card .btn-hero { padding: 9px 20px; }
  .mode-bar { margin-top: 10px; padding-top: 0; border-top: 0; }
  .mode-hint { display: none; }
}

/* Tablet and below: the card sits under the photo; on tablets it uses two columns */
@media (max-width: 1180px) {
  .hero-card { position: relative; left: auto; top: auto; width: auto; min-width: 0; margin: -14px clamp(16px, 4vw, 40px) 0; z-index: 6; }
  .stage::after { background: linear-gradient(0deg, var(--night) 0%, rgba(11, 7, 9, 0) 28%); }
  .hero { padding-bottom: 20px; background: var(--night); }
  .hub-note { display: none; }
}
@media (min-width: 1001px) and (max-width: 1180px) { .stage { height: 56.25vw; } }
@media (min-width: 700px) and (max-width: 1180px) {
  .hero-card { display: grid; grid-template-columns: 1.15fr 0.85fr; column-gap: clamp(24px, 4vw, 48px); align-items: start; }
  .hero-card h1 { grid-column: 1; grid-row: 1; font-size: clamp(36px, 5vw, 52px); }
  .hero-card .hero-sub { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .hero-card .btn-hero { grid-column: 2; grid-row: 1; align-self: start; }
  .hero-card .muted-lines { grid-column: 2; grid-row: 2; margin-top: 10px; }
  .hero-card .mode-bar { grid-column: 1 / -1; grid-row: 3; }
  .hero-card .mode-hint { width: auto; flex: 1; min-width: 240px; }
}

/* Header nav: keep three links on tablets instead of wrapping */
@media (max-width: 1000px) { .site-nav { gap: 20px; } .site-nav a:nth-child(2), .site-nav a:nth-child(4), .site-nav a:nth-child(6) { display: none; } }
@media (max-width: 640px) { .site-nav { display: none; } .header-inner { justify-content: space-between; } }
.site-nav a { white-space: nowrap; }

/* Features: five screens, then a plain ruled list for the rest */
.card { border-radius: 8px; }
.extras { list-style: none; margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--amber-edge); }
.extras li { padding: 18px 0; border-bottom: 1px solid rgba(240, 167, 60, 0.22); }
.extras b { display: block; font-weight: 600; font-size: var(--t-0); margin-bottom: 2px; }
.extras span { color: var(--text-2); font-size: 15px; line-height: 1.5; display: block; max-width: 36ch; }
.extras .restore b { color: var(--cyan); }
@media (max-width: 1000px) { .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .extras { grid-template-columns: 1fr; } }

/* Leaves alone: one panel with the heading inside it */
.safe-panel { border: 1px solid var(--amber-edge); border-radius: 8px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(180deg, rgba(34, 20, 8, 0.45), rgba(34, 20, 8, 0.12)); }
.safe-head { max-width: 640px; }
.safe-list { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 0; margin-top: 30px; border-top: 1px solid var(--amber-edge); }
.safe-list li { padding: 16px 20px 16px 0; margin-right: 20px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.safe-list li:nth-child(3n) { margin-right: 0; }
@media (max-width: 1000px) { .safe-list { grid-template-columns: 1fr 1fr; } .safe-list li:nth-child(3n) { margin-right: 20px; } .safe-list li:nth-child(2n) { margin-right: 0; } }
@media (max-width: 640px) { .safe-list { grid-template-columns: 1fr; } .safe-list li { margin-right: 0 !important; } }

/* FAQ: heading left, answers right */
.faq-split { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-split h2 { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list details:first-child { padding-top: 0; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } .faq-split h2 { position: static; } }

/* Small screens */
@media (max-width: 760px) { summary { font-size: 18px; } }

/* Monitor screen: the two Hub tiles drawn over the monitor in the photo (match the app: black tiles, thin white / blue borders) */
.screen { position: absolute; left: 33.1%; top: 36.8%; width: 16.9%; height: 16.5%; z-index: 2; box-sizing: border-box; display: flex; gap: 5%; padding: 0 4%; background: #000; align-items: stretch; pointer-events: none; transition: opacity 1.4s ease; filter: brightness(0.9); }
.tile { flex: 1; align-self: stretch; margin: 5% 0; height: auto; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; background: #000; border: 1px solid; border-radius: 3%; overflow: hidden; }
.tile img { display: block; height: auto; }
.tile-hub { border-color: #f4f4f4; box-shadow: 0 0 5px rgba(255, 255, 255, 0.45); }
.tile-news { border-color: #2d7bff; box-shadow: 0 0 6px rgba(45, 123, 255, 0.6); }
.t-hub-text { width: 80%; } .t-hub-icon { width: 54%; } .t-mark { width: 76%; } .t-word { width: 64%; }
body[data-mode="on"] .plate > .screen { opacity: 0; }
.story-plate .screen { filter: none; }
.monitor-section .room-pair { grid-template-columns: 1fr; }
.new-in { max-width: 620px; margin: 26px auto 0; padding: 16px 20px; text-align: left; border: 1px solid var(--amber-edge); border-radius: 12px; background: rgba(11, 7, 9, 0.6); }
.new-in h3 { font-size: var(--t-1); margin-bottom: 8px; }
.new-in ul { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.new-in li { margin: 4px 0; }


/* ================= Hub-site fix pass ================= */

/* 1. Monitor: same split as the app. Left half = Hub (white border), right half = News (blue border).
   Margins and gap are the app's proportions (side 4.2%, top/bottom 8.4%, gap 4.2%). */
.screen { display: block; padding: 0; gap: 0; background: #000; }
.screen .tile { position: absolute; top: 8.4%; bottom: 8.4%; width: 45.4%; margin: 0; height: auto; flex: none; border-radius: 4% / 6%; gap: 5%; }
.screen .tile-hub { left: 4.2%; }
.screen .tile-news { left: 50.4%; }
.t-hub-text { width: 74%; } .t-hub-icon { width: 50%; } .t-mark { width: 82%; } .t-word { width: 56%; }
.tile-news { background: radial-gradient(ellipse at 70% 0%, rgba(45, 123, 255, 0.22), #000 65%); }

/* 2. Scroll story: scroll-linked glide (JS writes transform and opacity only). */
.story { height: 230vh; }
.story-plate { transform: translate3d(-50%, -50%, 0); transform-origin: 50% 50%; backface-visibility: hidden; }
.story-app { transform: translate3d(-50%, -50%, 0) scale(0.94); opacity: 0; will-change: transform, opacity; }
.story-cap { transform: translateX(-50%); }
.story-cap > div { transition: none; }
.story .story-cap { display: grid; }
.story .story-cap .cap-a, .story .story-cap .cap-b { display: block; grid-area: 1 / 1; }
.story .story-cap .cap-b { opacity: 0; }
.story.opened .cap-a { display: block; }
.story.opened .cap-b { display: block; }

/* 3. Layout: one container, centred headings, even rhythm. */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section > .container > h2, .section > .container > .lede, .safe-head h2, .safe-head .lede, .faq-split > h2 { text-align: center; }
.section > .container > h2 { margin-left: auto; margin-right: auto; }
.section > .container > .lede, .safe-head .lede { margin-left: auto; margin-right: auto; }
.steps-track { margin-top: 44px; }
.step { text-align: left; }
.split { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
.split > div:first-child { max-width: 680px; }
.split .lede { margin-left: auto; margin-right: auto; }
.split .room-list { text-align: left; max-width: 520px; margin-left: auto; margin-right: auto; }
.room-pair, .monitor-section .room-pair { grid-template-columns: 1fr 1fr; width: 100%; max-width: 1040px; }
.faq-split { display: block; max-width: 820px; }
.faq-split > h2 { margin-bottom: 28px; }
.safe-panel { margin: 0 auto; }
.safe-head { text-align: center; }
.safe-list { margin-left: auto; margin-right: auto; }
.trust { justify-items: stretch; }
.footer-inner { justify-content: space-between; }
.download-band .container { display: flex; flex-direction: column; align-items: center; }
.hero-card { left: max(16px, calc((100% - 1160px) / 2 + 24px)); }
@media (max-width: 1000px) {
  .hero-card { left: auto; margin: -14px auto 0; width: calc(100% - 32px); max-width: 560px; }
  .hero-card .mode-bar { justify-content: center; }
}
@media (max-width: 640px) {
  .room-pair, .monitor-section .room-pair { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .story .story-cap .cap-a { display: block; opacity: 1; }
  .story .story-cap .cap-b { display: none; }
  .story-app { opacity: 1; transform: none; }
  .story-plate { transform: none; }
  .story .story-cap { transform: none; left: auto; }
}
.no-story .story-cap { display: block; }
.no-story .story-cap .cap-a { display: none; }
.no-story .story-cap .cap-b { display: block; opacity: 1; }
.no-story .story-app { opacity: 1; transform: none; }
.no-story .story-plate { transform: none; }
.no-story .story-cap { transform: none; left: auto; margin-left: auto; margin-right: auto; }
.faq-split h2 { position: static; }
.safe-head { margin: 0 auto; }
.safe-list { max-width: 920px; }
