/* Bookling website: the app's paper, ink and walnut, with a night mode that follows the lamp switch
   (or the system setting until it's used). No web fonts: Iowan Old Style ships with every iPhone and Mac. */

:root {
  --paper: #f7f2e8;
  --paper-2: #efe7d8;
  --card: #fffdf8;
  --ink: #29211c;
  --ink-2: #4a3f37;
  --muted: #6e6359;
  --accent: #8d542a;
  --accent-ink: #fffaf2;
  --gold: #b9853f;
  --line: rgba(41, 33, 28, 0.12);
  --line-strong: rgba(41, 33, 28, 0.22);
  --shadow: 0 1px 2px rgba(41, 33, 28, 0.06), 0 12px 32px -12px rgba(41, 33, 28, 0.22);
  --shadow-lg: 0 2px 6px rgba(41, 33, 28, 0.08), 0 40px 80px -30px rgba(41, 33, 28, 0.42);
  --night: #171310;
  --night-2: #221c17;
  --night-ink: #f0e8db;
  --night-muted: #b3a797;
  --glow: rgba(242, 178, 102, 0.22);
  --room-shadow: drop-shadow(0 30px 40px rgba(41, 33, 28, 0.25));
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --radius: 22px;
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171310;
    --paper-2: #1e1914;
    --card: #241e18;
    --ink: #f0e8db;
    --ink-2: #ddd2c2;
    --muted: #b3a797;
    --accent: #e0a865;
    --accent-ink: #1d1712;
    --gold: #d9a85e;
    --line: rgba(240, 232, 219, 0.12);
    --line-strong: rgba(240, 232, 219, 0.22);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 40px 90px -30px rgba(0, 0, 0, 0.85);
    --room-shadow: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #171310;
  --paper-2: #1e1914;
  --card: #241e18;
  --ink: #f0e8db;
  --ink-2: #ddd2c2;
  --muted: #b3a797;
  --accent: #e0a865;
  --accent-ink: #1d1712;
  --gold: #d9a85e;
  --line: rgba(240, 232, 219, 0.12);
  --line-strong: rgba(240, 232, 219, 0.22);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  --room-shadow: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  color-scheme: dark;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.6s ease, color 0.6s ease;
}
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* Chapter marks, like the running head of a book */
.eyebrow {
  display: block;
  font: italic 400 19px/1.3 var(--serif);
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow .numeral { font-style: normal; letter-spacing: 0.04em; }

.section { padding: 112px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 18px; }
.section-head p { font-size: 19px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px 11px 18px; border-radius: 14px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  transition: background-color 0.2s ease;
}
.appstore:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.appstore svg { width: 26px; height: 26px; fill: currentColor; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; }
.appstore small { font-size: 11.5px; opacity: 0.8; letter-spacing: 0.02em; }
.appstore strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.6s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 23px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.wordmark img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 10px 16px; font-size: 14.5px; border-radius: 11px; }

.lamp-toggle {
  width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.lamp-toggle:hover { background: var(--paper-2); }
.lamp-toggle svg { width: 20px; height: 20px; }
.lamp-toggle .glow { opacity: 0; transition: opacity 0.4s ease; }
:root[data-theme="dark"] .lamp-toggle .glow { opacity: 0.25; }
:root[data-theme="dark"] .lamp-toggle { color: var(--gold); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lamp-toggle .glow { opacity: 0.25; }
  :root:not([data-theme="light"]) .lamp-toggle { color: var(--gold); }
}

.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 24px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr); gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 68px); letter-spacing: -0.02em; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 33em; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px 16px; margin-bottom: 18px; }
.hero-cta .btn { min-height: 55px; padding: 0 26px; font-size: 16.5px; }
.hero-note { font-size: 14.5px; color: var(--ink-2); }

