:root {
  color-scheme: dark;
  --bg: #0c1518;
  --surface: #132227;
  --text: #eff7f4;
  --muted: #aac3bf;
  --accent: #9af9d2;
  --border: #2c4448;
  font: 16px/1.6 system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.15rem; border-bottom: 1px solid var(--border); }
.brand, .masthead nav { display: flex; align-items: center; gap: 1rem; }
.brand { color: var(--text); font-weight: 780; font-size: 1.25rem; text-decoration: none; gap: .55rem; }
.masthead nav { font-size: .9rem; }
.hero {
  padding-block: clamp(3.75rem, 10vw, 8rem);
  background:
    linear-gradient(90deg, var(--bg) 2%, rgb(12 21 24 / .96) 35%, rgb(12 21 24 / .72) 57%, rgb(12 21 24 / .14) 83%),
    url("nemo-helmet-hero.webp") right center / clamp(25rem, 55vw, 41rem) auto no-repeat,
    radial-gradient(ellipse at 81% 44%, #285c4b 0%, #173b31 36%, var(--bg) 76%);
}
h1, h2, h3 { line-height: 1.13; margin: 0; }
h1 { font-size: clamp(3.2rem, 9vw, 7.3rem); letter-spacing: -.075em; margin: .25em 0; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.045em; }
h3 { font-size: 1.23rem; letter-spacing: -.02em; }
p { color: var(--muted); }
.hero > p { max-width: 37rem; font-size: clamp(1.05rem, 2.4vw, 1.3rem); }
.hero .platform { font-size: .9rem; margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.button { display: inline-flex; gap: .5rem; align-items: center; border: 1px solid var(--border); padding: .65rem 1rem; border-radius: .45rem; text-decoration: none; font-weight: 650; }
.button.primary { color: #0a251b; background: var(--accent); border-color: var(--accent); }
.guide { padding-block: 2.75rem 4rem; border-top: 1px solid var(--border); }
.intro { margin-bottom: 1.5rem; }
.episodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.episode { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--surface); padding: 1.25rem; border-radius: .65rem; }
.episode p { margin: .55rem 0 1rem; }
.episode a { margin-top: auto; align-self: start; font-size: .9rem; }
.episode video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 1rem; border-radius: .3rem; background: var(--bg); }
.footer { padding-block: 1.25rem 2rem; border-top: 1px solid var(--border); }
@media (max-width: 650px) {
  .hero {
    background:
      linear-gradient(90deg, var(--bg), rgb(12 21 24 / .84) 52%, rgb(12 21 24 / .57)),
      url("nemo-helmet-hero.webp") calc(100% + 6rem) center / 25rem auto no-repeat,
      radial-gradient(ellipse at 87% 45%, #22503e, var(--bg) 74%);
  }
  .episodes { grid-template-columns: minmax(0, 1fr); }
}
