:root {
  --bg: #0c211c;
  --bg-raised: #12332b;
  --bg-raised-2: #163d33;
  --ink: #eef4f1;
  --ink-soft: #a9c2ba;
  --line: rgba(255,255,255,0.10);

  --cream: #f5efe0;
  --teal: #2fd6c0;
  --teal-deep: #1cb6a1;
  --teal-light: #8be8db;
  --amber: #f5b23c;
  --coral: #ef6461;
  --indigo: #9599ff;

  --accent: var(--teal);
  --accent-soft: rgba(47,214,192,0.12);
  --max-w: 760px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #0c211c;
  scrollbar-color: #2fd6c0 #0c211c;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0c211c; }
::-webkit-scrollbar-thumb { background: #1cb6a1; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2fd6c0; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Rubik', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  right: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--teal);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 0 0 0 8px;
  font-weight: 600;
}
.skip-link:focus {
  right: 0;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

html:has(body.home) { height: 100%; }
body.home {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.home .hero { flex: 1 1 auto; min-height: 0; padding: 24px 0; }
body.home footer.site { flex: 0 0 auto; margin-top: 0; }

html:has(body.one-screen) { height: 100%; }
body.one-screen {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.one-screen header.site { flex: 0 0 auto; }
/* the default subhero glow (500px/220px) is sized for the tall subhero on about.html — in this
   short one-screen box it never finishes fading before the box ends, so it reads as a flat green
   block instead of a soft glow. Scaled down here so it fully melts to transparent within the box. */
body.one-screen .subhero {
  flex: 0 0 auto;
  padding: 22px 0;
  background-image: radial-gradient(280px 110px at 100% -10%, rgba(47,214,192,0.14), transparent);
}
body.one-screen main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 24px;
  padding-bottom: 24px;
}
body.one-screen main:has(.contact-split) { justify-content: stretch; }
body.one-screen main .contact-split { flex: 1 1 auto; }
body.one-screen footer.site { flex: 0 0 auto; margin-top: 0; }

/* ---------- header ---------- */
header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: opacity .35s ease;
}
header.site.is-scrolling { opacity: 0.12; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.brand .mark {
  width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: inline-block;
  box-shadow: 0 0 12px rgba(47,214,192,0.5);
}
.brand-home { align-items: center; }
.brand-home .brand-name { font-size: 2.3rem; font-weight: 700; }
.brand-home .brand-tagline { font-size: 0.95rem; font-weight: 400; color: var(--ink-soft); margin-right: 6px; }

nav.links { display: flex; gap: 28px; font-size: 0.95rem; }
nav.links a { color: var(--ink-soft); padding: 5px 12px; border-radius: 999px; border: 1px solid transparent; transition: border-color .2s ease, color .2s ease, background .2s ease; }
nav.links a:hover { color: var(--cream); background: rgba(47,214,192,0.12); }
nav.links a.active { color: var(--cream); border-color: var(--teal); }

/* ---------- hero / subhero — same background as body, no seam ---------- */
.hero {
  background:
    linear-gradient(to bottom, rgba(47,214,192,0.07), transparent 220px),
    radial-gradient(900px 500px at 15% -10%, rgba(47,214,192,0.18), transparent),
    radial-gradient(900px 600px at 100% 20%, rgba(139,232,219,0.12), transparent),
    var(--bg);
  min-height: 74vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}
.hero .wrap { max-width: 1040px; }
.hero-line-1 {
  font-size: 4.2rem;
  line-height: 1.08;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.hero-line-2 {
  font-size: 1.7rem;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 500;
}
@media (max-width: 900px) {
  .hero-line-1 { font-size: 2.4rem; }
  .hero-line-2 { font-size: 1.2rem; }
}

.subhero {
  background:
    radial-gradient(500px 220px at 100% -20%, rgba(47,214,192,0.14), transparent),
    var(--bg);
  padding: 40px 0 36px;
}
.subhero.knowledge-screen {
  min-height: calc(100vh - 79px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
  padding: 24px 0 40px;
}
.subhero .eyebrow { color: var(--teal); }
.subhero h1 { color: var(--cream); margin: 0; font-size: 1.9rem; }
.subhero p.lede { color: var(--ink-soft); margin-top: 12px; margin-bottom: 0; }

.founder-photo,
.bio-photo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 32% 15%;
  padding: 3px;
  background: var(--bg-raised-2);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--accent-soft);
  flex-shrink: 0;
}

.founder-photo { width: 116px; height: 116px; margin: 0 0 20px; }

hr.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0 32px;
}

.bio-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bio-photo { width: 64px; height: 64px; }

.bio-text p { margin: 0; color: var(--ink-soft); }
.bio-text .bio-name { color: var(--cream); font-weight: 600; margin-bottom: 4px; }
.reading-time { margin-top: 14px; margin-bottom: 0; font-size: 0.82rem; color: var(--teal); font-weight: 600; }

/* ---------- title block + capsule row: same 1040px wrap as the homepage hero, so the title's right edge
   lines up exactly with the right edge of the first capsule below it.
   width:100% is needed because these wraps are flex items of the column layout — without an explicit width,
   "margin: 0 auto" makes them shrink to fit their content and center themselves instead of filling the 1040px column. */
.wrap:has(.right-dock), .wrap:has(.capsule-xl-row) { width: 100%; }
.right-dock {
  width: 33%;
  min-width: 320px;
  text-align: right;
}
.k-title {
  font-size: 4.2rem;
  line-height: 1.08;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.k-subtitle {
  width: 100%;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .k-title { font-size: 2.4rem; white-space: normal; }
  .k-subtitle { font-size: 1.2rem; white-space: normal; }
}

/* ---------- main content ---------- */
main { max-width: var(--max-w); margin: 0 auto; padding: 48px 24px 96px; }
main.wide { max-width: 1040px; }

/* pages whose <main> is text-width (760px): keep the subhero (title/lede) at that width, but the top nav bar always stays full width */
body.narrow-header .subhero .wrap { max-width: var(--max-w); }

.eyebrow { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--teal); text-transform: uppercase; font-weight: 700; margin: 0 0 14px; }

h1 { font-size: 2.1rem; line-height: 1.3; margin: 0 0 20px; letter-spacing: -0.01em; color: var(--cream); }
h2 { font-size: 1.5rem; margin: 44px 0 16px; letter-spacing: -0.01em; color: var(--cream); }
h3 { font-size: 1.12rem; margin: 28px 0 10px; color: var(--cream); }
p { color: var(--ink-soft); margin: 0 0 16px; font-size: 1.02rem; }
p.lede { color: var(--ink); font-size: 1.18rem; }
strong { color: var(--ink); }

.promise {
  border-right: 3px solid var(--teal);
  padding: 10px 22px;
  margin: 32px 0;
  background: var(--accent-soft);
  border-radius: 6px;
}
.promise p { color: var(--ink); margin: 0; font-size: 1.15rem; font-weight: 500; }

/* ---------- buttons ---------- */
.cta-row { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .cta-row { margin-top: 100px; justify-content: flex-end; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 9px; font-weight: 600; font-size: 0.95rem; }
.btn.primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #06231e;
  box-shadow: 0 6px 18px rgba(28,182,161,0.3);
}
.btn.primary:hover { filter: brightness(1.06); text-decoration: none; }
.btn.ghost { border: 1px solid var(--line); color: var(--cream); }
.btn.ghost:hover { border-color: var(--ink-soft); text-decoration: none; }

/* ---------- capsules ---------- */
.capsule-group { margin: 8px 0 44px; scroll-margin-top: 100px; border-radius: 16px; transition: background .6s ease; }
.capsule-group:target { animation: group-focus 1.6s ease; }
@keyframes group-focus {
  0% { background: rgba(47,214,192,0.10); }
  100% { background: transparent; }
}
.capsule-group-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--pillar-color, var(--teal)); margin-bottom: 14px; display: block; }
.capsule-group.money { --pillar-color: var(--teal-deep); }
.capsule-group.shield { --pillar-color: var(--teal); }
.capsule-group.strategy { --pillar-color: var(--teal-light); }

