:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --ink: #17262b;
  --muted: #59696f;
  --panel: #ffffff;
  --line: rgba(23, 38, 43, 0.14);
  --accent: #0d6a62;
  --accent-dark: #09443f;
  --accent-soft: rgba(13, 106, 98, 0.1);
  --blue: #1e6091;
  --blue-soft: rgba(30, 96, 145, 0.1);
  --gold: #a76718;
  --gold-soft: rgba(167, 103, 24, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  margin: 0 auto;
  min-width: 0;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 247, 0.94);
}

.topbar .shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

main {
  padding-bottom: 56px;
}

.hero {
  padding: 58px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  min-width: 0;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 440px;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6.6vw, 5.3rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: 0;
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.88rem 1.05rem;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  overflow-wrap: break-word;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.prep-panel,
.card,
.topic-list,
.resource,
.note {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.prep-panel {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 440px;
  padding: 24px;
  overflow: hidden;
}

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

.metric {
  min-height: 98px;
  padding: 14px;
  border-radius: 8px;
  background: var(--accent-soft);
}

.metric:nth-child(2) {
  background: var(--gold-soft);
}

.metric:nth-child(3) {
  background: var(--blue-soft);
}

.metric strong {
  display: block;
  font-size: 1.45rem;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

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

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.section {
  padding: 30px 0;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section p,
.card p,
.resource p,
.note p {
  color: var(--muted);
  line-height: 1.65;
}

.card,
.resource,
.topic-list,
.note {
  padding: 18px;
}

.card h3,
.resource h3,
.topic-list h3 {
  margin-bottom: 8px;
}

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

.topic-list ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.resource {
  display: grid;
  gap: 12px;
}

.resource a {
  justify-self: start;
}

.note {
  border-left: 5px solid var(--gold);
}

@media (max-width: 860px) {
  .hero-grid,
  .grid,
  .metric-grid,
  .topics,
  .resources {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy,
  .prep-panel {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .shell,
  .hero-copy,
  .prep-panel,
  .actions {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(1.9rem, 8.6vw, 2.15rem);
    line-height: 1.05;
  }

  .topbar .shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }
}
