/* UnbrokenDay — content surface (guides, hub). Light editorial.
   Same tokens as the app surface; long-form rhythm. */

:root {
  --c-text: #171717;
  --c-muted: #5c5c5c;
  --c-soft: #8a8a8a;
  --c-bg: #fafaf7;
  --c-card: #ffffff;
  --c-border: #e3e0d8;
  --c-border-strong: #cfcabf;
  --c-accent: #1f4535;
  --c-accent-hover: #163025;
  --c-accent-soft: #e8efe9;
  --c-accent-soft-2: #d9e4dc;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow-focus: 0 0 0 3px rgba(31, 69, 53, 0.18);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--c-accent); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.crumb {
  font-size: 0.8rem;
  color: var(--c-soft);
  margin: 0 0 20px;
}
.crumb a { color: var(--c-soft); text-decoration: none; }
.crumb a:hover { color: var(--c-accent); }
.crumb .sep { margin: 0 7px; opacity: 0.5; }

h1 {
  font-family: var(--f-display);
  font-weight: 560;
  font-size: clamp(2.05rem, 6.6vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 10px;
}

.updated { font-size: 0.82rem; color: var(--c-soft); margin: 0 0 24px; }
.updated b { font-weight: 600; color: var(--c-muted); }

/* The liftable answer — what AI engines quote. The signature element. */
.answer {
  background: var(--c-accent);
  border-radius: 16px;
  padding: 22px 24px 24px;
  margin: 0 0 14px;
  box-shadow: 0 2px 8px rgba(31, 69, 53, 0.18), 0 16px 40px rgba(31, 69, 53, 0.12);
}
.answer::before {
  content: "The short answer";
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 239, 228, 0.55);
  margin-bottom: 10px;
}
.answer p {
  margin: 0;
  color: #f3efe4;
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Per-cluster line illustration under the answer. */
.motif { margin: 0 0 20px; }
.motif svg { display: block; width: 100%; height: auto; }

h2 {
  font-family: var(--f-display);
  font-weight: 540;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  margin: 40px 0 10px;
}
h2::before {
  content: "";
  display: block;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--c-accent);
  margin-bottom: 10px;
}

p, li { color: var(--c-muted); }
strong { color: var(--c-text); }
a { color: var(--c-accent); }

ul, ol { padding-left: 1.3em; margin: 0 0 16px; }
li { margin-bottom: 8px; }

.cue-line {
  font-size: 1.02rem;
  margin: 14px 0 0;
}
.cue-line em {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-text);
}

.related { list-style: none; padding: 0; }
.related li {
  border: 1px solid var(--c-border);
  background: var(--c-card);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
}
.related a { text-decoration: none; font-weight: 600; color: var(--c-text); }
.related a:hover { color: var(--c-accent); }

.cta-tool {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 26px;
  min-height: 44px;
}
.cta-tool:hover { background: var(--c-accent-hover); }

hr { border: none; border-top: 1px solid var(--c-border); margin: 40px 0 16px; }

.soon { font-size: 0.9rem; }

footer { font-size: 0.85rem; color: var(--c-soft); margin-top: 8px; }
footer a { color: var(--c-soft); }
footer a:hover { color: var(--c-accent); }
.disclaimer { font-size: 0.78rem; margin-top: 10px; }

/* ─── Hub (learn/index.html) ───────────────────────────────────────────── */

.hub-lead { font-size: 1.05rem; margin: 0 0 28px; }

.articles { list-style: none; padding: 0; }
.articles li {
  border: 1px solid var(--c-border);
  background: var(--c-card);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.articles a { text-decoration: none; font-weight: 600; color: var(--c-text); font-size: 1.02rem; }
.articles a:hover { color: var(--c-accent); }
.articles .tip { font-size: 0.88rem; color: var(--c-soft); margin-top: 3px; }

.pillar-list li { border-left: 4px solid var(--c-accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