.capsules { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- article cards (inspired by the astro-saga event-card layout) ---------- */
.article-cards { display: flex; flex-direction: column; gap: 24px; max-width: 940px; margin-right: 0; margin-left: auto; }

.article-card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 124px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-share {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  transition: background .2s ease, transform .2s ease;
}
.card-share:hover { background: var(--pillar-color, var(--teal)); color: #050b09; transform: translateY(-50%) scale(1.08); }
.card-share.card-copy { left: 62px; }
.card-share.card-copy:hover { background: var(--pillar-color, var(--teal)); color: #050b09; transform: translateY(-50%) scale(1.08); }
.card-share.copied { background: var(--teal); color: #050b09; }
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  border-color: var(--pillar-color, var(--teal));
  text-decoration: none;
}
.article-card .accent {
  width: 120px;
  flex-shrink: 0;
  background: var(--bg-raised);
  border-left: 2px solid var(--pillar-color, var(--teal));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  text-align: center;
}
.article-card .accent-label { display: flex; }
.article-card .accent-icon {
  width: 36px;
  height: 36px;
  color: var(--pillar-color, var(--teal));
}
.article-card .accent-badge {
  font-size: 0.62rem; font-weight: 800; color: var(--bg);
  background: var(--pillar-color, var(--teal)); padding: 3px 9px; border-radius: 20px;
}
.article-card .card-body {
  flex: 1;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.article-card .card-title { font-size: 1.5rem; font-weight: 700; color: var(--cream); }
.article-card .card-desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card.pending { opacity: 0.5; cursor: default; }

.read-badge {
  order: -1;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-light);
  background: rgba(47,214,192,0.12);
  border: 1px solid rgba(47,214,192,0.3);
  border-radius: 999px;
  padding: 2px 10px;
}
.article-card.is-read .card-title { color: var(--ink-soft); }
.article-card.pending:hover { transform: none; box-shadow: none; border-color: var(--line); }

.capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid var(--cream);
  background: var(--bg-raised-2);
  color: var(--teal);
  font-size: 0.96rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.capsule:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  text-decoration: none;
  filter: brightness(1.1);
}
.capsule.pending { color: var(--ink-soft); border-color: var(--line); cursor: default; }
.capsule.pending:hover { transform: none; box-shadow: none; }
.capsule .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pillar-color, var(--teal)); flex-shrink: 0; }
.capsule .badge { font-size: 0.68rem; font-weight: 700; color: var(--bg); background: var(--teal); padding: 2px 8px; border-radius: 20px; }

