/* boon. — landing styles */
:root, :root[data-theme="dark"] {
  --dot: #FF9900;
  --dot-muted: #E8850E;
  --dot-warm: #F09000;
  --accent-text: #FF9900;
  --ink: #0B0B0C;
  --ink-2: #141416;
  --ink-3: #1C1C1F;
  --ink-4: #26262A;
  --linen: #F5F3EF;
  --slate: #7B9EA8;
  --stone: #C4BFB6;
  --fg: #EDEAE3;
  --fg-dim: #A8A39A;
  --fg-mute: #6B6760;
  --line: rgba(237,234,227,.11);
  --line-strong: rgba(237,234,227,.18);
  --nav-bg: rgba(11,11,12,.72);
  --btn-ink: #1A0E00;
  --eyebrow-bg: rgba(255,255,255,0.025);

  /* Shared tokens (same in both themes) */
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1240px;
  --tg-bg: #17212B;
  --tg-bg-2: #0E1621;
  --tg-bubble-in: #182533;
  --tg-bubble-out: #2B5278;
  --tg-text: #E7EEF5;
  --tg-meta: #7A8B9C;
  --tg-accent: #64A9EC;
}
:root[data-theme="light"] {
  --ink: #F5F3EF;
  --ink-2: #EDEAE3;
  --ink-3: #E4E0D7;
  --ink-4: #D6D1C5;
  --fg: #0B0B0C;
  --fg-dim: #4A4842;
  --fg-mute: #8B877E;
  --line: rgba(11,11,12,.08);
  --line-strong: rgba(11,11,12,.14);
  --nav-bg: rgba(245,243,239,.78);
  --eyebrow-bg: rgba(0,0,0,0.02);
  --accent-text: #B35E00;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--fg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (min-width: 800px) { .wrap { padding: 0 48px; } }

/* ---------- WORDMARK ---------- */
.wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  color: var(--fg);
}
.wordmark .dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  background: var(--dot);
  margin-left: 0.04em;
  transform: translateY(-0.02em);
}

/* ---------- NAV ---------- */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
nav.top .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
nav.top .wordmark { font-size: 24px; }
nav.top .links {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--fg-dim);
}
nav.top .links a { color: inherit; text-decoration: none; }
nav.top .links a:hover { color: var(--fg); }
@media (min-width: 800px) { nav.top .links { display: flex; } }
nav.top .cta-mini {
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .15s ease;
}
nav.top .cta-mini:hover { transform: translateY(-1px); }

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 34px; height: 34px;
  border-radius: 999px;
  color: var(--fg-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, border-color .15s, transform .15s;
}
.theme-toggle:hover { color: var(--fg); border-color: var(--fg-mute); transform: translateY(-1px); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: inline-block; }
:root[data-theme="light"] .theme-toggle .sun { display: inline-block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
@media (min-width: 800px) {
  .hero { padding: 120px 0 96px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 80px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 500;
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--eyebrow-bg);
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 0 var(--dot);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,153,0,.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,153,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,153,0,0); }
}

h1.hero-h {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 22px 0 20px;
  color: var(--fg);
  text-wrap: balance;
}
h1.hero-h em {
  font-style: normal;
  color: var(--fg-dim);
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
  color: var(--fg-dim);
  max-width: 520px;
  text-wrap: pretty;
  margin: 0 0 36px;
}
.hero-sub b { color: var(--fg); font-weight: 500; }

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
@media (min-width: 520px) {
  .cta-row { flex-direction: row; align-items: center; }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dot);
  color: var(--btn-ink);
  padding: 18px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease;
  box-shadow: 0 0 0 0 rgba(255,153,0,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(255,153,0,.45);
}
.btn-primary .arr {
  transition: transform .2s ease;
}
.btn-primary:hover .arr { transform: translateX(4px); }
.cta-meta {
  font-size: 13px;
  color: var(--fg-mute);
  max-width: 280px;
  line-height: 1.45;
}
.cta-meta b { color: var(--fg-dim); font-weight: 500; }

/* hero phone preview */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone-wrap::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,153,0,.18), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* ---------- iPhone frame ---------- */
.phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #1a1a1d inset,
    0 0 0 3px #2b2b30,
    0 40px 80px -30px rgba(0,0,0,.8),
    0 20px 40px -20px rgba(255,153,0,.15);
  z-index: 1;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--tg-bg-2);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}

