/* ============================================================
   Yomi — Tools Grid prototype
   Scholarly (light) brand tokens. Canonical: 00-brain/brand-design.md
   Ink on paper. Flat depth. Red rationed to "happening now" + focus.
   ============================================================ */

:root {
  /* surfaces & text */
  --bg: #FFFFFF;
  --surface: #FAFAF7;
  --raised: #F1ECDE;
  --ink: #1A1A1A;
  --text-2: #4A4A4A;
  --muted: #7A7A7A;

  /* accent & structure */
  --red: #8B2A2A;
  --border: #B8B5AC;
  --divider: #DEDCD6;

  /* type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* shape */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;

  /* rhythm */
  --gap: 16px;
  --board-max: 1140px;

  /* old-style numerals = craft signal */
  font-feature-settings: "onum" 1, "ss01" 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  /* faint paper atmosphere — barely-there, no glitter */
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(241, 236, 222, 0.5), transparent 70%);
}

/* ---------- masthead ---------- */
.masthead {
  display: flex;
  align-items: center;
  padding: 22px clamp(20px, 5vw, 48px);
  max-width: var(--board-max);
  margin: 0 auto;
  width: 100%;
}
.brand-mark {
  height: 38px;
  width: auto;
  display: block;
}
.masthead-note {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

main { flex: 1 0 auto; width: 100%; }

/* ---------- hero (signup CTA + positioning, above the fold) ---------- */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--board-max);
  margin: 0 auto;
  min-height: clamp(480px, 72vh, 680px);
  padding: clamp(32px, 6vh, 72px) clamp(20px, 5vw, 48px) clamp(40px, 7vh, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 560px; width: 100%; }

/* ---------- the instrument catalog ---------- */
.catalog {
  width: 100%;
  max-width: var(--board-max);
  margin: 0 auto;
  padding: 8px clamp(20px, 5vw, 48px) 56px;
}
.catalog-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.catalog-sub {
  margin: 6px 0 26px;
  font-size: 14.5px;
  color: var(--muted);
}
.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* ---------- tiles (catalog records, not app icons) ---------- */
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 15px 15px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  cursor: pointer;
  /* entrance */
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tile:hover { border-color: var(--border); background: var(--raised); }
.tile:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* top row — catalog index + class tag */
.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tile-idx {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 0.02em;
}
.tile-cat {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.tile-cat.is-now-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--red); }
.tile-cat.is-soon-tag { color: var(--text-2); }

.tile-glyph {
  width: 38px;
  height: 38px;
  color: var(--ink);
  align-self: flex-start;
  margin: 4px 0;
}
.tile-glyph svg { width: 100%; height: 100%; display: block; }
.tile.is-soon .tile-glyph { color: var(--text-2); opacity: 0.7; }

/* foot — title + the descriptor line (now visible, not just for screen readers) */
.tile-foot { display: flex; flex-direction: column; gap: 3px; }
.tile-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tile-desc {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}
.tile.is-soon .tile-title { color: var(--text-2); }

/* the ONE red moment — "happening now" */
.now-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  animation: pulse 2.4s ease-in-out infinite;
}
.tile.is-now:hover { border-color: var(--red); }

/* proof tile (the engine) — the source the instruments read from */
.tile.is-proof { background: var(--raised); border-color: var(--divider); }
.tile.is-proof .proof-moon { width: 34px; height: 34px; opacity: 0.92; align-self: flex-start; margin: 4px 0; }

/* ---------- hero signup column ---------- */
/* the orrery behind the hero — the observatory instrument, the memorability anchor */
.orrery {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(760px, 94vw);
  height: min(760px, 94vw);
  color: rgba(26, 26, 26, 0.12);
  pointer-events: none;
  z-index: 0;
}
.orrery .spin { transform-origin: 50% 50%; }
.orrery .o1 { animation: orbit 60s linear infinite; }
.orrery .o2 { animation: orbit 96s linear infinite reverse; }
.orrery .o3 { animation: orbit 140s linear infinite; }

