/* Ready Sit Go: shared stylesheet. Self-contained: no web fonts, no third-party assets. */

/* ---------- Tokens ---------- */
:root {
  --navy: #1C2649;
  --navy-top: #27346B;
  --navy-deep: #141B38;
  --coral: #F2643F;
  --accent: #C8442A;          /* buttons: white text passes AA */
  --accent-hover: #AE3720;
  --porch: #FFD36B;
  --paper: #FAF4E8;
  --severe: #C8102E;          /* allergy warnings only */

  --bg: #FAF4E8;
  --bg-alt: #F3EBDA;
  --surface: #FFFFFF;
  --surface-warm: #FFFBF2;
  --text: #1C2649;
  --text-muted: #4A5274;
  --link: #B03A20;
  --eyebrow: #B03A20;
  --border: rgba(28, 38, 73, 0.12);
  --border-strong: rgba(28, 38, 73, 0.2);
  --icon-bg: #FCE3D8;
  --icon-fg: #B03A20;
  --pro-tint: #FFF6DE;
  --focus: #C8442A;
  --shadow-sm: 0 1px 2px rgba(28, 38, 73, 0.06), 0 2px 8px rgba(28, 38, 73, 0.05);
  --shadow-md: 0 2px 4px rgba(28, 38, 73, 0.05), 0 12px 32px -8px rgba(28, 38, 73, 0.16);

  --font-round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --gutter: 20px;
  --section-y: clamp(4rem, 2.5rem + 5vw, 7rem);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10162F;
    --bg-alt: #141B39;
    --surface: #1C2649;
    --surface-warm: #1C2649;
    --text: #FAF4E8;
    --text-muted: #C3C8DE;
    --link: #FFA285;
    --eyebrow: #FFB59E;
    --border: rgba(250, 244, 232, 0.1);
    --border-strong: rgba(250, 244, 232, 0.18);
    --icon-bg: rgba(242, 100, 63, 0.16);
    --icon-fg: #FFA285;
    --pro-tint: #222D5A;
    --focus: #FFD36B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.25), 0 16px 32px -12px rgba(0, 0, 0, 0.5);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-round);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.25rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

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

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.on-dark { --focus: #FFD36B; --link: #FFD36B; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--porch);
  color: var(--navy);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; outline-color: var(--navy); }

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-round);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 0.9rem;
}
.on-dark .eyebrow { color: var(--porch); }

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.8em 1.5em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-round);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(200, 68, 42, 0.75);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-lg { font-size: 1.125rem; padding: 0.95em 1.7em; min-height: 56px; }
.btn-sm { font-size: 0.9375rem; min-height: 40px; padding: 0.5em 1.1em; box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-alt); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  color: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand:hover { text-decoration: none; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  color: rgba(250, 244, 232, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.975rem;
}
.site-nav a:hover { color: #fff; background: rgba(250, 244, 232, 0.08); }
.site-nav a[aria-current="page"] { color: var(--porch); }
.site-nav .nav-wide { display: none; }
.site-nav .nav-cta { display: none; margin-left: 0.5rem; }
.site-nav .nav-cta a { display: inline-flex; color: #fff; padding: 0.5em 1.1em; border-radius: 999px; }
.site-nav .nav-cta a:hover { background: var(--accent-hover); }

@media (max-width: 380px) {
  .brand span { font-size: 1.05rem; }
  .site-nav a { padding-inline: 0.45rem; }
}
@media (min-width: 760px) {
  .site-nav .nav-wide { display: list-item; }
}
@media (min-width: 980px) {
  .site-nav .nav-cta { display: list-item; }
}

/* ---------- Night backdrop (hero, page heads) ---------- */
.night {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background: linear-gradient(180deg, var(--navy-top) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  overflow: hidden;
}
.night .sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sky .star { fill: #FAF4E8; opacity: 0.9; }
.sky-m { display: block; }
.sky-d { display: none; }
@media (min-width: 960px) {
  .sky-m { display: none; }
  .sky-d { display: block; }
}
.night .moon { position: absolute; z-index: -1; width: 40px; height: 40px; pointer-events: none; }
.moon--hero { top: 86px; right: 20px; }
.moon--head { top: 88px; right: 22px; width: 34px; height: 34px; }
.moon--cta { top: 40px; left: 22px; width: 36px; height: 36px; }
@media (min-width: 960px) {
  .moon--hero { top: 100px; right: auto; left: calc(50% - 26px); width: 52px; height: 52px; }
  .moon--head { top: 50%; right: 14%; width: 56px; height: 56px; transform: translateY(-40%); }
  .moon--cta { top: 22%; left: 11%; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: no-preference) {
  .sky .tw { animation: twinkle 4.5s ease-in-out infinite; }
  .sky .tw:nth-of-type(3n) { animation-delay: 1.4s; animation-duration: 5.5s; }
  .sky .tw:nth-of-type(4n) { animation-delay: 2.6s; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.3; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 50% 42% at 76% 50%, rgba(255, 211, 107, 0.12), transparent 70%),
    linear-gradient(180deg, var(--navy-top) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  padding: calc(76px + clamp(2rem, 1rem + 4vw, 4.5rem)) 0 clamp(5rem, 3rem + 6vw, 8rem);
}
.hero::after {
  /* soft porch-step curve into the page */
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -2px;
  height: clamp(48px, 7vw, 96px);
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 36rem; }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero h1 .glow { color: var(--porch); }
.hero .lead { color: rgba(250, 244, 232, 0.86); margin-bottom: 2rem; max-width: 33rem; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.hero-note {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(250, 244, 232, 0.78);
}
.hero-note .dot { color: var(--porch); padding-inline: 0.15em; }
.hero-note span:not(.dot) { white-space: nowrap; }
.nowrap { white-space: nowrap; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- Tonight sheet mockup (stays light: it's paper) ---------- */
.sheet-figure {
  position: relative;
  margin: 0;
  padding: 0 0.75rem 0 0.25rem;
}
.sheet-figure::before {
  /* porch-light glow behind the paper */
  content: "";
  position: absolute;
  inset: 4% -6% 0 -6%;
  background: radial-gradient(closest-side, rgba(255, 211, 107, 0.35), rgba(255, 211, 107, 0) 100%);
  filter: blur(8px);
  z-index: 0;
}
.sheet-stack {
  container-type: inline-size;
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  aspect-ratio: 8.5 / 11;
  margin-inline: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .sheet-stack { animation: sheet-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.1s; }
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.sheet {
  position: absolute;
  inset: 0;
  border-radius: 1.4cqi;
  background: #FFFDF8;
  color: #1C2649;
  color-scheme: light;
  font-family: var(--font-body);
  font-size: 2.62cqi;
  line-height: 1.32;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 2px 6px rgba(8, 12, 30, 0.25),
    0 30px 60px -18px rgba(8, 12, 30, 0.65);
}
.sheet--back2 { background: #EEE7D8; transform: rotate(5.5deg) translate(4.5%, 2.5%); }
.sheet--back1 { background: #F6F1E6; transform: rotate(2.4deg) translate(2.2%, 1.2%); }
.sheet--front {
  transform: rotate(-2deg);
  display: flex;
  flex-direction: column;
  gap: 1.05em;
  padding: 6.2cqi 6cqi 4.6cqi;
}

.sheet p { margin: 0; }
.sheet ul, .sheet ol { list-style: none; margin: 0; padding: 0; }

.sh-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1em;
  padding-bottom: 0.9em;
  border-bottom: 0.18em solid #1C2649;
}
.sh-kicker {
  font-family: var(--font-round);
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B03A20;
  margin-bottom: 0.35em !important;
}
.sh-title {
  font-family: var(--font-round);
  font-size: 2.65em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}
.sh-date { margin-top: 0.35em !important; font-weight: 600; color: #4A5274; }
.sh-backby {
  flex: none;
  text-align: right;
  background: #FFD36B;
  border-radius: 0.7em;
  padding: 0.55em 0.85em 0.6em;
}
.sh-backby span {
  display: block;
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5A4410;
}
.sh-backby strong {
  display: block;
  font-family: var(--font-round);
  font-size: 1.45em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.sh-meta {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1.1fr;
  gap: 0.9em;
  margin: 0;
}
.sh-meta div { min-width: 0; }
.sh-meta dt, .sh-label, .sh-small-label {
  font-size: 0.66em;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #6A718C;
}
.sh-meta dd { margin: 0.15em 0 0; font-weight: 700; }
.sh-label { color: #B03A20; margin-bottom: 0.5em !important; }

.sh-timeline li {
  display: grid;
  grid-template-columns: 4.6em 1fr;
  gap: 0.7em;
  align-items: baseline;
  padding: 0.32em 0;
  border-bottom: 0.08em dashed #DDD5C4;
}
.sh-timeline li:last-child { border-bottom: 0; }
.sh-timeline time { font-weight: 800; font-variant-numeric: tabular-nums; }
.sh-timeline .kid { font-weight: 700; }
.sh-timeline .med::before,
.sh-timeline .bed::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  margin-right: 0.45em;
  vertical-align: 0.05em;
}
.sh-timeline .med::before { background: #F2643F; }
.sh-timeline .bed::before { background: #1C2649; }

.sh-allergy {
  border-left: 0.32em solid #C8102E;
  background: #FCECEE;
  border-radius: 0.2em 0.6em 0.6em 0.2em;
  padding: 0.6em 0.85em 0.7em;
}
.sh-allergy-top { display: flex; align-items: center; gap: 0.55em; flex-wrap: wrap; margin-bottom: 0.25em !important; }
.sh-severe {
  display: inline-block;
  background: #C8102E;
  color: #fff;
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.25em 0.6em 0.22em;
  border-radius: 0.4em;
}
.sh-allergy strong { font-weight: 800; }
.sh-allergy .todo { color: #3B2430; }

.sh-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.3em;
  align-items: start;
}
.sh-calls li {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
  padding: 0.28em 0;
  border-bottom: 0.08em dashed #DDD5C4;
}
.sh-calls li span { color: #4A5274; }
.sh-calls li b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-calls li.em b { color: #1C2649; }
.sh-address { margin-top: 0.7em !important; }
.sh-address b { display: block; font-weight: 800; margin-top: 0.1em; }

.sh-wifi {
  border: 0.1em solid #E6DFD0;
  border-radius: 0.8em;
  padding: 0.75em;
  text-align: center;
  background: #fff;
}
.sh-qr { width: 100%; max-width: 8.4em; margin: 0.2em auto 0.45em; }
.sh-wifi b { display: block; font-weight: 800; }
.sh-wifi .pw { font-variant-numeric: tabular-nums; color: #4A5274; }

.sh-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding-top: 0.75em;
  border-top: 0.08em solid #E6DFD0;
  font-size: 0.66em;
  color: #5A6280;
}

.sheet-caption {
  position: relative;
  z-index: 1;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(250, 244, 232, 0.72);
  max-width: 30rem;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* How it works */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.step:nth-child(2) .step-num { background: var(--navy); }
.step:nth-child(3) .step-num { background: var(--porch); color: var(--navy); }
@media (prefers-color-scheme: dark) {
  .step:nth-child(2) .step-num { background: #3A4A8C; }
}
.step h3 { margin-bottom: 0.4em; }
.step p { margin: 0; color: var(--text-muted); }
.step .fine { display: block; margin-top: 0.6rem; font-size: 0.925rem; }

/* Send Tonight explainer */
.tonight-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) { .tonight-grid { grid-template-columns: 0.92fr 1.08fr; } }

.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.check-list li { position: relative; padding-left: 2.1rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--icon-bg);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0.47rem;
  top: 0.42em;
  width: 0.38rem;
  height: 0.7rem;
  border: solid var(--icon-fg);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.check-list strong { font-weight: 700; }

.pages-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.pages-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.pages-panel-head span:first-child { color: var(--text); font-family: var(--font-round); font-weight: 800; font-size: 1rem; }
@media (min-width: 560px) { .pages-panel { padding: 1.5rem 1.75rem 1.75rem; } }
.pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) { .pages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.page-thumb { margin: 0; text-align: center; container-type: inline-size; }
.mini {
  aspect-ratio: 8.5 / 11;
  background: #FFFDF8;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(28, 38, 73, 0.12), 0 10px 22px -10px rgba(28, 38, 73, 0.35);
  padding: 11cqi 10cqi;
  display: flex;
  flex-direction: column;
  gap: 5.5cqi;
  border: 1px solid rgba(28, 38, 73, 0.06);
}
@media (prefers-color-scheme: dark) {
  .mini { border-color: transparent; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6); }
}
.mini i { display: block; height: 4cqi; border-radius: 2cqi; background: #DCD3C1; }
.mini i.t { height: 8.5cqi; width: 62%; background: #1C2649; border-radius: 2.5cqi; }
.mini i.s { width: 80%; }
.mini i.xs { width: 55%; }
.mini i.y { background: #FFD36B; width: 40%; height: 7cqi; align-self: flex-end; margin-top: -13.5cqi; }
.mini i.r { background: #F6CDD3; height: 11cqi; border-left: 3cqi solid #C8102E; border-radius: 1.5cqi; }
.mini-qr { width: 34cqi; height: auto; margin-top: auto; align-self: flex-end; }
.mini i.c { background: #F9CDBB; }
.page-thumb figcaption { margin-top: 0.8rem; font-size: 0.925rem; font-weight: 600; line-height: 1.35; }
.page-thumb figcaption span { display: block; font-weight: 500; color: var(--text-muted); font-size: 0.85rem; }

.export-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Features */
.features {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  margin-bottom: 1.1rem;
}
.feature-icon svg { width: 1.6rem; height: 1.6rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.feature p { margin: 0; color: var(--text-muted); font-size: 1rem; }
.badge-severe-demo {
  display: inline-block;
  background: var(--severe);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.12em 0.5em;
  border-radius: 6px;
  vertical-align: 0.12em;
}
.quote-note {
  display: block;
  margin-top: 0.7rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--bg-alt);
  font-size: 0.925rem;
  color: var(--text);
}

/* Real evenings */
.evenings {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .evenings { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1040px) { .evenings { grid-template-columns: repeat(4, 1fr); } }
.evening {
  position: relative;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  overflow: hidden;
}
.evening::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--coral);
}
.evening:nth-child(2)::before { background: var(--porch); }
.evening:nth-child(3)::before { background: var(--navy); }
.evening:nth-child(4)::before { background: var(--accent); }
@media (prefers-color-scheme: dark) {
  .evening:nth-child(3)::before { background: #4A5BA6; }
}
.evening .who {
  font-family: var(--font-round);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 0.5rem;
}
.evening h3 { font-size: 1.15rem; }
.evening p:last-child { margin: 0; color: var(--text-muted); font-size: 1rem; }

/* Privacy band */
.privacy-band { padding-block: var(--section-y); }
.privacy-band .night-inner { position: relative; z-index: 1; }
.privacy-band h2 { color: #fff; }
.privacy-band .lead { color: rgba(250, 244, 232, 0.84); }
.where {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 860px) { .where { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.privacy-top { display: grid; gap: 0 3rem; align-items: end; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.privacy-top .section-head { margin-bottom: 0; }
.privacy-top .label-card { margin-top: 2rem; }
@media (min-width: 960px) {
  .privacy-top { grid-template-columns: 1fr auto; }
  .privacy-top .label-card { margin-top: 0; max-width: 22rem; }
}
.where li {
  background: #232E5A;
  border: 1px solid rgba(250, 244, 232, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.where .where-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(255, 211, 107, 0.14);
  color: var(--porch);
  margin-bottom: 1rem;
}
.where .where-icon svg { width: 1.45rem; height: 1.45rem; }
.where h3 { color: #fff; font-size: 1.15rem; }
.where p { margin: 0; color: rgba(250, 244, 232, 0.82); font-size: 1rem; }

.nos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
}
.nos li {
  padding: 0.45em 0.95em;
  border-radius: 999px;
  border: 1px solid rgba(250, 244, 232, 0.22);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.95rem;
}
.label-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--navy);
  max-width: 34rem;
}
.label-card svg { flex: none; width: 2.4rem; height: 2.4rem; color: #2F7A4F; }
.label-card p { margin: 0; font-size: 0.95rem; line-height: 1.45; }
.label-card strong { display: block; font-family: var(--font-round); font-size: 1.15rem; }
.privacy-more { margin: 1.5rem 0 0; font-weight: 600; }

/* Pricing */
.pricing-wrap { max-width: 860px; margin-inline: auto; }
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 0.975rem;
}
.price-table caption { text-align: left; }
.price-table th, .price-table td {
  padding: 0.85rem 0.9rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { text-align: left; font-weight: 600; }
.price-table thead th { padding-top: 1.5rem; padding-bottom: 1.25rem; vertical-align: bottom; }
.price-table thead th:first-child { text-align: left; }
.price-table .col-pro { background: var(--pro-tint); }
.price-table thead th:nth-child(2),
.price-table thead th:nth-child(3) { width: 26%; }
.price-table td { white-space: nowrap; }
.plan-name { display: block; font-family: var(--font-round); font-size: 1.2rem; font-weight: 800; }
.plan-price { display: block; font-family: var(--font-round); font-size: 1.75rem; font-weight: 800; line-height: 1.1; margin-top: 0.15rem; }
.plan-sub { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.yes { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--icon-bg); color: var(--icon-fg); }
.yes svg { width: 1rem; height: 1rem; }
.no { color: var(--text-muted); }
.soon {
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-notes {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.975rem;
}
@media (min-width: 760px) { .pricing-notes { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.pricing-notes strong { color: var(--text); display: block; }

@media (max-width: 520px) {
  .price-table thead th:nth-child(2),
  .price-table thead th:nth-child(3) { width: 29%; }
  .plan-sub { font-size: 0.78rem; }
  .price-table { font-size: 0.9rem; }
  .price-table th, .price-table td { padding: 0.75rem 0.5rem; }
  .price-table tbody th { padding-left: 0.9rem; }
  .plan-price { font-size: 1.4rem; }
  .soon { font-size: 0.72rem; padding-inline: 0.45em; white-space: normal; }
}

/* FAQ */
.faq { max-width: 50rem; margin-inline: auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1.075rem;
  border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--icon-fg);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--text-muted); }
.faq details > div p:last-child { margin-bottom: 0; }
.faq-more { text-align: center; margin-top: 1.75rem; }

/* Final CTA */
.final-cta { padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); text-align: center; }
.final-cta .night-inner { position: relative; z-index: 1; max-width: 40rem; margin-inline: auto; }
.final-cta h2 { color: #fff; }
.final-cta .lead { color: rgba(250, 244, 232, 0.84); margin-bottom: 2rem; }
.final-cta .door { width: 88px; height: 88px; margin: 0 auto 1.5rem; border-radius: 20px; box-shadow: 0 16px 40px -12px rgba(255, 211, 107, 0.45); }
.final-cta .hero-note { margin-top: 1rem; }
.made-by { margin: 2.25rem 0 0; font-size: 0.95rem; color: rgba(250, 244, 232, 0.7); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(250, 244, 232, 0.08);
  color: rgba(250, 244, 232, 0.8);
  padding: 3rem 0 2.5rem;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 1.75rem; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
}
.site-footer .brand { margin-bottom: 0.6rem; }
.site-footer p { margin: 0; max-width: 30rem; }
.site-footer .footer-legal { max-width: none; }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 760px) { .footer-nav ul { justify-content: flex-end; } }
.footer-nav a { color: var(--paper); text-decoration: none; font-weight: 600; display: inline-block; padding: 0.3rem 0; }
.footer-nav a:hover { color: var(--porch); text-decoration: underline; }
.footer-legal {
  margin-top: 2rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 244, 232, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(250, 244, 232, 0.66);
}

/* ---------- Inner pages ---------- */
.page-head { padding: calc(76px + clamp(2rem, 1rem + 3vw, 3.5rem)) 0 clamp(4.5rem, 3rem + 4vw, 6rem); }
.page-head::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -2px;
  height: clamp(36px, 5vw, 64px);
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.4rem); }
.page-head .lead { color: rgba(250, 244, 232, 0.85); max-width: 40rem; margin-bottom: 0; }
.page-head .meta { margin-top: 1rem; font-size: 0.95rem; color: rgba(250, 244, 232, 0.75); }

.doc {
  max-width: 46rem;
  margin-inline: auto;
  padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) var(--section-y);
}
.doc h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  margin-top: 2.6rem;
  scroll-margin-top: 1.5rem;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.15rem; margin-top: 1.75rem; scroll-margin-top: 1.5rem; }
.doc ul, .doc ol { padding-left: 1.3rem; margin: 0 0 1em; }
.doc li { margin-bottom: 0.45em; }
.doc li::marker { color: var(--coral); }
.doc p, .doc li { color: var(--text); }

.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem 0.6rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.summary-card h2 { margin-top: 0 !important; font-size: 1.25rem !important; }
.callout {
  background: var(--pro-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* Support page */
.support-layout { display: grid; gap: 2.5rem; padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) var(--section-y); }
@media (min-width: 980px) {
  .support-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; align-items: start; }
  .toc { position: sticky; top: 1.5rem; }
}
.toc h2 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (min-width: 980px) { .toc ul { flex-direction: column; gap: 0.15rem; } }
.toc a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
@media (min-width: 980px) {
  .toc a { background: none; border: 0; border-radius: 8px; padding: 0.35rem 0.6rem; margin-left: -0.6rem; }
}
.toc a:hover { color: var(--link); }

.qa-group { margin-bottom: 3rem; }
.qa-group > h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.25rem;
  scroll-margin-top: 1.5rem;
}
.qa {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem 0.35rem;
  margin-bottom: 1rem;
  scroll-margin-top: 1.5rem;
}
.qa h3 { font-size: 1.125rem; margin-bottom: 0.55em; }
.qa ol, .qa ul { padding-left: 1.3rem; }
.qa li { margin-bottom: 0.35em; }
.qa li::marker { color: var(--coral); font-weight: 700; }
.path { font-weight: 700; }

.contact-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-md);
}
@media (min-width: 700px) { .contact-card { grid-template-columns: 1fr auto; padding: 2rem 2.2rem; } }
.contact-card h2 { color: #fff; font-size: 1.5rem; margin: 0 0 0.35rem; border: 0; padding: 0; }
.contact-card p { margin: 0; color: rgba(250, 244, 232, 0.84); }
.contact-card .email { font-weight: 700; color: var(--porch); }

/* 404 */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 6rem 0 4rem; }
.notfound .night-inner { position: relative; z-index: 1; }
.notfound img { width: 120px; height: 120px; margin: 0 auto 2rem; border-radius: 27px; box-shadow: 0 20px 50px -16px rgba(255, 211, 107, 0.4); }
.notfound h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); }
.notfound .lead { color: rgba(250, 244, 232, 0.85); margin-bottom: 2rem; }
.notfound .links { margin-top: 1.5rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.notfound .links a { color: var(--paper); font-weight: 600; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .skip-link, .sky { display: none !important; }
  .night { background: none !important; color: #000; }
  .page-head h1, .page-head .lead, .page-head .meta { color: #000 !important; }
  .page-head { padding: 0 0 1rem; }
  .page-head::after { display: none; }
}
