/* Concero styles. Shared by every page. */
:root {
  --ink: #080C14;
  --ink-2: #0D1524;
  --ink-3: #142036;
  --paper: #E9EEF5;
  --fog: #9AA8BD;
  --rule: rgba(233, 238, 245, 0.10);
  --teal: #00D4AA;
  --teal-soft: rgba(0, 212, 170, 0.12);
  --amber: #E8A847;
  --amber-soft: rgba(232, 168, 71, 0.12);
  --display: 'Syne', 'Avenir Next', 'Segoe UI', sans-serif;
  --body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 80px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 760px) { :root { --gutter: 32px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s;
}
.btn-solid { background: var(--teal); color: var(--ink); }
.btn-solid:hover { background: #33E0BD; }
.btn-line { border-color: rgba(233, 238, 245, 0.28); color: var(--paper); background: transparent; }
.btn-line:hover { border-color: var(--paper); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(8, 12, 20, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font: 800 1.35rem/1 var(--display); text-decoration: none; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { width: 26px; height: 26px; }
.nav { display: none; gap: 28px; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--fog); }
.nav a:hover { color: var(--paper); }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
@media (min-width: 860px) { .nav { display: flex; } }

/* Hero */
.hero { padding: 48px 0 64px; border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; gap: 40px; }
@media (min-width: 980px) { .hero { padding: 88px 0 96px; } .hero .wrap { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; } }
.hero h1 { font-size: clamp(2.2rem, 6.8vw, 3.3rem); font-weight: 800; letter-spacing: -0.03em; max-width: 17ch; }
.lede { font-size: 1.15rem; color: var(--fog); max-width: 36rem; margin: 22px 0 30px; }
.lede strong { color: var(--paper); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.where { margin: 26px 0 0; font-size: 0.92rem; color: var(--fog); max-width: 34rem; }

/* Day card: the one interactive moment */
.day { background: var(--ink-2); border: 1px solid var(--rule); border-radius: 18px; padding: 22px 20px 18px; }
@media (min-width: 760px) { .day { padding: 28px 28px 22px; } }
.day-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
.day-title { font: 700 1.05rem/1.3 var(--display); }
.day-title small { display: block; font: 400 0.88rem/1.4 var(--body); color: var(--fog); margin-top: 3px; }
.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink); border: 1px solid var(--rule); }
.switch button { border: 0; background: transparent; color: var(--fog); font: 600 0.9rem/1 var(--body); padding: 9px 16px; border-radius: 999px; cursor: pointer; min-height: 36px; }
.day[data-state="before"] .switch [data-set="before"] { background: var(--amber); color: var(--ink); }
.day[data-state="after"] .switch [data-set="after"] { background: var(--teal); color: var(--ink); }
.slots li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); }
.slots time { font: 600 0.88rem/1.5 var(--body); color: var(--amber); transition: color .35s; font-variant-numeric: tabular-nums; }
.day[data-state="after"] .slots time { color: var(--teal); }
.swap { display: grid; }
.swap > span { grid-area: 1 / 1; transition: opacity .35s ease, transform .35s ease, visibility .35s; }
.day[data-state="before"] .swap .a, .day[data-state="after"] .swap .b { opacity: 0; visibility: hidden; transform: translateY(6px); }
.day-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--fog); }
.day-foot .verdict { color: var(--amber); font-weight: 600; transition: color .35s; justify-items: end; text-align: right; }
.day[data-state="after"] .day-foot .verdict { color: var(--teal); }