.signup-inner { position: relative; z-index: 1; max-width: 540px; margin: 0 auto; }
.signup-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.signup-sub {
  margin: 18px auto 0;
  max-width: 460px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.55;
}
.signup-form {
  margin: 24px auto 0;
  max-width: 440px;
  display: flex;
  gap: 8px;
  width: 100%;
}
.signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color 0.2s ease;
}
.signup-form input[type="email"]::placeholder { color: var(--muted); }
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--red); /* sanctioned focus red */
}
.signup-form button {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  background: var(--ink);
  border: none;
  border-radius: var(--r-sm);
  padding: 13px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.signup-form button:hover { opacity: 0.88; }
.signup-form button:active { transform: translateY(1px); }
.signup-fine {
  margin-top: 11px;
  font-size: 11.5px;
  color: var(--muted);
}
.signup-error {
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--red);
  min-height: 1em;
}
.signup-error:empty { margin-top: 0; }
.signup-success {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.3;
}
.signup-success small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ---------- colophon ---------- */
.colophon {
  max-width: var(--board-max);
  margin: 0 auto;
  width: 100%;
  padding: 20px clamp(20px, 5vw, 48px) 40px;
  border-top: 1px solid var(--divider);
  font-size: 12.5px;
  letter-spacing: 0.2px;
  color: var(--muted);
  text-align: left;
}
.colophon strong { color: var(--text-2); font-weight: 600; }

/* ---------- motion keyframes ---------- */
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(0.78); }
}
@keyframes orbit {
  to { transform: rotate(360deg); }
}

/* ---------- responsive: signup on top, 2-up tiles ---------- */
@media (max-width: 720px) {
  .board { grid-template-columns: repeat(2, 1fr); }
  .masthead-note { display: none; }
  /* anchor the logo tight to the top-left corner on phones */
  .masthead { padding: 12px 16px; }
}

/* only the very smallest screens collapse to a single column */
@media (max-width: 340px) {
  .board { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tile, .signup, .sheet { animation: none; opacity: 1; transform: none; }
  .orrery .o1, .orrery .o2, .orrery .o3, .now-dot { animation: none; }
}

/* ============================================================
   Instrument panel (the sheet the 3 live tools open into)
   ============================================================ */
/* the tool opens as a dossier docked to the right edge, not a centered popup */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 12px;
  background: rgba(26, 26, 26, 0.34);
  animation: fade 0.2s ease forwards;
}
.sheet-backdrop[hidden] { display: none; }

.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(600px, 100%);
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  /* floating element — one soft neutral shadow is allowed on web */
  box-shadow: 0 24px 80px rgba(26, 26, 26, 0.20);
  animation: sheetSlide 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* instrument chrome — the maker's mark + close, fixed atop the readout */
.sheet-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 14px 20px;
  border-bottom: 1px solid var(--divider);
  background: var(--surface);
}
.sheet-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet-mark img { width: 16px; height: 16px; opacity: 0.9; }
.sheet-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}
.sheet-close:hover { color: var(--ink); background: var(--raised); }

.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 30px clamp(22px, 4vw, 40px) 36px;
}

.sheet-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.sheet-now {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-2);
}
.sheet-lead { margin-top: 12px; font-size: 15.5px; color: var(--text-2); line-height: 1.55; }
.sheet-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.sheet-foot {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
  font-size: 11.5px;
  letter-spacing: 0.2px;
  color: var(--muted);
}
.sheet-loading { padding: 40px 0; text-align: center; font-family: var(--serif); font-size: 18px; color: var(--muted); }

