/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg:           #f4efe5;
  --bg-subtle:    #ebe5d9;
  --text:         #1c1b18;
  --muted:        #706f68;
  --faint:        #d4d2cb;
  --accent:       #2a5c45;
  --accent-light: #e4efe8;
  --on-accent:    #ffffff;
  --rule:         rgba(28, 27, 24, 0.1);
  --width:        1320px;
  --radius:       14px;
  --serif:        Georgia, "Times New Roman", serif;
  --sans:         "Geist", system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
  --bg:           #111411;
  --bg-subtle:    #20251f;
  --text:         #e8e6e0;
  --muted:        #9a9893;
  --faint:        #2c2c28;
  --accent:       #3d7a5a;
  --accent-light: #162219;
  --on-accent:    #ffffff;
  --rule:         rgba(232, 230, 224, 0.08);
}


/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  transition: background 200ms ease, color 200ms ease;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── Shell ──────────────────────────────────────────────── */
.shell {
  width: min(calc(100% - 64px), var(--width));
  margin: 0 auto;
}
.legal-shell { max-width: 720px; }
.legal-main { max-width: 720px; margin: 0 auto; padding-bottom: 24px; }

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  transition: background 200ms ease, color 200ms ease, backdrop-filter 200ms ease, box-shadow 200ms ease;
}

.topbar.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--rule);
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  flex-shrink: 0;
  margin-right: -8px;
  position: relative;
  top: 3px;
}

[data-theme="dark"] .brand-logo {
  filter: invert(1);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-right nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
  color: var(--muted);
}

.topbar-right nav a {
  transition: color 150ms;
}
.topbar-right nav a:hover { color: var(--text); }

.nav-cta {
  font-weight: 600;
  background: var(--text);
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8375rem;
  transition: opacity 150ms !important;
}
.nav-cta:hover { opacity: 0.82; }

.toggle {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  transition: border-color 160ms, color 160ms;
  flex-shrink: 0;
}
.toggle:hover { border-color: var(--muted); color: var(--text); }
[data-theme-icon]::before { content: "◐"; }
[data-theme-icon][data-mode="dark"]::before { content: "☀"; }

/* ── Hamburger ──────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav ─────────────────────────────────────────── */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 8px 0 16px;
}

.mobile-nav a {
  display: block;
  padding: 11px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  transition: color 150ms;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }

.mobile-nav-cta {
  color: var(--text) !important;
  font-weight: 600 !important;
  margin-top: 4px;
}
.guide-page .mobile-nav-cta { color: var(--text) !important; }

/* ── Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 56px;
  padding: 88px 0 80px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  min-height: min(72vh, 720px);
}

.hero-content {
  max-width: 640px;
}

.kicker {
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6.5vw, 6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; }

.hero-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.72;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── Waveform visual ────────────────────────────────────── */
.hero-visual {
  display: flex;
  flex-direction: column;
}

.waveform-card {
  background: var(--bg-subtle);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: heroVisualFade 0.8s ease 0.5s both;
}

@keyframes heroVisualFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.waveform-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.waveform-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
  animation: dotPulse 1.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 2px;
}

.waveform span {
  flex: 1;
  background: var(--text);
  border-radius: 3px;
  opacity: 0.35;
  animation: wavePulse 1.5s ease-in-out infinite alternate;
  transform-origin: center;
}

.waveform span:nth-child(1)  { height: 18%; animation-delay: 0.00s; }
.waveform span:nth-child(2)  { height: 42%; animation-delay: 0.07s; }
.waveform span:nth-child(3)  { height: 68%; animation-delay: 0.14s; }
.waveform span:nth-child(4)  { height: 88%; animation-delay: 0.21s; }
.waveform span:nth-child(5)  { height: 55%; animation-delay: 0.05s; }
.waveform span:nth-child(6)  { height: 100%; animation-delay: 0.18s; }
.waveform span:nth-child(7)  { height: 78%; animation-delay: 0.11s; }
.waveform span:nth-child(8)  { height: 58%; animation-delay: 0.24s; }
.waveform span:nth-child(9)  { height: 35%; animation-delay: 0.03s; }
.waveform span:nth-child(10) { height: 72%; animation-delay: 0.16s; }
.waveform span:nth-child(11) { height: 92%; animation-delay: 0.09s; }
.waveform span:nth-child(12) { height: 48%; animation-delay: 0.22s; }
.waveform span:nth-child(13) { height: 65%; animation-delay: 0.13s; }
.waveform span:nth-child(14) { height: 30%; animation-delay: 0.06s; }
.waveform span:nth-child(15) { height: 82%; animation-delay: 0.19s; }
.waveform span:nth-child(16) { height: 100%; animation-delay: 0.02s; }
.waveform span:nth-child(17) { height: 52%; animation-delay: 0.15s; }
.waveform span:nth-child(18) { height: 70%; animation-delay: 0.10s; }
.waveform span:nth-child(19) { height: 25%; animation-delay: 0.20s; }
.waveform span:nth-child(20) { height: 44%; animation-delay: 0.08s; }
.waveform span:nth-child(21) { height: 62%; animation-delay: 0.17s; }
.waveform span:nth-child(22) { height: 86%; animation-delay: 0.04s; }
.waveform span:nth-child(23) { height: 38%; animation-delay: 0.23s; }
.waveform span:nth-child(24) { height: 22%; animation-delay: 0.12s; }
.waveform span:nth-child(25) { height: 60%; animation-delay: 0.01s; }
.waveform span:nth-child(26) { height: 78%; animation-delay: 0.18s; }
.waveform span:nth-child(27) { height: 94%; animation-delay: 0.06s; }
.waveform span:nth-child(28) { height: 50%; animation-delay: 0.13s; }
.waveform span:nth-child(29) { height: 32%; animation-delay: 0.20s; }
.waveform span:nth-child(30) { height: 72%; animation-delay: 0.09s; }
.waveform span:nth-child(31) { height: 42%; animation-delay: 0.16s; }
.waveform span:nth-child(32) { height: 20%; animation-delay: 0.25s; }

@keyframes wavePulse {
  0%   { transform: scaleY(0.12); opacity: 0.35; }
  100% { transform: scaleY(1);    opacity: 0.85; }
}

.waveform-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.waveform-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

.waveform-hint {
  font-size: 0.75rem;
  color: var(--faint);
}

.hero-badges {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badges li {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg-subtle);
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 5px 12px;
}

/* ── Button ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  transition: opacity 160ms, transform 160ms;
  letter-spacing: 0.01em;
}
.btn:hover { opacity: 0.82; transform: translateY(-1px); }

/* ── Section title ──────────────────────────────────────── */
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ── Prose asides ───────────────────────────────────────── */
.prose-aside {
  padding: 56px 0 52px;
  border-bottom: 1px solid var(--rule);
  max-width: 680px;
}

.prose-aside--offset {
  margin-left: auto;
  margin-right: 0;
  max-width: 580px;
  text-align: right;
}

.prose-aside p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.72;
  color: var(--muted);
  letter-spacing: 0.005em;
}

/* ── Steps ──────────────────────────────────────────────── */
.steps {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--rule);
}

