/* Lumari independent site — layer three.
 *
 * Load order is tokens.css → styles.css → site.css. The middle file is the
 * original hand-tuned editorial stylesheet and is left untouched; this file
 * adds the multi-page, multi-locale surfaces it never had and corrects the few
 * places where its single-page assumptions no longer hold.
 *
 * Mobile first throughout: every block below is written for a narrow screen
 * and widened at 720px and 1040px, because that is the order the traffic
 * arrives in.
 */

/* ── Type stack per script ────────────────────────────────
   A serif display face tuned for Latin makes Korean and Japanese look like a
   fallback. Each script gets a stack whose first entry actually ships on that
   audience's devices. */
:root {
  --display: "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue", sans-serif;
}
html[lang^="ko"] {
  --display: "Nanum Myeongjo", "Apple SD Gothic Neo", "Noto Serif KR", serif;
  --sans: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
}
/* Korean wraps at syllable blocks by default, which splits words across lines
   and reads as broken to a native eye — "한 번 / 도" instead of "한 번도".
   keep-all restores word-boundary wrapping; the overflow-wrap keeps a single
   long token from overflowing its column. */
html[lang^="ko"] body {
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* Japanese and Chinese do break between characters, but not before a closing
   bracket or after an opening one. */
html[lang^="ja"] body, html[lang^="zh"] body {
  line-break: strict;
  overflow-wrap: break-word;
}
html[lang^="ja"] {
  --display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}
html[lang^="zh"] {
  --display: "Songti SC", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Noto Sans SC", sans-serif;
}

body {
  background: var(--pearl);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* The `hidden` attribute is only a UA rule of `display: none`, so any class
   below that sets its own `display` silently overrides it. That is how three
   correctly-calculated pillars ended up captioned "needs your birth time":
   the JavaScript set `hidden` exactly right, and the stylesheet showed the
   element anyway. Nothing in the DOM looked wrong — only the page did. */
[hidden] { display: none !important; }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  gap: 1rem;
  padding: 0 clamp(1.1rem, 5vw, 5rem);
  background: color-mix(in srgb, var(--pearl) 88%, transparent);
}
.site-nav {
  display: none;
  gap: 1.6rem;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--cinnabar);
}
.site-header .text-action {
  text-decoration: none;
  font-size: 0.9rem;
}
@media (min-width: 860px) {
  .site-nav { display: flex; }
}

/* ── Shared section rhythm ─────────────────────────────── */
main > section {
  padding: clamp(2.75rem, 8vw, 6rem) clamp(1.1rem, 6vw, 7rem);
}
.section-heading h2 {
  font: 400 clamp(1.9rem, 5.5vw, 3.4rem) / 1.08 var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}
.section-heading > p { color: var(--muted); max-width: 46ch; margin: 0; }
.section-more { margin-top: 2rem; }
.section-more a { color: var(--cinnabar); font-weight: 650; text-decoration: none; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  min-height: 0;
  padding-top: clamp(2.5rem, 9vw, 6rem);
}
.hero h1 {
  font: 400 clamp(2.6rem, 11vw, 6rem) / 0.98 var(--display);
  letter-spacing: -0.035em;
  margin: 0.75rem 0 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--cinnabar); }
/* Plain-language positioning: what Lumari is, in one breath, read before the
   promise. Sits above the lede, larger and darker than it, but clearly below
   the headline — it explains, it does not compete. */
.hero-positioning {
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 30ch;
  margin: 0 0 1.1rem;
}
.hero .lede { font-size: clamp(1rem, 2.6vw, 1.2rem); max-width: 44ch; }
/* One primary action in the hero. Discover stays reachable but reads as a
   quiet text link, not a second button competing with First Signal. */
.hero-secondary-link {
  align-self: center;
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-secondary-link:hover,
.hero-secondary-link:focus-visible {
  color: var(--ink);
  border-bottom-color: currentColor;
}
/* Copy before ornament on a phone. The orb reads as a full screen of nothing
   above the fold, and the headline is the only thing that earns that space. */
.hero-art { min-height: 200px; order: 1; }
.hero-actions { flex-wrap: wrap; }
.hero-actions .button { flex: 1 1 auto; }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .hero-art { order: 0; min-height: 380px; }
  .hero-actions .button { flex: 0 0 auto; }
}