/* Sections */
.band { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.band-alt { background: var(--ink-2); }
@media (min-width: 980px) { .band { padding: 104px 0; } }
.band h2 { font-size: clamp(1.85rem, 4.6vw, 2.75rem); font-weight: 800; max-width: 22ch; }
.intro { color: var(--fog); font-size: 1.08rem; max-width: 40rem; margin: 16px 0 0; }

/* Familiar */
.familiar { display: grid; gap: 0; margin-top: 40px; }
@media (min-width: 760px) { .familiar { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.familiar li { position: relative; padding: 16px 0 16px 26px; border-top: 1px solid var(--rule); font-size: 1.05rem; }
.familiar li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 10px; border-radius: 3px; background: var(--amber); }

.evidence { margin-top: 56px; display: grid; gap: 28px; }
@media (min-width: 980px) { .evidence { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.evidence h3 { font-size: 1.45rem; font-weight: 700; max-width: 20ch; }
.evidence ul li { padding: 14px 0; border-top: 1px solid var(--rule); color: var(--fog); }
.evidence ul li strong { color: var(--paper); font-weight: 600; }
.evidence cite { display: block; font-style: normal; font-size: 0.85rem; margin-top: 4px; color: var(--fog); opacity: 0.85; }
.evidence .so { color: var(--paper); margin-top: 18px; font-weight: 500; }

/* Stories */
.disclose { margin: 20px 0 0; font-size: 0.92rem; color: var(--fog); max-width: 44rem; padding-left: 14px; border-left: 2px solid var(--rule); }
.tabs { display: flex; gap: 8px; margin: 36px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
@media (min-width: 980px) { .tabs { flex-wrap: wrap; overflow: visible; margin: 36px 0 0; padding: 0; } }
.tab { flex: 0 0 auto; border: 1px solid var(--rule); background: transparent; color: var(--fog); border-radius: 999px; padding: 10px 16px; font: 500 0.95rem/1 var(--body); cursor: pointer; min-height: 42px; white-space: nowrap; }
.tab:hover { color: var(--paper); border-color: rgba(233, 238, 245, 0.3); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.story { margin-top: 28px; }
.story[hidden] { display: none; }
.story h3 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); font-weight: 700; max-width: 30ch; }
.arc { display: grid; gap: 0; margin-top: 26px; position: relative; }
.arc > div { position: relative; padding: 0 0 26px 26px; }
.arc > div::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 0; width: 2px; background: linear-gradient(var(--amber), var(--teal)); }
.arc > div:first-child::before { background: var(--amber); }
.arc > div:last-child { padding-bottom: 0; }
.arc > div:last-child::before { background: var(--teal); }
.arc h4 { font: 700 1rem/1.3 var(--display); margin-bottom: 8px; }
.arc .before h4 { color: var(--amber); }
.arc .after h4 { color: var(--teal); }
.arc p { margin-bottom: 0; }
.arc .build li { padding-left: 18px; position: relative; margin-bottom: 8px; }
.arc .build li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--fog); }
@media (min-width: 980px) {
  .arc { grid-template-columns: 1fr 1fr 1fr; gap: 0; padding-top: 22px; }
  .arc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--amber), var(--fog) 50%, var(--teal)); }
  .arc > div { padding: 0 32px 0 0; }
  .arc > div::before { display: none; }
}
.measure { margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--ink); border: 1px solid var(--rule); display: grid; gap: 6px; }
@media (min-width: 760px) { .measure { grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; } }
.measure dt { font-weight: 600; font-size: 0.92rem; }
.measure dd { margin: 0; color: var(--fog); font-size: 0.95rem; }