.steps .section-title { margin-bottom: 40px; }

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.step-item {
  background: var(--bg);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 200ms;
}

.step-item:hover { background: var(--bg-subtle); }

.step-n {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--faint);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 1;
}

.step-item strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 4px;
}

.step-item p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

/* ── Privacy ────────────────────────────────────────────── */
.privacy-sec {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--rule);
}

.privacy-inner {
  max-width: 680px;
}

.privacy-sec h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.privacy-sec h2 em { font-style: italic; }

.privacy-sec p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.72;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--rule);
}

.faq .section-title { margin-bottom: 8px; }

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--rule);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  gap: 24px;
  transition: color 150ms;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 220ms ease, color 150ms;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--text);
}

.faq-item[open] summary { color: var(--text); }

.faq-answer {
  padding: 0 32px 24px 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.72;
}

.faq-answer a { text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--text); }

/* ── Screenshots ───────────────────────────────────────── */
.screenshots {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px 80px;
  align-items: start;
}

.screenshots-copy {
  position: sticky;
  top: 88px;
}

.screenshots-copy .section-title {
  margin-bottom: 20px;
}

.screenshots-copy .kicker { margin-bottom: 14px; }

.screenshots-lead {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.72;
  margin-top: 14px;
}

.screenshots-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.screenshot-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screenshot-frame--lower {
  margin-top: 40px;
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--rule);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.07),
    0 24px 48px rgba(0,0,0,0.05);
  display: block;
}

[data-theme="dark"] .screenshot-frame img {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.2),
    0 8px 24px rgba(0,0,0,0.4),
    0 24px 48px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.06);
}

[data-theme="light"] .screenshot-img--empty { content: url("./assets/empty-white.webp"); }
[data-theme="light"] .screenshot-img--example { content: url("./assets/example-white.webp"); }

/* Hero screenshot (activity heatmap) */
.hero-screenshot {
  margin: 0;
  width: 100%;
}

.hero-screenshot-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--rule);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.07),
    0 24px 48px rgba(0,0,0,0.05);
  display: block;
}

[data-theme="dark"] .hero-screenshot-img {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.2),
    0 8px 24px rgba(0,0,0,0.4),
    0 24px 48px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.06);
}

[data-theme="light"] .screenshot-img--activity { content: url("./assets/activity-white.webp"); }

.screenshot-frame figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  padding-left: 2px;
}

/* ── Guides ─────────────────────────────────────────────── */
.guides-feature {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--rule);
}

.guides-feature .section-title { margin-bottom: 32px; }

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

.guide-card--start {
  grid-column: span 2;
}

.guide-card {
  background: var(--bg-subtle);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms, background 200ms, transform 200ms;
}

.guide-card:hover {
  border-color: var(--muted);
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.guide-card__title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.guide-card--start .guide-card__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.guide-card__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.68;
  flex: 1;
}

.guide-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 150ms, color 150ms;
}
.guide-card:hover .guide-card__cta { color: var(--text); }

.guide-card:hover .guide-card__cta { gap: 8px; }

.guide-card--consistent {
  grid-column: span 3;
}


/* ── how-to-stay-consistent.html: .stc-habit* ─────────── */
.stc-habit {
  --stc-spot: rgba(139, 74, 46, 0.5);
  --stc-panel: rgba(139, 74, 46, 0.07);
}
[data-theme="dark"] .stc-habit {
  --stc-spot: rgba(232, 175, 130, 0.42);
  --stc-panel: rgba(232, 175, 130, 0.08);
}

.stc-habit__main { padding-bottom: 24px; }
.stc-habit__header { margin-bottom: 0; }

.stc-habit__headbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 8px;
  column-gap: 16px;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--rule);
}

.stc-habit__headbar-right {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stc-habit__back {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.stc-habit__back:hover { color: var(--text); }

.stc-habit__meta {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .stc-habit__meta { white-space: normal; }
}

.stc-habit__head-main {
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--rule);
  max-width: 700px;
}

.stc-habit__title {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.2vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  max-width: 20em;
  margin: 0 0 20px 0;
}

.stc-habit__lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.72;
  max-width: 40rem;
}

.stc-habit__jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
  margin: 32px 0 0 0;
}

.stc-habit__jumps a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  min-width: 180px;
  margin-bottom: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s, border-color 0.15s;
}
.stc-habit__jumps a:hover { color: var(--text); border-color: var(--text); }
.stc-habit__jumps a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

@media (min-width: 700px) {
  .stc-habit__jumps a { flex: 1 1 22%; max-width: 22%; min-width: 160px; }
}
@media (max-width: 699px) {
  .stc-habit__jumps a { flex: 1 1 45%; max-width: 45%; min-width: 140px; }
}

.stc-habit__content { padding: 44px 0 80px; }
.stc-habit__content > section { margin-top: 48px; }
.stc-habit__content > section:first-of-type { margin-top: 0; }

.stc-habit__content h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 16px 0;
  padding-left: 20px;
  border-left: 3px solid var(--stc-spot);
}
.stc-habit__content h3 {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin: 20px 0 8px 0;
  letter-spacing: 0.01em;
}
.stc-habit__content p,
.stc-habit__content li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}
.stc-habit__content p + p { margin-top: 14px; }
.stc-habit__content ul,
.stc-habit__content ol { padding-left: 22px; margin: 10px 0 0 0; }
.stc-habit__content li { margin-top: 8px; }
.stc-habit__content a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text);
}
.stc-habit__content a:not(.btn):hover { opacity: 0.78; }
.stc-habit a.btn { text-decoration: none; }

.stc-habit__content section#quippe {
  background: var(--stc-panel);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 32px 28px 30px;
  margin-top: 48px;
}
.stc-habit__content section#quippe h2 { border-left: 0; padding-left: 0; margin-bottom: 14px; }
.stc-habit__content section#quippe h2 + p { max-width: none; }
.stc-habit__content section#quippe .btn { margin-top: 12px; }

.stc-habit__shift {
  margin: 20px 0 0 0;
  padding: 20px 22px 20px 24px;
  border-left: 3px solid var(--stc-spot);
  background: var(--stc-panel);
  border-radius: 0 12px 12px 0;
  font-size: 1.125rem;
  font-family: var(--serif);
  color: var(--text);
  line-height: 1.5;
  font-style: italic;
}
.stc-habit__shift em { font-style: normal; color: var(--muted); font-size: 0.95em; }
.stc-habit__shift em:last-of-type { color: var(--text); font-style: italic; }

.stc-habit__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0 36px;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
}
.stc-habit__footer a { color: inherit; text-decoration: none; }
.stc-habit__footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .stc-habit__headbar { padding: 20px 0 18px; }
  .stc-habit__head-main { padding: 32px 0 32px; }
  .stc-habit__jumps { margin-top: 24px; gap: 10px 18px; }
  .stc-habit__content section#quippe { padding: 24px 20px 30px; }
  .stc-habit__shift { font-size: 1.04rem; padding: 16px 18px 16px 20px; }
}
@media (max-width: 480px) {
  .stc-habit__headbar { align-items: flex-start; }
  .stc-habit__headbar-right { width: 100%; margin-left: 0; justify-content: space-between; }
}