.capsules.home .capsule { font-size: 1.02rem; padding: 14px 24px; }

/* ---------- homepage xl capsules: real two-tone pill look ---------- */
main.wide:has(.capsule-xl-row) { margin-top: -46px; position: relative; z-index: 2; }

.capsule-xl-row {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 30px;
  flex-wrap: nowrap;
  margin: 12px 0 8px;
}
.hero .capsule-xl-row { justify-content: center; }

.capsule-xl {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  flex-shrink: 1;
  border-radius: 999px;
  border: 3px solid var(--teal);
  background: var(--bg-raised-2);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.capsule-xl:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.45); text-decoration: none; }

.capsule-xl-title {
  width: 100%;
  text-align: center;
  padding: 32px 20px 18px;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--cream);
}
.capsule-xl-sep { width: 70%; height: 1px; background: var(--cream); opacity: 0.35; }
.capsule-xl-sub {
  width: 100%;
  text-align: center;
  padding: 16px 18px 26px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  opacity: 0.85;
}

@media (max-width: 720px) {
  main.wide:has(.capsule-xl-row) { margin-top: 0; }
  .capsule-xl-row { flex-wrap: wrap; }
  .capsule-xl { width: 100%; max-width: 340px; }
}

.section-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  color: var(--teal); background: var(--accent-soft);
  padding: 4px 11px; border-radius: 20px; margin-bottom: 10px;
}
.section-tag.pending { color: var(--teal-light); background: rgba(139,232,219,0.12); }
.section-tag.affiliate { color: var(--teal-light); background: rgba(139,232,219,0.12); border: 1px solid rgba(139,232,219,0.35); margin-right: 10px; }