/* Use cases */
.outcomes { display: grid; gap: 36px; margin-top: 48px; }
@media (min-width: 760px) { .outcomes { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 1080px) { .outcomes { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.outcome h3 { font-size: 1.15rem; font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid var(--teal); }
.outcome:last-child h3 { border-bottom-color: var(--amber); }
.outcome p { color: var(--fog); font-size: 0.95rem; margin: 12px 0 6px; }
.outcome li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; }

/* Steps: a real sequence */
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps li { counter-increment: step; padding: 22px 0 22px 56px; position: relative; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 20px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--teal); display: grid; place-items: center; font: 800 1rem/1 var(--display); color: var(--teal); }
@media (min-width: 980px) { .steps li { padding: 64px 0 0; border-top: 0; } .steps li::before { top: 0; } }
.steps h3 { font-size: 1.15rem; font-weight: 700; }
.steps .when { font-size: 0.88rem; color: var(--teal); margin: 4px 0 10px; font-weight: 600; }
.steps p { color: var(--fog); font-size: 0.98rem; margin: 0; }
.baseline { margin-top: 48px; padding: 22px 22px; border-radius: 14px; background: var(--teal-soft); border: 1px solid rgba(0, 212, 170, 0.3); display: grid; gap: 6px; }
@media (min-width: 760px) { .baseline { grid-template-columns: 220px 1fr; gap: 24px; padding: 26px 30px; align-items: center; } }
.baseline strong { font: 700 1.2rem/1.25 var(--display); }
.baseline p { margin: 0; }

/* Pricing */
.prices { margin-top: 44px; border-top: 1px solid var(--rule); }
.price { display: grid; gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); grid-template-columns: 1fr auto; }
.price h3 { font-size: 1.15rem; font-weight: 700; grid-column: 1; }
.price .cost { grid-column: 2; grid-row: 1; text-align: right; font-weight: 600; white-space: nowrap; }
.price p { grid-column: 1 / -1; color: var(--fog); margin: 4px 0 0; max-width: 46rem; }
.price .time { grid-column: 1 / -1; font-size: 0.88rem; color: var(--fog); }
@media (min-width: 860px) {
  .price { grid-template-columns: 260px 1fr 150px 150px; align-items: baseline; }
  .price h3 { grid-column: 1; }
  .price p { grid-column: 2; grid-row: 1; margin: 0; }
  .price .time { grid-column: 3; grid-row: 1; font-size: 0.95rem; }
  .price .cost { grid-column: 4; grid-row: 1; }
}
.price.start { background: linear-gradient(90deg, var(--teal-soft), transparent 70%); margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.price.start h3 small { display: block; font: 600 0.82rem/1.4 var(--body); color: var(--teal); letter-spacing: 0; margin-top: 4px; }
.cohort { margin-top: 32px; padding: 20px 22px; border-radius: 14px; border: 1px dashed rgba(0, 212, 170, 0.45); max-width: 52rem; }
.cohort strong { color: var(--teal); }
.cohort p { margin: 0; }

/* Why */
.reasons { margin-top: 44px; display: grid; gap: 0; }
@media (min-width: 860px) { .reasons { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.reasons li { padding: 22px 0; border-top: 1px solid var(--rule); }
.reasons h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.reasons p { color: var(--fog); margin: 0; }

/* Fit finder */
.finder { margin-top: 40px; max-width: 820px; background: var(--ink); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.finder-bar { height: 3px; background: var(--rule); }
.finder-bar span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .3s ease; }
.q { padding: 26px 20px; }
@media (min-width: 760px) { .q { padding: 34px 36px; } }
.q[hidden] { display: none; }
.q-count { font-size: 0.88rem; color: var(--fog); margin-bottom: 6px; }
.q h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.opts { display: grid; gap: 10px; }
@media (min-width: 760px) { .opts { grid-template-columns: 1fr 1fr; } }
.opt { text-align: left; background: var(--ink-2); border: 1px solid var(--rule); color: var(--paper); border-radius: 12px; padding: 14px 16px; font: 500 0.98rem/1.45 var(--body); cursor: pointer; min-height: 56px; }
.opt:hover { border-color: rgba(0, 212, 170, 0.45); }
.opt[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.link-btn { background: none; border: 0; color: var(--fog); font: 500 0.95rem/1 var(--body); cursor: pointer; padding: 10px 0; }
.link-btn:hover { color: var(--paper); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.result h3 { font-size: 1.5rem; }
.result .facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 22px; font-size: 0.95rem; }
.result .facts span { color: var(--fog); }
.result .facts b { color: var(--paper); font-weight: 600; }

/* FAQ */
.faq { margin-top: 40px; max-width: 52rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.08rem/1.4 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--fog); border-bottom: 2px solid var(--fog); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { color: var(--fog); padding: 0 0 20px; margin: 0; max-width: 46rem; }

/* Contact */
.contact .wrap { display: grid; gap: 40px; }
@media (min-width: 980px) { .contact .wrap { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.promise { margin: 26px 0 28px; }
.promise li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--rule); }
.promise li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.form { background: var(--ink); border: 1px solid var(--rule); border-radius: 18px; padding: 24px 20px; }
@media (min-width: 760px) { .form { padding: 34px; } }
.form h3 { font-size: 1.25rem; margin-bottom: 4px; }
.form .sub { color: var(--fog); font-size: 0.95rem; margin-bottom: 22px; }
.row { display: grid; gap: 14px; }
@media (min-width: 640px) { .row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink-2); border: 1px solid rgba(233, 238, 245, 0.16); border-radius: 10px;
  color: var(--paper); font: 400 1rem/1.4 var(--body); padding: 12px 14px; min-height: 48px; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AA8BD' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { background: var(--ink-2); color: var(--paper); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 0.85rem; color: var(--fog); margin: 12px 0 0; text-align: center; }
.form-error { color: var(--amber); font-size: 0.95rem; margin: 12px 0 0; }
.form-error:empty { display: none; }
.sent { text-align: left; }
.sent h3 { color: var(--teal); }

/* Footer */
.foot { padding: 40px 0 48px; color: var(--fog); font-size: 0.92rem; }
.foot p { margin: 6px 0 0; }


/* ---- Multi-page additions ---- */
.top-right { display: flex; align-items: center; gap: 10px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(233, 238, 245, 0.28); font: 600 0.95rem/1 var(--body); color: var(--paper); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--teal); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; display: grid; background: var(--ink-2); border: 1px solid var(--rule); border-radius: 12px; padding: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.menu nav a { padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--paper); }
.menu nav a:hover { background: var(--ink-3); }
@media (min-width: 860px) { .menu { display: none; } }
@media (max-width: 380px) { .top .btn { padding: 0 12px; } .menu summary { padding: 0 10px; } }

.intro a, .prose a, .where a, .reasons a, .note a, .disclose a, .cohort a, .faq a { color: var(--teal); text-underline-offset: 3px; }
.price h3 a { color: inherit; text-decoration-color: rgba(0, 212, 170, 0.6); text-underline-offset: 4px; }

.page-hero { padding: 36px 0 56px; border-bottom: 1px solid var(--rule); }
@media (min-width: 980px) { .page-hero { padding: 56px 0 88px; } }
.page-hero h1 { font-size: clamp(2rem, 6.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; }
.page-hero .lede { max-width: 44rem; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 0.92rem; margin: 0 0 12px; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.88rem; color: var(--fog); }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: 0.5; }
.crumbs a { color: var(--fog); text-decoration: none; }
.crumbs a:hover { color: var(--paper); }

.cards { display: grid; gap: 0; margin-top: 40px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 22px 0; border-top: 1px solid var(--rule); }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--fog); margin: 0; }
.ind-card h3 a { color: var(--paper); text-decoration: none; background-image: linear-gradient(var(--teal), var(--teal)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s; }
.ind-card h3 a:hover { background-size: 100% 2px; }
.ind-card h3 a::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg) translateY(-2px); }