/* ── CTA ────────────────────────────────────────────────── */
.cta-sec {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  align-items: center;
}

.cta-sec .kicker { margin-bottom: 16px; }

.cta-sec h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.cta-sec h2 em { font-style: italic; }

.cta-sec__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cta-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--rule);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.07),
    0 24px 48px rgba(0,0,0,0.05);
  display: block;
}

[data-theme="dark"] .cta-img {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.2),
    0 8px 24px rgba(0,0,0,0.4),
    0 24px 48px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.06);
}

[data-theme="light"] .cta-img--weekly-trend { content: url("./assets/weekly-trend-white.webp"); }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 32px;
  font-size: 0.8125rem;
  color: var(--muted);
}

footer nav { display: flex; gap: 22px; flex-shrink: 0; }
footer a { transition: color 150ms; }
footer a:hover { color: var(--text); }

.footer-meta {
  margin: 0;
  min-width: 0;
}
.footer-sep {
  margin: 0 0.35em;
  opacity: 0.55;
}
footer .footer-meta a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0 30px;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
}
.legal-footer a:hover { color: var(--text); }

/* ── Legal pages ────────────────────────────────────────── */
.legal-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--rule);
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.back-link {
  font-size: 0.875rem;
  color: var(--muted);
}
.back-link:hover { color: var(--text); }

.legal-header h1,
.legal-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 10px;
}

.legal-header p,
.legal-head p {
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-head {
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--rule);
}

.legal-body {
  padding: 40px 0 80px;
}

.legal-body section {
  margin-top: 40px;
}

.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal-body h3 {
  font-weight: 500;
  font-size: 0.9375rem;
  margin: 18px 0 6px;
}

.legal-body p, .legal-body li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin-top: 8px; }
.legal-body li { margin-top: 6px; }

.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.legal-body a.btn { text-decoration: none; margin-top: 8px; }

.table-wrap { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--muted);
}
th { font-weight: 500; color: var(--text); }

/* ── Team section ───────────────────────────────────────── */
.team-sec {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--rule);
}

.team-sec h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 560px;
  margin-bottom: 20px;
}
.team-sec h2 em { font-style: italic; }

.team-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.72;
  margin-bottom: 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--rule);
}

.team-card {
  padding: 28px 24px;
  background: var(--bg);
  border: none;
}

.team-card-name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.team-card-note {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Haiku ──────────────────────────────────────────────── */
.haiku {
  margin: 0;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--rule);
}

.haiku blockquote {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--faint);
  padding-left: 22px;
}

.haiku p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.85;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 420px; gap: 40px; }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-card--start { grid-column: span 2; }
  .guide-card--consistent { grid-column: span 2; }
}

@media (max-width: 860px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 64px 0 56px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 0; }
  .step-item { padding: 28px 24px; }
  .screenshots { grid-template-columns: 1fr; gap: 32px; }
  .screenshots-copy { position: static; }
  .screenshot-frame--lower { margin-top: 0; }
  .cta-sec { grid-template-columns: 1fr; gap: 40px; }
  .cta-sec__visual { display: none; }
  .guides-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-card--start { grid-column: span 1; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .topbar-right nav { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  footer { flex-wrap: wrap; row-gap: 12px; column-gap: 16px; }
  footer nav { flex-wrap: wrap; gap: 12px 16px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
}


/* ── Roadmap page ───────────────────────────────────────── */
.roadmap-shell {
  width: min(calc(100% - 48px), var(--width));
  margin: 0 auto;
}
.roadmap-main {
  max-width: var(--width);
}

.roadmap-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--rule);
}

.roadmap-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 12px;
}

.roadmap-header p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}

.roadmap-body {
  padding: 56px 0 80px;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 32px;
  position: relative;
}

.timeline-entry + .timeline-entry { margin-top: 0; }

/* vertical rule through left column */
.timeline-entry:not(:last-child) .timeline-date::after {
  content: "";
  display: block;
  width: 1px;
  background: var(--rule);
  position: absolute;
  top: 28px;
  left: 119px;
  bottom: -1px;
}

.timeline-date {
  position: relative;
  padding: 24px 0 24px;
  text-align: right;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 24px;
}

/* dot */
.timeline-date::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  border: 1.5px solid var(--bg);
  box-shadow: 0 0 0 1px var(--faint);
  position: absolute;
  right: -4px;
  top: 28px;
}

.timeline-entry.is-current .timeline-date::before {
  background: var(--text);
  box-shadow: 0 0 0 1px var(--text);
}

.timeline-card {
  padding: 24px 0 32px;
  border-top: 1px solid var(--rule);
}

.timeline-entry:first-child .timeline-card { border-top-color: transparent; }

.timeline-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 2px 10px;
  margin-bottom: 14px;
}

.timeline-tag.is-released {
  color: var(--text);
  border-color: var(--faint);
}

.timeline-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.timeline-lead {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.timeline-feature-group {
  margin-top: 20px;
}

.timeline-feature-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.timeline-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0 10px;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  align-items: start;
}

.timeline-features li strong {
  color: var(--text);
  font-weight: 500;
}

.timeline-features li::before {
  content: "–";
  color: var(--faint);
  padding-top: 0;
}

.roadmap-jumps {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.roadmap-jumps a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.roadmap-jumps a:hover { color: var(--text); border-color: var(--text); }

/* What's next section */
.roadmap-next {
  border-top: 1px solid var(--rule);
  padding: 56px 0 80px;
}

.roadmap-next-heading {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 36px;
}

.roadmap-next-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roadmap-next-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
}

.roadmap-next-card .timeline-tag { margin-bottom: 16px; }
.roadmap-next-card .timeline-lead { margin-bottom: 20px; }

@media (max-width: 600px) {
  .roadmap-main { width: 100%; }
  .timeline-entry { grid-template-columns: 80px 1fr; gap: 0 16px; }
  .timeline-date { font-size: 0.68rem; padding-right: 16px; }
  .timeline-entry:not(:last-child) .timeline-date::after { left: 79px; }
  .timeline-date::before { right: -4px; }
  .roadmap-next-grid { gap: 16px; }

  /* Make roadmap header more compact on small screens */
  .roadmap-header { padding: 28px 0 20px; }
  .roadmap-header h1 { font-size: 2rem; margin-bottom: 8px; }
  .roadmap-header p { margin-bottom: 12px; }

  /* Stack timeline into a single column for narrow viewports */
  .timeline-entry { grid-template-columns: 1fr; padding-left: 0; }
  .timeline-date { text-align: left; padding: 6px 0; }

  /* Hide the original vertical rule on small screens to avoid overlap */
  .timeline-entry:not(:last-child) .timeline-date::after { display: none; }

  /* Render the dot inline with the date text on small screens */
  .timeline-date::before {
    position: static;
    display: inline-block;
    margin-right: 10px;
    top: auto;
    left: auto;
    right: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--faint);
    border: 1.5px solid var(--bg);
    box-shadow: none;
    vertical-align: middle;
  }

  /* Ensure the current entry dot remains visible and distinct */
  .timeline-entry.is-current .timeline-date::before {
    background: var(--text);
    border-color: var(--text);
  }
}