/* ── Step cards ────────────────────────────────────────── */
.step-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.5rem;
}
.step-card { background: var(--surface); padding: clamp(1.25rem, 4vw, 2rem); }
.step-index {
  font: 400 0.95rem var(--display);
  color: var(--cinnabar);
}
.step-card h3 { font: 400 1.35rem/1.2 var(--display); margin: 1.5rem 0 0.6rem; }
.step-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }
@media (min-width: 860px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Teasers ───────────────────────────────────────────── */
.teaser-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
.teaser {
  background: var(--surface);
  padding: 1.35rem;
  display: grid;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s ease;
}
.teaser:hover { background: var(--tint); }
.teaser-tag { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.teaser strong { font: 400 1.2rem/1.25 var(--display); }
.teaser p { color: var(--muted); font-size: 0.9rem; margin: 0; }
@media (min-width: 860px) { .teaser-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Discover list ─────────────────────────────────────── */
.journal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
/* Deliberately two classes deep. The inherited stylesheet carries
   `.journal-list a { grid-template-columns: 140px 1fr auto }` from its
   single-page days, which outranks a lone `.journal-entry` and squeezed each
   headline into a 140px column — Chinese titles came out one character per
   line. Second time that stylesheet has quietly won a cascade; anything new
   placed inside its selectors needs specificity on purpose. */
.journal-list .journal-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.journal-entry strong { font: 400 clamp(1.3rem, 4.5vw, 2rem) / 1.15 var(--display); }
.journal-entry p { color: var(--muted); margin: 0; font-size: 0.94rem; max-width: 62ch; }
.entry-meta { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* ── Intro block shared by inner pages ─────────────────── */
.signal-intro { padding-bottom: 0; }
.signal-intro h1 {
  font: 400 clamp(2.1rem, 8vw, 4.2rem) / 1.02 var(--display);
  letter-spacing: -0.03em;
  margin: 0.7rem 0 1rem;
}
.signal-intro .lede { color: var(--muted); max-width: 52ch; font-size: clamp(1rem, 2.4vw, 1.15rem); }
.signal-intro .eyebrow a { color: inherit; }

/* ── Forms ─────────────────────────────────────────────── */
.signal-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--lumari-radius-card);
  padding: clamp(1.1rem, 4vw, 2.4rem);
  margin: 2rem clamp(1.1rem, 6vw, 7rem) 0;
  box-shadow: var(--lumari-shadow-card);
}
.signal-panel fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; }
.signal-panel legend {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  margin-bottom: 0.85rem;
}
.situation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.situation-option { display: block; position: relative; }
.situation-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.situation-option span {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--lumari-radius-md);
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.situation-option input:checked + span {
  border-color: var(--cinnabar);
  background: var(--tint);
  font-weight: 600;
}
.situation-option input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--cinnabar) 45%, transparent);
  outline-offset: 2px;
}

.field { display: grid; gap: 0.4rem; font-size: 0.88rem; font-weight: 650; margin-bottom: 1.1rem; }
.field > span { font-weight: 400; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--strong);
  border-radius: var(--lumari-radius-sm);
  background: var(--paper);
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  /* 16px minimum stops iOS Safari zooming the viewport on focus. */
  font-size: 16px;
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cinnabar) 15%, transparent);
}
.field-grid { display: grid; gap: 0 1rem; }
@media (min-width: 720px) { .field-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) { .place-grid { grid-template-columns: repeat(3, 1fr); } }
.field-hint { color: var(--muted); font-size: 0.78rem; margin: 0; }

/* ── Birth-place search (accelerator over the cascade) ──── */
.city-search { margin-bottom: 0.5rem; }
.city-search-results {
  list-style: none;
  margin: -0.3rem 0 1.1rem;
  padding: 0;
  border: 1px solid var(--strong);
  border-radius: var(--lumari-radius-sm);
  background: var(--paper);
  overflow: hidden;
}
.city-search-results li + li { border-top: 1px solid var(--line); }
.city-search-results button {
  width: 100%;
  text-align: start;
  padding: 0.65rem 0.8rem;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.88rem;
  cursor: pointer;
}
.city-search-results button:hover,
.city-search-results button:focus-visible { background: var(--tint); }
.city-search-empty { padding: 0.65rem 0.8rem; color: var(--muted); font-size: 0.82rem; }