.prose-grid { display: grid; gap: 20px; }
@media (min-width: 980px) { .prose-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.prose { max-width: 44rem; }
.prose p { color: var(--fog); }
.prose p strong { color: var(--paper); font-weight: 600; }
.prose .cohort { margin-top: 24px; }
.sources { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.88rem; color: var(--fog); }
.sources p { margin: 0 0 6px; font-weight: 600; color: var(--paper); }
.sources li { padding: 4px 0; }
.sources a { color: var(--fog); }
.note { margin: 28px 0 0; color: var(--fog); font-size: 0.95rem; max-width: 44rem; }

.related { display: grid; gap: 10px; margin-top: 32px; }
@media (min-width: 640px) { .related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .related { grid-template-columns: repeat(4, 1fr); } }
.related a { display: block; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; color: var(--paper); font-weight: 600; background: var(--ink); transition: border-color .2s; }
.related a:hover { border-color: rgba(0, 212, 170, 0.55); }
.related small { display: block; color: var(--fog); font-weight: 400; font-size: 0.88rem; margin-top: 4px; }
.band-alt .related a { background: var(--ink); }
.band:not(.band-alt) .related a { background: var(--ink-2); }

.story-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--teal); font-weight: 600; text-decoration: none; min-height: 44px; }
.story-link::after { content: ""; width: 8px; height: 8px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.story-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.cta .actions { margin-top: 28px; }

/* Articles */
.article-hero h1 { max-width: 26ch; }
.meta { color: var(--fog); font-size: 0.92rem; margin: 6px 0 0; }
.article { max-width: 46rem; }
.article > p, .article li { color: #C9D3E1; }
.article h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); font-weight: 700; margin: 48px 0 16px; max-width: none; }
.article ul, .article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin: 0 0 10px; padding-left: 4px; }
.article li strong, .article p strong { color: var(--paper); font-weight: 600; }
.article a { color: var(--teal); text-underline-offset: 3px; }
.callout { background: var(--teal-soft); border: 1px solid rgba(0, 212, 170, 0.3); border-radius: 14px; padding: 20px 22px; margin: 0 0 32px; }
.callout p { color: var(--paper); }
.callout-h { font: 700 1.1rem/1.3 var(--display); margin-bottom: 8px !important; }
.callout ul { margin-bottom: 0; }
.callout li { color: var(--paper); }
.math { background: var(--ink-2); border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; margin: 0 0 1.2em; }
.math p { margin: 0 0 8px; color: var(--paper); }
.math p:last-child { margin: 0; color: var(--fog); }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.95rem; display: block; overflow-x: auto; }
.article th, .article td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article th { color: var(--paper); font-weight: 600; white-space: nowrap; }
.article td { color: var(--fog); min-width: 120px; }
.template { background: var(--ink-2); border: 1px dashed rgba(233, 238, 245, 0.25); border-radius: 12px; padding: 22px; margin: 0 0 24px; font-size: 0.97rem; }
.template p { color: #C9D3E1; }
.template p:last-child { margin-bottom: 0; }
.article .sources { margin-top: 40px; }
.cards-2 { }
@media (min-width: 1080px) { .cards-2 { grid-template-columns: 1fr 1fr; } }

/* Footer columns */
.foot .wrap { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot .wrap { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }
.foot nav { display: block; }
.foot-h { font: 700 0.95rem/1.3 var(--display); color: var(--paper); margin: 0 0 10px; }
.foot-links { display: grid; gap: 4px; }
.foot-links a { text-decoration: none; padding: 6px 0; }
.foot-links a:hover { color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