.disclosure {
  border: 1px solid rgba(28,182,161,0.35);
  background: rgba(28,182,161,0.08);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 32px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.disclosure strong { color: var(--teal-light); }

blockquote { border-right: 3px solid var(--teal); margin: 24px 0; padding: 6px 20px; color: var(--ink-soft); background: var(--accent-soft); border-radius: 4px; }

ul.plain { padding-right: 20px; color: var(--ink-soft); }
ul.plain li { margin-bottom: 10px; }

footer.site { border-top: 1px solid var(--line); margin-top: 60px; }
footer.site .wrap {
  padding: 12px 24px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  opacity: 0.6;
  display: block;
  text-align: center;
}
footer.site .wrap span:last-child { display: none; }
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--teal);
  cursor: pointer;
}
.footer-link-btn:hover { text-decoration: underline; }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-banner p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); max-width: 640px; }
.cookie-banner a { color: var(--teal); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions button {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  border: 1px solid var(--line);
}
.cookie-decline { background: transparent; color: var(--ink-soft); }
.cookie-decline:hover { color: var(--ink); border-color: var(--ink-soft); }
.cookie-accept { background: var(--teal); color: #0c211c; border-color: var(--teal); }
.cookie-accept:hover { background: var(--teal-light); }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}
.back-btn:hover { color: var(--cream); border-color: var(--teal); text-decoration: none; }
.back-btn.top { margin-bottom: 8px; }
.back-btn.bottom { margin-top: 48px; }

.closing-line { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.closing-line em { color: var(--ink-soft); }

/* ---------- contact form ---------- */
.contact-form { margin: 8px 0 24px; }
.contact-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
.contact-col-fields { display: flex; flex-direction: column; }
.contact-col-message { display: flex; flex-direction: column; }
.field-grow { flex: 1 1 auto; }
.field-grow textarea { flex: 1 1 auto; min-height: 140px; }
.contact-col-message .field-grow { display: flex; flex-direction: column; }
@media (max-width: 700px) { .contact-split { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field textarea { resize: vertical; }
.contact-submit { width: 100%; text-align: center; margin-top: 6px; }
.contact-note { margin-top: 10px; font-size: 0.8rem; color: var(--ink-soft); opacity: 0.75; }

/* ---------- FAQ accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 32px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-raised);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '⌄';
  font-size: 1.1rem;
  color: var(--teal);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.55; }

/* ---------- pull quote, pinned to the vertical center of the screen while scrolling ---------- */
.pull-quote {
  position: fixed;
  top: 50%;
  right: calc(50% + (var(--max-w) / 2) + 40px);
  transform: translateY(-50%);
  width: 220px;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--teal-light);
  font-weight: 600;
  z-index: 30;
}
.pull-quote::before { content: '\201C'; font-size: 2rem; color: var(--teal); display: block; line-height: .5; margin-bottom: 6px; }
.pull-quote::after { content: '\201D'; font-size: 2rem; color: var(--teal); display: block; line-height: .5; margin-top: 6px; text-align: left; }
@media (max-width: 1300px) { .pull-quote { display: none; } }

/* ---------- table-of-contents rail ---------- */
.toc-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 40;
}
.toc-rail::before {
  content: '';
  position: absolute;
  top: -20px;
  bottom: -20px;
  right: 4.5px;
  width: 1px;
  background: var(--line);
  z-index: -1;
}
.toc-rail a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-raised-2);
  border: 1px solid var(--line);
  display: block;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.toc-rail a:hover { border-color: var(--teal); }
.toc-rail a.active { background: var(--teal); border-color: var(--teal); transform: scale(1.35); }
@media (max-width: 1200px) { .toc-rail { display: none; } }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }

  .nav-row { flex-wrap: wrap; gap: 10px 0; padding: 14px 0; justify-content: center; text-align: center; }
  .brand-home { flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
  .brand-home .brand-name { font-size: 1.5rem; }
  .brand-home .brand-tagline { display: none; }
  nav.links { width: 100%; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; }
  nav.links a { padding: 5px 10px; }

  .hero { min-height: auto; padding: 32px 0; }
  .hero-line-1 { font-size: 1.9rem; }
  .hero-line-2 { font-size: 1rem; }
  .hero .cta-row { margin-top: 32px; justify-content: center; flex-wrap: wrap; }
  .hero .cta-row .btn { flex: 1 1 auto; text-align: center; }
  body.home .hero .wrap { text-align: center; }

  .k-title, .k-subtitle { white-space: normal; }
  .right-dock { width: 100%; min-width: 0; }
  .wrap:has(.right-dock) { text-align: center; }

  .capsule-xl-row { justify-content: center; }

  .article-card { flex-direction: column; }
  .article-card .accent { width: 100%; flex-direction: row; border-left: none; border-bottom: 2px solid var(--pillar-color, var(--teal)); padding: 10px; }
  .article-card .accent-badge { margin-right: 8px; }
  .card-share { top: 14px; transform: none; left: 14px; }
  .card-share.card-copy { left: 62px; }
  .card-share:hover, .card-share.card-copy:hover { transform: scale(1.08); }

  .contact-split { gap: 24px; }

  main.wide, main { padding-left: 16px; padding-right: 16px; }
}