/* result grammar: the hero finding + the meaning paragraph */
.finding {
  text-align: center;
  margin: 18px 0 4px;
  padding: 8px 0 22px;
  border-bottom: 1px solid var(--divider);
}
.finding-big {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 13vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.finding-sub { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.meaning { margin: 18px 0 6px; font-size: 15.5px; line-height: 1.62; color: var(--text-2); }

/* current-sky list */
.sky-list { list-style: none; margin-top: 18px; }
.sky-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 15px;
}
.sky-row:last-child { border-bottom: none; }
.sky-sym { font-size: 16px; color: var(--text-2); text-align: center; }
.sky-name { color: var(--ink); }
.sky-pos { color: var(--text-2); text-align: right; font-variant-numeric: oldstyle-nums tabular-nums; }
.rx { color: var(--red); font-weight: 500; } /* retrograde = a "right now" state */

/* ephemeris lookup form */
.eph-form { display: flex; gap: 8px; margin: 16px 0 4px; }
.eph-form input[type="date"] {
  flex: 1; min-width: 0;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--divider);
  border-radius: var(--r-sm); padding: 11px 14px;
}
.eph-form input[type="date"]:focus { outline: none; border-color: var(--red); }
.eph-form button {
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--bg); background: var(--ink); border: none;
  border-radius: var(--r-sm); padding: 11px 20px; cursor: pointer;
  transition: opacity 0.2s ease;
}
.eph-form button:hover { opacity: 0.88; }
.eph-on { margin-top: 16px; font-size: 13px; letter-spacing: 0.3px; color: var(--muted); }
.eph-loading { padding: 22px 0; text-align: center; color: var(--muted); }

/* birth-data forms (chart / big three / venus&mars / saturn / synastry / compat) */
.bf-form { margin-top: 16px; }
.bf-row { margin-bottom: 12px; position: relative; }
.bf-label { display: block; font-size: 12px; letter-spacing: 0.4px; color: var(--text-2); margin-bottom: 5px; }
.bf-opt { color: var(--muted); letter-spacing: 0; }
.bf-input {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--divider);
  border-radius: var(--r-sm); padding: 11px 13px;
}
.bf-input:focus { outline: none; border-color: var(--red); }
select.bf-input { appearance: none; cursor: pointer; }
.bf-suggest {
  list-style: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  margin-top: 4px; max-height: 210px; overflow-y: auto; box-shadow: 0 12px 30px rgba(26, 26, 26, 0.12);
}
.bf-suggest li { padding: 10px 13px; font-size: 14px; cursor: pointer; border-bottom: 1px solid var(--divider); }
.bf-suggest li:last-child { border-bottom: none; }
.bf-suggest li:hover { background: var(--surface); }
.bf-go {
  width: 100%; margin-top: 4px; font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--bg); background: var(--ink); border: none; border-radius: var(--r-sm);
  padding: 13px; cursor: pointer; transition: opacity 0.2s ease;
}
.bf-go:hover { opacity: 0.88; }
.bf-person { font-family: var(--serif); font-size: 16px; margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--divider); }
.bf-form .bf-person:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.bf-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.bf-err { margin-top: 12px; font-size: 13.5px; color: var(--red); }

/* big-three / venus-mars trio */
.big3 { display: flex; justify-content: center; gap: 14px; margin: 22px 0 4px; flex-wrap: wrap; }
.big3-item {
  flex: 1; min-width: 88px; text-align: center;
  background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-md); padding: 18px 10px;
}
.big3-sym { display: block; font-size: 26px; color: var(--text-2); }
.big3-label { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
.big3-sign { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); }

/* saturn return */
.sr-natal { margin-top: 18px; font-size: 15px; color: var(--text-2); }
.sr-natal strong { color: var(--ink); font-weight: 600; }
.sr-list { list-style: none; margin-top: 14px; }
.sr-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--divider); }
.sr-k { font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); }
.sr-v { font-family: var(--serif); font-size: 16px; color: var(--ink); text-align: right; }
.sr-age { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }

/* synastry */
.syn-list { list-style: none; margin-top: 14px; }
.syn-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--divider); font-size: 14px; }
.syn-row:last-child { border-bottom: none; }
.syn-pair em { font-style: normal; color: var(--muted); }
.syn-orb { color: var(--text-2); font-variant-numeric: oldstyle-nums; white-space: nowrap; }