/* ── Shared article/guide pages (.guide-page) ─────────── */
/* Used by: ai-journaling, benefits-of-journaling, voice-journaling,
   how-to-start-journaling, problem-of-modern-journaling              */
.guide-page {
  --gp-spot:  rgba(26, 26, 24, 0.18);
  --gp-panel: rgba(26, 26, 24, 0.035);
  --article-gap: 24px;
  --article-gap-lg: 32px;
  --article-section-gap: 48px;
}
[data-theme="dark"] .guide-page {
  --gp-spot:  rgba(237, 237, 234, 0.22);
  --gp-panel: rgba(237, 237, 234, 0.05);
}

.guide-page__main {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 24px;
}

.guide-page__header {
  margin-bottom: 0;
}

.guide-page__head-main {
  padding: 40px 0 var(--article-gap-lg);
  border-bottom: 1px solid var(--rule);
}

.guide-page__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.guide-page__breadcrumb a { color: inherit; text-decoration: none; }
.guide-page__breadcrumb a:hover { color: var(--text); }
.guide-page__breadcrumb-sep { opacity: 0.4; }

.guide-page__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.guide-page__meta::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--faint);
  flex-shrink: 0;
}

.guide-page__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 18px 0;
}
.guide-page__title em {
  font-style: italic;
  color: var(--muted);
}

.guide-page__lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.74;
  max-width: 44rem;
  margin: 0;
  text-align: justify;
  hyphens: auto;
}

.guide-page__jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: none;
  padding-top: 0;
  margin-top: var(--article-gap);
}
.guide-page__jumps a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  margin-right: 20px;
  margin-bottom: 8px;
  border-bottom: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.guide-page__jumps a:hover { color: var(--text); }
.guide-page__jumps a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ── Content body ─ */
.guide-page__content {
  padding: var(--article-gap-lg) 0 72px;
}
.guide-page__content > section {
  margin-top: var(--article-section-gap);
}
.guide-page__content > section:first-of-type {
  margin-top: 0;
}
.guide-page__content > .author-box + section {
  margin-top: var(--article-gap-lg);
}
.guide-page__content h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 18px 0;
  padding-left: 0;
  border-left: none;
}
.guide-page__content h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin: 24px 0 10px 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.guide-page__content p,
.guide-page__content li {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.78;
  text-align: justify;
  hyphens: auto;
}
.guide-page__content p + p { margin-top: 16px; }
.guide-page__content ul,
.guide-page__content ol {
  padding-left: 22px;
  margin: 12px 0 0 0;
}
.guide-page__content li { margin-top: 10px; }
.guide-page__content a:not(.btn) {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--faint);
  transition: text-decoration-color 0.15s;
}
.guide-page__content a:not(.btn):hover {
  text-decoration-color: var(--muted);
}
.guide-page a.btn { text-decoration: none; }

/* Quippe CTA panel */
.guide-page__content section#quippe {
  background: none;
  border: none;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  padding: var(--article-gap-lg) 0 var(--article-gap);
  margin-top: var(--article-section-gap);
}
.guide-page__content section#quippe h2 {
  border-left: 0;
  padding-left: 0;
  margin-bottom: 16px;
}
.guide-page__content section#quippe h2 + p { max-width: none; }
.guide-page__content section#quippe .btn { margin-top: 14px; }

/* In-article screenshot figures */
.guide-page__screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.guide-page__screenshot-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-page__screenshot-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--rule);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.07);
  display: block;
}

[data-theme="dark"] .guide-page__screenshot-img {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.2),
    0 8px 24px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.06);
}

.guide-page__screenshot-frame figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  padding-left: 2px;
}

.guide-page__screenshot-frame--single {
  max-width: 480px;
}

[data-theme="light"] .guide-screenshot--guided-swap { content: url("./assets/guided-white.webp"); }
[data-theme="dark"]  .guide-screenshot--guided-swap { content: url("./assets/guided.webp"); }

@media (max-width: 640px) {
  .guide-page__screenshots { grid-template-columns: 1fr; }
}

/* Examples: image + cards side-by-side */
.guide-page__examples-wrap {
  display: grid;
  grid-template-columns: 480px minmax(0, 360px);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.guide-page__examples-wrap .guide-page__screenshot-frame--single {
  max-width: none;
  margin: 0;
}

/* Example / callout blocks */
.guide-page__examples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
}

.guide-page__example {
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-left: 2px solid var(--faint);
  border-radius: 8px;
  background: none;
}
.guide-page__example h3 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px 0;
}
.guide-page__example p {
  font-size: 0.875rem !important;
  line-height: 1.65 !important;
  text-align: justify;
  hyphens: auto;
}
.guide-page__example p + p { margin-top: 7px; }
.guide-page__example p strong {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text);
  font-family: var(--sans);
}

@media (max-width: 860px) {
  .guide-page__examples-wrap { grid-template-columns: 1fr; }
  .guide-page__examples-wrap .guide-page__screenshot-frame--single { max-width: 400px; }
}

@media (max-width: 680px) {
  .guide-page__examples-grid { grid-template-columns: 1fr; }
  .guide-page__examples-wrap .guide-page__screenshot-frame--single { max-width: 100%; }
}

/* Tables */
.guide-page__table-wrap {
  margin-top: 20px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: auto;
  background: var(--bg);
}
.guide-page__table-wrap th,
.guide-page__table-wrap td {
  padding: 12px 16px;
  font-size: 0.875rem;
  border-color: var(--rule);
  vertical-align: top;
}
.guide-page__table-wrap th {
  color: var(--text);
  font-weight: 600;
  background: var(--gp-panel);
}
.guide-page__table-wrap tr:last-child td { border-bottom: 0; }

/* PMJ-specific: pullquote/turn */
.guide-page__turn {
  margin: 24px 0 0 0;
  padding: 22px 24px 22px 28px;
  border-left: 2px solid var(--faint);
  background: var(--gp-panel);
  border-radius: 0 12px 12px 0;
  font-size: 1.125rem;
  font-family: var(--serif);
  color: var(--text);
  line-height: 1.55;
  font-style: italic;
}
.guide-page__turn em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95em;
}
.guide-page__turn em:last-of-type {
  color: var(--text);
  font-style: italic;
}

/* PMJ-specific: "more" link list */
.guide-page__more h2 { margin-bottom: 8px; }
.guide-page__more-lead {
  font-size: 0.9rem !important;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 16px 0;
  text-align: justify;
  hyphens: auto;
}
.guide-page__more-list {
  list-style: none;
  padding-left: 0 !important;
  margin: 0;
}
.guide-page__more-list li {
  position: relative;
  padding-left: 1.1em;
  margin-top: 10px;
  text-align: justify;
  hyphens: auto;
}
.guide-page__more-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 700;
}