/* status bar */
.tg-status {
  height: 36px;
  padding: 10px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--tg-text);
  z-index: 5;
  position: relative;
}
.tg-status .icons { display: flex; gap: 5px; align-items: center; }

/* telegram chat header */
.tg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--tg-bg);
  border-bottom: 1px solid rgba(0,0,0,.3);
  position: relative;
}
.tg-header .back {
  color: var(--tg-accent);
  font-size: 22px;
  line-height: 1;
}
.tg-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1e1e21;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--linen);
  font-size: 15px;
  position: relative;
  flex-shrink: 0;
}
.tg-avatar .dot {
  position: absolute;
  right: 9px;
  bottom: 11px;
  width: 4px; height: 4px;
  background: var(--dot);
}
.tg-titles { line-height: 1.2; flex: 1; min-width: 0; }
.tg-titles .name {
  color: var(--tg-text);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tg-titles .name .check {
  width: 14px; height: 14px;
  background: var(--tg-accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: white;
}
.tg-titles .status {
  color: var(--tg-meta);
  font-size: 11px;
}
.tg-header-icons {
  color: var(--tg-meta);
  display: flex;
  gap: 12px;
}
.tg-search {
  color: var(--tg-accent);
  margin-left: auto;
  flex-shrink: 0;
}

/* chat body */
.tg-chat {
  flex: 1;
  overflow: hidden;
  padding: 10px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background:
    radial-gradient(ellipse at top, rgba(100,169,236,.06), transparent 60%),
    var(--tg-bg-2);
  position: relative;
}
.tg-day {
  text-align: center;
  font-size: 11px;
  color: var(--tg-meta);
  background: rgba(0,0,0,.3);
  padding: 3px 10px;
  border-radius: 10px;
  align-self: center;
  margin: 2px 0 8px;
}
.msg {
  max-width: 82%;
  padding: 7px 11px 20px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--tg-text);
  position: relative;
  word-wrap: break-word;
}
.msg.in {
  background: var(--tg-bubble-in);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.out {
  background: var(--tg-bubble-out);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg .time {
  position: absolute;
  right: 10px; bottom: 5px;
  font-size: 10px;
  color: var(--tg-meta);
}
.msg.out .time {
  color: rgba(255,255,255,.55);
}
.msg.sys {
  align-self: center;
  background: rgba(0,0,0,.3);
  font-size: 11px;
  color: var(--tg-meta);
  padding: 4px 10px;
  border-radius: 10px;
  max-width: none;
}
.msg.sys .time { display: none; }
.msg.bot-intro {
  background: rgba(255,255,255,0.06);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--tg-text);
  max-width: 82%;
}
.msg.bot-intro b {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  color: #fff;
}
.msg.bot-insight {
  max-width: 88%;
  font-size: 12.5px;
  line-height: 1.5;
}
.msg.bot-insight b { font-weight: 600; color: #fff; }
.tg-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}
.tg-menu-btn {
  background: var(--tg-bubble-out);
  color: var(--tg-text);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 10px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.tg-menu-btn .emoji { font-size: 13px; }
.tg-menu-btn.panic {
  background: rgba(255,153,0,0.14);
  color: var(--dot);
  border: 1px solid rgba(255,153,0,0.5);
  font-weight: 600;
}
.tg-menu-btn.panic.pressed {
  background: rgba(255,153,0,0.28);
  box-shadow: 0 0 0 2px rgba(255,153,0,0.18), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: panicPulse 1.8s ease-in-out infinite;
}
@keyframes panicPulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(255,153,0,0.18), inset 0 1px 0 rgba(255,255,255,0.05); }
  50%     { box-shadow: 0 0 0 5px rgba(255,153,0,0.08), inset 0 1px 0 rgba(255,255,255,0.05); }
}

/* Persistent reply keyboard (real Telegram pattern) */
.tg-reply-keyboard {
  background: #1B2836;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-top: 1px solid rgba(0,0,0,.3);
}
.tg-reply-btn {
  background: #2A3A4C;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.tg-reply-btn .emoji { font-size: 13px; }
.tg-reply-btn.pressed {
  background: rgba(255,153,0,0.22);
  color: var(--dot);
  box-shadow: 0 0 0 2px rgba(255,153,0,0.35);
  animation: panicPulse 1.8s ease-in-out infinite;
}

/* Panic-tap user message (emoji + label, from reply keyboard) */
.msg.out.panic-tap {
  background: var(--tg-bubble-out);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.msg.out.panic-tap .emoji { font-size: 14px; }

/* Dependency score message */
.msg.in.score-msg {
  max-width: 88%;
  padding: 12px 14px 10px;
  font-size: 13px;
  line-height: 1.45;
}
.score-label {
  font-size: 11px;
  color: #8FA3B8;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}
.score-level {
  font-size: 20px;
  font-weight: 700;
  color: var(--dot);
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.score-bar {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--dot), #FFB547);
  border-radius: 4px;
}
.score-pct {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: right;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.score-body {
  font-size: 12.5px;
  color: #D8E2EC;
  line-height: 1.5;
}

/* inline keyboard buttons (telegram) */
.tg-keyboard {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}
.tg-keyboard .kb {
  background: rgba(100,169,236,.12);
  color: var(--tg-accent);
  text-align: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.tg-keyboard .kb.danger {
  background: rgba(255,99,71,.14);
  color: #ff8569;
}
.tg-keyboard .kb.dot {
  background: rgba(255,153,0,.14);
  color: var(--dot);
}

.tg-input-bar {
  background: var(--tg-bg);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,.3);
}
.tg-input {
  flex: 1;
  background: rgba(0,0,0,.25);
  border-radius: 18px;
  padding: 8px 12px;
  color: var(--tg-meta);
  font-size: 13px;
}
.tg-send {
  color: var(--tg-accent);
  font-size: 20px;
}

/* ---------- Section shell ---------- */
section.s {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
@media (min-width: 800px) { section.s { padding: 140px 0; } }

.section-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--dot);
}
h1.section-h, h2.section-h {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--fg);
  text-wrap: balance;
  max-width: 880px;
}
h1.section-h em, h2.section-h em { font-style: normal; color: var(--fg-dim); }

/* ---------- OFFER ---------- */
.feelings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 700px) { .feelings { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .feelings { grid-template-columns: repeat(4, 1fr); } }

.feel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
.feel:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feel .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.1em;
  margin-bottom: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.feel .num .ico { color: var(--accent-text); font-size: 14px; }
.feel .lead {
  font-size: 19px;
  line-height: 1.3;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.feel .detail {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.5;
  margin: 0;
}

/* ---------- PAIN ---------- */
.pain {
  background:
    radial-gradient(ellipse at center, rgba(255,153,0,.06), transparent 70%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pain blockquote {
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-wrap: balance;
  position: relative;
}
.pain blockquote .mute { color: var(--fg-dim); }
.pain .quote-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 72px;
  line-height: 1;
  color: var(--accent-text);
  margin-bottom: -20px;
  display: block;
}
.pain .sig {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  color: var(--fg-mute);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.pain .sig .line {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  max-width: 60px;
}

/* ---------- PRODUCT (3 steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 72px;
  margin-top: 56px;
}
@media (min-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}
.step-copy { max-width: 100%; }
.step-phone {
  width: 100%;
  display: flex;
  justify-content: center;
}
.step-phone .phone {
  width: 280px;
  height: 560px;
}
.step-copy {
  max-width: 360px;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-text);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step-title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-weight: 600;
  margin: 0 0 10px;
  text-wrap: balance;
}
.step-body {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
.step-body b { color: var(--fg); font-weight: 500; }

/* Panic button pulse in phone 3 */
.panic-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff5e5e;
  margin-right: 6px;
  vertical-align: middle;
  animation: panic 1.4s infinite;
}
@keyframes panic {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* breathing animation */
.breath-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,0,.28), rgba(255,153,0,.06));
  border: 1px solid rgba(255,153,0,.35);
  margin: 10px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dot);
  font-size: 11px;
  font-weight: 500;
  animation: breathe 4s ease-in-out infinite;
  font-family: 'DM Sans', sans-serif;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.82); }
  50% { transform: scale(1.08); }
}

