/* The landing page. Reuses the app's theme tokens from app.css. */

body {
  overflow: auto;          /* the app locks scrolling; the site must not */
  height: auto;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------- nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav .brand { text-decoration: none; color: inherit; }

.nav-links { display: flex; gap: 20px; margin-left: 14px; flex: 1; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
}
.nav-links a:hover { color: var(--text); border-bottom-color: var(--brand); }

/* margin-left:auto, not a reliance on .nav-links growing - those links are
   display:none below 900px, which left nothing pushing the controls right and
   stranded 60px of blank space past the last button. */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.nav-cta .cta-short { display: none; }

/* The hamburger and its sheet only exist below 900px, where .nav-links goes. */
.nav-toggle { display: none; }
.nav-sheet {
  position: sticky;
  top: 57px;
  z-index: 49;
  display: grid;
  padding: 6px 16px 12px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px var(--shadow-lg);
}
.nav-sheet a,
.nav-sheet .sheet-install {
  padding: 13px 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  cursor: pointer;
}
.nav-sheet > :last-child { border-bottom: 0; }
.nav-sheet a:active, .nav-sheet .sheet-install:active { color: var(--brand); }
.nav-sheet .sheet-install { color: var(--brand); font-weight: 600; }

.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 68px 24px 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--brand), #9b7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: 16.5px; line-height: 1.65; color: var(--dim); max-width: 34em; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); max-width: 34em; }

.hero-art {
  position: relative;
  height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(90% 70% at 60% 20%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
}
.hero-art .paper {
  transform: rotate(-3deg) scale(0.52);
  transform-origin: center;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  border-radius: 3px;
}
.hero-art .paper.back {
  position: absolute;
  transform: rotate(4deg) scale(0.5) translate(46px, 26px);
  opacity: 0.5;
  filter: saturate(0.7);
}

/* ----------------------------------------------------------------- stats */

.stats-strip { border-block: 1px solid var(--line); background: var(--panel); }
.stat-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 24px 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-cell b {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-cell span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.stat-cell.pending b { color: var(--muted); font-weight: 500; }
.stats-note {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ----------------------------------------------------------------- bands */

.site-band { padding: 72px 0; }
.site-band.alt { background: var(--panel); border-block: 1px solid var(--line); }

.section-title {
  margin: 0 0 12px;
  font-size: clamp(23px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-lede { margin: 0 0 30px; color: var(--dim); font-size: 15px; max-width: 60ch; line-height: 1.6; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.problem {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
}
.site-band.alt .problem { background: var(--bg); }
.pnum {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 10px;
}
.problem h3 { margin: 0 0 8px; font-size: 16px; }
.problem p { margin: 0; color: var(--dim); font-size: 13.5px; line-height: 1.6; }

.what-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 28px;
}
.what-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dim);
}
.what-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.what-list b { color: var(--text); }

/* --------------------------------------------------------------- formats */

.format-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}
.format-card { text-align: center; cursor: pointer; }
.format-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 12px; }
.format-frame {
  height: 260px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.format-card:hover .format-frame { transform: translateY(-4px); box-shadow: 0 16px 40px var(--shadow-lg); }

/* `zoom`, not `transform: scale()`. A transform shrinks the page visually but
   leaves its 794px layout box in place, which pushes it clean out of a 211px
   frame where overflow:hidden erases it. zoom shrinks the box itself, so the
   page centres like any normal element. */
.format-frame .page {
  zoom: 0.24;
  flex: 0 0 auto;
  box-shadow: none;
}
/* Direct children only - the rendered CV inside the frame has its own <b> and
   <span> elements, and a descendant selector would restyle those too. */
.format-card > b { display: block; margin-top: 10px; font-size: 14px; }
.format-card > span { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ----------------------------------------------------------- professions */

.prof-search { max-width: 420px; margin-bottom: 22px; }
.prof-groups { display: grid; gap: 22px; }
.prof-group h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.prof-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.15s, transform 0.12s;
}
.site-band .prof-chip { background: var(--panel-2); }
.prof-chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.prof-chip i { font-style: normal; color: var(--muted); font-size: 11.5px; }
.prof-empty { color: var(--muted); font-size: 13.5px; }

/* ---------------------------------------------------------------- rating */

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.char-tile {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}
.char-tile b { display: block; font-size: 15px; margin-bottom: 6px; }
.char-tile p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.55; }
.char-tile .weight { float: right; font-size: 12px; color: var(--muted); font-weight: 500; }

.planet-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
  border-radius: 18px;
  background: radial-gradient(110% 90% at 20% 20%, #16244a, #0a0f1f 70%);
  color: #eaf0f8;
}
.pp-copy h3 { margin: 0 0 10px; font-size: 20px; color: #fff; }
.pp-copy p { margin: 0; color: rgba(234, 240, 248, 0.76); font-size: 14px; line-height: 1.6; }
.pp-scale { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pp-item { text-align: center; width: 62px; }
.pp-item span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------- reviews */

.rv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.rv {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
  transition: border-color 0.16s, transform 0.16s;
}
.rv:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.rv-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.rv-stars { display: flex; gap: 3px; }
.rv-stars svg.on { color: var(--brand); }
.rv-stars svg.off { color: var(--line); }

/* The planet the reviewer picked, next to the stars it works out to. */
.rv-planet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.rv-planet svg { flex: 0 0 auto; }

.rv-quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dim);
  flex: 1;
}
.rv-quote .rv-rest { display: inline; }
.rv-quote.clipped .rv-rest { display: none; }
.rv-quote.clipped .rv-head::after { content: "\2026"; }

.rv-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.rv-more svg { transition: transform 0.18s; }
.rv.open .rv-more svg { transform: rotate(180deg); }

.rv-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rv-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: hsl(var(--hue, 220) 62% 48%);
}
.rv-who { min-width: 0; flex: 1; }
.rv-who b { display: block; font-size: 14.5px; }
.rv-who span { display: block; font-size: 12.5px; color: var(--muted); }
.rv-src { color: var(--muted); text-decoration: none; font-size: 17px; }
.rv-src:hover { color: var(--brand); }

