html {
  color: #17202a;
  background: #f5f7fb;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
}

.topbar {
  align-items: center;
  background: #101827;
  border-bottom: 4px solid #f0b43c;
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 28px;
}

.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
}

nav a,
.parent-link {
  color: #eaf1ff;
  font-size: 14px;
  text-decoration: none;
}

nav a:hover {
  color: #ffd166;
}

.parent-link {
  color: #285d9a;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero .parent-link {
  color: #ffd166;
}

nav a:focus,
.cta-button:focus,
.parent-link:focus,
.topic-card:focus,
.related-links a:focus,
summary:focus {
  outline: 3px solid #ffd166;
  outline-offset: 3px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 22px 64px;
}

.eyebrow,
.panel-kicker {
  color: #d97706;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  background:
    linear-gradient(135deg, rgba(16, 24, 39, .98), rgba(22, 78, 99, .94)),
    #101827;
  border: 1px solid #22324d;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .2);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .8fr);
  margin-bottom: 22px;
  padding: 34px;
}

.hero > .eyebrow,
.hero > h1,
.hero > p,
.hero > .hero-actions,
.hero > .keywords,
.hero > .parent-link {
  grid-column: 1;
}

.hero-panel {
  align-self: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  grid-column: 2;
  grid-row: 1 / span 5;
  padding: 20px;
}

.hero-panel ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.hero-panel li {
  border-left: 3px solid #2dd4bf;
  color: #f2f7ff;
  font-size: 15px;
  line-height: 1.45;
  padding-left: 12px;
}

.section {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
  margin-bottom: 18px;
  padding: 28px;
}

.section:nth-child(3n) {
  border-top: 4px solid #2dd4bf;
}

.section:nth-child(3n + 1) {
  border-top: 4px solid #f0b43c;
}

.hero p {
  color: #e6eefc;
  max-width: 760px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.cta-button {
  align-items: center;
  background: #f0b43c;
  border: 1px solid #ffd166;
  border-radius: 8px;
  color: #101827;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

.cta-button:hover {
  background: #ffd166;
}

.secondary-cta {
  background: #164e63;
  border-color: #164e63;
  color: #fff;
  flex: 0 0 auto;
}

.secondary-cta:hover {
  background: #0f766e;
}

.section-grid,
.topic-grid {
  display: grid;
  gap: 18px;
}

.topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.topic-card {
  border: 1px solid #d5deeb;
  border-radius: 8px;
  color: #17202a;
  display: block;
  background: #fbfdff;
  min-height: 150px;
  padding: 18px;
  text-decoration: none;
}

.topic-card:hover {
  border-color: #2dd4bf;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .1);
}

.topic-title,
.topic-card span {
  display: block;
}

.topic-title {
  color: #101827;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.topic-card span:not(.topic-title) {
  color: #526173;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.keywords span {
  background: rgba(230, 238, 252, .95);
  border: 1px solid rgba(45, 212, 191, .35);
  border-radius: 999px;
  color: #134e4a;
  font-size: 13px;
  padding: 7px 10px;
}

.action-band {
  align-items: center;
  background: #eef6ff;
  border: 1px solid #c8d7ea;
  border-left: 5px solid #2dd4bf;
  border-radius: 8px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 0 26px;
  padding: 22px;
}

.action-band h2 {
  margin-bottom: 8px;
}

.action-band p {
  margin-bottom: 0;
}

h1 {
  font-size: 42px;
  line-height: 1.08;
  margin: 0;
  max-width: 820px;
}

h2 {
  font-size: 25px;
  line-height: 1.2;
  margin: 0 0 14px;
}

p,
.related-links {
  font-size: 17px;
  line-height: 1.68;
}

.related-links {
  margin: 0;
  padding-left: 20px;
}

details {
  border-top: 1px solid #d9e2ef;
  padding: 16px 0;
}

summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}

footer {
  color: #5d6979;
  font-size: 14px;
  padding: 24px;
  text-align: center;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    padding: 22px 14px 44px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .hero > .eyebrow,
  .hero > h1,
  .hero > p,
  .hero > .hero-actions,
  .hero > .keywords,
  .hero > .parent-link,
  .hero-panel {
    grid-column: 1;
  }

  .hero-panel {
    grid-row: auto;
  }

  .section {
    padding: 22px;
  }

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

  .secondary-cta {
    width: 100%;
  }

  h1 {
    font-size: 31px;
  }
}

@media (min-width: 880px) {
  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
