/* luey marketing site. Cloud candy palette only. */

:root {
  --cream: #fbf6ec;
  --butter: #ffe08a;
  --powder: #b8d8f2;
  --blue: #2e6cb8;
  --pink: #f7b9cc;
  --mint: #bfe8d2;
  --ink: #1c1b22;
  --white: #fffdf8;
  --muted: #4a484e;
  --line: rgba(28, 27, 34, 0.14);
  --bg: var(--cream);
  --text: var(--ink);
  --surface: var(--white);
  --link: var(--blue);
  --nav-h: 76px;
  --display: ui-rounded, "SF Pro Rounded", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  --text-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --shadow: 0 0 0 1px var(--line);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #1c1b22;
  --text: #fbf6ec;
  --surface: #2a2933;
  --muted: #d4cfc6;
  --line: rgba(251, 246, 236, 0.16);
  --link: #b8d8f2;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--text-font);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open,
body.jump-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--butter);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 70;
  pointer-events: none;
  background: transparent;
}

.progress > span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--butter);
  transform: scaleX(0);
  transform-origin: left center;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.wrap-s {
  width: min(740px, calc(100% - 40px));
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.kicker {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--muted);
}

h1,
h2,
h3,
.wordmark,
.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  margin: 0;
}

.lede {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.35;
  max-width: 38rem;
}

.muted {
  color: var(--muted);
}