/* ---------- VOICES (testimonials) ---------- */
.voices {
  background: var(--ink);
}
.voices .voices-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .voices .voices-head { grid-template-columns: 1.4fr 1fr; gap: 60px; }
}
.voices .voices-meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
}
.voices-stat {
  flex-shrink: 0;
}
.voices-stat-n {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-text);
  line-height: 1;
  margin-bottom: 6px;
}
.voices-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  line-height: 1.5;
}
.voices .context-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0;
  padding-top: 4px;
  text-wrap: pretty;
}
.voices .context-note b { color: var(--fg); font-weight: 500; }

.stat-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
}
.stat-bar .stat {
  background: var(--ink-2);
  padding: 26px 22px;
  text-align: left;
}
.stat-bar .stat .n {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-bar .stat .n .mark { color: var(--accent-text); }
.stat-bar .stat .n .unit {
  font-size: 14px;
  color: var(--fg-mute);
  font-weight: 500;
  letter-spacing: 0;
}
.stat-bar .stat .l {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
  text-wrap: pretty;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .stat-bar { grid-template-columns: 1fr; }
}

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .25s, transform .25s;
}
.quote-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.quote-card .stars {
  display: flex;
  gap: 2px;
  color: var(--accent-text);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.quote-card q {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  font-weight: 400;
  text-wrap: pretty;
  quotes: "\201C" "\201D";
  flex: 1;
}
.quote-card q::before, .quote-card q::after { content: ""; }
.quote-card .attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.quote-card .attr .src { color: var(--fg-dim); }

/* ---------- CTA block ---------- */
.cta-section {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cta-card h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 20px;
  text-wrap: balance;
}
.cta-card .big-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dot);
  color: var(--btn-ink);
  padding: 22px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .3s;
  box-shadow: 0 0 0 0 rgba(255,153,0,0);
}
.cta-card .big-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px -15px rgba(255,153,0,.5);
}
.cta-card .big-btn .arr { font-size: 22px; transition: transform .2s; }
.cta-card .big-btn:hover .arr { transform: translateX(5px); }