/* ------------------------------------------------------- the review form */

.rv-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  scroll-margin-top: 80px;
}

/* A row of ten on a desktop; a swipe on a phone, where ten tap targets big
   enough to hit will never fit across 360px. */
.planet-pick {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.pp-pick {
  flex: 1 0 auto;
  min-width: 68px;
  scroll-snap-align: center;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 4px 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, transform 0.12s, color 0.14s;
}
.pp-pick svg { transition: transform 0.16s; }
.pp-pick:hover { background: var(--panel-2); color: var(--text); }
.pp-pick:hover svg { transform: scale(1.08); }
.pp-pick:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pp-pick.sel {
  border-color: var(--brand);
  background: var(--brand-wash);
  color: var(--text);
  font-weight: 650;
}
.pp-pick.sel svg { transform: scale(1.12); }

.planet-read {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 24px;
  margin: 10px 0 20px;
  font-size: 14px;
  color: var(--muted);
}
.planet-read b { color: var(--text); }
/* The planet modal animates its stars in from nothing. These are static. */
.planet-read .star { opacity: 1; transform: none; color: var(--warn); }
.planet-read .star.empty { color: var(--line); opacity: 1; }

.field > label .opt {
  font-size: 11px;
  color: var(--placeholder);
  letter-spacing: 0.02em;
}
/* The honeypot. Not `display:none` - some bots skip hidden fields, and this one
   has to look real to them while staying out of a person's way entirely. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rv-consent { margin-top: 16px; align-items: flex-start; }
.rv-consent input { margin-top: 2px; flex: 0 0 auto; }
.rv-fineprint { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* -------------------------------------------------------------------- AI */

.ai-cost {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
}

/* --------------------------------------------------------- open source */

.os-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 34px; }
.os-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.os-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.os-card h3 { margin: 0 0 8px; font-size: 16px; }
.os-card p { margin: 0 0 12px; font-size: 13.5px; color: var(--dim); line-height: 1.6; }
.os-go { font-size: 13px; color: var(--brand); font-weight: 600; }

.suggest {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-2);
  scroll-margin-top: 80px;
}
.suggest h3 { margin: 0 0 6px; font-size: 18px; }
.suggest > p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.suggest-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ----------------------------------------------------------------- share */