.field-error { color: var(--lumari-brand-red-dark); font-size: 0.87rem; min-height: 1.3em; margin: 0.6rem 0 0; }
.form-actions { margin-top: 1.5rem; }
.form-actions .button { width: 100%; }
@media (min-width: 720px) { .form-actions .button { width: auto; min-width: 220px; } }
button[disabled] { opacity: 0.55; cursor: progress; }

/* ── "I do not know my birth time" ─────────────────────── */
.check-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.7rem;
  font-weight: 400;
}
.check-line input { width: 18px; height: 18px; min-height: 0; accent-color: var(--cinnabar); }
.check-line label { font-size: 0.88rem; cursor: pointer; }
.unknown-hint { font-weight: 400; color: var(--faint); font-size: 0.76rem; }
.field input:disabled {
  background: var(--tint);
  color: var(--faint);
  cursor: not-allowed;
}

/* ── First Signal result ───────────────────────────────── */
.result-head { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }
/* A partial chart is labelled, not apologised for. Neutral tone on purpose:
   most people do not know their birth time, and the badge must not read as a
   penalty for that. */
.reduced-badge {
  margin: 0;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.reduced-lead { color: var(--muted); max-width: 54ch; margin: 0 0 0.5rem; line-height: 1.65; }

/* A pending pillar is empty and labelled, never a dash — a dash reads as a
   failure, and nothing failed. */
.pillar.is-pending { background: var(--tint); }
.pillar-pending {
  display: block;
  font-size: 0.62rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.2rem 0.3rem 0;
}
.pillar.is-pending strong { min-height: 1.2em; display: block; }
.pending-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 58ch;
}

.exception-list {
  list-style: none;
  margin: 0;
  padding: 0.9rem 1.1rem;
  display: grid;
  gap: 0.5rem;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  border-radius: var(--lumari-radius-sm);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.add-later-card { border-left: 2px solid var(--cinnabar); }
.add-later-card h3 { color: var(--ink); font-size: 0.95rem; letter-spacing: 0; text-transform: none; }
.add-later-card p { color: var(--muted); margin: 0; font-size: 0.9rem; line-height: 1.7; }

/* ── Story ─────────────────────────────────────────────── */
.story-body { padding: 0 clamp(1.1rem, 6vw, 7rem) clamp(3rem, 8vw, 6rem); max-width: 44rem; }
.story-section { margin-top: clamp(2.2rem, 6vw, 3.5rem); }
.story-section h2 {
  font: 400 clamp(1.45rem, 5vw, 2.2rem) / 1.15 var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.story-section p {
  color: var(--muted);
  line-height: 1.78;
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  max-width: 38em;
}

/* ── Discover: the state entrances ─────────────────────── */
.state-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.state-card {
  background: var(--surface);
  padding: clamp(1.3rem, 4vw, 1.9rem);
  display: grid;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s ease;
}
.state-card:hover { background: var(--tint); }
.state-card-name {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinnabar);
  font-weight: 650;
}
/* The sentence that sounds like the inside of the reader's own head leads the
   card. The state name is only a label; this is the thing they recognise. */
.state-card strong { font: 400 clamp(1.15rem, 4.5vw, 1.6rem) / 1.35 var(--display); }
.state-card-enter { font-size: 0.85rem; color: var(--muted); }
@media (min-width: 860px) { .state-list { grid-template-columns: 1fr 1fr; } }

.needs-heading {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin: 0;
}

/* ── A state entry ─────────────────────────────────────── */
.in-their-words {
  font: 400 clamp(1.3rem, 5vw, 2rem) / 1.4 var(--display);
  color: var(--ink);
  border-left: 2px solid var(--cinnabar);
  padding-left: 1rem;
  margin: 0 0 1.2rem;
  max-width: 30ch;
}
.needs-block { padding-top: clamp(2rem, 6vw, 3rem); }
.needs { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: clamp(1.5rem, 5vw, 2.5rem); }
/* The question comes first and is visually the anchor; the output is the
   answer beneath it. Reversing this is how a state entry becomes a magazine. */
.need-question {
  font: 400 clamp(1.15rem, 4.2vw, 1.5rem) / 1.4 var(--display);
  margin: 0 0 0.85rem;
  max-width: 34ch;
}
.need-output {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--lumari-radius-md);
  padding: clamp(1.1rem, 4vw, 1.6rem);
  text-decoration: none;
  color: var(--ink);
}
.need-output-inline h3 { font-size: 0.98rem; margin: 0 0 0.7rem; font-weight: 650; }
.need-output-inline p { color: var(--muted); margin: 0 0 0.8rem; line-height: 1.75; font-size: 0.95rem; }
.need-output-inline p:last-of-type { margin-bottom: 0; }