/* compatibility */
.co-signs { display: flex; align-items: center; gap: 10px; }
.co-amp { color: var(--muted); font-family: var(--serif); }
.co-out { margin-top: 20px; text-align: center; }
.co-score { font-size: 18px; letter-spacing: 4px; color: var(--ink); }
.co-headline { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 12px 0 8px; }
.co-body { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* moon visual */
.moon-wrap { display: flex; justify-content: center; margin: 22px 0 4px; }
.moonviz { width: 128px; height: 128px; }
.moon-base { fill: var(--surface); }
.moon-lit { fill: var(--ink); }
.moon-ring { fill: none; stroke: var(--border); stroke-width: 1; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetSlide { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }

/* on phones the dossier takes the whole screen */
@media (max-width: 640px) {
  .sheet-backdrop { padding: 0; }
  .sheet { width: 100%; height: 100%; border-radius: 0; border: none; }
  .sheet-body { padding: 24px 20px 32px; }
}

/* ============================================================
   Account layer — auth bar, tile locks, signup states, saved-data line
   ============================================================ */
.auth-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 clamp(20px, 5vw, 48px);
  margin: -6px 0 2px;
  font-size: 13.5px;
  color: var(--muted);
}
.auth-who { font-feature-settings: normal; }
.auth-out {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-2);
  background: none;
  border: 1px solid var(--divider);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}
.auth-out:hover { border-color: var(--border); color: var(--ink); }

/* lock badge — bottom-right (top row holds the index + class tag now); only signed out */
.tile-lock {
  position: absolute;
  bottom: 15px;
  right: 14px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  opacity: .6;
}
.tile-lock svg { width: 100%; height: 100%; display: block; }
body.signed-in .tile-lock { display: none; }

/* center signup buttons for the signed-in states */
.signup-go {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  margin-top: 6px;
}
.signup-go:hover { background: #000; }

/* "your saved birth data · … · edit" line inside profile-backed tools */
.bf-saved {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 14px;
}
.bf-edit {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--red);
  background: none;
  border: none;
  padding: 0 0 0 6px;
  cursor: pointer;
  text-decoration: underline;
}
.gate-form { margin-top: 8px; }

/* ============================================================
   /big-three — robust tool page
   ============================================================ */
.b3-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 44px) clamp(20px, 5vw, 44px) 80px;
}
.b3-loading {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  padding: 80px 0;
}
.b3-loading a { color: var(--red); }

/* two-column dossier: sticky identity rail + interpretation essays */
.b3-doc {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.b3-rail { position: sticky; top: 28px; }
.b3-rail-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 33px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.b3-places { border-top: 1px solid var(--divider); margin-bottom: 16px; }
.b3-prow {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--divider);
}
.b3-prow-sym { font-size: 18px; color: var(--text-2); text-align: center; }
.b3-prow-role { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.b3-prow-sign { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.b3-prow.is-empty .b3-prow-sign { color: var(--muted); }
.b3-birth { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.b3-rail-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-bottom: 14px; }
.b3-back { color: var(--text-2); font-size: 14px; display: inline-block; margin-top: 2px; }
.b3-back:hover { color: var(--ink); }

.b3-essays { min-width: 0; }
.b3-lede {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-2);
  margin-bottom: 24px;
}
.b3-card, .b3-combine {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--r-md);
  padding: clamp(20px, 4vw, 30px);
  margin-bottom: 18px;
}
.b3-combine { background: var(--raised); border-color: #E3DCC9; }
.b3-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.b3-sym { font-size: 20px; color: var(--text-2); width: 26px; text-align: center; }
.b3-place { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.b3-place strong { color: var(--ink); font-weight: 600; }
.b3-headline {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.b3-body { font-size: 16px; line-height: 1.62; color: var(--text-2); }
.b3-card-locked .b3-body { color: var(--muted); }
.b3-proof {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 760px) {
  .b3-doc { grid-template-columns: 1fr; gap: 22px; }
  .b3-rail { position: static; }
  .b3-places { margin-bottom: 12px; }
}