.share-wrap { text-align: center; }
.share-wrap .section-lede { margin-inline: auto; }

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;         /* these are anchors; kill the underline */
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.12s;
}
.share-btn svg { flex: 0 0 auto; transition: transform 0.16s; }
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-btn:hover svg { transform: scale(1.08); }
.share-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Each network takes its own colour on hover, so the row reads at a glance
   without shouting in five colours at rest. */
.s-whatsapp:hover { background: #25d366; border-color: #25d366; }
.s-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.s-x:hover        { background: #111827; border-color: #111827; }
.s-reddit:hover   { background: #ff4500; border-color: #ff4500; }
.s-email:hover    { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.share-btn.native {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}
.share-btn.native:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--brand-ink); }

/* At rest each icon carries a hint of its brand colour. */
.s-whatsapp svg { color: #25d366; }
.s-linkedin svg { color: #0a66c2; }
.s-reddit svg   { color: #ff4500; }
.share-btn:hover svg { color: currentColor; }

/* ---------------------------------------------------------------- install */

.install-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  text-align: left;
}
.install-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--brand-wash);
  color: var(--brand);
}
.install-mark svg { width: 22px; height: 22px; }
.install-copy { flex: 1; min-width: 0; }
.install-copy b { display: block; font-size: 14.5px; }
.install-copy p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.install-card .btn { flex: 0 0 auto; }

.review-cta {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.review-cta a { color: var(--brand); font-weight: 600; text-decoration: none; }
.review-cta a:hover { text-decoration: underline; }

.copy-row { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; }
.copy-row .input { text-align: center; font-size: 13.5px; }
.copy-row .btn { gap: 7px; flex: 0 0 auto; }

@media (max-width: 560px) {
  .share-btn span { display: none; }        /* icons only on small screens */
  .share-btn { width: 44px; padding: 0; justify-content: center; }
  .share-btn.native { width: auto; padding: 0 16px; }
  .share-btn.native span { display: inline; }
}

/* ------------------------------------------------------------- final CTA */

.final-cta { padding: 76px 0; text-align: center; }
.final-cta h2 { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.02em; }
.final-cta p { margin: 0 0 26px; color: var(--dim); }

/* ---------------------------------------------------------------- footer */

.site-foot { border-top: 1px solid var(--line); background: var(--panel); padding: 34px 0; }
.foot-inner { display: grid; gap: 14px; }
.site-foot p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-foot nav a { color: var(--dim); text-decoration: none; font-size: 13.5px; }
.site-foot nav a:hover { color: var(--brand); }
.foot-note { font-size: 12px !important; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .hero-art { height: 340px; order: -1; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .planet-promo { grid-template-columns: 1fr; padding: 22px; }
  .format-frame { height: 220px; }
}

@media (max-width: 620px) {
  .site-nav { gap: 8px; padding: 10px 12px; }
  .site-nav .brand small { display: none; }
  .nav-actions { gap: 6px; }
  .nav-cta { padding: 0 13px; }
  .nav-cta .cta-long { display: none; }
  .nav-cta .cta-short { display: inline; }
  /* Share and Install live in the sheet at this width, not the bar. */
  .nav-actions .btn:not(.btn-primary):not(.btn-icon) { display: none; }
  .site-band { padding: 46px 0; }
  .wrap { padding: 0 16px; }

  .hero { padding: 34px 16px 40px; gap: 22px; }
  .hero-art { height: 260px; border-radius: 14px; }
  .lede { font-size: 15.5px; }
  /* Two full-width buttons beat two half-width ones with wrapped labels. */
  .hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-cta .btn { justify-content: center; }
  .final-cta { padding: 52px 0; }
  .final-cta .hero-cta { max-width: 340px; margin: 0 auto; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 22px 16px 6px; }
  .stat-cell b { font-size: 25px; }

  /* Eight tall previews stacked is a very long scroll. Swipe them instead. */
  .format-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .format-card { flex: 0 0 60%; scroll-snap-align: center; }
  .format-frame { height: 200px; }

  .rv-form, .suggest { padding: 18px; border-radius: 14px; }
  .install-card { flex-wrap: wrap; gap: 12px; }
  .install-card .btn { width: 100%; justify-content: center; }
  .os-grid { gap: 12px; margin-bottom: 26px; }
  .os-card { padding: 18px; }
  .char-grid { gap: 12px; }
  .char-tile { padding: 15px; }
  .rv { padding: 20px; }
  .site-foot nav { gap: 14px 18px; }
}

/* -------------------------------------------------------------- journeys */

.jn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.jn-grid h3 { margin: 8px 0 10px; font-size: 17px; letter-spacing: -0.015em; }
.jn-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.st-empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--panel-2);
  margin-bottom: 22px;
}
.st-empty b { display: block; font-size: 15px; margin-bottom: 6px; }
.st-empty p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 60ch; }

/* A short badge for how it ended - the one thing everyone scans for first. */
.st-outcome {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ok);
  color: var(--ok-ink);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.st-card .st-by { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.st-by { display: flex; align-items: center; gap: 10px; }
.st-by .rv-avatar { width: 34px; height: 34px; font-size: 12px; }
.st-by-lg { margin-top: 20px; }
.st-by-lg .rv-avatar { width: 42px; height: 42px; font-size: 14px; }

.st-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.st-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
}
.st-foot .post-go { margin-left: auto; }

/* --------------------------------------------------- one journey's page */

.st-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.st-like i {
  font-style: normal;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.st-like:hover { color: var(--brand); border-color: var(--brand); }

.st-comments { margin-top: 44px; }
.st-comments h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.015em; }
.st-note { margin: 0 0 20px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.st-comment {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}
.st-comment:first-child { border-top: 0; }
.st-comment header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.st-comment header .rv-avatar { width: 28px; height: 28px; font-size: 11px; }
.st-comment header b { font-size: 13.5px; }
.st-comment header span { font-size: 12px; color: var(--muted); }
.st-comment-body { font-size: 14.5px; line-height: 1.7; color: var(--dim); }
.st-comment-body p { margin: 0 0 10px; }
.st-comment-body > :last-child { margin-bottom: 0; }
.st-comment-body pre { overflow-x: auto; }

.st-form { margin-top: 48px; scroll-margin-top: 80px; }
.st-form h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.015em; }

/* ------------------------- shared article layout (journeys, and any page) */

.blog-main { padding: 48px 0 80px; }
.blog-head { max-width: 68ch; margin: 0 auto 38px; text-align: center; }
.blog-head h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; }
.blog-head p { margin: 0; color: var(--dim); font-size: 16px; }

