/* 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; }
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; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow .numeral { font-family: var(--serif); letter-spacing: 0.05em; font-size: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }

.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: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px var(--accent); }
.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: transform 0.2s ease;
}
.appstore:hover { transform: translateY(-1px); }
.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: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  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: 56px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  pointer-events: none; opacity: 0.0; transition: opacity 0.8s ease;
}
:root[data-theme="dark"] .hero::before { opacity: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero::before { opacity: 1; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 82px); 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: center; gap: 14px 18px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.2; }

.hero-visual { position: relative; aspect-ratio: 1 / 0.96; }
.hero-room { position: absolute; inset: 0 0 0 4%; }
.hero-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: var(--room-shadow); transition: opacity 0.9s ease; }
.hero-room .night { opacity: 0; }
.is-night .hero-room .night { opacity: 1; }
.is-night .hero-room .day { opacity: 0; }
.hero-phone { position: absolute; left: -4%; bottom: -6%; width: 34%; }

.phone {
  position: relative; border-radius: 15% / 7%; padding: 2.6%;
  background: linear-gradient(145deg, #3b342e, #14110e);
  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: color-mix(in srgb, var(--card) 85%, transparent); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.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); background: var(--paper-2); transition: background-color 0.6s ease; }
.strip ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.strip li strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); font-weight: 600; }
.strip li span { color: var(--muted); font-size: 13.5px; }
.strip svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--card); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; box-shadow: var(--shadow); }

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

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step .num { font: italic 600 46px/1 var(--serif); color: var(--gold); opacity: 0.9; margin-bottom: 18px; 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: 34px; color: var(--ink-2); font-size: 16.5px; }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%238d542a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.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); letter-spacing: 0.08em; text-transform: uppercase;
  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 { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(10px); pointer-events: none; }

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

.shelf-demo {
  border-radius: 28px; padding: 26px 26px 22px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 22%),
    linear-gradient(90deg, #4a2c1a, #5a3620 50%, #4a2c1a);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.shelf-wall { background: linear-gradient(180deg, #2c3d31, #23332a); 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: linear-gradient(180deg, #7a4b2b, #5b371f 60%, #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: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(255, 255, 255, 0.1) 28%, transparent 60%, rgba(0, 0, 0, 0.22)), var(--c);
  box-shadow: 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: 600 13px/1 var(--sans) !important; letter-spacing: 0.16em; text-transform: uppercase; 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); }

.night-section { background: radial-gradient(70% 40% at 70% 0%, rgba(224, 168, 101, 0.08), transparent 70%), #120f0c; border-top: 1px solid rgba(240, 232, 219, 0.06); border-bottom: 1px solid rgba(240, 232, 219, 0.06); color: var(--night-ink); --muted: var(--night-muted); --ink: var(--night-ink); --ink-2: #ddd2c2; --line: rgba(240, 232, 219, 0.12); --card: #221c17; --accent: #e0a865; --accent-ink: #1d1712; --paper: #171310; --paper-2: #1e1914; }
.night-section .ticks li::before { background-color: rgba(224, 168, 101, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23e0a865' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23e0a865' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23e0a865' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); } }

.cabinet { display: flex; flex-wrap: wrap; gap: 14px; }
.cabinet .keepsake { flex: 1 1 136px; max-width: 168px; }
.keepsake {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 14px 18px; border-radius: 20px; cursor: default;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  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 { transform: translateY(-4px); 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:hover img { transform: scale(1.06); }
.keepsake h3 { font-size: 17px; margin-bottom: 4px; color: #f0e8db; }
.keepsake p { font-size: 13px; line-height: 1.4; color: var(--night-muted); }
.cabinet-note { margin-top: 26px; color: var(--night-muted); 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 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.compare-labels span { padding: 7px 11px; border-radius: 999px; background: rgba(23, 19, 16, 0.55); color: #f0e8db; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.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-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.room-tabs button {
  border: 0; cursor: pointer; padding: 11px 18px; border-radius: 999px;
  font: 600 15px/1 var(--sans); color: var(--ink-2); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.room-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.room-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.room-panel[hidden] { display: none; }
.room-pics { position: relative; }
.room-pics img { width: 100%; filter: var(--room-shadow); }
.room-pics .night-pic { position: absolute; right: -4%; bottom: -8%; width: 44%; padding: 3%; border-radius: 22px; filter: none; background: radial-gradient(closest-side, #2a2018, #171310); box-shadow: var(--shadow-lg); border: 4px solid var(--card); }
.room-copy h3 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 14px; }
.room-copy .tagline { font: italic 400 20px/1.45 var(--serif); color: var(--accent); 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(--paper-2); 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 { text-align: center; margin-top: 64px; color: var(--muted); font-size: 15.5px; }

/* ---------- 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: linear-gradient(135deg, #c99a52, #8a5d24 45%, #d8ab63 70%, #8a5d24);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease;
}
.frame:hover { transform: translateY(-4px) rotate(-0.5deg); }
.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: 600 11px/1 var(--sans); letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; 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: 600 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; 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: linear-gradient(180deg, #2b211a, #1d1712); 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: linear-gradient(180deg, color-mix(in srgb, var(--gold) 16%, var(--card)), var(--card)); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.plaques small { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; 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: 18px; }
.mini-card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mini-card .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 13%, transparent); margin-bottom: 18px; }
.mini-card .icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini-card h3 { font-size: 21px; margin-bottom: 8px; }
.mini-card p { font-size: 15.5px; color: var(--muted); }

.visit { position: relative; border-radius: 28px; overflow: hidden; padding: 84px 6% 6%; background: radial-gradient(60% 55% at 45% 60%, rgba(242, 150, 70, 0.16), transparent 70%), #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: linear-gradient(135deg, #b77a45, #7c4a24); }
.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; }

/* ---------- 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: 700 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; 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: linear-gradient(90deg, rgba(0,0,0,.25), transparent 12%), 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 60px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent); 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: 70px 20px 20px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent); 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-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.privacy-band .mini-card { background: transparent; box-shadow: none; }

/* ---------- 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: 2px solid var(--accent); box-shadow: var(--shadow-lg); background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%), 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 { padding: 7px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.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(--paper-2); border: 1px solid var(--line); }
.tile.best { background: color-mix(in srgb, var(--accent) 10%, var(--card)); border: 1.5px solid var(--accent); }
.tile .ribbon { position: absolute; top: -11px; left: 18px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 10.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.tile-name { font: 600 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; 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 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; 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: 600 12.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; 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: 120px 0 0; background: radial-gradient(60% 50% at 50% 70%, rgba(242, 178, 102, 0.18), transparent 70%), var(--night); color: var(--night-ink); }
.finale h2 { font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 18px; }
.finale p { color: var(--night-muted); font-size: 19px; max-width: 34em; margin: 0 auto 32px; }
.finale .appstore { background: #f0e8db; color: #1d1712; }
.finale { padding-bottom: 24px; }
.finale img { width: min(720px, 100%); margin: 48px auto 0; }
.signup { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.finale .finale-notify { color: #f0e8db; box-shadow: inset 0 0 0 1px rgba(240, 232, 219, 0.3); padding: 17px 24px; }

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

.site-footer { background: var(--paper-2); 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 12.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; 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); background: var(--paper-2); }
.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: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; 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 { transform: translateY(-2px); 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; }
}

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

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .plans { grid-template-columns: 1fr; }
  .widgets { grid-template-columns: repeat(2, 1fr); }
  .privacy-band { grid-template-columns: repeat(2, 1fr); }
  .strip ul { 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; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .steps, .card-grid { grid-template-columns: 1fr; }
  .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; }
  .hero-phone { width: 36%; left: -2%; }
  .strip ul { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 20px 0; }
  .strip li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .strip li strong { font-size: 16px; }
  .strip li span { font-size: 12.5px; line-height: 1.35; display: block; }
  .hero { padding-bottom: 56px; }
  .hero-visual { margin-bottom: 8px; }
  .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 .keepsake { flex: 1 1 96px; max-width: none; padding: 14px 8px 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 12px/1.9 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; 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 { transform: translateY(-2px); 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); }
}
