:root {
  color-scheme: dark;
  --ink: #f8fafc;
  --muted: #b9c2cf;
  --paper: #10141b;
  --panel: #171d27;
  --panel-2: #e9eef2;
  --panel-ink: #17202b;
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff5fb7;
  --orange: #ff8130;
  --cyan: #3ee7f2;
  --yellow: #ffd049;
  --green: #7dd77a;
  --blue: #6fa8ff;
  --red: #ff4f57;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#chooser,
#finder,
#guides,
#articles,
#books,
#systems,
#start,
#adult-adhd-series,
#dopamine-rebalancing,
#series-dopamine-rebalancing,
[id^="series-book"] {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #0b1018 0%, var(--paper) 38%, #0d121a 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 11, 16, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.nav {
  gap: clamp(14px, 2.6vw, 32px);
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.74) 42%, rgba(5, 7, 11, 0.3) 100%),
    linear-gradient(0deg, rgba(16, 20, 27, 1) 0%, rgba(16, 20, 27, 0) 34%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(58px, 11vh, 112px) clamp(18px, 8vw, 108px);
  padding-top: 108px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: #e7ecf4;
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.32;
}

.hero-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 660px;
  margin-top: 22px;
}

.hero-promise span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  color: #071119;
  background: var(--cyan);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-promise span:nth-child(2) {
  background: var(--yellow);
}