.anon-facts {
  margin-top: 48px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Clean anonymity card — Apple Health / Oura style */
.anon-card {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px 28px 22px;
  text-align: left;
}
.anon-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.anon-shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,153,0,.1);
  color: var(--accent-text);
  flex-shrink: 0;
}
.anon-shield svg { width: 16px; height: 16px; }
.anon-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  text-transform: uppercase;
  font-weight: 500;
}

.anon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.anon-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.anon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,153,0,.14);
  color: var(--accent-text);
  flex-shrink: 0;
  margin-top: 1px;
}
.anon-check svg { width: 11px; height: 11px; }
.anon-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.anon-row-text b {
  font-size: 14px;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.anon-sub {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
  text-wrap: pretty;
}
.anon-sub i {
  font-style: normal;
  color: var(--accent-text);
  background: rgba(255,153,0,.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: -0.01em;
}

/* ---------- METHODOLOGY ---------- */
.method-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 900px) { .method-intro { grid-template-columns: 1.3fr 1fr; gap: 80px; } }

.method-note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 460px;
}

.research-groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.research-group .gh {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.research-group .gh::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.refs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px) { .refs { grid-template-columns: 1fr 1fr; } }

.ref {
  display: block;
  text-decoration: none;
  padding: 20px 22px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  transition: border-color .2s, transform .2s, background .2s;
  position: relative;
}
.ref:hover {
  border-color: var(--dot);
  transform: translateY(-2px);
  background: rgba(255,153,0,.03);
}
.ref .ref-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ref .ref-num .ext {
  opacity: 0;
  transition: opacity .2s;
  color: var(--accent-text);
}
.ref:hover .ref-num .ext { opacity: 1; }
.ref .finding {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.5;
  margin: 0 0 12px;
  text-wrap: pretty;
}
.ref .cite {
  font-size: 12px;
  color: var(--fg-mute);
  font-family: 'JetBrains Mono', monospace;
}