/* The hive: all six rooms, tiled like a honeycomb (each room's outline is an iso hexagon) */
.hive-wrap { position: relative; margin-right: calc(-1 * min(110px, max(0px, (100vw - var(--wrap)) / 2))); }
.hive { position: relative; list-style: none; margin: 0; padding: 0; aspect-ratio: 2.46 / 2.323; }
.hive li { position: absolute; width: 40.65%; height: 42.5%; }
.hive li:nth-child(1) { left: 0; top: 0; }
.hive li:nth-child(2) { left: 39.55%; top: 0; }
.hive li:nth-child(3) { left: 19.78%; top: 28.76%; }
.hive li:nth-child(4) { left: 59.33%; top: 28.76%; }
.hive li:nth-child(5) { left: 0; top: 57.52%; }
.hive li:nth-child(6) { left: 39.55%; top: 57.52%; }
.hive a { position: absolute; inset: 0; display: block; border-radius: 0; clip-path: polygon(50% 2%, 97% 26%, 97% 70%, 50% 94%, 3% 70%, 3% 26%); }
.hive a:focus-visible { outline: none; }
.hive a:focus-visible img { filter: brightness(1.08); }
.hive img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.9s ease calc(var(--i) * 110ms), filter 0.35s ease; }
.hive .night { opacity: 0; }
.is-night .hive .night { opacity: 1; }
.is-night .hive .day { opacity: 0; }
.hive:hover li:not(:hover) img, .hive:focus-within li:not(:focus-within) img { filter: brightness(0.62) saturate(0.85); }
.cell-name {
  position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%);
  padding: 7px 13px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  font: 600 14px/1 var(--sans); background: var(--ink); color: var(--paper);
  opacity: 0; transition: opacity 0.25s ease;
}
.hive a:hover .cell-name, .hive a:focus-visible .cell-name { opacity: 1; }
.hive-note { position: absolute; right: 0; bottom: 9%; width: 18%; text-align: right; font: italic 400 17px/1.4 var(--serif); color: var(--muted); }
.hive-wrap .daynight { position: absolute; right: 0; top: 7%; z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .hive li { animation: settle 0.8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(120ms + var(--i) * 90ms); }
  @keyframes settle { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
}

.phone {
  position: relative; border-radius: 15% / 7%; padding: 2.6%;
  background: #221d19;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 12.5% / 5.8%; width: 100%; }
.phone::after { /* side button */
  content: ""; position: absolute; right: -1.6%; top: 22%; width: 1.6%; height: 9%;
  background: #2a241f; border-radius: 0 3px 3px 0;
}

.daynight {
  position: absolute; right: 2%; top: 2%; z-index: 2;
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow);
}
.daynight button {
  border: 0; background: transparent; cursor: pointer; padding: 7px 14px; border-radius: 999px;
  font: 600 13px/1 var(--sans); color: var(--muted); display: inline-flex; align-items: center; gap: 6px;
  transition: background-color 0.3s, color 0.3s;
}
.daynight button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.daynight svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Trust strip ---------- */

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color 0.6s ease; }
.strip p { padding: 22px 24px; text-align: center; font: 400 19px/1.5 var(--serif); color: var(--ink-2); }
.strip p b { font-weight: 600; color: var(--ink); }
.strip .sep { color: var(--gold); padding: 0 0.55em; }

/* ---------- Steps ---------- */

