/* =========================================================
   Lori Kittredge Home: styles
   Palette: winter night outside, lamplight and pantry inside.
   ========================================================= */
:root {
  --paper: #f6efe3;        /* page background, warm cream */
  --paper-2: #efe4d2;      /* alternate band */
  --card: #fffaf2;
  --ink: #2a2420;          /* body text */
  --ink-soft: #5a4f46;
  --line: #ddd0bc;
  --night: #1d2a38;        /* winter night blue */
  --night-2: #263749;
  --night-ink: #e9e1d4;
  --ember: #a8471f;        /* buttons, rust like Lori's jacket */
  --ember-dark: #8a3815;
  --lamp: #e8a647;         /* lamplight gold */
  --lamp-soft: #f6d9a3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 36, 32, .06), 0 8px 28px rgba(42, 36, 32, .10);
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem;            /* 19px: comfortable for older eyes */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: var(--ember-dark); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: inherit; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.005em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.strong { font-weight: 700; }
.muted { color: var(--ink-soft); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ember);
  margin-bottom: .75rem;
}
.eyebrow-light { color: var(--lamp); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.08rem;
  padding: .95rem 1.5rem; min-height: 54px;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 6px 18px rgba(168, 71, 31, .28); }
.btn-primary:hover { background: var(--ember-dark); color: #fff; }
.btn-ghost { border-color: rgba(233, 225, 212, .55); color: var(--night-ink); }
.btn-ghost:hover { border-color: var(--lamp); color: #fff; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: .5rem 1rem; min-height: 42px; font-size: .95rem; }
.btn-yt { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-yt svg { width: 20px; height: 20px; color: #c0392b; }
.btn-yt:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn.is-disabled { background: #8a6450; box-shadow: none; }
.btn.is-disabled:hover { background: #745341; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ember); color: #fff; text-align: center; font-size: .95rem; padding: .55rem 1rem; }
.announce p { margin: 0; }
.announce a { color: #fff; font-weight: 700; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 227, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; }
.brand-text { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; }
.brand-text em, .footer-brand em { font-style: italic; color: var(--ember); font-weight: 500; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:hover { color: var(--ember); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(232, 166, 71, .22), transparent 60%),
    linear-gradient(180deg, #172230 0%, var(--night) 55%, var(--night-2) 100%);
  color: var(--night-ink);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero::after { /* snowy ground line */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 42px;
  background: var(--paper);
  clip-path: polygon(0 60%, 8% 45%, 18% 58%, 30% 40%, 42% 55%, 55% 38%, 67% 52%, 80% 36%, 91% 50%, 100% 40%, 100% 100%, 0 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1, .hero .hero-h { color: #fff; }
.hero .hero-h { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.01em; }
.lede { font-size: 1.25rem; color: #d9d0c2; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.75rem 0 1.5rem; }
.center-actions { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .98rem; color: #c9bfb0; }
.hero-points li::before { content: "✓"; color: var(--lamp); font-weight: 700; margin-right: .45rem; }

.hero-portrait { margin: 0; justify-self: center; width: min(420px, 100%); }
.window {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 10px solid #3a2b20;
  box-shadow: 0 0 0 2px #5a4330, 0 0 80px 10px rgba(232, 166, 71, .35), 0 30px 60px rgba(0, 0, 0, .45);
  aspect-ratio: 1 / 1;
}
.window img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait figcaption { display: flex; flex-direction: column; align-items: center; margin-top: 1.1rem; text-align: center; }
.hero-portrait figcaption strong { font-family: var(--font-head); font-size: 1.35rem; color: #fff; font-weight: 600; }
.hero-portrait figcaption span { font-style: italic; color: var(--lamp-soft); }

/* Gentle snowfall (decorative; disabled for reduced motion) */
.snow, .snow::before, .snow::after {
  position: absolute; inset: -100px 0 0 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(2px 2px at 140px 80px, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 260px 160px, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(2.5px 2.5px at 380px 40px, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 90px 210px, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(2px 2px at 320px 260px, rgba(255,255,255,.5), transparent 60%);
  background-size: 420px 300px;
  animation: snow 22s linear infinite;
  opacity: .55;
}
.snow::before { content: ""; background-size: 300px 240px; animation-duration: 30s; opacity: .7; }
.snow::after { content: ""; background-size: 520px 380px; animation-duration: 40s; opacity: .5; }
@keyframes snow { from { transform: translateY(0); } to { transform: translateY(300px); } }
@media (prefers-reduced-motion: reduce) {
  .snow, .snow::before, .snow::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section-paper { background: var(--paper-2); }
.section-night { background: var(--night); color: var(--night-ink); }
.section-night h2 { color: #fff; }

/* For-you checklist */
.checklist { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .9rem; }
.checklist li {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.25rem 1rem 3.4rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Topics */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.topic { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; box-shadow: var(--shadow); }
.topic svg { width: 48px; height: 48px; margin-bottom: .9rem; fill: none; stroke: var(--night); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.topic svg .stroke-accent { stroke: var(--ember); }
.topic h3 { margin-bottom: .4rem; }
.topic p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* Rules */
/* Header takes the first cell, so 1 header + 5 rules fill a clean 3x2 / 2x3 grid. */
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: rule; }
.rules-head { align-self: center; padding-right: 1rem; }
.rules-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.rules { display: contents; list-style: none; }
.rules li {
  counter-increment: rule; position: relative;
  background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--lamp);
  border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem 4.3rem;
}
.rules li::before {
  content: counter(rule); position: absolute; left: 1.2rem; top: 1.25rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  background: var(--night); color: var(--lamp);
}
.rules h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.rules p { font-size: 1.05rem; margin-bottom: .6rem; }
.source { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-2); padding: .2rem .6rem; border-radius: 999px; }
.fineprint { font-size: .9rem; color: var(--ink-soft); margin-top: 1.75rem; }

/* Video */
.video-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.video-copy p { color: #d4cabb; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, filter .3s; }
.video-play:hover img { transform: scale(1.02); filter: brightness(.9); }
.video-play:focus-visible { outline: 3px solid var(--lamp); outline-offset: -3px; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 76px; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }

/* ---------- Ebook placeholder ---------- */
.book { position: relative; }
.book-h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); max-width: 26ch; margin-inline: auto; }
.book-name { display: block; font-size: .62em; color: var(--ember); margin-bottom: .45em; }
.book-h1-accent { color: var(--ember); }
.book-lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 58ch; margin: 1rem auto 0; }
.ph-ribbon {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: repeating-linear-gradient(45deg, #f3c86b, #f3c86b 10px, #f0bd52 10px, #f0bd52 20px);
  color: #3b2a07; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 0 0 10px 10px; white-space: nowrap;
}
.ph { /* marks placeholder text so it can't be missed */
  background: rgba(243, 200, 107, .28);
  outline: 1.5px dashed #c9962b; outline-offset: 2px; border-radius: 3px;
}
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 3rem; }
.book-cover-wrap { perspective: 1200px; display: flex; justify-content: center; }
.book-cover-img { width: min(340px, 100%); height: auto; border-radius: 4px 10px 10px 4px; box-shadow: 18px 24px 40px rgba(29, 42, 56, .35); transform: rotateY(-8deg); }
.book-cover {
  width: min(340px, 100%); aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.6rem 1.4rem 1.2rem; gap: .5rem;
  background: linear-gradient(160deg, var(--night-2), var(--night) 60%, #131c27);
  color: var(--night-ink); border-radius: 4px 12px 12px 4px;
  box-shadow: inset 6px 0 0 rgba(255,255,255,.06), inset 10px 0 18px rgba(0,0,0,.25), 18px 24px 40px rgba(29, 42, 56, .35);
  transform: rotateY(-8deg);
}
.cover-kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lamp); font-weight: 700; }
.cover-title { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: #fff; }
.cover-sub { font-size: .9rem; color: #cfc5b6; font-style: italic; }
.book-cover img { width: 62%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-top: auto; border: 4px solid var(--lamp); box-shadow: 0 0 40px rgba(232,166,71,.35); }
.cover-foot { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lamp-soft); margin-top: .5rem; }

.book-title { font-size: 1.8rem; display: inline-block; margin-bottom: .25em; }
.book-sub { color: var(--ink-soft); font-size: 1.15rem; }
.book-details h4 { margin-top: 1.5rem; }
.inside { list-style: none; padding: 0; margin: .5rem 0 1.75rem; display: grid; gap: .6rem; }
.inside li { position: relative; padding-left: 1.9rem; }
.inside li::before { content: "❦"; position: absolute; left: 0; top: 0; color: var(--ember); }

.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); max-width: 480px; }
.price-row { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; flex-wrap: wrap; }
.price-now { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: #2e7d32; line-height: 1; }
.price-tag { background: #2e7d32; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.price-later { margin: -.4rem 0 .3rem; font-size: 1rem; color: #b3261e; font-weight: 600; }
.price-format { margin: 0 0 1rem; font-size: .95rem; color: var(--ink-soft); }
.trust { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .35rem; font-size: .98rem; color: var(--ink-soft); }
.buy-note { margin: .7rem 0 0; font-size: .95rem; color: var(--ink-soft); text-align: center; }
.trust li::before { content: "✓"; color: var(--ember); font-weight: 700; margin-right: .5rem; }


/* ---------- Free card signup ---------- */
.signup { background:
  radial-gradient(ellipse 50% 70% at 20% 50%, rgba(232, 166, 71, .16), transparent 65%), var(--night); }
.signup-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.card-preview {
  justify-self: center; width: min(320px, 100%);
  background: #fffaf0; color: var(--ink);
  border-radius: 6px; padding: 1.6rem 1.5rem 1.2rem;
  transform: rotate(-3deg);
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
  border-top: 14px solid var(--ember);
  position: relative;
}
.card-preview::before { /* fridge magnet */
  content: ""; position: absolute; top: -26px; left: 50%; width: 34px; height: 34px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6d9a3, var(--lamp) 60%, #b97a22);
  box-shadow: 0 4px 8px rgba(0,0,0,.35);
}
.card-preview-kicker { margin: 0; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); font-weight: 700; }
.card-preview-title { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; margin: 0 0 .8rem; line-height: 1.1; }
.card-preview ol { margin: 0 0 1rem; padding-left: 1.3rem; font-size: 1.02rem; line-height: 1.8; }
.card-preview-foot { margin: 0; font-size: .82rem; color: var(--ink-soft); font-style: italic; border-top: 1px dashed var(--line); padding-top: .6rem; }
.signup-copy p { color: #d4cabb; max-width: 46ch; }
.signup-form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; max-width: 560px; }
.signup-form input {
  font: inherit; font-size: 1.05rem; padding: .9rem 1.1rem; min-height: 54px;
  border-radius: 12px; border: 2px solid #3b4d61; background: #fffaf2; color: var(--ink);
}
.signup-form input:focus { border-color: var(--lamp); outline: none; box-shadow: 0 0 0 3px rgba(232,166,71,.35); }
.signup-form button { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .92rem; color: #a99f91 !important; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--lamp-soft) !important; }
.form-status:empty { display: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.signoff { font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--ember); }
.disclosure { margin-top: 2rem; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--night); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.disclosure h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.disclosure p { margin: 0; font-size: 1.02rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3.2rem 1.15rem 1.35rem; position: relative;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; line-height: 1; color: var(--ember); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.35rem 1.2rem; margin: 0; color: var(--ink-soft); }

/* ---------- Closing + footer ---------- */
.closing { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: linear-gradient(180deg, var(--paper), var(--paper-2)); border-top: 1px solid var(--line); }
.closing p { color: var(--ink-soft); font-size: 1.15rem; }
.site-footer { background: #151f2a; color: #bdb3a5; padding: 3rem 0 2rem; font-size: .98rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.75rem; border-bottom: 1px solid #2b3a4b; }
.footer-brand { font-family: var(--font-head); font-size: 1.4rem; color: #fff; margin: 0; }
.footer-tag { margin: .2rem 0 0; font-style: italic; color: var(--lamp-soft); }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { color: #e1d8ca; text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--lamp); }
.footer-legal { padding-top: 1.5rem; font-size: .88rem; color: #8f8679; }
.footer-legal p { margin-bottom: .5rem; max-width: 80ch; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-inner, .video-grid, .book-grid, .signup-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-portrait { width: min(340px, 85%); order: -1; }
  .topics, .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 360px; }
  .card-preview { order: 2; }
}
@media (max-width: 620px) {
  body { font-size: 1.125rem; }
  .topics, .rules-grid { grid-template-columns: 1fr; }
  .signup-form { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .brand-text { font-size: 1.02rem; white-space: nowrap; }
  .brand-mark { width: 34px; height: 34px; }
  .btn-yt { padding: .4rem .7rem; font-size: .86rem; min-height: 38px; }
  .header-inner { gap: .6rem; }
  .announce { font-size: .88rem; }
  .ph-ribbon { font-size: .68rem; white-space: normal; width: 90%; text-align: center; }
  .rules li { padding-left: 3.9rem; }
}

/* ---------- Privacy and Terms pages ---------- */
.legal-back { font-weight: 700; color: var(--ember); text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .2em; }
.legal-page h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal-page h3 { font-size: 1.2rem; margin-top: 1.4rem; }
.legal-page ul { padding-left: 1.3rem; }
.legal-page li { margin-bottom: .45rem; }
.legal-date { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.5rem; }
.legal-summary { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--ember); border-radius: var(--radius); padding: .5rem 1.4rem 1rem; margin: 1.5rem 0 2rem; }
.legal-summary h2 { margin-top: .8rem; }
.legal-links { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.site-footer .footer-legal a { color: inherit; }
