:root {
  --ink: #0b1f1c;
  --slate: #3d524e;
  --mist: #e7f3f0;
  --paper: #f7fbf9;
  --teal: #088878;
  --deep: #06685c;
  --forest: #04352f;
  --gold: #c9a24a;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--forest);
  color: var(--ink);
  font-family: ui-sans-serif, "Segoe UI", Helvetica, Arial, sans-serif;
}

body { overflow: hidden; }

.rail {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #c9a24a, #0c9a88);
  z-index: 30;
}

.deck {
  height: 100%;
  width: 100%;
}

.slide {
  display: none;
  height: 100%;
  width: 100%;
  padding: 36px 52px 56px;
  position: relative;
  overflow: hidden;
}

.slide.active { display: grid; }

.slide.cover,
.slide.close,
.slide.chapter {
  background:
    radial-gradient(90% 70% at 88% 8%, #0c9a88 0%, transparent 42%),
    linear-gradient(160deg, #05211d 0%, #04352f 48%, #0a4a42 100%);
  color: var(--white);
}

.slide.light {
  background: linear-gradient(180deg, #f7fbf9 0%, #eef7f4 100%);
}

.slide.light::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#08887812 1px, transparent 1px),
    linear-gradient(90deg, #08887812 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.logo,
.logo-light {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(210px, 56vw);
  flex: 0 0 auto;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.cover .kicker,
.close .kicker,
.chapter .kicker { color: #9fe8dc; }

.light .kicker { color: var(--teal); }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 14px 0 16px;
}

h1 { font-size: clamp(48px, 6.4vw, 84px); max-width: 14ch; }
h2 { font-size: clamp(36px, 4.4vw, 58px); max-width: 18ch; }
p { margin: 0; color: inherit; }

.lede {
  font-size: 18px;
  line-height: 1.5;
  max-width: 46ch;
}

.cover .lede,
.close .lede { color: #d7efe9; }

.cover-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: end;
  height: calc(100% - 48px);
  position: relative;
  z-index: 2;
}

.cover-og {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px #02110e80;
  align-self: center;
}

.cover-og img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: cover;
  object-position: top;
}

.light .lede { color: var(--slate); }

.hero-copy {
  align-self: end;
  padding-bottom: 18px;
  position: relative;
  z-index: 2;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  font-size: 13px;
  color: #b7ddd6;
}

.meta-row strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 4px;
}

.light .meta-row { color: var(--slate); }
.light .meta-row strong { color: var(--ink); }

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: end;
  height: calc(100% - 48px);
  position: relative;
  z-index: 2;
}

.shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px #04352f26;
  background: #fff;
  align-self: center;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #0b1f1ce8;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
  height: calc(100% - 48px);
  position: relative;
  z-index: 2;
}

.points { list-style: none; padding: 0; margin: 22px 0 0; }

.points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  color: var(--slate);
  font-size: 16px;
}

.points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 99px;
  background: var(--teal);
  flex: 0 0 auto;
}

.cover .points li,
.chapter .points li,
.close .points li { color: #d7efe9; }

.cover .points li::before,
.chapter .points li::before,
.close .points li::before { background: var(--gold); }

.offer .lede { max-width: 54ch; font-size: 16px; }

.offer {
  display: grid;
  grid-template-rows: 1fr auto;
  height: calc(100% - 48px);
  gap: 22px;
  position: relative;
  z-index: 2;
}

.jump-wrap { display: grid; gap: 8px; }

.jump-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
}

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

.jump a,
.jump button {
  text-align: left;
  border: 1px solid var(--teal);
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  text-decoration: none;
  display: block;
}

.jump a:hover,
.jump a:focus-visible,
.jump button:hover,
.jump button:focus-visible {
  background: #088878;
  color: #fff;
  outline: none;
}

.jump a:hover span,
.jump a:focus-visible span,
.jump button:hover span,
.jump button:focus-visible span { color: #d7efe9; }

.jump strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  margin-bottom: 4px;
}

.jump span {
  display: block;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.35;
}

.jump em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}

.jump a:hover em,
.jump a:focus-visible em,
.jump button:hover em,
.jump button:focus-visible em { color: #fff; }

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  height: calc(100% - 118px);
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

.card {
  background: #fff;
  border: 1px solid #d7ebe6;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  margin: 8px 0 6px;
}

.card p { color: var(--slate); font-size: 14px; line-height: 1.45; }

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  background: var(--mist);
}

.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

.tile {
  background: #fff;
  border: 1px solid #d7ebe6;
  border-radius: 16px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  display: block;
}

a.tile:hover,
a.tile:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 12px 32px #04352f14;
  outline: none;
}

.tile span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.tile h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  margin: 8px 0 8px;
}

.tile p { color: var(--slate); font-size: 15px; line-height: 1.45; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
  height: calc(100% - 118px);
  position: relative;
  z-index: 2;
}

.compare article {
  background: #fff;
  border: 1px solid #d7ebe6;
  border-radius: 18px;
  padding: 24px 26px;
  min-height: 0;
}

.compare article[data-tone="accent"] {
  background: #04352f;
  border-color: #04352f;
  color: #fff;
}

.compare p {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}

.compare article[data-tone="accent"] p { color: #9fe8dc; }

.compare ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compare li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid #d7ebe6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.compare article[data-tone="accent"] li { border-top-color: #0a4a42; }

.compare li span {
  font-family: ui-sans-serif, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.boards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.boards b {
  border: 1px solid #d7ebe6;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

.steps article {
  background: #fff;
  border: 1px solid #d7ebe6;
  border-radius: 18px;
  padding: 22px;
}

.steps strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.steps h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  margin: 0 0 8px;
}

.steps p { color: var(--slate); font-size: 15px; line-height: 1.45; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #22180a;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
}

.cta.ghost {
  background: transparent;
  color: #d7efe9;
  border: 1px solid #2d5f57;
}

.light .cta.ghost {
  color: var(--deep);
  border-color: #b7ddd6;
}

.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: #031916;
  color: #b7ddd6;
  font-size: 12px;
  z-index: 20;
  gap: 16px;
}

.bar-brand,
.bar-link {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.bar-link { opacity: 0.8; }
.bar-link:hover { opacity: 1; color: #fff; }

.dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

.dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 99px;
  background: #2d5f57;
  padding: 0;
  cursor: pointer;
}

.dots button.on { background: #9fe8dc; width: 18px; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav button {
  background: transparent;
  border: 1px solid #2d5f57;
  color: #d7efe9;
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  font: inherit;
}

.hint { opacity: 0.7; }
.gold { color: var(--gold); }

@media (max-width: 1100px) {
  .jump { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .slide { padding: 22px 18px 80px; min-height: 100%; height: auto; }
  .cover-layout,
  .split,
  .chapter-grid,
  .trio,
  .audiences,
  .compare,
  .steps { grid-template-columns: 1fr; height: auto; }
  body { overflow: auto; }
  .card img { height: 160px; }
  h1 { font-size: 42px; }
  .logo,
  .logo-light { height: 26px; }
  .bar { padding: 0 14px; }
  .dots,
  .bar-link,
  .hint { display: none; }
}

@media print {
  body { overflow: visible; background: #fff; }
  .bar,
  .rail { display: none; }
  .slide { display: grid !important; page-break-after: always; height: 100vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