.hero-promise span:nth-child(3) {
  background: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #14151a;
  background: var(--yellow);
  border-color: transparent;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary.light {
  color: var(--panel-ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.08);
}

.band {
  background: #111923;
  border-block: 1px solid var(--line);
}

.intro {
  padding: clamp(24px, 5vw, 48px) clamp(18px, 7vw, 96px);
}

.intro-grid {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.intro p {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.signal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signal-list li {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 780;
  line-height: 1.25;
}

.signal-list span {
  min-width: 35px;
  color: var(--yellow);
  font-weight: 950;
}

.section {
  padding: clamp(60px, 9vw, 118px) clamp(18px, 7vw, 96px);
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto clamp(30px, 5vw, 54px);
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.compact-heading h2 {
  max-width: 880px;
  font-size: clamp(31px, 4.5vw, 60px);
}

.compact-heading p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
}

.chooser {
  background: #0d121a;
}

.path-grid {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.path-card {
  --tone: var(--cyan);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: var(--ink);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone) 16%, transparent) 0%, rgba(255, 255, 255, 0.035) 42%),
    #151c27;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 6px solid var(--tone);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.path-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tone) 54%, white);
}

.path-card span,
.systems-grid span {
  width: fit-content;
  margin-bottom: 20px;
  padding: 7px 9px;
  color: #071119;
  background: var(--tone);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.path-card strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.98;
}

.path-card p {
  margin: 18px 0 0;
  color: #d5dee9;
  font-size: 16px;
  line-height: 1.42;
}

.path-card[data-tone="pink"],
.series-list li[data-tone="pink"],
.systems-grid > div[data-tone="pink"],
.finder-option[data-tone="pink"],
.finder-result[data-tone="pink"] {
  --tone: var(--pink);
}

.path-card[data-tone="cyan"],
.series-list li[data-tone="cyan"],
.systems-grid > div[data-tone="cyan"],
.finder-option[data-tone="cyan"],
.finder-result[data-tone="cyan"],
.inside-card[data-tone="cyan"] {
  --tone: var(--cyan);
}

.path-card[data-tone="yellow"],
.series-list li[data-tone="yellow"],
.systems-grid > div[data-tone="yellow"],
.finder-option[data-tone="yellow"],
.finder-result[data-tone="yellow"] {
  --tone: var(--yellow);
}

.path-card[data-tone="orange"],
.series-list li[data-tone="orange"],
.systems-grid > div[data-tone="orange"],
.finder-option[data-tone="orange"],
.finder-result[data-tone="orange"],
.inside-card[data-tone="orange"] {
  --tone: var(--orange);
}

.path-card[data-tone="green"],
.series-list li[data-tone="green"],
.systems-grid > div[data-tone="green"],
.finder-option[data-tone="green"],
.finder-result[data-tone="green"],
.inside-card[data-tone="green"] {
  --tone: var(--green);
}

.path-card[data-tone="blue"],
.series-list li[data-tone="blue"],
.systems-grid > div[data-tone="blue"],
.finder-option[data-tone="blue"],
.finder-result[data-tone="blue"] {
  --tone: var(--blue);
}

.path-card[data-tone="red"],
.series-list li[data-tone="red"],
.systems-grid > div[data-tone="red"],
.finder-option[data-tone="red"],
.finder-result[data-tone="red"],
.series-overview-card[data-tone="red"],
.new-series-map-card[data-tone="red"],
.start-route[data-tone="red"] {
  --tone: var(--red);
}

.finder {
  background: #111923;
  border-block: 1px solid var(--line);
}

.finder-panel {
  width: min(1120px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.43fr);
  gap: clamp(16px, 3vw, 30px);
  align-items: start;
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.finder-option {
  --tone: var(--cyan);
  min-height: 84px;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 5px solid var(--tone);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.24;
  text-align: left;
  cursor: pointer;
}

.finder-option:hover,
.finder-option.is-active {
  background: color-mix(in srgb, var(--tone) 16%, rgba(255, 255, 255, 0.07));
  border-color: color-mix(in srgb, var(--tone) 58%, white);
}

.finder-option:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.finder-result {
  --tone: var(--cyan);
  position: sticky;
  top: 96px;
  padding: 24px;
  color: var(--panel-ink);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone) 20%, white) 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-top: 6px solid var(--tone);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.finder-label,
.inside-card span {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 9px;
  color: #10141b;
  background: var(--tone);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.finder-result h3,
.inside-card h3 {
  margin: 0;
  color: var(--panel-ink);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.04;
}

.finder-result p,
.inside-card p {
  color: #3c4654;
  font-size: 17px;
  line-height: 1.48;
}

.inside {
  background: #f8fafc;
  color: var(--panel-ink);
}

.inside .eyebrow {
  color: #0d6570;
}

.inside .compact-heading p {
  color: #3c4654;
}

.inside-grid {
  width: min(1120px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.inside-card {
  --tone: var(--cyan);
  padding: 22px;
  background: #e9eef2;
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-top: 5px solid var(--tone);
  border-radius: 8px;
}

.guide-index {
  background: #0d121a;
  border-top: 1px solid var(--line);
}

.guide-card-grid {
  width: min(1120px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.guide-card {
  --tone: var(--cyan);
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: #171d27;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 5px solid var(--tone);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tone) 58%, white);
}

.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-card span {
  width: fit-content;
  margin: 18px 18px 12px;
  padding: 7px 9px;
  color: #071119;
  background: var(--tone);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 0 18px;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.05;
}

.guide-card p {
  margin: 12px 18px 20px;
  color: #d5dee9;
  font-size: 16px;
  line-height: 1.42;
}

.guide-card[data-tone="cyan"] {
  --tone: var(--cyan);
}

.guide-card[data-tone="pink"] {
  --tone: var(--pink);
}

.guide-card[data-tone="yellow"] {
  --tone: var(--yellow);
}

.guide-card[data-tone="orange"] {
  --tone: var(--orange);
}

.guide-card[data-tone="green"] {
  --tone: var(--green);
}

.guide-card[data-tone="blue"] {
  --tone: var(--blue);
}

.guide-card[data-tone="red"] {
  --tone: var(--red);
}

.quick-guide-block {
  width: min(1120px, 100%);
  margin: clamp(28px, 5vw, 52px) auto 0;
  padding-top: clamp(22px, 4vw, 38px);
  border-top: 1px solid var(--line);
}

.quick-guide-block h3 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1;
}

.quick-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-guide-grid a {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 5px solid var(--cyan);
  border-radius: 7px;
  font-weight: 900;
  line-height: 1.18;
  text-decoration: none;
}

.quick-guide-grid a:nth-child(2),
.quick-guide-grid a:nth-child(5) {
  border-left-color: var(--yellow);
}

.quick-guide-grid a:nth-child(3),
.quick-guide-grid a:nth-child(4) {
  border-left-color: var(--orange);
}

.quick-guide-grid a:nth-child(6) {
  border-left-color: var(--blue);
}

.quick-guide-grid a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.guide-page {
  background: #f8fafc;
}

.guide-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  overflow: clip;
  background: #0d121a;
}

.guide-hero > img,
.guide-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.guide-hero > img {
  object-fit: cover;
  object-position: center;
}

.guide-hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.7) 45%, rgba(5, 7, 11, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 18, 26, 1) 0%, rgba(13, 18, 26, 0) 42%);
}

.guide-hero-inner {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 36px));
  margin: 0 0 clamp(54px, 10vh, 96px) clamp(18px, 8vw, 108px);
  padding-top: 108px;
}

