/* Ho-Hum site. Warm Lamp tokens from designs/core-loop/v5/rooms.css.
   Day is the room's .is-day block; night is the room's lit (after-dark) block.
   The home page walks from day to night as you scroll: sections set their own
   ground with .day, .dusk or .night. Legal pages follow the reader's
   light or dark setting. Faces are self-hosted (OFL). */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-Italic-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root, .day {
  --ground: #f3e5d6; --ground-2: #fbf3e9; --glow: rgba(255, 210, 160, .6);
  --ink-1: #45202b; --ink-2: rgba(69, 32, 43, .8); --ink-3: rgba(69, 32, 43, .74);
  --rule: rgba(69, 32, 43, .13);
  --accent: #b2501f; --accent-ink: #9a4318; --on-accent: #fff7ef;
  --accent-soft: rgba(185, 84, 40, .12);
  --raised: #fffaf4; --raised-ink: #45202b;
  --raised-ink-2: rgba(69, 32, 43, .72); --raised-rule: rgba(69, 32, 43, .13);
  --shadow-color: rgba(90, 40, 30, .14);
  --obj-body: #d27a52; --obj-shade: #b35e40; --obj-metal: #8a5747; --obj-light: #f3e5d6;
  --lit: 0;
}
:root {
  --f-display: "Fraunces", ui-serif, Georgia, serif;
  --f-ui: "Inter", -apple-system, system-ui, sans-serif;
  --night-ground: #190d15; --night-ground-2: #2b1623;
  --day-ground: #f3e5d6;
  --r-card: 22px; --r-control: 999px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
.night {
  --ground: #190d15; --ground-2: #2b1623; --glow: rgba(255, 150, 90, .22);
  --ink-1: #f8eee2; --ink-2: rgba(248, 238, 226, .82); --ink-3: rgba(248, 238, 226, .72);
  --rule: rgba(255, 200, 165, .16);
  --accent: #ffa25e; --accent-ink: #ffb57f; --on-accent: #3a1409;
  --accent-soft: rgba(255, 162, 94, .14);
  --raised: #f7ecdb; --raised-ink: #45202b;
  --raised-ink-2: rgba(69, 32, 43, .72); --raised-rule: rgba(69, 32, 43, .13);
  --shadow-color: rgba(10, 2, 6, .55);
  --obj-light: #ffd9a8;
  --lit: 1;
}
/* Legal and utility pages follow the reader's setting. */
@media (prefers-color-scheme: dark) {
  .follow-scheme {
    --ground: #190d15; --ground-2: #2b1623; --glow: rgba(255, 150, 90, .22);
    --ink-1: #f8eee2; --ink-2: rgba(248, 238, 226, .82); --ink-3: rgba(248, 238, 226, .72);
    --rule: rgba(255, 200, 165, .16);
    --accent: #ffa25e; --accent-ink: #ffb57f; --on-accent: #3a1409;
    --accent-soft: rgba(255, 162, 94, .14);
    --shadow-color: rgba(10, 2, 6, .5);
    --obj-light: #ffd9a8;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-1);
  background: var(--ground);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-feature-settings: "kern", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.home { background: linear-gradient(180deg, var(--day-ground) 0 50%, var(--night-ground) 50% 100%); }
body.follow-scheme {
  background:
    radial-gradient(130% 40% at 50% -6%, var(--glow), transparent 64%),
    linear-gradient(180deg, var(--ground-2), var(--ground) 64%);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-1); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 24px; }
li { margin-bottom: 6px; }
li::marker { color: var(--accent); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--raised); color: var(--raised-ink); padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 12px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.018em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; margin: 0 0 20px; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; margin: 0 0 16px; }
h3 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
h1 em, h2 em { font-style: italic; color: var(--accent-ink); font-weight: 400; }
.eyebrow {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in srgb, var(--ground-2) 82%, transparent);
  border-bottom: 1px solid var(--rule);
  transition: background-color .4s ease, border-color .4s ease;
}
.site-header.night { background: color-mix(in srgb, var(--night-ground) 84%, transparent); }
.site-header.night .brand, .site-header.night .site-nav a:not(.btn) { color: var(--ink-1); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 560; font-size: 22px; letter-spacing: -0.015em;
  color: var(--ink-1); text-decoration: none;
}
.brand .mark { width: 32px; height: 32px; }
.site-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
}
.site-nav a:hover { color: var(--ink-1); background: var(--accent-soft); }
.site-nav a[aria-current="page"] { color: var(--ink-1); }
.site-nav .btn { margin-left: 8px; }
@media (max-width: 860px) {
  .site-nav a:not(.btn):not(.keep) { display: none; }
}
@media (max-width: 420px) {
  .brand { font-size: 20px; }
  .site-nav .btn { padding: 10px 14px; font-size: 14px; margin-left: 0; }
}