.need-output-link strong { display: block; font: 400 1.15rem/1.3 var(--display); margin-bottom: 0.4rem; }
.need-output-link p { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.6rem; }
.need-output-link:hover, .need-output-route:hover { background: var(--tint); }
.need-output-route strong { font-weight: 650; font-size: 0.98rem; color: var(--cinnabar); }

/* An output that lives in an unreleased app is a sentence, never a control. */
.need-output-note { background: var(--paper); }
.need-badge {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  margin-bottom: 0.7rem;
}
.need-output-note p { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.7rem; line-height: 1.7; }
.need-output-note a { color: var(--cinnabar); font-size: 0.9rem; text-decoration: none; font-weight: 650; }

.experience-field { display: grid; gap: 0.4rem; margin-top: 1rem; }
.experience-field span { font-size: 0.8rem; font-weight: 650; }
.experience-field textarea {
  width: 100%;
  border: 1px solid var(--strong);
  border-radius: var(--lumari-radius-sm);
  background: var(--paper);
  padding: 0.7rem 0.8rem;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
  color: var(--ink);
}
.experience-note { font-size: 0.78rem; color: var(--faint); margin: 0.7rem 0 0; line-height: 1.6; }

/* ── First Signal handoff ──────────────────────────────── */
.handoff {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--lumari-radius-card);
  padding: clamp(1.3rem, 5vw, 2rem);
}
.handoff h3 { font: 400 clamp(1.25rem, 4.5vw, 1.7rem) / 1.2 var(--display); margin: 0 0 0.6rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }
.handoff p { color: var(--muted); margin: 0 0 1.2rem; line-height: 1.7; max-width: 44ch; }

/* ── Brand story thesis ────────────────────────────────── */
.story-thesis { margin-top: 1.5rem; max-width: 40em; }
.story-thesis p {
  font-size: clamp(1.02rem, 2.5vw, 1.14rem);
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 1.3rem;
}
.story-thesis p:first-child { color: var(--ink); }
.story-origin { border-top: 1px solid var(--line); padding-top: clamp(2rem, 6vw, 3rem); }

/* ── Discover grouped by state ─────────────────────────── */
.state-group + .state-group { margin-top: clamp(2.5rem, 7vw, 4rem); }
.state-heading {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinnabar);
  font-weight: 650;
  margin: 0 0 0.5rem;
}
/* The question a reader would actually type leads the card; the headline is
   the answer's voice, and it comes second. */
.entry-question {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.journal-entry .entry-meta { margin-top: 0.2rem; }
.signal-result { display: grid; gap: 1rem; }
.signal-result h2 {
  font: 400 clamp(1.7rem, 6vw, 2.8rem) / 1.05 var(--display);
  margin: 0 0 0.5rem;
}
.pillar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--lumari-radius-md);
  overflow: hidden;
}
.pillar { background: var(--surface); padding: 1rem 0.4rem; text-align: center; }
.pillar-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.pillar strong {
  font: 400 clamp(1.5rem, 7vw, 2.4rem) / 1 var(--display);
  letter-spacing: 0.02em;
}
.result-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .result-grid { grid-template-columns: 1fr 1fr; } }
.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--lumari-radius-md);
  padding: 1.25rem;
}
.result-card h3 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-weight: 650;
}
.day-master { font: 400 clamp(2.4rem, 12vw, 4rem) / 1 var(--display); margin: 0; color: var(--cinnabar); }
.solar-term { font: 400 clamp(1.4rem, 6vw, 2rem) / 1.1 var(--display); margin: 0; }

