:root {
  --ink: #17202a;
  --muted: #667085;
  --line: #dde3ea;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --green: #2f7d63;
  --red: #c75050;
  --blue: #4267a8;
  --shadow: 0 18px 45px rgba(22, 31, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(251, 252, 248, 0.9);
  border-bottom: 1px solid rgba(221, 227, 234, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  position: relative;
  min-height: clamp(360px, 55vh, 540px);
  overflow: hidden;
  background: #1b2630;
}

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

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 18, 25, 0.78), rgba(10, 18, 25, 0.32) 58%, rgba(10, 18, 25, 0.18)),
    linear-gradient(0deg, rgba(10, 18, 25, 0.28), rgba(10, 18, 25, 0.02));
}

.hero-copy {
  position: relative;
  max-width: 720px;
  padding: clamp(72px, 12vh, 128px) clamp(20px, 6vw, 72px) 56px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bde7d7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 16px;
  font-size: clamp(42px, 5.4rem, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 56ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
  margin: -28px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.status-strip div {
  min-height: 88px;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.status-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.status-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.metric {
  display: block;
  color: var(--red);
  font-size: 28px;
  font-weight: 780;
  line-height: 1;
}

.status-strip span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 20px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.filters {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: #edf2f0;
  border: 1px solid #d7e1dc;
  border-radius: 8px;
}

.filter {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.filter.is-active {
  color: #fff;
  background: var(--green);
}

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

.watch-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.watch-card[hidden] {
  display: none;
}

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

.watch-card div {
  padding: 18px;
}

.tag {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.watch-card p:last-child,
.note-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  padding-bottom: 72px;
}

.note-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.note-list article,
.side-panel {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

time {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 750;
}

.library-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.library-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.library-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.library-list strong {
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 48px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 780px) {
  .site-header,
  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero-copy {
    padding-top: 92px;
  }

  h1 {
    font-size: 44px;
  }

  .status-strip,
  .watch-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .status-strip div,
  .status-strip div:first-child,
  .status-strip div:last-child {
    border-radius: 0;
  }

  .status-strip div:first-child {
    border-radius: 8px 8px 0 0;
  }

  .status-strip div:last-child {
    border-radius: 0 0 8px 8px;
  }
}