/* ---------- buttons and forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-control); border: 0;
  background: var(--accent); color: var(--on-accent);
  font: 600 16px/1.2 var(--f-ui); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 28px -10px var(--accent);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-nav .btn { min-height: 40px; padding: 9px 18px; font-size: 15px; color: var(--on-accent); }
.site-nav .btn:hover { color: var(--on-accent); background: var(--accent); }
.btn:hover { color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 14px 32px -10px var(--accent); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent; color: var(--ink-1); box-shadow: inset 0 0 0 1.5px var(--rule);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--ink-1); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

.waitlist { margin: 28px 0 0; max-width: 520px; }
.waitlist .row {
  display: flex; gap: 8px; padding: 6px;
  background: var(--raised); border-radius: var(--r-control);
  box-shadow: 0 18px 40px -18px var(--shadow-color), inset 0 0 0 1px var(--raised-rule);
}
.waitlist input[type="email"] {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font: 500 17px/1.2 var(--f-ui); color: var(--raised-ink);
  padding: 12px 16px; border-radius: var(--r-control);
}
.waitlist input[type="email"]::placeholder { color: var(--raised-ink-2); }
.waitlist input[type="email"]:focus { outline: none; }
.waitlist .row:focus-within { box-shadow: 0 18px 40px -18px var(--shadow-color), 0 0 0 2.5px var(--accent); }
.waitlist .btn { flex: none; box-shadow: none; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist .micro { margin: 12px 4px 0; font-size: 14px; color: var(--ink-3); }
.waitlist .status { margin: 12px 4px 0; font-size: 15px; font-weight: 500; min-height: 1.4em; }
.waitlist .status.ok { color: var(--ink-1); }
.waitlist .status.err { color: var(--accent-ink); }
.waitlist.done .row { display: none; }
.waitlist.done .micro { display: none; }
@media (max-width: 520px) {
  .waitlist .row { flex-direction: column; border-radius: 24px; padding: 8px; }
  .waitlist input[type="email"] { padding: 14px 14px; }
  .waitlist .btn { width: 100%; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; background: var(--ground); color: var(--ink-1); }
.section.tight { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* hero */
.hero {
  background:
    radial-gradient(90% 60% at 78% 10%, var(--glow), transparent 60%),
    linear-gradient(180deg, var(--ground-2), var(--ground));
  padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { max-width: 11.5em; }
.hero .lead { margin-bottom: 0; }
.hero-art { position: relative; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
}

/* the phone */
.phone {
  position: relative; width: min(340px, 82vw); aspect-ratio: 9 / 19.2;
  border-radius: 54px; padding: 12px;
  background: linear-gradient(160deg, #3a2430, #1a0f16 60%);
  box-shadow:
    0 50px 90px -40px rgba(60, 20, 20, .55),
    0 0 0 1.5px rgba(255, 255, 255, .06) inset;
}
.phone .screen {
  position: relative; height: 100%; border-radius: 43px; overflow: hidden;
  background:
    radial-gradient(130% 40% at 50% -6%, rgba(255, 150, 90, .22), transparent 64%),
    linear-gradient(180deg, #2b1623, #190d15 64%);
  color: #f8eee2; padding: 54px 20px 20px;
  display: flex; flex-direction: column;
}
.phone .island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 26px; border-radius: 20px; background: #000;
}
.phone .topbar {
  display: flex; justify-content: space-between;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: rgba(248, 238, 226, .64);
}
.phone .stage { height: 120px; margin: 6px auto 0; width: 150px; }
.phone .p-title {
  font-family: var(--f-display); font-size: 25px; line-height: 1.1; letter-spacing: -0.015em;
  margin: 4px 0 4px; font-weight: 500;
}
.phone .p-sub { font-size: 12.5px; color: rgba(248, 238, 226, .7); margin: 0 0 14px; }
.phone .card {
  background: #f7ecdb; color: #45202b; border-radius: 18px; padding: 14px 15px;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6);
}
.phone .card .label {
  font-size: 9.5px; font-weight: 600; letter-spacing: .12em; color: rgba(69, 32, 43, .62); margin-bottom: 6px;
}
.phone .card .lines {
  font-family: var(--f-display); font-size: 15px; line-height: 1.42; min-height: 4.3em;
}
.phone .caret {
  display: inline-block; width: 1.5px; height: 1.05em; background: #b95428;
  vertical-align: -2px; margin-left: 1px; animation: blink 1.2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.phone .chips { display: flex; gap: 6px; margin: 12px 0 0; flex-wrap: wrap; }
.phone .chip {
  font-size: 11px; font-weight: 600; padding: 7px 11px; border-radius: 999px;
  background: rgba(255, 200, 165, .1); color: rgba(248, 238, 226, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 200, 165, .16);
}
.phone .chip.on { background: rgba(255, 162, 94, .2); color: #ffd9a8; box-shadow: inset 0 0 0 1px rgba(255, 162, 94, .5); }
.phone .dial { margin: 14px 2px 0; }
.phone .dial .track { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 200, 165, .18); }
.phone .dial .fill { position: absolute; inset: 0 22% 0 0; border-radius: 4px; background: #ffa25e; }
.phone .dial .knob {
  position: absolute; right: 22%; top: 50%; width: 16px; height: 16px; margin: -8px -8px 0 0;
  border-radius: 50%; background: #fff3e4; box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.phone .dial .ends { display: flex; justify-content: space-between; font-size: 10px; color: rgba(248, 238, 226, .56); margin-top: 7px; }
.phone .p-btn {
  margin-top: auto; background: #ffa25e; color: #3a1409; border-radius: 999px;
  text-align: center; font-weight: 600; font-size: 14px; padding: 13px;
  box-shadow: 0 10px 26px -8px rgba(255, 162, 94, .6);
}
.hero-art .note {
  position: absolute; z-index: 2;
  background: var(--raised); color: var(--raised-ink);
  border-radius: 16px; padding: 12px 14px; font-size: 13.5px; line-height: 1.35;
  box-shadow: 0 22px 40px -18px var(--shadow-color), inset 0 0 0 1px var(--raised-rule);
  max-width: 190px;
}
.hero-art .note b { display: block; font-family: var(--f-display); font-weight: 560; font-size: 15px; margin-bottom: 2px; }
.hero-art .note.n1 { left: max(0px, calc(50% - 280px)); top: 16%; transform: rotate(-3deg); }
.hero-art .note.n2 { right: max(0px, calc(50% - 280px)); bottom: 14%; transform: rotate(2.5deg); }
@media (max-width: 900px) { .hero-art .note { display: none; } }
@media (prefers-reduced-motion: reduce) { .phone .caret { animation: none; } }

/* lamp object */
.lamp-obj { overflow: visible; }
.lamp-obj .cone { transition: opacity 1.2s ease; }
.anim-breathe { animation: breathe 8s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .88; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .anim-breathe { animation: none; } }

/* topic ticker */
.ticker {
  position: relative;
  background: var(--ground); border-block: 1px solid var(--rule);
  overflow: hidden; padding: 18px 0;
}
.ticker.paused .ticker-track { animation-play-state: paused; }
.ticker-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 1;
  min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 12px/1 var(--f-ui); letter-spacing: .04em; color: var(--ink-2);
  background: var(--ground-2); box-shadow: inset 0 0 0 1px var(--rule), 0 0 16px 12px var(--ground);
}
.ticker-toggle:hover { color: var(--ink-1); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: tick 120s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li {
  margin: 0; padding: 0 28px; white-space: nowrap;
  font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--ink-2);
  position: relative;
}
.ticker li::after {
  content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--accent); opacity: .55;
}
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .ticker-toggle { display: none; }
}

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; }
.step {
  margin: 0;
  background: var(--raised); color: var(--raised-ink); border-radius: var(--r-card);
  padding: 26px 24px 28px;
  box-shadow: 0 24px 50px -30px var(--shadow-color), inset 0 0 0 1px var(--raised-rule);
}
.step .num {
  font-family: var(--f-display); font-style: italic; font-size: 15px; color: var(--accent-ink);
  margin-bottom: 18px; display: block;
}
.step h3 { color: var(--raised-ink); }
.step p { color: var(--raised-ink-2); font-size: 16px; margin: 0; }
.step .vis { height: 132px; margin: 0 0 22px; border-radius: 16px; background: var(--ground); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 16px; }
.vis-lines { font-family: var(--f-display); font-size: 15px; line-height: 1.5; color: var(--ink-1); width: 100%; }
.vis-lines s { text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; color: var(--ink-3); }
.vis-tone { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.vis-tone .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.vis-tone .chip { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2); }
.vis-tone .chip.on { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.vis-tone .scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }
.vis-tone .bar { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) 78%, var(--rule) 78%); position: relative; }
.vis-tone .bar::after { content: ""; position: absolute; left: 78%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--raised); box-shadow: 0 1px 6px var(--shadow-color), inset 0 0 0 1.5px var(--accent); }
.vis-wave { display: flex; align-items: center; gap: 4px; height: 64px; }
.vis-wave i { display: block; width: 5px; border-radius: 3px; background: var(--accent); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step .vis { height: 118px; } }