.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.post-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.16s, transform 0.16s;
}
.post-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.post-card h2 { margin: 8px 0 10px; font-size: 19px; letter-spacing: -0.015em; }
.post-card p { margin: 0 0 16px; color: var(--dim); font-size: 14px; line-height: 1.6; flex: 1; }
.post-date { font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }
.post-go { font-size: 13.5px; font-weight: 600; color: var(--brand); }

.post { max-width: 72ch; margin: 0 auto; }
.post-back { display: inline-block; margin-bottom: 26px; color: var(--muted); text-decoration: none; font-size: 13.5px; }
.post-back:hover { color: var(--brand); }
.post header { margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.post h1 { margin: 8px 0 12px; font-size: clamp(27px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.025em; }
.post-lede { margin: 0; font-size: 17px; line-height: 1.6; color: var(--dim); }

.post-body { font-size: 16.5px; line-height: 1.75; color: var(--text); }
.post-body h2 { margin: 38px 0 12px; font-size: 23px; letter-spacing: -0.015em; }
.post-body h3 { margin: 30px 0 10px; font-size: 18.5px; }
.post-body h4, .post-body h5 { margin: 24px 0 8px; font-size: 16px; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 24px; }
.post-body li { margin-bottom: 7px; }
.post-body a { color: var(--brand); }
.post-body code {
  background: var(--chip);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.post-body pre {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
  margin: 0 0 20px;
}
.post-body pre code { background: none; padding: 0; font-size: 13px; }
.post-body blockquote {
  margin: 0 0 20px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--brand);
  color: var(--dim);
  font-style: italic;
}
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }

.post-next {
  display: block;
  margin-top: 48px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  text-decoration: none;
  color: inherit;
}
.post-next:hover { border-color: var(--brand); }
.post-next span { display: block; font-size: 12px; color: var(--muted); }
.post-next b { display: block; margin-top: 3px; font-size: 16px; }