.how-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 80px; align-items: center; }
.how-phone .phone { width: min(300px, 82%); margin: 0 auto; }
.steps { display: grid; grid-template-columns: 1fr; gap: 28px; counter-reset: step; }
.step { display: grid; grid-template-columns: 52px 1fr; column-gap: 6px; }
.step .num { grid-row: span 2; padding-top: 4px; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line-strong); }
#how .section-head { margin-bottom: 36px; }
.step .num { font: italic 400 22px/1 var(--serif); color: var(--accent); margin-bottom: 14px; display: block; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Feature rows ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature + .feature { margin-top: 128px; }
.feature.flip .feature-media { order: 2; }
.feature-copy h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.feature-copy > p { font-size: 18.5px; color: var(--muted); margin-bottom: 26px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16.5px; }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.8em; width: 14px; height: 1.5px; background: var(--gold); }
.feature-media { position: relative; }
.media-card { position: relative; border-radius: 28px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.pro-tag {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: 2px;
  padding: 3px 8px; border-radius: 999px; margin-left: 6px;
  font: 700 10.5px/1.2 var(--sans);
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
}

/* Phones inside features */
.phones { position: relative; display: flex; justify-content: center; gap: 22px; }
.phones .phone { width: min(300px, 46%); }
.phones .phone:nth-child(2) { margin-top: 64px; }
.media-glow { display: none; }

/* ---------- The live shelf ---------- */

.shelf-demo {
  border-radius: 28px; padding: 26px 26px 22px; overflow: hidden;
  background: #52311d;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 18px 24px -18px rgba(0, 0, 0, 0.5);
}
.shelf-wall { background: #27382c; border-radius: 10px; padding: 18px 14px 0; box-shadow: inset 0 10px 24px rgba(0, 0, 0, 0.45); }
.shelf-row {
  position: relative; display: flex; align-items: flex-end; gap: 2px; height: 172px; padding: 0 6px;
}
.shelf-row + .shelf-row { margin-top: 18px; }
.shelf-row::after { /* the plank */
  content: ""; position: absolute; left: -14px; right: -14px; bottom: -14px; height: 14px;
  background: #6a4026; border-bottom: 3px solid #3d2414;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.35);
}
.shelf-demo { --s: 1; }
.spine {
  position: relative; flex: none; border-radius: 3px 3px 1px 1px;
  width: calc(var(--w) * var(--s) * 1px); height: calc(var(--h) * 1%);
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; transform-origin: bottom center;
  font: 600 calc(11px * (0.6 + 0.4 * var(--s)))/1 var(--serif); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden;
  color: #f3e6c8;
  background: var(--c);
  box-shadow: inset 3px 0 0 rgba(0, 0, 0, 0.22), inset -2px 0 0 rgba(0, 0, 0, 0.18), inset 0 -2px 0 rgba(0, 0, 0, 0.2), 1px 0 1px rgba(0, 0, 0, 0.35);
  transition: transform 0.7s cubic-bezier(.2, .8, .2, 1);
}
.spine.lt { color: #3d2c1d; --band: rgba(110, 72, 30, 0.6); }
.spine::before, .spine::after { /* gilt bands */
  content: ""; position: absolute; left: 3px; right: 3px; height: 2px; background: var(--band, rgba(232, 196, 120, 0.75));
}
.spine::before { top: 10px; box-shadow: 0 5px 0 var(--band, rgba(232, 196, 120, 0.75)); }
.spine::after { bottom: 10px; }
.spine span { padding: 18px 0; max-height: 100%; overflow: hidden; text-overflow: ellipsis; }
.spine.lean { transform: rotate(-9deg) translateX(-6px); margin-left: 12px; }
.shelf-decor { flex: none; align-self: flex-end; margin: 0 8px; }
.shelf-decor img { height: 120px; width: auto; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.4)); }
.shelf-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.shelf-controls button {
  border: 0; cursor: pointer; padding: 9px 14px; border-radius: 999px;
  font: 600 13px/1 var(--sans); color: #f0e8db; background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.25s;
}
.shelf-controls button:hover { background: rgba(255, 255, 255, 0.18); }
.shelf-controls button[aria-pressed="true"] { background: #f0e8db; color: #2a1d14; }
.shelf-caption { margin-top: 14px; color: rgba(240, 232, 219, 0.68); font-size: 13.5px; }

/* Reading: the Live Activity and the session cards beside the phone */
.live-stack { display: flex; flex-direction: column; gap: 14px; width: min(290px, 50%); margin-top: 40px; }
.live-activity {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center;
  padding: 14px 16px; border-radius: 26px; background: #0d0b0a; color: #f5efe6;
  box-shadow: var(--shadow-lg);
}
.live-activity b { display: block; font: 600 16px/1.2 var(--serif); }
.live-activity small { font-size: 12px; color: #b3a797; }
.live-activity .clock { font: 600 22px/1 var(--sans); font-variant-numeric: tabular-nums; color: #e0a865; }
.la-buttons { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.la-buttons span { text-align: center; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 13px; font-weight: 600; }
.la-buttons span:last-child { background: #e0a865; color: #1d1712; }
.cloth.sm { width: 34px; height: 48px; border-radius: 4px; }
.cloth.sm::before { inset: 4px; border-width: 1px; }
.cloth.sm::after { width: 7px; height: 7px; border-width: 1px; }
.timer-card { padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.timer-card b { display: block; font: 600 15px/1.2 var(--serif); margin-bottom: 10px; }
.timer-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.timer-chips span { padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--paper-2); color: var(--ink-2); display: inline-flex; align-items: center; }
.timer-chips span.on { background: var(--accent); color: var(--accent-ink); }
.timer-chips .pro-tag { margin-left: 4px; padding: 2px 5px; font-size: 9px; }

/* ---------- Keepsakes ---------- */

.cabinet-groups { display: grid; gap: 40px; }
.cabinet-group-row { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; }
.cabinet-title { font: italic 400 19px/1.2 var(--serif) !important; color: #e0a865; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.cabinet-title::after { content: ""; flex: 1; height: 1px; background: rgba(240, 232, 219, 0.12); }

.cabinet-case { margin-top: 8px; padding: 40px 36px 34px; border-radius: 28px; background: #15110e; box-shadow: var(--shadow-lg); color: #f0e8db; --muted: #c9bdad; --ink: #f0e8db; --line: rgba(240, 232, 219, 0.12); --accent: #e0a865; }

.cabinet { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.keepsake {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 14px 18px; border-radius: 20px; cursor: default;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 232, 219, 0.08);
  transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}
.keepsake:hover, .keepsake:focus-within { border-color: rgba(224, 168, 101, 0.4); }
.keepsake .art { height: 108px; display: grid; place-items: end center; margin-bottom: 14px; }
.keepsake img { max-height: 108px; width: auto; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5)); transition: transform 0.4s ease; }
.keepsake h3 { font-size: 17px; margin-bottom: 4px; color: #f0e8db; min-height: 2.24em; display: flex; align-items: flex-end; justify-content: center; }
.keepsake p { font-size: 13px; line-height: 1.4; color: #c9bdad; }
.cabinet-note { margin-top: 26px; color: #c9bdad; font-size: 15px; text-align: center; }

.keepsake-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; margin-bottom: 80px; }
.keepsake-hero .phone { width: min(320px, 80%); margin: 0 auto; }

/* ---------- Day & night, seasons ---------- */

.compare { position: relative; border-radius: 28px; overflow: hidden; background: var(--night); box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare-stage { position: relative; aspect-ratio: 1400 / 1352; padding: 4%; background: linear-gradient(90deg, #efe6d6 var(--split, 50%), #171310 var(--split, 50%)); cursor: ew-resize; }
.compare-stage img { padding: 5%; }
.compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-stage .night-layer { clip-path: inset(0 0 0 var(--split, 50%)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 0; z-index: 2; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255, 248, 235, 0.9); box-shadow: 0 0 12px rgba(0, 0, 0, 0.3); }
.compare-knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: ew-resize;
  background: #fff8eb; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: grid; place-items: center;
}
.compare-knob svg { width: 26px; height: 26px; fill: #2a1d14; }
.compare-labels { position: absolute; inset: auto 18px 16px; display: flex; justify-content: space-between; pointer-events: none; font: 600 13px/1 var(--sans); }
.compare-labels span { padding: 7px 11px; border-radius: 999px; background: rgba(23, 19, 16, 0.55); color: #f0e8db; }

.season-card { margin-top: 26px; display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.season-card img { border-radius: 14px; background: #f1e9db; }
.season-card h3 { font-size: 21px; margin-bottom: 6px; }
.season-card p { font-size: 15px; color: var(--muted); }

/* ---------- Rooms ---------- */

.room-picker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.room-picker button {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 14px; cursor: pointer;
  border: 0; border-radius: 18px; background: transparent; color: var(--muted);
  font: 600 14px/1.2 var(--sans); box-shadow: inset 0 0 0 1px transparent;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.room-picker img { width: 100%; max-width: 150px; transition: filter 0.25s ease; filter: saturate(0.75) brightness(0.85); }
.room-picker button:hover { color: var(--ink); }
.room-picker button:hover img { filter: none; }
.room-picker button[aria-selected="true"] { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-strong); }
.room-picker button[aria-selected="true"] img { filter: none; }
.room-view { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; align-items: center; }
.stage { position: relative; margin: 0; border-radius: 30px; overflow: hidden; background: #1b1510; box-shadow: var(--shadow-lg); }
.stage video { display: block; width: 100%; height: auto; aspect-ratio: 720 / 852; }
.stage { display: flex; flex-direction: column; align-items: center; padding-bottom: 22px; }
.modes {
  margin-top: -14px;
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: #2a231d; box-shadow: inset 0 0 0 1px rgba(240, 232, 219, 0.1);
}
.modes button { border: 0; background: transparent; cursor: pointer; padding: 8px 16px; border-radius: 999px; font: 600 14px/1 var(--sans); color: #c9bdad; transition: background-color 0.25s, color 0.25s; }
.modes button:hover { color: #f0e8db; }
.modes button[aria-pressed="true"] { background: #f0e8db; color: #1d1712; }
.modes button[hidden] { display: none; }
.stage-cap { margin-top: 12px; padding: 0 24px; text-align: center; font: italic 400 15.5px/1.35 var(--serif); color: #c9bdad; }
.room-panel[hidden] { display: none; }
.room-tier { font: italic 400 18px/1.2 var(--serif) !important; color: var(--accent) !important; margin-bottom: 10px !important; }
.room-copy h3 { font-size: clamp(34px, 3.8vw, 48px); margin-bottom: 14px; }
.room-copy .tagline { font: italic 400 21px/1.45 var(--serif); color: var(--ink); margin-bottom: 18px; }
.room-copy p { color: var(--muted); margin-bottom: 22px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); }
.chip svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rooms-note { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* ---------- Paintings ---------- */

.gallery { display: flex; gap: 22px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.frame {
  position: relative; padding: 12px; border-radius: 4px;
  background: #b48743;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 4px #c99a52, inset 0 0 0 5px rgba(0, 0, 0, 0.25);
}
.frame img { height: 170px; width: auto; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 0 3px #2b1e12; }
.frame.tall img { height: 210px; }
.frame figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 12px); text-align: center; font-size: 12.5px; line-height: 1.35; color: var(--muted); opacity: 0; transition: opacity 0.3s; }
.frame:hover figcaption, .frame:focus-within figcaption { opacity: 1; }
.frame figcaption em { font-family: var(--serif); font-size: 14px; color: var(--ink); display: block; }
.gallery-note { margin-top: 70px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Journal (stats) ---------- */

.journal {
  border-radius: 28px; padding: 30px 30px 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.journal-year { font: 600 40px/1 var(--serif); display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.journal-year small { font: italic 400 15px/1.2 var(--serif); color: var(--muted); display: block; margin-bottom: 8px; }
.journal-tabs { display: flex; gap: 14px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.journal-tabs::-webkit-scrollbar { display: none; }
.journal-tabs button { flex: none; border: 0; background: transparent; cursor: pointer; padding: 0 0 10px; font: 500 14.5px/1 var(--serif); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.journal-tabs button i { font: 500 10px/1 var(--serif); font-style: normal; opacity: 0.8; }
.journal-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.journal-page[hidden] { display: none; }
.journal-page .chapter { font: italic 400 16px/1.2 var(--serif); color: var(--accent); margin-bottom: 8px; }
.journal-page h4 { font-size: 26px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.journal-page .big { font: 400 22px/1.4 var(--serif); margin-bottom: 18px; }
.journal-page .big b { color: var(--accent); font-weight: 600; }
.journal-page .small { font-size: 14px; color: var(--muted); }
.mini-spines { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding: 0 2px; border-bottom: 6px solid #7a4b2b; margin-bottom: 10px; }
.mini-spines i { flex: 1; border-radius: 2px 2px 0 0; box-shadow: inset -2px 0 3px rgba(0, 0, 0, 0.18); }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 6px; height: 130px; margin-bottom: 8px; }
.bars i { display: block; background: var(--accent); border-radius: 4px 4px 0 0; opacity: 0.85; }
.bars-labels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; text-align: center; font-size: 11px; color: var(--muted); }
.ring-row { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; }
.ring { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--paper-2) 0); display: grid; place-items: center; }
.ring::after { content: attr(data-label); width: 88px; height: 88px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font: 600 22px/1 var(--serif); }
.cabinet-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 10px; align-items: end; justify-items: center; padding: 16px 12px; margin-bottom: 14px; border-radius: 14px; background: #241b15; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3); }
.cabinet-mini img { height: 62px; width: auto; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.5)); }
.cabinet-mini img.locked { filter: brightness(0) opacity(0.35); }
.genre-bars { display: grid; gap: 10px; }
.genre-bars div { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.genre-bars i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--w), var(--paper-2) var(--w)); }
.plaques { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plaques div { padding: 14px; border-radius: 14px; text-align: center; background: color-mix(in srgb, var(--gold) 9%, var(--card)); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.plaques small { display: block; font: 500 12.5px/1.2 var(--sans); color: var(--muted); margin-bottom: 8px; }
.plaques b { display: block; font: 600 18px/1.2 var(--serif); }
.plaques span { font-size: 13px; color: var(--muted); }
.heat { display: grid; grid-template-columns: repeat(18, 1fr); gap: 4px; margin: 6px 0 10px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: var(--paper-2); }
.heat i[data-l="1"] { background: color-mix(in srgb, var(--accent) 30%, var(--paper-2)); }
.heat i[data-l="2"] { background: color-mix(in srgb, var(--accent) 60%, var(--paper-2)); }
.heat i[data-l="3"] { background: var(--accent); }

/* ---------- Discover, friends cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; }
.mini-card { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.mini-card h3 { font-size: 21px; margin-bottom: 8px; }
.mini-card p { font-size: 16px; color: var(--muted); max-width: 34em; }

.visit { position: relative; border-radius: 28px; overflow: hidden; padding: 84px 6% 6%; background: #171310; box-shadow: var(--shadow-lg); }
.visit img { width: 100%; }
.visit-bar { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(36, 30, 24, 0.72); color: #f0e8db; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 18px/1 var(--serif); color: #fff; background: #9a6436; }
.visit-bar b { font: 600 18px/1.2 var(--serif); display: block; }
.visit-bar small { font-size: 12.5px; color: #b3a797; }
.visit-bar .dots { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); letter-spacing: 1px; font-weight: 700; }

/* ---------- Also in Bookling ---------- */

.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; align-items: start; }
.also-media { height: 300px; margin-bottom: 26px; display: flex; align-items: center; }
.also-media > * { width: 100%; }
.also-item h3 { font-size: 24px; margin-bottom: 10px; }
.also-item h3 .pro-tag { vertical-align: 4px; }
.also-item > p { color: var(--ink-2); font-size: 16px; }
.also-item > .also-fine { color: var(--muted); font-size: 14.5px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.visit-sm { height: 100%; padding: 70px 8% 4%; border-radius: 24px; display: flex; align-items: center; justify-content: center; }
.visit-sm img { width: auto; max-height: 100%; }
.visit-sm .visit-bar { left: 12px; right: 12px; top: 12px; padding: 10px 12px; }
.ask-card { height: 100%; border-radius: 24px; padding: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.ask-q { font: italic 400 20px/1.3 var(--serif); color: var(--ink); padding-bottom: 14px; margin-bottom: 6px !important; border-bottom: 1px solid var(--line); }
.ask-card ul { list-style: none; margin: 0; padding: 0; display: grid; }
.ask-card li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ask-card li:last-child { border: 0; padding-bottom: 0; }
.ask-card b { display: block; font: 600 15.5px/1.25 var(--serif); color: var(--ink); }
.ask-card small { font-size: 12.5px; color: var(--muted); }
.also .widgets-sm { height: 100%; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; grid-auto-rows: auto; gap: 12px; }
.also .widgets-sm .widget.wide { grid-column: span 2 !important; }
.also .widgets-sm .widget { border-radius: 22px; padding: 16px; }
.also .widgets-sm .widget.wide { grid-column: span 2; }
.also .widgets-sm .goal { justify-content: center; }
.also .widgets-sm .goal .ring { width: 84px; height: 84px; }
.also .widgets-sm .goal .ring::after { width: 64px; height: 64px; }
.also .widgets-sm .q { font-size: 14px; }

/* ---------- Widgets ---------- */

.widgets { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 18px; }
.widget { border-radius: 26px; padding: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.widget.paper { background: #f7f2e8; color: #29211c; }
.widget.walnut { background: #2b1f17; color: #f0e8db; }
.widget.wide { grid-column: span 2; }
.widget .q { font: italic 400 16px/1.38 var(--serif); }
.widget .q::before { content: "\201C"; display: block; font: 700 30px/0.7 var(--serif); color: #8d542a; margin-bottom: 8px; }
.widget.walnut .q::before { color: #e0a865; }
.widget .src { position: absolute; left: 18px; bottom: 16px; font-size: 12px; line-height: 1.3; }
.widget .src b { display: block; color: #8d542a; font-weight: 600; }
.widget.walnut .src b { color: #e0a865; }
.widget .src span { opacity: 0.65; }
.widget.room { padding: 0; background: #171310; }
.widget.room img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.widget .label { font: 600 12px/1.2 var(--sans); color: #e0a865; margin-bottom: 6px; }
.widget.paper .label { color: #8d542a; }
.widget .title { font: 600 20px/1.15 var(--serif); }
.widget .by { font-size: 13px; opacity: 0.7; margin-top: 2px; }
.widget .progress { position: absolute; left: 18px; right: 18px; bottom: 18px; font-size: 11.5px; opacity: 0.85; }
.widget .progress i { display: block; height: 5px; border-radius: 4px; background: rgba(127, 110, 95, 0.25); margin-bottom: 6px; overflow: hidden; }
.widget .progress i::after { content: ""; display: block; height: 100%; width: var(--w, 40%); background: currentColor; border-radius: 4px; color: #8d542a; }
.widget.walnut .progress i::after { color: #e0a865; }
.widget .row { display: flex; gap: 14px; height: 100%; }
.cloth { flex: none; width: 82px; border-radius: 6px; position: relative; background: var(--c, #6b2226); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); }
.cloth::before { content: ""; position: absolute; inset: 7px; border: 1.5px solid rgba(232, 196, 120, 0.8); border-radius: 2px; }
.cloth::after { content: ""; position: absolute; left: 50%; top: 40%; width: 14px; height: 14px; border: 1.5px solid rgba(232, 196, 120, 0.85); transform: translate(-50%, -50%) rotate(45deg); }
.widget .goal { display: flex; align-items: center; gap: 14px; height: 100%; }
.widget .goal .ring { width: 92px; height: 92px; background: conic-gradient(#e0a865 calc(var(--p) * 1%), rgba(240, 232, 219, 0.12) 0); }
.widget .goal .ring::after { width: 70px; height: 70px; background: #2b1f17; font-size: 19px; color: #f0e8db; }
.widget.paper .goal .ring { background: conic-gradient(#8d542a calc(var(--p) * 1%), rgba(41, 33, 28, 0.1) 0); }
.widget.paper .goal .ring::after { background: #f7f2e8; color: #29211c; }
.lock-widgets { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.lock { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); box-shadow: var(--shadow); }
.lock svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Video share ---------- */

.reel { position: relative; width: min(300px, 70%); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #171310; box-shadow: var(--shadow-lg); }
.reel img { position: absolute; left: 50%; top: 50%; width: 175%; max-width: none; transform: translate(-50%, -50%); animation: reel-pan 14s ease-in-out infinite alternate; }
.reel .reel-night { opacity: 0; animation: reel-pan 14s ease-in-out infinite alternate, reel-dusk 14s ease-in-out infinite alternate; }
.reel-top { position: absolute; left: 0; right: 0; top: 0; padding: 22px 20px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); color: #fff; }
.reel-top b { display: block; font: 600 22px/1.15 var(--serif); }
.reel-top small { font-size: 13px; opacity: 0.85; }
.reel-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); color: #fff; display: flex; justify-content: space-between; align-items: flex-end; font-size: 13px; }
.reel-bottom b { font: 600 32px/1 var(--serif); display: block; }
.reel-mark { font: 600 14px/1 var(--serif); opacity: 0.8; }
@keyframes reel-pan { from { transform: translate(-46%, -50%) scale(1); } to { transform: translate(-56%, -52%) scale(1.08); } }
@keyframes reel-dusk { 0%, 40% { opacity: 0; } 70%, 100% { opacity: 1; } }

/* ---------- Import ---------- */

.import-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.file { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.file .name { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; }
.file .name svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.file ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); display: grid; gap: 6px; }
.file ul li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.file ul li:last-child { border: 0; padding: 0; }
.arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.import-target { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.import-target img { width: 56%; filter: var(--room-shadow); }
.import-target b { font-family: var(--serif); font-size: 18px; }
.import-target small { color: var(--muted); font-size: 13.5px; }

/* ---------- Privacy band ---------- */

.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.privacy-grid .section-head { margin-bottom: 0; }
.privacy-grid .section-head h2 { font-size: clamp(34px, 3.6vw, 44px); }
.privacy-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 40px; }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 30px 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.free { background: transparent; box-shadow: none; border: 1.5px dashed var(--line-strong); }
.plan.pro { border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--gold) 7%, var(--card)); }
.plan h3 { font-size: 28px; margin-bottom: 6px; }
.plan .sub { font-size: 15px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 22px; }
.price b { font: 600 52px/1 var(--serif); letter-spacing: -0.02em; }
.price span { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.plan ul li { position: relative; padding-left: 26px; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.5 2.5L11 4' fill='none' stroke='%23b9853f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.pro-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pro-badge { font: italic 400 19px/1 var(--serif); color: var(--accent); }
.price-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 26px; }
.tile { position: relative; padding: 20px 18px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-strong); }
.tile.best { background: var(--card); border: 1px solid var(--accent); }
.tile-name { font: 600 17px/1 var(--serif); color: var(--muted); margin-bottom: 12px !important; }
.tile-price { color: var(--muted); font-size: 14px; margin-bottom: 8px !important; }
.tile-price b { font: 600 32px/1 var(--serif); color: var(--ink); letter-spacing: -0.02em; }
.tile-note { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.tile-note strong { color: var(--accent); }
.plan ul.pro-list { grid-template-columns: 1fr 1fr; gap: 16px 26px; }
.pro-list b { display: block; font: 600 17px/1.3 var(--serif); color: var(--ink); margin-bottom: 2px; }
.pro-list span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }
.plans-foot { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--muted); max-width: 760px; margin-left: auto; margin-right: auto; }

.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); font-size: 15.5px; }
.compare-table thead th:first-child { width: auto; }
.compare-title { font-size: 30px; margin: 80px 0 20px; }
.compare-table th, .compare-table td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table thead th { font: 600 14.5px/1 var(--sans); color: var(--muted); background: var(--paper-2); }
.compare-table tbody th { font-weight: 500; color: var(--ink); }
.compare-table tbody th small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 2px; }
.compare-table td { width: 140px; text-align: center; color: var(--muted); font-size: 14px; }
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table .group th { background: var(--paper-2); font: 600 15px/1 var(--serif); color: var(--accent); padding-top: 13px; padding-bottom: 13px; }
.yes, .no { display: inline-block; width: 20px; height: 20px; vertical-align: middle; }
.yes { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23b9853f' fill-opacity='.18'/%3E%3Cpath d='M5.8 10.3l2.7 2.7 5.6-6' fill='none' stroke='%23b9853f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.no { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' stroke='%23998b7d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0.7; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 20px/1.35 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 16.5px; }
.faq .answer p + p { margin-top: 10px; }
.faq-cat { font: italic 400 19px/1.2 var(--serif); color: var(--accent) !important; color: var(--muted); padding: 34px 0 10px; }
.faq-cat:first-child { padding-top: 6px; }

/* ---------- Final call ---------- */

.finale { position: relative; overflow: hidden; text-align: center; padding: 112px 0 0; border-top: 1px solid var(--line); }
.finale h2 { font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 18px; }
.finale p { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 auto 32px; }
.finale { padding-bottom: 24px; }
.finale-room { position: relative; width: min(720px, 100%); margin: 48px auto 0; aspect-ratio: 1400 / 1352; }
.finale-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.9s ease; }
.finale-room .night { opacity: 0; }
.is-night .finale-room .night { opacity: 1; }
.is-night .finale-room .day { opacity: 0; }
.signup { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.finale .finale-notify { padding: 17px 24px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14.5px; color: var(--muted); transition: background-color 0.6s ease; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer h4 { font: 600 15px/1.2 var(--sans); color: var(--ink); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .about { max-width: 30em; margin-top: 14px; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ---------- Document pages (privacy, support) ---------- */

.doc-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(40px, 5.4vw, 60px); margin-bottom: 14px; }
.doc-hero p { font-size: 19px; color: var(--muted); max-width: 36em; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 56px 0 96px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc b { display: block; font: italic 400 17px/1.2 var(--serif); color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; border-left: 1px solid var(--line); }
.toc a { display: block; padding-left: 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--accent); }
.doc { max-width: 720px; }
.doc section + section { margin-top: 44px; }
.doc h2 { font-size: 28px; margin-bottom: 12px; }
.doc h3 { font-size: 20px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 12px 0 0; }
.doc li + li { margin-top: 8px; }
.summary-box { padding: 24px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 44px; }
.summary-box h2 { font-size: 22px !important; margin-bottom: 14px !important; }
.summary-box ul { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.summary-box li { position: relative; padding-left: 26px; font-size: 15.5px !important; margin: 0 !important; }
.summary-box li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.5 2.5L11 4' fill='none' stroke='%23b9853f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.processors { display: grid; gap: 12px; margin-top: 14px; }
.processor { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 15.5px; }
.processor b { font-family: var(--serif); font-size: 17px; }
.processor span { color: var(--ink-2); }

.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 56px; }
.contact-card h2 { font-size: 26px; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 16px; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 56px; }
.topic { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.2s ease, border-color 0.2s; }
.topic:hover { border-color: var(--accent); }
.topic b { font: 600 18px/1.2 var(--serif); }
.topic span { font-size: 14px; color: var(--muted); }
.path { font-size: 0.92em; padding: 1px 7px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reel img, .reel .reel-night { animation: none; }
  .reel .reel-night { opacity: 1; }
  * { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .plans { grid-template-columns: 1fr; }
  .widgets { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: 68px; z-index: 40;
    flex-direction: column; gap: 0; padding: 8px 24px 20px; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border: 0; }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: 28px; }
  .hero-grid, .feature, .room-panel, .keepsake-hero, .faq-grid, .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .feature.flip .feature-media { order: 0; }
  .feature + .feature { margin-top: 96px; }
  .steps, .card-grid, .privacy-grid, .also, .how-grid, .room-view { grid-template-columns: 1fr; }
  .also { gap: 64px; max-width: 520px; }
  .privacy-grid { gap: 40px; }
  .how-grid { gap: 48px; }
  .room-view { gap: 32px; }
  .stage { max-width: 560px; margin: 0 auto; width: 100%; }
  .room-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hive-wrap { max-width: 640px; margin: 0 auto; width: 100%; order: -1; display: flex; flex-direction: column; }
  .hive-wrap .daynight { position: static; order: 2; align-self: center; margin-top: 10px; }
  .hive-note { order: 3; position: static; width: auto; text-align: center; margin-top: 10px; font-size: 15.5px; }
  .hive-wrap { margin-right: 0; }
  .hero-grid { gap: 28px; }
  .faq-grid .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc { display: none; }
  .import-flow { grid-template-columns: 1fr; justify-items: center; }
  .import-flow .arrow { transform: rotate(90deg); }
  .import-flow > * { width: 100%; max-width: 440px; }
  .compare-table td { width: 92px; padding: 13px 10px; }
  .compare-table th { padding: 13px 14px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .header-actions .btn { display: none; }
  .hero h1 { font-size: 44px; }
  .room-picker { gap: 6px; }
  .room-picker button { padding: 8px 4px 10px; font-size: 12.5px; }
  .modes button { padding: 7px 12px; font-size: 13px; }
  .stage-cap { font-size: 14px; }
  .cabinet-case { padding: 22px 12px 20px; border-radius: 22px; }
  .hero { padding-bottom: 56px; }
  .strip p { display: grid; gap: 6px; font-size: 17px; padding: 20px 16px; }
  .strip .sep { display: none; }
  .widgets, .privacy-band { grid-template-columns: 1fr; }
  .price-tiles { grid-template-columns: 1fr; gap: 16px; }
  .plan ul.pro-list { grid-template-columns: 1fr; }
  .plan { padding: 26px 20px 24px; }
  .widget.wide { grid-column: auto; }
  .widgets { grid-auto-rows: 160px; }
  .phones .phone:nth-child(2) { margin-top: 40px; }
  .shelf-demo { padding: 16px 12px 16px; border-radius: 22px; }
  .shelf-wall { padding: 14px 8px 0; }
  .shelf-demo { --s: 0.64; }
  .shelf-row { height: 132px; }
  .phones { flex-direction: column; align-items: center; }
  .phones .phone { width: 72%; }
  .live-stack { width: 100%; margin-top: -60px; position: relative; }
  .cabinet-group-row { grid-template-columns: 1fr; }
  .cabinet { gap: 10px; }
  .cabinet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cabinet .keepsake { padding: 14px 6px 12px; border-radius: 16px; }
  .keepsake .art { height: 72px; margin-bottom: 10px; }
  .keepsake img { max-height: 72px; }
  .keepsake h3 { font-size: 14.5px; }
  .keepsake p { font-size: 11.5px; }
  .cabinet-groups { gap: 30px; }
  .genre-bars div { grid-template-columns: 104px 1fr; }
  .shelf-decor img { height: 88px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .summary-box ul { grid-template-columns: 1fr; }
  .processor { grid-template-columns: 1fr; gap: 4px; }
  .frame img { height: 120px; }
  .frame.tall img { height: 150px; }
  .gallery { gap: 14px; }
  .room-pics .night-pic { width: 46%; right: 0; bottom: -10%; }
  .season-card { grid-template-columns: 96px 1fr; gap: 16px; }
  .compare-table { font-size: 14px; }
  .compare-table td { width: 64px; padding: 12px 6px; }
  .compare-table th { padding: 12px 10px; }
  .compare-table tbody th small { display: none; }
}

/* Press */
.facts { margin: 16px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 13.5px/1.9 var(--sans); color: var(--muted); }
.facts dd { margin: 0; color: var(--ink-2); font-size: 17px; }
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.press-grid.shots { grid-template-columns: repeat(5, 1fr); }
.press-grid.icons { grid-template-columns: 180px; }
.press-item { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.2s ease, border-color 0.2s; }
.press-item:hover { border-color: var(--accent); }
.press-item img { width: 100%; height: auto; border-radius: 10px; }
.press-grid.icons .press-item img { border-radius: 22%; }
.press-item span { font-size: 14px; color: var(--muted); }
.doc .btn { margin-top: 6px; }
@media (max-width: 720px) {
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .press-grid.shots { grid-template-columns: repeat(3, 1fr); }
}