/* Footer */
.guide-page__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0 40px;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
}
.guide-page__footer nav { display: flex; gap: 22px; flex-wrap: wrap; flex-shrink: 0; }
.guide-page__footer a { color: inherit; text-decoration: none; transition: color 150ms; }
.guide-page__footer a:hover { color: var(--text); }
.guide-page__footer .footer-meta a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .guide-page__footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .guide-page__footer nav { gap: 12px 16px; }
}

/* Responsive */
@media (max-width: 860px) {
  .guide-page__head-main { padding: 36px 0 var(--article-gap-lg); }
}
@media (max-width: 640px) {
  .guide-page__title { margin-bottom: 14px; }
  .guide-page__content section#quippe { padding: 24px 20px 28px; }
  .guide-page__turn { font-size: 1rem; padding: 16px 18px 16px 20px; }
}

/* ── Reading Progress Bar ────────────────────────────── */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 200;
  transition: width 60ms linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

/* ── Article Hero Art ────────────────────────────────── */
.guide-page__hero-art {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--accent-light) 60%, var(--bg) 100%);
  margin: 0 0 var(--article-gap-lg);
  position: relative;
  display: block;
}
.guide-page__hero-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
}
[data-theme="dark"] .guide-page__hero-art {
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--accent-light) 60%, var(--bg) 100%);
}

/* ── Meta row (meta + read time) ─────────────────────── */
.guide-page__meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.guide-page__meta-row .guide-page__meta {
  margin-bottom: 0;
}
.guide-page__read-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  background: var(--bg-subtle);
  white-space: nowrap;
}

/* ── Article author byline ───────────────────────────── */
.guide-page__byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--article-gap-lg);
  padding-top: var(--article-gap);
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--muted);
}
.guide-page__byline-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--rule);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.guide-page__byline-avatar img {
  width: 100%;
  height: auto;
}
.guide-page__byline-name {
  font-weight: 600;
  color: var(--text);
}

/* ── Sticky article sidebar ──────────────────────────── */
.article-sidebar {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}
.article-sidebar.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.article-sidebar__read-time {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  white-space: nowrap;
}
.article-sidebar__rule {
  width: 1px;
  height: 20px;
  background: var(--rule);
  flex-shrink: 0;
}
.article-sidebar__btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 150ms, color 150ms, background 150ms;
  position: relative;
}
.article-sidebar__btn:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-subtle);
}
.article-sidebar__btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}
.article-sidebar__tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms;
}
.article-sidebar__btn:hover .article-sidebar__tooltip {
  opacity: 1;
}

/* Copy-link toast */
.copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--text);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
  z-index: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Article tags ────────────────────────────────────── */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: var(--article-section-gap);
  padding-top: var(--article-gap);
  border-top: 1px solid var(--rule);
}
.article-tags__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 4px;
}
.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--bg-subtle);
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 4px 13px;
  text-decoration: none;
  transition: border-color 150ms, color 150ms;
}
.article-tag:hover {
  border-color: var(--muted);
  color: var(--text);
}

/* ── Inline share section ────────────────────────────── */
.article-share {
  margin-top: 0;
  padding: 0;
  border-top: none;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
}

/* Bottom share: follows tags, no second divider */
.article-tags + .article-share {
  margin-top: var(--article-gap);
}
.article-share__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.article-share__buttons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 150ms, color 150ms, background 150ms;
  text-decoration: none !important;
  font-family: var(--sans);
}
.article-share__btn:hover {
  border-color: var(--muted);
  color: var(--text);
  background: var(--bg-subtle);
}
.article-share__btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Author box ──────────────────────────────────────── */
.author-box {
  margin-top: var(--article-gap-lg);
  padding: var(--article-gap-lg);
  border: 1px solid var(--rule);
  border-radius: 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-subtle);
}
.author-box__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-box__avatar img {
  width: 100%;
  height: auto;
  display: block;
}
.author-box__body {
  flex: 1;
  min-width: 0;
}
.author-box__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 2px;
}
.author-box__role {
  font-size: 0.73rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 10px;
}
.author-box__bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
  text-align: justify;
  hyphens: auto;
}

/* Top share variant (at start of article body) */
.article-share--top {
  margin-top: 0;
  margin-bottom: var(--article-gap-lg);
  padding-top: 0;
  padding-bottom: var(--article-gap);
  border-top: none;
  border-bottom: 1px solid var(--rule);
}

/* ── Sidebar hide on narrow viewports ────────────────── */
@media (max-width: 1160px) {
  .article-sidebar { display: none; }
}
@media (max-width: 640px) {
  .guide-page {
    --article-gap: 20px;
    --article-gap-lg: 28px;
    --article-section-gap: 40px;
  }
  .author-box { flex-direction: column; gap: 14px; padding: var(--article-gap); }
  .author-box__avatar { width: 40px; height: 40px; }
  .guide-page__hero-art { height: 120px; }
  .guide-page__head-main { padding: 28px 0 var(--article-gap); }
  .guide-page__content { padding: var(--article-gap) 0 56px; }
}