/* Back-to-back sections of the same ground share one gap, not two. */
.section.night + .section.night { padding-top: 0; }
#how { padding-bottom: clamp(40px, 6vw, 72px); }

/* dusk: the sunset between day and night */
.dusk {
  --ink-1: #45202b; --ink-2: rgba(69, 32, 43, .8); --ink-3: rgba(69, 32, 43, .66);
  background: linear-gradient(180deg, var(--day-ground) 0%, #ecccb6 100%);
  padding: clamp(56px, 8vw, 104px) 0 0;
}
/* The sunset is its own band under the copy, so text never sits on the dark end. */
.dusk::after {
  content: ""; display: block; margin-top: clamp(64px, 9vw, 112px);
  height: clamp(160px, 20vw, 260px);
  background: linear-gradient(180deg, #ecccb6 0%, #c48d7c 30%, #8a4f55 55%, #3b1d2c 82%, var(--night-ground) 100%);
}
.dusk .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.dusk .nots { list-style: none; padding: 0; margin: 0; }
.dusk .nots li {
  display: flex; gap: 14px; align-items: baseline;
  font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25;
  padding: 16px 0; border-bottom: 1px solid rgba(69, 32, 43, .14); margin: 0;
}
.dusk .nots li span { font-family: var(--f-ui); font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; min-width: 2.2em; }
.dusk .after { margin-top: 28px; font-size: 17px; color: var(--ink-2); }
@media (max-width: 860px) { .dusk .wrap { grid-template-columns: 1fr; } }

/* night sections */
.night.section { background: var(--night-ground); }
.night .glowtop { background: radial-gradient(80% 50% at 50% 0%, rgba(255, 150, 90, .14), transparent 70%), var(--night-ground); }

/* ending */
.ending { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ending-card {
  background: linear-gradient(180deg, #2b1623, #20111b); border-radius: 28px; padding: 26px;
  box-shadow: inset 0 0 0 1px var(--rule), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.ending-card .fade { display: flex; align-items: flex-end; gap: 4px; height: 72px; margin-bottom: 18px; }
.ending-card .fade i { flex: 1; border-radius: 3px; background: var(--accent); }
.ending-card .label { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 10px; }
.sounds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sound {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px;
  border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 13px; color: var(--ink-2);
}
.sound svg { width: 22px; height: 22px; color: var(--ink-2); }
.sound.on { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); color: var(--ink-1); }
.sound.on svg { color: var(--accent); }
.ending-card .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.morning-note {
  margin-top: 16px; background: var(--raised); color: var(--raised-ink); border-radius: 18px; padding: 16px 18px;
}
.morning-note .label { color: var(--raised-ink-2); }
.morning-note p { margin: 0; font-family: var(--f-display); font-size: 18px; line-height: 1.35; }
@media (max-width: 860px) { .ending { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sounds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* topics */
.topics { columns: 3 260px; column-gap: clamp(24px, 4vw, 48px); list-style: none; padding: 0; margin: 0; }
.topics li {
  break-inside: avoid; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule);
  font-family: var(--f-display); font-size: 19px; line-height: 1.3; color: var(--ink-1);
  display: flex; gap: 12px; align-items: baseline;
}
.topics li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .7;
  transform: translateY(-2px);
}

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.feature { padding: 26px 0 0; border-top: 1px solid var(--rule); }
.feature h3 { font-size: 22px; }
.feature p { color: var(--ink-2); font-size: 16px; margin: 0; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* privacy */
.privacy-panel {
  background: var(--raised); color: var(--raised-ink); border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9);
}
.privacy-panel h2 { color: var(--raised-ink); }
.privacy-panel .eyebrow { color: var(--raised-ink-2); }
.privacy-panel p { color: var(--raised-ink-2); }
.privacy-panel a { color: #9a4318; }
.privacy-panel ul { list-style: none; padding: 0; margin: 0; }
.privacy-panel li {
  margin: 0; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--raised-rule); position: relative;
  color: var(--raised-ink); font-size: 16.5px;
}
.privacy-panel li:last-child { border-bottom: 0; }
.privacy-panel li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 8px;
  border-left: 2px solid #b2501f; border-bottom: 2px solid #b2501f; transform: rotate(-45deg);
}
@media (max-width: 860px) { .privacy-panel { grid-template-columns: 1fr; } }

/* plans */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.plan {
  border-radius: var(--r-card); padding: 30px 28px;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.plan.featured { background: linear-gradient(180deg, rgba(255, 162, 94, .12), rgba(255, 162, 94, .03)); box-shadow: inset 0 0 0 1.5px rgba(255, 162, 94, .55); }
.plan .tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.plan h3 { font-size: 28px; margin-bottom: 10px; }
.plan p, .plan li { color: var(--ink-2); font-size: 16px; }
.plan ul { padding-left: 20px; margin: 14px 0 0; }
.plans-fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); max-width: 760px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--f-display); font-size: clamp(19px, 2vw, 22px); line-height: 1.3; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 680px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* closing */
.closing { text-align: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(80px, 11vw, 140px); overflow: hidden; }
.closing .lamp-big { width: min(300px, 70vw); margin: 0 auto 8px; }
.closing h2 { font-size: clamp(44px, 7vw, 84px); margin-bottom: 14px; }
.closing .lead { margin: 0 auto; }
.closing .waitlist { margin-left: auto; margin-right: auto; text-align: left; }
.closing .waitlist .micro, .closing .waitlist .status { text-align: center; }
.closing .alt { margin-top: 26px; font-size: 15px; color: var(--ink-3); }
.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: var(--accent-ink);
  text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; cursor: pointer;
}
.linklike:hover { color: var(--ink-1); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule); padding: 48px 0 40px; font-size: 14.5px; color: var(--ink-2);
  background: var(--ground);
}
body.home .site-footer { background: var(--night-ground); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink-1); text-decoration: underline; }
.site-footer .about p { margin: 12px 0 0; max-width: 28em; color: var(--ink-3); }
.site-footer .legal-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* ---------- chat launcher ---------- */
.chat-launch {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: #2b1623; color: #f8eee2; font: 600 15px/1 var(--f-ui);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 200, 165, .2);
}
.chat-launch svg { width: 20px; height: 20px; color: #ffa25e; }
.chat-launch:hover { background: #3a1e2e; }
.chat-launch[aria-busy="true"] { opacity: .7; cursor: progress; }
body.chat-open .chat-launch, body.near-join .chat-launch { display: none; }
@media print { .chat-launch { display: none; } }

/* ---------- inner pages ---------- */
main.page { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 72px; }
main.page.wide { max-width: var(--wrap); }
main.page h1 { font-size: clamp(38px, 5.4vw, 56px); }
main.page h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 44px; }
main.legal { flex: 1; width: 100%; max-width: 70ch; margin: 0 auto; padding: 48px var(--gutter) 64px; font-size: 16px; }
main.legal h1 { font-size: clamp(34px, 4.6vw, 44px); margin-bottom: 12px; }
main.legal h2 { font-size: 24px; margin: 36px 0 10px; }

.raised {
  background: var(--raised); color: var(--raised-ink); border-radius: 18px; padding: 18px 22px; margin: 16px 0;
  box-shadow: 0 16px 36px -20px var(--shadow-color), inset 0 0 0 1px var(--raised-rule);
}
.raised h2, .raised h3 { color: var(--raised-ink); margin-top: 0; }
.raised p, .raised li { color: var(--raised-ink-2); }
.raised a { color: #9a4318; }
.raised p:last-child { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.cards .raised { margin: 0; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
td { color: var(--ink-1); }

.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 8px; }
.kit figure { margin: 0; background: var(--raised); border-radius: 18px; padding: 16px; box-shadow: inset 0 0 0 1px var(--raised-rule); }
.kit img { border-radius: 18px; width: 100%; height: auto; }
.kit figcaption { font-size: 14px; color: var(--raised-ink-2); margin-top: 10px; }
@media (max-width: 640px) { .kit { grid-template-columns: 1fr 1fr; } }

.lost { text-align: center; }
.lost svg { width: 180px; margin: 0 auto 12px; }

@media print {
  .site-header { position: static; backdrop-filter: none; }
  body { background: #fff; color: #000; }
}