.guide-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(46px, 7.8vw, 92px);
  line-height: 0.9;
}

.guide-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: #e7ecf4;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.36;
}

.guide-body {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 7vw, 96px);
  color: var(--panel-ink);
  background: #f8fafc;
}

.guide-layout {
  width: min(1120px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.guide-main {
  max-width: 760px;
}

.guide-lede {
  margin-top: 0;
  color: #243042;
  font-size: clamp(21px, 2.4vw, 31px);
  font-weight: 780;
  line-height: 1.22;
}

.guide-main h2 {
  margin: clamp(34px, 5vw, 54px) 0 12px;
  color: var(--panel-ink);
  font-size: clamp(27px, 3.5vw, 44px);
  line-height: 1.05;
}

.guide-main p {
  color: #3c4654;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.article-meta li,
.article-kicker {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #10202a;
  background: rgba(62, 231, 242, 0.22);
  border-left: 4px solid var(--cyan);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-callout {
  margin: 26px 0;
  padding: 20px;
  color: var(--panel-ink);
  background: #e9eef2;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-left: 5px solid var(--yellow);
  border-radius: 8px;
}

.article-callout p {
  margin: 0;
}

.article-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: #3c4654;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.article-list li + li {
  margin-top: 10px;
}

.article-index-body {
  background: #0d121a;
}

.article-index-grid {
  width: min(1120px, 100%);
  margin: auto;
}

.guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 8px;
}

.guide-steps section {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  padding: 18px;
  background: #e9eef2;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
}

.guide-steps span {
  width: fit-content;
  display: inline-flex;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 6px 9px;
  color: #10141b;
  background: var(--yellow);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
}

.guide-steps h3 {
  margin: 0;
  color: var(--panel-ink);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.08;
}

.guide-steps p {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.guide-aside {
  position: sticky;
  top: 96px;
  padding: 18px;
  background: #e9eef2;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-top: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.guide-aside img {
  width: min(100%, 210px);
  aspect-ratio: 2 / 3;
  margin-bottom: 16px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.28);
}

.guide-aside span {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 9px;
  color: #10141b;
  background: var(--green);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.guide-aside h2 {
  margin: 0;
  color: var(--panel-ink);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.05;
}

.guide-aside p {
  color: #3c4654;
  font-size: 16px;
  line-height: 1.45;
}

.series-overview {
  width: min(1120px, 100%);
  margin: 0 auto clamp(34px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.series-overview-card {
  --tone: var(--cyan);
  display: grid;
  grid-template-columns: minmax(130px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  min-height: 320px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone) 12%, transparent) 0%, rgba(255, 255, 255, 0.035) 58%),
    #151c27;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 6px solid var(--tone);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

.series-cover-strip {
  grid-row: 1 / span 5;
  display: flex;
  align-items: center;
  min-height: 230px;
}

.series-cover-strip img {
  width: min(34%, 108px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.series-cover-strip img + img {
  margin-left: -32px;
}

.series-cover-strip img:nth-child(2) {
  transform: translateY(12px);
}

.series-cover-strip img:nth-child(3) {
  transform: translateY(-10px);
}

.series-cover-strip img:nth-child(4) {
  transform: translateY(8px);
}

.series-cover-strip.single-cover {
  justify-content: center;
}

.series-cover-strip.single-cover img {
  width: min(78%, 170px);
  margin-left: 0;
}

.series-overview-card span,
.new-series-map-card span {
  width: fit-content;
  display: inline-flex;
  padding: 7px 9px;
  color: #10141b;
  background: var(--tone);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.series-overview-card h3 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 44px);
  line-height: 1;
}

.series-overview-card p {
  margin: 0;
  color: #d5dee9;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.45;
}

.series-overview-card .button {
  width: fit-content;
  align-self: start;
}

.book-series-header {
  width: min(1120px, 100%);
  margin: 0 auto 20px;
  padding-top: clamp(10px, 2vw, 18px);
}

.book-series-header h3 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(31px, 4.6vw, 58px);
  line-height: 1;
}

.book-series-header p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
}

.new-series-header {
  margin-top: clamp(40px, 7vw, 82px);
  padding-top: clamp(30px, 5vw, 54px);
  border-top: 1px solid var(--line);
}

.book-list {
  width: min(1120px, 100%);
  margin: auto;
  display: grid;
  gap: 18px;
}

.book {
  display: grid;
  grid-template-columns: minmax(180px, 290px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: clamp(18px, 3vw, 32px);
  background: var(--panel-2);
  color: var(--panel-ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.book-new-series {
  background:
    linear-gradient(135deg, rgba(255, 79, 87, 0.1) 0%, rgba(255, 255, 255, 0) 44%),
    var(--panel-2);
  border-top: 6px solid var(--red);
}

.book-cover-frame {
  width: min(100%, 290px);
  aspect-ratio: 2 / 3;
  background: #111923;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.book-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-kicker {
  margin: 0 0 10px;
  color: #a94313;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.book h3,
.systems-grid h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.book p:not(.book-kicker),
.systems-grid p,
.final-cta p {
  color: #3c4654;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
}

.book p:not(.book-kicker) {
  max-width: 650px;
}

.book-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.book-meta-list li {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #0f2b22;
  background: rgba(125, 215, 122, 0.28);
  border-left: 4px solid var(--green);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.micro-list li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #17202b;
  background: #ffffff;
  border-left: 4px solid var(--cyan);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 850;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: #094c57;
  font-weight: 900;
  text-underline-offset: 5px;
}

.series-map {
  width: min(1120px, 100%);
  margin: clamp(34px, 6vw, 72px) auto 0;
  padding-top: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.series-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(20px, 5vw, 54px);
  align-items: end;
  margin-bottom: 20px;
}

.series-heading h3 {
  margin: 0;
  font-size: clamp(27px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.series-list {
  counter-reset: none;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.series-list li {
  --tone: var(--orange);
  flex: 1 1 250px;
  max-width: calc((100% - 30px) / 4);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: #e9eef2;
  color: var(--panel-ink);
  border-radius: 7px;
  border-top: 5px solid var(--tone);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.series-list span {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 9px;
  color: #10141b;
  background: var(--tone);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.series-list strong {
  display: block;
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.05;
}

.series-list p {
  color: #465160;
  font-size: 15px;
  line-height: 1.38;
}

.series-list a {
  margin-top: auto;
  color: #094c57;
  font-weight: 900;
  text-underline-offset: 5px;
}

.new-series-map-card {
  --tone: var(--red);
  margin-top: 10px;
  padding: 20px;
  color: var(--panel-ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone) 18%, white) 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-top: 5px solid var(--tone);
  border-radius: 7px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.new-series-map-card strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.02;
}

.new-series-map-card p {
  max-width: 760px;
  color: #465160;
  font-size: 16px;
  line-height: 1.45;
}

.new-series-map-card a {
  color: #094c57;
  font-weight: 900;
  text-underline-offset: 5px;
}

.series-list .status-note {
  margin-top: auto;
  color: #0f614f;
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
}

.book-copy .status-note {
  display: inline-flex;
  margin-top: 8px;
  color: #0f614f;
  font-size: 15px;
  font-weight: 950;
}

.systems-grid {
  width: min(1120px, 100%);
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.systems-grid > div {
  --tone: var(--green);
  flex: 1 1 245px;
  max-width: calc((100% - 36px) / 4);
  min-width: 230px;
  min-height: 176px;
  padding: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone) 12%, transparent) 0%, rgba(255, 255, 255, 0.06) 52%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--tone);
  border-radius: 7px;
}

.systems-grid span {
  display: inline-flex;
  margin-bottom: 14px;
}

.systems-grid h3 {
  margin: 0;
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.06;
}

.systems-grid p {
  margin: 12px 0 0;
  color: #c6d0dc;
  font-size: 15px;
  line-height: 1.42;
}

.final-cta {
  background: var(--panel-2);
  color: var(--panel-ink);
  padding-block: clamp(44px, 6vw, 76px);
}

.final-cta > * {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.final-cta .eyebrow {
  color: #0d6570;
}

.start-heading {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.start-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.final-cta p {
  color: #3d4856;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.start-heading p,
.start-footer p {
  max-width: 820px;
}

.start-routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.start-route {
  --tone: var(--cyan);
  display: flex;
  flex-direction: column;
  padding: clamp(15px, 2.2vw, 22px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, color-mix(in srgb, var(--tone) 9%, white) 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-top: 5px solid var(--tone);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.route-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.start-route[data-tone="cyan"] {
  --tone: var(--cyan);
}

.start-route[data-tone="orange"] {
  --tone: var(--orange);
}

.start-route[data-tone="green"] {
  --tone: var(--green);
}

.start-route[data-tone="yellow"] {
  --tone: var(--yellow);
}

.start-route[data-tone="red"] {
  --tone: var(--red);
}

.route-copy span {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 8px;
  color: #10141b;
  background: var(--tone);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.route-copy h3 {
  max-width: 680px;
  margin: 0;
  color: var(--panel-ink);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: 0;
}

.route-copy p {
  max-width: 640px;
  margin: 10px 0 0;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.38;
}

.route-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.route-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding-inline: 12px;
  font-size: clamp(13px, 1.1vw, 15px);
  text-align: center;
}

.route-actions .route-secondary {
  color: #094c57;
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(9, 76, 87, 0.26);
  text-decoration: none;
}

.route-actions .route-secondary:hover {
  background: #ffffff;
  border-color: rgba(9, 76, 87, 0.48);
}

.route-covers {
  order: -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(46px, 52px));
  gap: 8px;
  justify-content: start;
  align-items: end;
  margin-bottom: 14px;
  isolation: isolate;
}

.route-covers img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.start-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(18px, 3vw, 28px);
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

.start-footer p {
  margin: 0;
}

.reader-note {
  padding: 18px clamp(18px, 7vw, 96px);
  color: #d5dee9;
  background: #0d121a;
  border-top: 1px solid var(--line);
}

.related-articles {
  padding: clamp(34px, 5vw, 58px) clamp(18px, 7vw, 96px);
  color: #e7ecf4;
  background: #101722;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-articles-inner {
  width: min(1120px, 100%);
  margin: auto;
}

.related-articles h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.05;
}

.related-article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.related-article-list a {
  display: block;
  min-height: 100%;
  padding: 18px;
  color: #f8fbff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
}

.related-article-list a:nth-child(2n) {
  border-left-color: var(--green);
}

.related-article-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 231, 242, 0.45);
}

.related-article-list span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.related-article-list strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.08;
}

.reader-note p {
  width: min(1120px, 100%);
  margin: auto;
  font-size: 14px;
  line-height: 1.45;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 7vw, 96px);
  color: var(--muted);
  background: #0d121a;
  border-top: 1px solid var(--line);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 1080px) {
  .series-overview {
    grid-template-columns: 1fr;
  }

  .series-list li {
    max-width: calc((100% - 10px) / 2);
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
  }

  .start-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
  }

  .brand span {
    max-width: 160px;
    line-height: 1.12;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 9, 13, 0.96) 0%, rgba(7, 9, 13, 0.74) 62%, rgba(7, 9, 13, 0.4) 100%);
  }

  .hero-inner {
    margin-left: 18px;
    margin-bottom: 46px;
  }

  h1 {
    font-size: clamp(47px, 16vw, 72px);
  }

  .intro-grid,
  .book,
  .series-heading,
  .start-route,
  .finder-panel {
    grid-template-columns: 1fr;
  }

  .book-cover-frame {
    max-width: 230px;
  }

  .path-grid,
  .series-overview,
  .start-routes,
  .inside-grid,
  .guide-card-grid,
  .quick-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-overview-card {
    grid-template-columns: 1fr;
  }

  .series-cover-strip {
    grid-row: auto;
    min-height: 180px;
  }

  .systems-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .systems-grid > div {
    max-width: none;
    min-width: 0;
  }

  .finder-result {
    position: static;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
  }

  .footer {
    flex-direction: column;
  }

  .route-covers {
    grid-template-columns: repeat(auto-fit, minmax(44px, 48px));
    justify-content: flex-start;
  }

  .start-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .topbar {
    position: absolute;
  }

  .nav {
    display: none;
  }

  .signal-list,
  .path-grid,
  .series-overview,
  .start-routes,
  .finder-options,
  .inside-grid,
  .guide-card-grid,
  .related-article-list,
  .quick-guide-grid {
    grid-template-columns: 1fr;
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }

  .series-list li {
    max-width: none;
  }

  .guide-steps section {
    grid-template-columns: 1fr;
  }

  .route-actions {
    grid-template-columns: 1fr;
  }

  .guide-hero {
    min-height: 78svh;
  }

  .guide-hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 9, 13, 0.97) 0%, rgba(7, 9, 13, 0.78) 68%, rgba(7, 9, 13, 0.45) 100%);
  }

  .guide-hero-inner {
    margin-left: 18px;
    margin-bottom: 44px;
  }

  .guide-hero h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .guide-aside img {
    width: min(100%, 170px);
  }

  .route-covers {
    display: none;
  }

  .button {
    width: 100%;
  }

  .path-card {
    min-height: 0;
    padding: 18px;
  }

  .path-card span {
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .path-card {
    transition: none;
  }

  .button:hover,
  .path-card:hover {
    transform: none;
  }
}