/* Shared product-aligned design. Guide-specific editorial styles above remain. */
:root { --width: 1200px; --muted: #66675f; --accent: #426043; --panel: #fbf8f1; --pill: #e5e0d5; --leaf: #718256; }
[data-theme="dark"] { --muted: #acb0a5; --accent: #b2c7a4; --panel: #1b201b; --pill: #2b3229; --leaf: #b4c391; }
body { font-size: 16px; line-height: 1.65; }
img { max-width: 100%; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 6px; }
[id] { scroll-margin-top: 100px; }
.shell { width: min(calc(100% - 96px), var(--width)); }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: var(--text); color: var(--bg); z-index: 200; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.topbar { border: 0; padding: 18px 0; position: relative; background: transparent; gap: 20px; }
.brand { font: 600 24px/1 var(--sans); letter-spacing: -.06em; gap: 5px; }
.brand-logo { width: 43px; height: 43px; margin: 0; top: 0; object-fit: contain; }
[data-theme="dark"] .brand-logo { filter: none; }
.topbar-right { gap: 20px; }
.topbar-right nav { gap: 25px; font-size: 13px; }
.topbar-right nav a { padding: 12px 0; }
.topbar-right nav .nav-cta { background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 100px; border: 0; font-weight: 500; }
.nav-cta span { margin-left: 8px; }
.toggle { border: 0; width: 44px; height: 44px; border-radius: 100%; background: transparent; color: var(--text); font-size: 24px; }
.toggle:hover { background: var(--bg-subtle); }
[data-theme-icon] { display: block; }
[data-theme-icon]::before, [data-theme-icon]::after { content: none; }
.nav-hamburger { background: transparent; width: 44px; height: 44px; border: 0; }
.mobile-nav { border: 0; }
.mobile-nav[hidden] { display: none !important; }
.site-footer { border: 0; padding: 48px 0 32px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.site-footer p { color: var(--muted); font-size: 14px; margin: 0; }
.site-footer nav { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 24px; font-size: 13px; flex-wrap: wrap; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .17em; font-weight: 600; line-height: 1.5; margin-bottom: 24px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); margin-right: 8px; }
.landing-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 100px 0 110px; align-items: center; }
.hero-copy h1 { font: 400 clamp(44px,5.3vw,72px)/1.08 var(--serif); letter-spacing: -.055em; max-width: 600px; }
.hero-description { color: var(--muted); font-size: 17px; max-width: 430px; margin: 28px 0 32px; line-height: 1.8; }
.platform-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.action { display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 15px 22px; background: var(--text); color: var(--bg); border-radius: 100px; font-size: 13px; font-weight: 500; min-height: 50px; transition: transform .2s, opacity .2s; }
.action:hover { transform: translateY(-2px); opacity: .88; }
.beta-note { font-size: 11px; color: var(--muted); margin-top: 14px; }
.gentle-link { display: inline-flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; margin-top: 40px; min-height: 44px; }
.hero-composition { position: relative; padding: 25px 0; min-width: 0; }
.hero-branch { position: absolute; width: 360px; height: auto; right: -42px; top: -110px; transform: rotate(-14deg); z-index: 1; pointer-events: none; }
.journal-preview { position: relative; background: var(--panel); padding: 34px; border-radius: 22px; transform: rotate(2deg); z-index: 2; box-shadow: 0 20px 60px rgba(36,39,28,.06); }
.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.preview-streak { letter-spacing: 0; background: var(--bg-subtle); color: var(--accent); border-radius: 100px; padding: 5px 10px; }
.journal-preview h2 { font: 500 24px/1.3 var(--sans); letter-spacing: -.04em; margin-top: 16px; }
.preview-label { color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .16em; margin: 0; }
.journal-preview > .preview-label { margin-top: 38px; }
.preview-story { font-size: 20px; line-height: 1.55; letter-spacing: -.035em; margin-top: 15px; }
.preview-mood { display: flex; justify-content: space-between; font-size: 11px; margin: 24px 0 32px; }
.preview-mood span { letter-spacing: .12em; color: var(--muted); font-size: 9px; }
.preview-mood i { display: inline-block; height: 6px; width: 6px; background: #bf9d44; border-radius: 50%; margin-right: 6px; }
.preview-steps p, .plan-tasks > p:not(.preview-label) { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-top: 16px; }
.sample-check, .sample-circle { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; align-items: center; justify-content: center; }
.sample-check { background: var(--pill); color: var(--accent); }
.sample-circle { border: 1.5px solid var(--muted); opacity: .65; }
.preview-bottom { margin-top: 32px; display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.handwritten-note { text-align: right; padding: 20px 24px 0 0; font: italic 17px/1.4 var(--serif); color: var(--muted); transform: rotate(-3deg); }
.intro-section, .learning-section { padding: 60px 0 100px; }
.section-heading { max-width: 610px; }
.section-heading h2, .spread-copy h2, .privacy-section h2 { font: 500 clamp(32px,3.8vw,48px)/1.17 var(--sans); letter-spacing: -.05em; margin: 0; }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 500px; font-size: 16px; margin: 24px 0 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 60px; margin-top: 60px; background: transparent; border: 0; }
.step-number { font-size: 10px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.steps-grid h3 { font-size: 20px; font-weight: 500; letter-spacing: -.035em; margin: 20px 0 12px; }
.steps-grid p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.product-spread { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding: 90px 0; }
.spread-copy p:not(.eyebrow) { font-size: 15px; color: var(--muted); margin-top: 24px; line-height: 1.85; max-width: 440px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; color: var(--accent); font-weight: 500; margin-top: 20px; }
.sample-panel { border-radius: 24px; background: var(--bg-subtle); padding: 40px; }
.sample-caption { font-size: 9px; letter-spacing: .13em; color: var(--muted); margin-bottom: 36px; }
.sample-panel h3 { font-size: 26px; line-height: 1.35; letter-spacing: -.04em; font-weight: 500; margin: 14px 0 28px; }
.goal-sample { display: flex; align-items: flex-start; gap: 12px; }
.goal-icon { color: var(--accent); font-size: 25px; line-height: 1.2; }
.goal-sample strong { font-size: 15px; font-weight: 500; }
.goal-sample p { font-size: 13px; color: var(--muted); margin: 12px 0; line-height: 1.7; }
.sample-tag { font-size: 10px; color: var(--muted); }
.plan-tasks { padding-top: 32px; }
.reflection-preview { background: var(--panel); }
.reflection-preview img { object-fit: contain; margin-bottom: 20px; }
.reflection-preview .sample-caption { margin-bottom: 24px; }
.reflection-preview h3 { font: 400 32px/1.3 var(--serif); }
.sample-answer { font-size: 17px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.privacy-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; background: var(--bg-subtle); border-radius: 28px; padding: 60px; margin: 70px 0 100px; }
.privacy-section p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 16px; }
.privacy-section h2 { font-size: 35px; }
.learning-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.learning-card { display: flex; flex-direction: column; padding: 30px; border-radius: 20px; background: var(--panel); transition: background .2s; }
.learning-card:hover { background: var(--bg-subtle); }
.guide-index { color: var(--muted); font-size: 10px; letter-spacing: .1em; margin-bottom: 30px; }
.learning-card h3 { font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.03em; }
.learning-card p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 15px 0 28px; }
.read-link { font-size: 11px; font-weight: 500; margin-top: auto; display: flex; justify-content: space-between; }
.questions-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; padding: 70px 0 100px; }
.questions-list details { border: 0; margin-bottom: 10px; padding: 0; }
.questions-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 500; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary span { color: var(--muted); font-size: 20px; }
.questions-list details[open] summary span { transform: rotate(45deg); }
.questions-list details p { color: var(--muted); font-size: 14px; line-height: 1.85; padding: 0 25px 20px 0; }
.questions-list details p a { text-decoration: underline; }
.start-section { text-align: center; padding: 70px 20px 90px; background: var(--bg-subtle); border-radius: 28px; }
.start-section > img { object-fit: contain; display: block; margin: 0 auto 20px; }
.start-section .eyebrow { margin-bottom: 18px; }
.start-section h2 { font: 400 clamp(32px,4vw,52px)/1.2 var(--serif); letter-spacing: -.04em; margin: 0; }
.start-section > p:not(.eyebrow):not(.beta-note) { color: var(--muted); font-size: 15px; margin-top: 22px; }
.start-section .platform-actions { justify-content: center; margin-top: 28px; }
.reveal { opacity: 1; transform: none; }
/* Editorial pages: quiet spacing replaces ornamental rules and tight type. */
.guide-page { --gp-panel: var(--panel); }
.guide-page__main { max-width: 960px; }
.guide-page__head-main { padding-top: 40px; }
.guide-page__hero-art { background: transparent; border: 0; height: 140px; margin: 0 0 24px; overflow: hidden; }
.guide-page__hero-art img { width: 320px; height: 160px; object-fit: contain; float: right; }
.guide-page__title { font: 400 clamp(36px,5.3vw,62px)/1.13 var(--serif); letter-spacing: -.045em; max-width: 900px; }
.guide-page__lead { font-size: 19px; line-height: 1.75; text-align: left; hyphens: none; }
[data-theme="dark"] .guide-page__hero-art { background: transparent; }
.guide-page__header, .guide-page__head-main, .guide-page__content, .guide-page__content section, .guide-page__byline, .guide-page__meta-row { border: 0; }
.guide-page__content { max-width: 760px; margin: 0 auto; }
.guide-page__content p, .guide-page__content li { font-size: 17px; line-height: 1.85; text-align: left; hyphens: none; }
.guide-page__content h2 { font: 500 clamp(26px,3vw,34px)/1.3 var(--sans); letter-spacing: -.035em; }
.guide-page__content h3 { font: 500 19px/1.4 var(--sans); letter-spacing: -.02em; text-transform: none; }
.guide-faq details { padding: 12px 0; }
.guide-faq summary { cursor: pointer; font-size: 16px; font-weight: 500; min-height: 44px; display: flex; align-items: center; gap: 18px; list-style: none; }
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after { content: "+"; margin-left: auto; flex-shrink: 0; color: var(--muted); }
.guide-faq details[open] summary::after { content: "−"; }
.guide-faq details p { margin: 12px 0; }
.guide-page__jumps { border: 0; padding: 14px 0; }
.article-contents { margin: 22px 0 0; background: var(--panel); border-radius: 14px; padding: 4px 18px; }
.article-contents > summary { display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: 13px; font-weight: 500; min-height: 48px; list-style: none; }
.article-contents > summary::-webkit-details-marker { display: none; }
.article-contents > summary:focus-visible { outline-offset: 1px; border-radius: 8px; }
.contents-count { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 400; }
.contents-chevron { flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.article-contents[open] .contents-chevron { transform: rotate(180deg); }
.article-contents .guide-page__jumps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; margin: 0; padding: 4px 0 12px; border: 0; }
.article-contents .guide-page__jumps a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; background: none; border: 0; border-radius: 0; color: var(--muted); font-size: 13px; letter-spacing: 0; text-transform: none; }
.article-contents .guide-page__jumps a:hover { color: var(--text); background: none; }
.guide-page__byline { margin-top: 26px; padding-top: 0; gap: 10px; flex-wrap: wrap; }
.guide-page__byline-avatar, .author-box__avatar { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.guide-page__byline-avatar { width: 36px; height: 36px; }
.guide-page__byline-avatar img { width: 36px; height: 36px; object-fit: contain; }
.guide-page__byline-name { font-weight: 500; }
.guide-share-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.guide-share-actions--byline { margin-left: auto; }
.guide-share-button { display: none; align-items: center; gap: 8px; border: 0; border-radius: 100px; background: transparent; color: var(--muted); min-height: 44px; padding: 8px 12px; cursor: pointer; font: 400 12px/1.4 var(--sans); }
.js .guide-share-button { display: inline-flex; }
.guide-share-button[hidden] { display: none !important; }
.guide-share-button:hover { color: var(--text); background: var(--bg-subtle); }
.article-share { display: none; gap: 20px; margin-top: 36px; padding: 0; }
.js .article-share { display: flex; }
.article-share__label { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.share-feedback { position: fixed; z-index: 150; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 40px); background: var(--text); color: var(--bg); border-radius: 100px; padding: 12px 20px; font-size: 13px; text-align: center; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.share-feedback:empty { display: none; }
.share-link-field { width: 100%; min-height: 44px; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); color: var(--text); padding: 8px 12px; }
@media (max-width: 640px) {
  .article-contents { padding: 6px 16px; }
  .article-contents .guide-page__jumps { grid-template-columns: 1fr; }
  .guide-share-actions--byline { gap: 4px; margin-left: 36px; flex-basis: 100%; }
  .guide-share-button { font-size: 12px; padding: 8px; }
  .guide-page__byline { font-size: 12px; }
  .js .article-share { flex-wrap: wrap; gap: 8px; }
}
.article-share, .article-share--top, .author-box, .guide-page__example, .guide-page__turn { border: 0; }
.guide-page__example, .author-box { background: var(--bg-subtle); border-radius: 18px; }
.author-box__bio { text-align: left; }
.guide-page__content .btn { background: var(--text); color: var(--bg); border: 0; border-radius: 100px; font-family: var(--sans); }
.guide-page__main > .start-section { margin: 60px 0 0; }
.legal-main { max-width: 800px; padding: 70px 0; }
.legal-head { border: 0; }
.legal-head h1 { font-family: var(--sans); font-size: 42px; letter-spacing: -.04em; }
.legal-body section { border: 0; padding-top: 38px; }
.legal-body h2 { font-family: var(--sans); font-size: 25px; letter-spacing: -.03em; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.85; }
.roadmap-page { max-width: 1080px; margin: 0 auto; }
.roadmap-intro { padding: 80px 0 60px; max-width: 690px; }
.roadmap-intro h1 { font: 500 clamp(40px,5vw,64px)/1.12 var(--sans); letter-spacing: -.055em; }
.roadmap-intro > p:not(.eyebrow) { color: var(--muted); max-width: 520px; margin-top: 24px; }
.roadmap-intro .roadmap-updated { font-size: 12px; }
.roadmap-links { display: flex; gap: 24px; margin-top: 20px; font-size: 13px; }
.roadmap-links a { min-height: 44px; display: inline-flex; align-items: center; }
.roadmap-section { display: grid; grid-template-columns: .85fr 1.4fr; gap: 85px; padding: 70px 0; }
.roadmap-section-head h2 { font: 500 30px/1.3 var(--sans); letter-spacing: -.04em; margin: 22px 0; }
.roadmap-section-head > p { color: var(--muted); font-size: 14px; }
.roadmap-badge { display: inline-block; background: var(--bg-subtle); color: var(--muted); font-size: 10px; letter-spacing: .1em; border-radius: 100px; padding: 8px 12px; }
.roadmap-item { display: flex; gap: 24px; margin-bottom: 38px; }
.roadmap-number { color: var(--leaf); font-size: 12px; padding-top: 5px; }
.roadmap-item h3 { font-size: 19px; font-weight: 500; letter-spacing: -.03em; }
.roadmap-item p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-top: 12px; }
.roadmap-feedback { text-align: center; background: var(--bg-subtle); border-radius: 24px; padding: 50px 25px; margin: 40px 0; }
.roadmap-feedback h2 { font-size: 28px; font-family: var(--sans); letter-spacing: -.04em; margin: 20px 0; }
.roadmap-feedback p { color: var(--muted); font-size: 14px; }
.roadmap-feedback .platform-actions { justify-content: center; margin-top: 25px; }
.not-found { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 70px 0; }
.not-found h1 { font: 400 44px/1.2 var(--serif); letter-spacing: -.04em; }
.not-found p { color: var(--muted); }
.not-found .eyebrow { margin-bottom: 0; }
@media (max-width: 1100px) {
  .landing-hero { gap: 40px; }
  .product-spread, .privacy-section { gap: 55px; }
  .hero-branch { right: -20px; }
  .topbar-right nav { gap: 16px; }
}
@media (max-width: 960px) {
  .shell { width: calc(100% - 48px); }
  .topbar-right > nav { display: none; }
  .js .nav-hamburger { display: flex; }
  .nav-hamburger { display: none; }
  .mobile-nav { display: flex; flex-direction: column; padding: 10px 0 24px; gap: 0; background: var(--bg); position: static; }
  .mobile-nav a { min-height: 44px; padding: 10px; }
  .landing-hero { gap: 32px; padding: 65px 0 80px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-description { font-size: 15px; }
  .journal-preview { padding: 25px; }
  .preview-story { font-size: 18px; }
  .preview-top { flex-wrap: wrap; }
  .journal-preview h2 { font-size: 21px; }
  .hero-branch { width: 270px; top: -80px; }
  .action { padding: 14px 18px; gap: 12px; }
  .steps-grid { gap: 30px; }
  .product-spread { gap: 35px; padding: 60px 0; }
  .sample-panel { padding: 28px; }
  .privacy-section { padding: 35px; gap: 35px; }
  .learning-grid { grid-template-columns: repeat(2,1fr); }
  .questions-section { gap: 35px; }
  .roadmap-section { gap: 35px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 40px); }
  .topbar { padding: 12px 0; }
  .topbar-right { gap: 4px; }
  .brand { font-size: 23px; }
  .landing-hero { grid-template-columns: 1fr; padding: 45px 0 65px; gap: 85px; }
  .hero-copy h1 { font-size: clamp(40px,10.7vw,58px); max-width: 500px; }
  .hero-description { font-size: 16px; max-width: 480px; margin: 24px 0; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .gentle-link { margin-top: 14px; }
  .hero-composition { padding: 0 6px; }
  .hero-branch { width: 250px; right: -5px; top: -100px; }
  .journal-preview { transform: rotate(1deg); padding: 28px 24px; }
  .preview-top { flex-wrap: nowrap; }
  .preview-story { font-size: 21px; }
  .journal-preview h2 { font-size: 24px; }
  .intro-section, .learning-section { padding: 45px 0 60px; }
  .section-heading h2, .spread-copy h2 { font-size: 34px; }
  .steps-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 40px; }
  .steps-grid h3 { margin-top: 12px; font-size: 21px; }
  .steps-grid p { font-size: 15px; }
  .product-spread { grid-template-columns: 1fr; gap: 35px; padding: 45px 0; }
  .reflection-spread .spread-copy { grid-row: 1; }
  .sample-panel { padding: 30px; }
  .privacy-section { grid-template-columns: 1fr; padding: 30px; gap: 24px; margin: 45px 0; border-radius: 20px; }
  .privacy-section h2 { font-size: 30px; }
  .learning-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .learning-card { padding: 25px; }
  .guide-index { margin-bottom: 18px; }
  .questions-section { grid-template-columns: 1fr; gap: 20px; padding: 40px 0 60px; }
  .start-section { padding: 45px 22px; border-radius: 20px; }
  .start-section h2 { font-size: 35px; }
  .start-section .platform-actions { gap: 10px; }
  .action { font-size: 12px; gap: 12px; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding: 40px 0 25px; }
  .site-footer nav { grid-column: 1; grid-row: auto; gap: 8px 24px; margin-top: 12px; }
  .guide-page__hero-art { height: 95px; margin-bottom: 25px; }
  .guide-page__hero-art img { width: 220px; height: 110px; }
  .guide-page__title { font-size: 38px; }
  .guide-page__lead { font-size: 17px; }
  .guide-page__content p, .guide-page__content li { font-size: 16px; }
  .legal-main { padding-top: 45px; }
  .legal-head h1 { font-size: 34px; }
  .roadmap-intro { padding: 45px 0 20px; }
  .roadmap-intro h1 { font-size: 42px; }
  .roadmap-links { flex-wrap: wrap; gap: 0 20px; }
  .roadmap-section { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .roadmap-item { gap: 18px; }
  .roadmap-feedback { margin: 20px 0; }
  .roadmap-feedback h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Topic-specific journal examples in the guides. */
.article-journal { position: relative; margin: 60px auto 40px; max-width: 760px; isolation: isolate; }
.article-journal-flower { position: absolute; top: -38px; right: 8px; width: 210px; height: auto; z-index: -1; pointer-events: none; }
.article-journal-card { background: var(--panel); border-radius: 24px; padding: clamp(24px,4vw,44px); }
.article-journal-card h2 { font: 500 clamp(24px,3vw,32px)/1.25 var(--sans); letter-spacing: -.04em; margin: 18px 0 32px; }
.article-journal-card .preview-story { font-size: clamp(20px,2.5vw,26px); margin-bottom: 24px; }
.article-journal figcaption { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 12px 8px 0; }
.journal-detail { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 20px 0 0; }
.journal-inset { padding: 22px; border-radius: 16px; background: var(--bg-subtle); }
.journal-inset p { font-size: 17px; line-height: 1.7; margin: 12px 0 0; }
.journal-tag { display: inline-block; padding: 10px 16px; border-radius: 100px; background: var(--pill); color: var(--accent); font-size: 12px; margin-top: 20px; }
.journal-wave { display: flex; gap: 7px; height: 56px; align-items: center; }
.journal-wave i { width: 5px; height: var(--bar); border-radius: 8px; background: var(--accent); opacity: .65; }
.journal-week { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; margin-top: 28px; }
.journal-week span { display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.journal-week i { display: grid; place-items: center; width: 32px; height: 32px; background: var(--pill); border-radius: 50%; color: var(--accent); font-style: normal; }
@media(max-width:600px) { .article-journal { margin-top: 48px; } .journal-inset { padding: 16px; } .journal-wave { gap: 6px; } }

/* Journal examples sit alongside practical notes within the article. */
.journal-example-spread { width: min(1080px, calc(100vw - 48px)); margin: 64px 0 64px 50%; transform: translateX(-50%); display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.journal-example-spread .article-journal { margin: 0; min-width: 0; width: 100%; }
.journal-side-note { padding: 12px 0; }
.guide-page__content .journal-side-note h3 { font: 500 24px/1.3 var(--sans); letter-spacing: -.035em; margin: 16px 0; }
.guide-page__content .journal-side-note p:not(.preview-label) { font-size: 15px; line-height: 1.8; color: var(--muted); }
.guide-page__content .journal-side-note .journal-side-prompt { font-size: 18px; line-height: 1.5; color: var(--text); margin-top: 24px; }
@media(max-width: 900px) { .journal-example-spread { width: 100%; margin: 56px 0; transform: none; grid-template-columns: 1fr; gap: 20px; } .journal-side-note { padding: 8px 12px; } }

.guide-page .guide-page__content .article-journal-card .preview-top { font-size: 9px; line-height: 1.6; }
.guide-page .guide-page__content .article-journal-card .preview-label, .guide-page .guide-page__content .journal-side-note .preview-label { font-size: 10px; line-height: 1.6; }
.guide-page .guide-page__content .article-journal-card .preview-story { color: var(--text); font-size: clamp(20px,2.5vw,26px); line-height: 1.55; }
.guide-page .guide-page__content .journal-side-note p.journal-side-prompt { color: var(--text); font-size: 18px; line-height: 1.5; }