/* ---------- FOOTER ---------- */
footer.foot {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--fg-mute);
  font-size: 13px;
}
footer.foot .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
footer.foot .wordmark { font-size: 42px; margin-bottom: 12px; }
footer.foot .tag { color: var(--fg-dim); max-width: 280px; line-height: 1.5; }
footer.foot .links-col {
  display: flex;
  gap: 28px;
}
footer.foot .links-col a { color: var(--fg-dim); text-decoration: none; }
footer.foot .links-col a:hover { color: var(--fg); }
footer.foot .copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-mute);
}

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 16px 18px;
  z-index: 100;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  font-size: 13px;
  display: none;
}
.tweaks-panel.active { display: block; }
.tweaks-panel h4 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks-panel h4::before { content: "TWEAKS"; }
.tweak-row {
  margin-bottom: 14px;
}
.tweak-label {
  display: block;
  font-size: 11px;
  color: var(--fg-mute);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.swatches { display: flex; gap: 6px; }
.swatch {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
}
.swatch.active { border-color: var(--fg); }
.tweak-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tweak-pill {
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--fg-dim);
  cursor: pointer;
}
.tweak-pill.active {
  background: var(--dot);
  color: var(--ink);
  border-color: var(--dot);
}

/* fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* utility */
.dot-accent { color: var(--accent-text); }
.hi { color: var(--fg); }

/* ================================================= */
/* ============= MOBILE ADAPTATION ================= */
/* ================================================= */

@media (max-width: 799px) {
  /* Tighter section rhythm on small screens */
  section.s { padding: 72px 0; }
  .hero { padding: 56px 0 48px; }

  /* Wrap gets tighter gutters on narrow screens */
  .wrap { padding: 0 20px; }

  /* ----- NAV ----- */
  nav.top .inner { height: 58px; gap: 10px; }
  nav.top .wordmark { font-size: 22px; }
  /* On very narrow screens hide the long CTA, keep only logo + theme toggle */
  nav.top .cta-mini {
    padding: 8px 12px;
    font-size: 12px;
  }
  @media (max-width: 420px) {
    nav.top .cta-mini { display: none; }
  }

  /* ----- HERO ----- */
  h1.hero-h {
    font-size: clamp(38px, 11vw, 54px);
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin: 18px 0 16px;
  }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .eyebrow { font-size: 11px; padding: 7px 12px; }
  .cta-row { gap: 14px; }
  .btn-primary { padding: 16px 22px; font-size: 15px; width: 100%; justify-content: center; max-width: 360px; }
  .cta-meta { font-size: 12px; max-width: none; }

  /* Hero phone: shrink + remove the orange halo which can force overflow */
  .hero-phone-wrap { order: 2; }
  .hero-phone-wrap::before { width: 360px; height: 360px; }
  .hero-phone-wrap .phone {
    width: 280px;
    height: 560px;
    border-radius: 40px;
  }
  .hero-phone-wrap .phone-screen { border-radius: 32px; }

  /* ----- SECTION HEADINGS ----- */
  h1.section-h, h2.section-h {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.05;
    letter-spacing: -0.025em;
  }

  /* ----- OFFER (feelings) ----- */
  .feelings { gap: 12px; margin-top: 36px; }
  .feel { padding: 22px 20px 24px; border-radius: 18px; }
  .feel .num { margin-bottom: 28px; }
  .feel .lead { font-size: 17px; }
  .feel .detail { font-size: 13px; }

  /* ----- PAIN ----- */
  .pain blockquote {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.22;
  }
  .pain .quote-mark { font-size: 56px; margin-bottom: -14px; }
  .pain .sig { margin-top: 28px; font-size: 12px; }

  /* ----- PRODUCT (3 steps) ----- */
  .steps { gap: 56px; margin-top: 40px; }
  .step { gap: 20px; }
  .step-phone .phone {
    width: 260px;
    height: 520px;
    border-radius: 38px;
  }
  .step-phone .phone-screen { border-radius: 30px; }
  .step-copy { max-width: 100%; }
  .step-title { font-size: 20px; }
  .step-body { font-size: 14px; }

  /* ----- VOICES ----- */
  .voices .voices-head { gap: 24px; margin-bottom: 36px; }
  .voices .voices-meta { padding-left: 16px; gap: 16px; flex-direction: column; }
  .voices-stat-n { font-size: 36px; }
  .voices .context-note { font-size: 12.5px; padding-top: 0; }
  .stat-bar { grid-template-columns: 1fr; margin-bottom: 36px; }
  .stat-bar .stat { padding: 22px 20px; }
  .stat-bar .stat .n { font-size: 28px; }
  .quotes { gap: 14px; }
  .quote-card { padding: 22px 22px 20px; gap: 16px; border-radius: 18px; }
  .quote-card q { font-size: 14px; }

  /* ----- CTA ----- */
  .cta-card h2 { font-size: clamp(28px, 7.5vw, 42px); }
  .cta-card .big-btn {
    padding: 18px 24px;
    font-size: 16px;
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
  .anon-facts { margin-top: 36px; }
  .anon-card { padding: 22px 20px 20px; border-radius: 18px; }
  .anon-card-head { padding-bottom: 14px; margin-bottom: 16px; }
  .anon-list { gap: 14px; }
  .anon-row-text b { font-size: 13.5px; }
  .anon-sub { font-size: 12.5px; }

  /* ----- FOOTER ----- */
  footer.foot { padding: 48px 0 32px; }
  footer.foot .row { gap: 28px; align-items: flex-start; }
  footer.foot .wordmark { font-size: 34px; }
  footer.foot .links-col {
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
  }
  footer.foot .copyright {
    flex-direction: column;
    gap: 8px;
    margin-top: 28px;
    font-size: 11px;
  }

  /* ----- METHODOLOGY PAGE ----- */
  .method-intro { gap: 28px; margin-bottom: 40px; }
  .method-note { font-size: 14px; }
  .research-groups { gap: 32px; }
  .refs { gap: 10px; }
  .ref { padding: 18px 18px; }
  .ref .finding { font-size: 13px; }

  /* ----- TWEAKS PANEL ----- */
  .tweaks-panel {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 14px 16px;
  }
}

/* Extra-small screens (<= 380px) */
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  h1.hero-h { font-size: 34px; }
  .hero-phone-wrap .phone { width: 260px; height: 520px; }
  .step-phone .phone { width: 240px; height: 480px; }
  .feel { padding: 20px 18px; }
  .quote-card { padding: 20px 18px; }
  nav.top .wordmark { font-size: 20px; }
}