[data-local-time] {
  white-space: nowrap;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack-lg {
  display: grid;
  gap: 28px;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.section {
  padding: 88px 0;
}

.band {
  color: var(--ink);
  background: var(--cream);
}

.band .muted,
.band .kicker {
  color: #4a484e;
}

.band-pink { background: var(--pink); }
.band-powder { background: var(--powder); }
.band-mint { background: var(--mint); }
.band-butter { background: var(--butter); }
.band-blue { background: var(--blue); color: #fff; }
.band-ink { background: var(--ink); color: var(--cream); }
.band-ink .step { border-top-color: rgba(251, 246, 236, 0.22); }

.band a:not(.btn),
.route-stage a {
  color: #1c1b22;
  font-weight: 700;
}

.band-blue a:not(.btn),
.band-ink a:not(.btn),
.help-now a {
  color: var(--butter);
  font-weight: 700;
}

.mascot {
  width: min(240px, 62vw);
  height: auto;
}

.mascot-lg {
  width: min(280px, 70vw);
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  min-height: 44px;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 12px;
}

.brand,
.nav-actions,
.icon-btn,
.nav-actions .btn {
  flex-shrink: 0;
}

.nav-links a[data-nav="waitlist"] {
  display: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.btn,
.choice {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.icon-btn {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.icon-btn:hover,
.btn-ghost:hover {
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.btn {
  background: var(--blue);
  color: #fff;
  padding: 0 20px;
}

.btn:hover {
  background: color-mix(in srgb, var(--blue) 86%, black);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: #000;
}

.btn-butter {
  background: var(--butter);
  color: var(--ink);
}

.btn-butter:hover {
  background: color-mix(in srgb, var(--butter) 82%, black);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.burger {
  display: none;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--butter);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 36px 0 28px;
}

.wordmark {
  font-size: clamp(5rem, 13vw, 8.75rem);
  line-height: 0.8;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.poster {
  background: var(--pink);
  color: var(--ink);
  border-radius: 36px;
  min-height: 520px;
  padding: 28px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  position: relative;
}

.poster .soon-pill {
  position: absolute;
  top: 22px;
  left: 22px;
}

.sticker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.sticker {
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  min-height: 36px;
  padding: 6px 12px;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: -0.03em;
}

/* Ticker */

.ticker {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  max-width: 100%;
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 42s linear infinite;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  min-height: 340px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  text-decoration: none;
}

.pillar:hover {
  filter: brightness(0.97);
}

.pillar strong {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.pillar span {
  font-size: 1.05rem;
  max-width: 16rem;
}

/* Route */

.route {
  display: grid;
  gap: 18px;
}

.route-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.route-tabs button {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.route-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

[data-theme="dark"] .route-tabs button[aria-selected="true"] {
  background: var(--butter);
  color: var(--ink);
  border-color: var(--butter);
}

.route-stage {
  background: var(--surface);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
  min-height: 280px;
}

.route-stage > [data-panel] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: end;
}

.route-stage[data-tone="pink"] { background: var(--pink); color: var(--ink); }
.route-stage[data-tone="powder"] { background: var(--powder); color: var(--ink); }
.route-stage[data-tone="mint"] { background: var(--mint); color: var(--ink); }
.route-stage[data-tone="butter"] { background: var(--butter); color: var(--ink); }
.route-stage[data-tone="cream"] { background: var(--cream); color: var(--ink); }

.time-xl {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 0.85;
}

.route-nav {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

/* Signals */

.signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

#screen .signals {
  grid-template-columns: 1fr 1fr;
}

.signal-card {
  border-radius: 28px;
  padding: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.signal-card p {
  font-size: 1.02rem;
}

.gesture {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--white) 65%, transparent);
  display: grid;
  place-items: center;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i,
.fingers i {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--ink);
  display: block;
}

.hold-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 4px solid var(--ink);
  border-right-color: transparent;
}

.fingers {
  display: flex;
  gap: 8px;
}

/* Quote */

.quote {
  display: grid;
  gap: 20px;
}

.quote q {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  quotes: none;
  display: block;
}

/* Compare */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare article {
  border-radius: 28px;
  padding: 28px;
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 24px;
}

.compare .old {
  background: var(--ink);
  color: var(--cream);
}

.compare .new {
  background: var(--butter);
  color: var(--ink);
}

/* Forms */

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 650;
}

.field span {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.help {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.band .help {
  color: #4a484e;
}

.error {
  color: #7a1230;
  font-weight: 700;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 650;
  min-height: 44px;
}

.check input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.success-box {
  background: var(--white);
  color: var(--ink);
  border-radius: 24px;
  padding: 20px;
  display: grid;
  gap: 10px;
}

/* Phone lab */

.lab-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: center;
}

.phone {
  width: 280px;
  height: 572px;
  background: #1c1b22;
  border-radius: 40px;
  padding: 12px;
  border: 3px solid #1c1b22;
  justify-self: center;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #0c0c10;
  color: #fbf6ec;
  touch-action: none;
  user-select: none;
}

.phone-screen:focus-visible {
  outline-offset: 4px;
}

.status-bar {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.7;
  pointer-events: none;
}

.discreet-layer,
.reveal-layer,
.signal-layer {
  position: absolute;
  inset: 0;
  padding: 54px 18px 18px;
  display: none;
}

.phone-screen[data-mode="discreet"] .discreet-layer,
.phone-screen[data-mode="reveal"] .reveal-layer,
.phone-screen[data-mode="uncomfortable"] .signal-layer,
.phone-screen[data-mode="emergency"] .signal-layer,
.phone-screen[data-mode="wellness"] .signal-layer {
  display: grid;
  align-content: end;
}

.discreet-layer {
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

.discreet-hint {
  opacity: 0.55;
  font-size: 0.92rem;
  max-width: 16rem;
}

.hold-ring {
  width: 64px;
  height: 64px;
}

.hold-ring circle {
  fill: none;
  stroke-width: 4;
}

.ring-track { stroke: rgba(251, 246, 236, 0.25); }
.ring-value {
  stroke: #ffe08a;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 22px 22px;
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
}

.reveal-layer {
  background: var(--cream);
  color: var(--ink);
  align-content: stretch;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}

.fake-card {
  background: var(--powder);
  border-radius: 20px;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.fake-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #fff;
  border-radius: 16px;
  padding: 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.fake-tabs span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.fake-tabs .on {
  background: var(--ink);
  color: var(--cream);
}

.signal-layer {
  gap: 12px;
  align-content: end;
}

.phone-screen[data-mode="uncomfortable"] .signal-layer { background: var(--pink); color: var(--ink); }
.phone-screen[data-mode="wellness"] .signal-layer { background: var(--mint); color: var(--ink); }
.phone-screen[data-mode="emergency"] .signal-layer { background: var(--ink); color: var(--cream); }

.signal-layer img {
  width: 120px;
  height: auto;
}

.lab-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lab-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

/* Stories */

.chapter {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  align-items: center;
}

.num {
  font-variant-numeric: tabular-nums;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* Quiz */

.quiz {
  display: grid;
  gap: 22px;
}

.quiz fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.quiz legend {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.choice {
  justify-content: flex-start;
  background: var(--white);
  color: var(--ink);
  border-color: transparent;
  border-radius: 18px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
  box-shadow: var(--shadow);
}

.choice:has(input:checked) {
  background: var(--ink);
  color: var(--cream);
}

.choice input {
  margin-right: 10px;
}

/* Orgs */

.friend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.friend {
  border-radius: 28px;
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--ink);
}

.friend h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.friend-wide {
  grid-column: 1 / -1;
}

.orgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.org {
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  padding: 24px;
  display: grid;
  gap: 10px;
  text-decoration: none;
  min-height: 200px;
  align-content: start;
}

.org:hover {
  outline: 3px solid var(--blue);
}

.org strong {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.help-now {
  background: var(--ink);
  color: var(--cream);
  border-radius: 32px;
  padding: 28px;
  display: grid;
  gap: 12px;
}

.help-now a {
  color: var(--butter);
  font-weight: 700;
}

.phone-big {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--surface);
  border-radius: 20px;
  padding: 6px 18px;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  font-weight: 750;
  font-family: var(--display);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.faq details p {
  padding: 0 0 16px;
  max-width: 62ch;
}

/* Swatches */

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.swatch {
  min-height: 120px;
  border: 0;
  border-radius: 22px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-weight: 750;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--display);
  letter-spacing: -0.03em;
}

.swatch small {
  font-family: var(--text-font);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.swatch.ink {
  background: var(--ink);
  color: var(--cream);
}

/* Subnav */

.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 25;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.subnav-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
}

.subnav a {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 700;
}

.subnav a:hover {
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.subnav ~ [id],
.subnav ~ * [id] {
  scroll-margin-top: calc(var(--nav-h) + 76px);
}

/* Steps */

.steps {
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

/* Page hero */

.page-hero {
  padding: 48px 0 20px;
}

/* Footer */

.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-bar .stack {
  max-width: 46ch;
}

.legal a {
  display: inline;
  min-height: 0;
  font-weight: 700;
  color: var(--text);
}

.footer h2 {
  font-size: 1rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.footer a {
  color: var(--text);
  display: inline-flex;
  min-height: 36px;
  align-items: center;
}

.footer-links {
  display: grid;
  align-content: start;
}

.legal {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 70ch;
}

.footer .brand img {
  width: 64px;
  height: 64px;
}

/* Jump + to top */

.jump {
  width: min(560px, calc(100% - 24px));
  border: 0;
  border-radius: 28px;
  padding: 18px;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow);
}

.jump::backdrop {
  background: rgba(28, 27, 34, 0.46);
}

.jump-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  max-height: min(60vh, 480px);
  overflow: auto;
}

.jump-list a,
.jump-list button.linkish {
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 750;
  cursor: pointer;
  font-family: var(--display);
}

[data-theme="dark"] .to-top {
  background: var(--butter);
  color: var(--ink);
}

/* Empty */

.empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px;
}

/* Dark adjustments for fixed-ink bands stay as authored */

@media (max-width: 1040px) {
  .hero,
  .lab-grid,
  .chapter-grid,
  .compare,
  .friend-grid,
  .orgs,
  .footer-bar,
  .footer-grid,
  #screen .signals,
  .signals,
  .split,
  .route-stage > [data-panel] {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .swatches {
    grid-template-columns: 1fr 1fr;
  }

  .poster {
    min-height: 420px;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .nav-actions .btn,
  .nav-actions [data-jump] {
    display: none;
  }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: var(--bg);
    margin: 0;
    padding: 96px 20px 32px;
    gap: 10px;
    overflow: auto;
  }

  body.nav-open .nav-links a {
    font-family: var(--display);
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    letter-spacing: -0.04em;
    border-radius: 22px;
    min-height: 72px;
    padding: 0 18px;
    color: var(--ink);
    justify-content: flex-start;
  }

  body.nav-open .nav-links a:nth-child(1) { background: var(--pink); }
  body.nav-open .nav-links a:nth-child(2) { background: var(--powder); }
  body.nav-open .nav-links a:nth-child(3) { background: var(--butter); }
  body.nav-open .nav-links a:nth-child(4) { background: var(--mint); }
  body.nav-open .nav-links a:nth-child(5) { background: var(--cream); }
  body.nav-open .nav-links a:nth-child(6) { background: var(--butter); }

  body.nav-open .nav-links a[data-nav="waitlist"] {
    display: flex;
  }

  .nav {
    z-index: 45;
  }

  .section {
    padding: 64px 0;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .pillar:hover { filter: none; }
}

/* Invite page (luey.net/i/<code>) */
.invite-code {
  font: 700 clamp(1.6rem, 6vw, 2.4rem) / 1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  padding: 0.6em 1em;
  margin: 1.5rem auto 1rem;
  border-radius: 20px;
  /* Pink with ink text reads well in light and dark mode. */
  background: var(--pink);
  color: var(--ink);
  width: fit-content;
  user-select: all;
}

/* "Said like louie." under the hero buttons */
.say-it {
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--link);
  margin-top: 1.25rem;
}