.element-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.element-bars li {
  display: grid;
  grid-template-columns: 3.2em 1fr 1.6em;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
}
.element-track {
  height: 8px;
  border-radius: 999px;
  background: var(--tint);
  overflow: hidden;
}
.element-fill {
  display: block;
  height: 100%;
  width: calc(var(--fill, 0) * 100%);
  background: var(--cinnabar);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
/* An absent element is a shape, not an alarm: it reads as a quiet gap rather
   than an error state, because the copy is explicit that missing is not bad. */
.element-bars li.is-absent { color: var(--faint); }
.element-bars li.is-absent .element-track { background: repeating-linear-gradient(90deg, var(--tint) 0 4px, transparent 4px 8px); }
.element-count { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.element-basis { font-size: 0.74rem; color: var(--faint); margin: 0.9rem 0 0; }

.instant-list { margin: 0; display: grid; gap: 0.55rem; }
.instant-list > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; }
.instant-list dt { color: var(--muted); margin: 0; }
.instant-list dd { margin: 0; font-variant-numeric: tabular-nums; }
.instant-note { font-size: 0.8rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.6; }

.question-card blockquote {
  margin: 0;
  font: 400 1.15rem/1.5 var(--display);
  border-left: 2px solid var(--cinnabar);
  padding-left: 1rem;
}

.provenance {
  border: 1px solid var(--line);
  border-radius: var(--lumari-radius-md);
  padding: 1rem 1.25rem;
  background: var(--paper);
}
.provenance summary { font-weight: 650; cursor: pointer; font-size: 0.9rem; }
.provenance p { color: var(--muted); font-size: 0.88rem; margin: 0.8rem 0 0; line-height: 1.65; }

.next-step {
  background: var(--night);
  color: var(--lumari-surface);
  border-radius: var(--lumari-radius-card);
  padding: clamp(1.4rem, 5vw, 2.4rem);
}
.next-step h3 { font: 400 clamp(1.4rem, 5vw, 2rem) / 1.15 var(--display); margin: 0 0 0.7rem; color: inherit; letter-spacing: 0; text-transform: none; font-size: clamp(1.4rem, 5vw, 2rem); }
.next-step p { color: color-mix(in srgb, var(--lumari-surface) 78%, transparent); margin: 0 0 1.4rem; }
.next-step .button-primary { background: var(--lumari-surface); color: var(--ink); }

/* ── Article ───────────────────────────────────────────── */
.article { padding: clamp(2.5rem, 8vw, 5rem) clamp(1.1rem, 6vw, 7rem); max-width: 46rem; }
.article-head h1 {
  font: 400 clamp(2rem, 8vw, 3.6rem) / 1.06 var(--display);
  letter-spacing: -0.03em;
  margin: 0.7rem 0 1rem;
  text-wrap: balance;
}
.article-head .lede { color: var(--muted); font-size: clamp(1.02rem, 2.6vw, 1.2rem); max-width: 40ch; }
.article-head .eyebrow a { text-decoration: none; color: var(--cinnabar); }
.article-body { margin-top: 2.5rem; }
.article-body p {
  font-size: clamp(1.02rem, 2.5vw, 1.12rem);
  line-height: 1.75;
  margin: 0 0 1.5rem;
  max-width: 38em;
}
.article-takeaway {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font: 400 clamp(1.15rem, 4vw, 1.5rem) / 1.4 var(--display);
  color: var(--ink);
}
.related { background: var(--paper); }
.related .teaser-grid { grid-template-columns: 1fr; }
@media (min-width: 720px) { .related .teaser-grid { grid-template-columns: 1fr 1fr; } }
.article-cta { background: var(--night); color: var(--lumari-surface); }
.article-cta h2 { font: 400 clamp(1.8rem, 6vw, 3rem) / 1.05 var(--display); margin: 0 0 0.8rem; }
.article-cta p { color: color-mix(in srgb, var(--lumari-surface) 78%, transparent); max-width: 44ch; margin: 0 0 1.6rem; }
.article-cta .button-primary { background: var(--lumari-surface); color: var(--ink); }

/* ── App + status blocks ───────────────────────────────── */
.feature-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-list li { background: var(--surface); padding: 1.25rem; font-size: 0.98rem; }
.status-block { background: var(--paper); }
.status-block h2 { font: 400 clamp(1.6rem, 5.5vw, 2.6rem) / 1.1 var(--display); margin: 0 0 1rem; }
.status-block p { color: var(--muted); max-width: 56ch; line-height: 1.7; }
.status-block .microcopy { font-size: 0.8rem; color: var(--faint); }

/* ── Rituals waitlist ──────────────────────────────────── */
.waitlist-panel h2 { font: 400 clamp(1.5rem, 5vw, 2.2rem) / 1.1 var(--display); margin: 0 0 1.5rem; }
.waitlist-done {
  margin: 0;
  padding: 1.25rem;
  border-left: 2px solid var(--cinnabar);
  background: var(--tint);
  border-radius: var(--lumari-radius-sm);
  font-size: 0.98rem;
}
.waitlist-done:focus-visible { outline: 3px solid color-mix(in srgb, var(--cinnabar) 45%, transparent); }

/* ── Legal ─────────────────────────────────────────────── */
.legal-body { padding: 0 clamp(1.1rem, 6vw, 7rem) clamp(3rem, 8vw, 6rem); max-width: 46rem; }
.legal-section { margin-top: 2.5rem; }
.legal-section h2 { font: 400 clamp(1.35rem, 4.5vw, 1.9rem) / 1.15 var(--display); margin: 0 0 0.9rem; }
.legal-section p { color: var(--muted); line-height: 1.75; margin: 0 0 1rem; max-width: 40em; }

/* ── Root locale chooser ───────────────────────────────── */
.locale-chooser {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 2.5rem;
  padding: clamp(2rem, 8vw, 5rem);
}
.wordmark-large { font: 700 clamp(2.4rem, 10vw, 4rem) / 1 var(--display); letter-spacing: -0.06em; margin: 0; }
.wordmark-large span { color: var(--cinnabar); }
.locale-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 34rem; }
.locale-list a { background: var(--surface); padding: 1.2rem 1.4rem; display: grid; gap: 0.3rem; text-decoration: none; color: var(--ink); }
.locale-list a:hover { background: var(--tint); }
.locale-list strong { font-size: 1.05rem; }
.locale-list span { color: var(--muted); font-size: 0.86rem; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  display: grid;
  gap: 1.25rem;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.1rem, 6vw, 7rem);
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.site-footer .disclosure { font-size: 0.82rem; color: var(--muted); max-width: 60ch; margin: 0; line-height: 1.65; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.language-switcher ul { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; flex-wrap: wrap; }
.language-switcher a { color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.language-switcher a[aria-current="true"] { color: var(--ink); font-weight: 650; }
.colophon { font-size: 0.78rem; color: var(--faint); margin: 0; }

/* ── Motion + focus ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cinnabar) 45%, transparent);
  outline-offset: 2px;
}

/* 就着这张盘问 Anmo(2026-08-01):与全站同一克制语言,不新增色。 */
.ask-anmo{border:1px solid rgba(29,29,31,.12);border-radius:16px;padding:18px;margin:18px 0;background:#fff}
.ask-anmo h3{margin:0 0 10px;font-size:1rem}
.ask-row{display:flex;gap:8px}
.ask-row input{flex:1;min-height:44px;padding:0 12px;border:1px solid rgba(29,29,31,.18);border-radius:12px;font-size:16px;background:#fff}
.ask-row button{min-height:44px;padding:0 18px;border:0;border-radius:12px;background:#1d1d1f;color:#faf5ee;font-size:.95rem;cursor:pointer}
.ask-row button:disabled{opacity:.5;cursor:default}
.ask-hint{font-size:.75rem;color:#8a857e;margin:8px 0 0}
.ask-error{font-size:.85rem;color:#8a4a3a;margin:10px 0 0}
.ask-answer{margin-top:12px;padding:14px;border-radius:12px;background:#f5f5f7;font-size:.95rem;line-height:1.7;white-space:pre-wrap}