/* Prevent any stray horizontal overflow from fixed-size phone mocks */
@media (max-width: 799px) {
  .hero-phone-wrap, .step-phone { width: 100%; overflow: visible; }
}

/* ---------- LEGAL PAGES (Privacy, Terms) ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
}
.legal .doc-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.legal h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--fg);
}
.legal .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-dim);
  margin: 0 0 48px;
  max-width: 640px;
}
.legal h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 44px 0 14px;
  color: var(--fg);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { padding-top: 0; border-top: 0; }
.legal p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-dim);
  margin: 0 0 14px;
}
.legal ul {
  padding-left: 20px;
  margin: 0 0 14px;
}
.legal li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.legal li::marker { color: var(--dot); }
.legal b, .legal strong { color: var(--fg); font-weight: 600; }
.legal a {
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,153,0,.3);
}
.legal a:hover { border-bottom-color: var(--dot); }
.legal .callout {
  background: var(--ink-2);
  border-left: 3px solid var(--dot);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 18px 0 20px;
}
.legal .callout p { color: var(--fg); margin: 0; }

@media (max-width: 599px) {
  .legal h2 { font-size: 18px; }
  .legal .lead { font-size: 16px; margin-bottom: 36px; }
  .legal p, .legal li { font-size: 15px; }
}

/* ─────────────────────────────────────────────────────────────────────
   BLOG — list (blog/index.html) and article (blog/post-*.html)
   ───────────────────────────────────────────────────────────────────── */

/* List intro — same shape as .method-intro */
.blog-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .blog-intro { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; }
}
.blog-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-dim);
  margin: 0;
  max-width: 460px;
}
.blog-note b { color: var(--fg); font-weight: 500; }

/* Card list */
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .blog-list { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  transition: border-color .2s ease, transform .2s ease;
}
.post-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.post-card-link {
  display: block;
  padding: 24px 24px 22px;
  text-decoration: none;
  color: inherit;
}
.post-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.post-card-meta time { color: var(--fg-dim); }
.post-card-meta .post-read { color: var(--fg-mute); text-transform: none; letter-spacing: 0; font-family: 'DM Sans', sans-serif; font-size: 12px; }

.post-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--accent-text);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.post-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 10px;
  text-wrap: balance;
}
.post-card-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0 0 14px;
}
.post-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent-text);
  font-weight: 500;
}
.post-card-more .arr { transition: transform .2s ease; }
.post-card:hover .post-card-more .arr { transform: translateX(3px); }

