:root {
  --ink: #101721;
  --muted: #5d6975;
  --paper: #f4f1e9;
  --wash: #fbfaf6;
  --deep: #101721;
  --green: #0d624b;
  --green-2: #19453e;
  --gold: #c98a2d;
  --blue: #2d6a83;
  --line: rgba(16, 23, 33, .14);
  --white: #fff;
  --shadow: 0 22px 70px rgba(16, 23, 33, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
  letter-spacing: 0;
}

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

.wrap {
  width: min(1120px, calc(100% - 34px));
  margin: 0 auto;
}

.topbar {
  background: var(--deep);
  color: var(--white);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(224px, 43vw);
  max-height: 50px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .24));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, .97fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: 52px 0 58px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 11px;
  color: #ffe1a3;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(38px, 6.6vw, 72px);
}

h1 span,
h2 span {
  color: #f5cf82;
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 7px;
  background: var(--gold);
  color: #10120f;
  text-decoration: none;
  font-weight: 950;
}

.button.secondary {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2);
}

main .button.secondary {
  background: var(--green-2);
  color: var(--white);
  border-color: transparent;
}

.hero-media {
  min-height: 310px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--green-2);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

main {
  padding: 48px 0 76px;
}

.section {
  margin-top: 34px;
}

.section:first-child {
  margin-top: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section h2 {
  color: var(--ink);
  font-size: clamp(27px, 4vw, 42px);
}

.section h2 span {
  color: var(--green);
}

.section p,
.section li {
  color: var(--muted);
}

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

.guide-card,
.panel,
.article-card,
.fact-list,
.faq details,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(130px, .42fr) minmax(0, .58fr);
  overflow: hidden;
  text-decoration: none;
}

.guide-card img {
  width: 100%;
  height: 100%;
  min-height: 226px;
  object-fit: cover;
}

.guide-card-body {
  padding: 20px;
}

.guide-card b {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.12;
}

.guide-card p {
  margin: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(260px, .28fr);
  gap: 22px;
  align-items: start;
}

.article-card {
  padding: 28px;
}

.article-card h2 {
  margin-top: 30px;
}

.article-card h2:first-child {
  margin-top: 0;
}

.article-card h3 {
  margin-top: 22px;
  font-size: 20px;
}

.article-card p,
.article-card li {
  font-size: 16px;
}

.article-card ul {
  padding-left: 21px;
}

.fact-list {
  position: sticky;
  top: 18px;
  padding: 20px;
}

.fact-list h2 {
  font-size: 22px;
}

.fact-list dl {
  margin: 16px 0 0;
}

.fact-list dt {
  margin-top: 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 16px 18px;
  box-shadow: none;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 950;
}

.notice {
  padding: 18px;
  border-left: 5px solid var(--gold);
  box-shadow: none;
  color: #3f4650;
}

.footer {
  padding: 25px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    display: block;
    width: min(100% - 20px, 1120px);
    padding: 12px 0;
  }

  .brand img {
    width: min(168px, 50vw);
    max-height: 42px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
    gap: 4px;
    margin-top: 9px;
    justify-content: stretch;
  }

  .nav-links a {
    min-height: 30px;
    justify-content: center;
    padding: 0 2px;
    border-radius: 6px;
    font-size: clamp(8px, 2.25vw, 11px);
    line-height: 1;
  }

  .hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 34px 0 42px;
  }

  .hero-media,
  .hero-media img {
    min-height: 230px;
  }

  .guide-grid,
  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-card img {
    min-height: 185px;
  }

  .article-card,
  .fact-list {
    padding: 20px;
  }

  .fact-list {
    position: static;
  }

  .button {
    width: 100%;
  }
}