/* Empty state */
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
}
.blog-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  color: var(--fg-mute);
  margin-bottom: 14px;
}
.blog-empty-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 6px;
}
.blog-empty-sub {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.5;
}
.blog-empty-sub a {
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,153,0,.3);
}
.blog-empty-sub a:hover { border-bottom-color: var(--dot); }

/* ─── Single article ─────────────────────────────────────────────── */

.breadcrumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a {
  color: var(--fg-dim);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs .sep { color: var(--fg-mute); opacity: .6; }
.breadcrumbs [aria-current="page"] {
  color: var(--fg);
  text-transform: none;
  letter-spacing: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.post {
  max-width: 720px;
  margin: 0 auto;
}
.post-header { margin-bottom: 40px; }
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.post-meta time { color: var(--fg-dim); }
.post-meta .post-read {
  color: var(--fg-mute);
  text-transform: none;
  letter-spacing: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
}
.post-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0 0 18px;
  text-wrap: balance;
}
.post-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0;
  max-width: 640px;
  text-wrap: pretty;
}

.post-body { color: var(--fg-dim); }
.post-body > * + * { margin-top: 16px; }
.post-body h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--fg);
  margin: 44px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.post-body h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.post-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--fg);
  margin: 28px 0 10px;
}
.post-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
}
.post-body b, .post-body strong { color: var(--fg); font-weight: 600; }
.post-body a {
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,153,0,.3);
}
.post-body a:hover { border-bottom-color: var(--dot); }
.post-body ul, .post-body ol {
  padding-left: 22px;
}
.post-body li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.post-body li::marker { color: var(--dot); }
.post-body blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--dot);
  background: var(--ink-2);
  border-radius: 0 10px 10px 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg);
  font-style: italic;
}
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
  border: 1px solid var(--line);
}
.post-body figure { margin: 24px 0; }
.post-body figcaption {
  font-size: 13px;
  color: var(--fg-mute);
  margin-top: 8px;
  text-align: center;
}
.post-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92em;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--fg);
}
.post-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-dim);
}
.post-body thead th {
  text-align: left;
  font-weight: 600;
  color: var(--fg);
  padding: 12px 14px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.005em;
}
.post-body tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.post-body tbody tr:last-child td { border-bottom: 0; }
.post-body tbody td:first-child { color: var(--fg); font-weight: 500; }
.post-body small,
.post-body .post-disclaimer {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-mute);
  margin: 18px 0;
}
.post-body details {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-2);
  padding: 0;
  overflow: hidden;
}
.post-body details summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--fg);
  list-style: none;
  font-size: 15px;
}
.post-body details summary::-webkit-details-marker { display: none; }
.post-body details[open] summary { border-bottom: 1px solid var(--line); }
.post-body details > *:not(summary) { padding: 0 18px; }
.post-body details > *:first-of-type:not(summary) { padding-top: 14px; }
.post-body details > *:last-child:not(summary) { padding-bottom: 16px; }
.post-body .callout {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: 10px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--dot);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}
.post-body .callout p { margin: 0; }
.post-body .callout a { font-weight: 600; }

.post-footer {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.post-cta-lead {
  font-size: 15px;
  color: var(--fg-dim);
  margin: 0 0 20px;
  line-height: 1.55;
}

@media (max-width: 599px) {
  .blog-intro { gap: 20px; margin-bottom: 40px; }
  .blog-note { font-size: 14px; }
  .post-card-link { padding: 20px 18px 18px; }
  .post-card-title { font-size: 17px; }
  .post-card-excerpt { font-size: 14px; }
  .post-body p, .post-body li { font-size: 15.5px; }
  .post-body h2 { font-size: 19px; margin-top: 32px; padding-top: 22px; }
  .post-body h3 { font-size: 16px; }
  .post-lead { font-size: 16px; }
  .breadcrumbs { font-size: 11px; }
  .post-body table { font-size: 13.5px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .post-body thead th, .post-body tbody td { padding: 10px 11px; }
  .post-body details summary { font-size: 14px; padding: 12px 14px; }
  .post-body .callout { padding: 14px 16px; font-size: 14px; }
}
