@font-face {
  font-family: "Dooriax Sans";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

:root {
  --ink: #0b1e18;
  --field: #0f7654;
  --paper: #f3f5ef;
  --white: #ffffff;
  --lime: #c7f45d;
  --line: #bdc8c0;
  --slate: #344740;
  font-family: "Dooriax Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #2368d8; outline-offset: 4px; }

body > header:not(.site-header),
main,
footer:not(.site-footer) {
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
}

body > header:not(.site-header) {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

body > header:not(.site-header) img { width: 154px; height: auto; display: block; }
body > header:not(.site-header) nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; font-weight: 680; }
body > header:not(.site-header) a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.intro {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(64px, 9vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.6fr);
  gap: clamp(48px, 9vw, 128px);
  align-items: end;
}

h1,
h2,
h3 { margin: 0; text-wrap: balance; }
h1 { max-width: 12ch; font-size: clamp(3.2rem, 7vw, 6rem); line-height: 0.94; letter-spacing: -0.04em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.018em; }
p { color: var(--slate); line-height: 1.68; }
.intro p { margin: 0; font-size: 1.12rem; }

.band {
  min-height: 92px;
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--lime);
  font-weight: 700;
}

.section {
  padding-top: clamp(72px, 9vw, 112px);
  padding-bottom: clamp(72px, 9vw, 112px);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(480px, 1.25fr);
  gap: clamp(52px, 9vw, 128px);
}

.rows { border-top: 1px solid var(--line); }
.row { padding: 28px 0; border-bottom: 1px solid var(--line); }
.row p { max-width: 68ch; margin: 12px 0 0; }
.row ul { margin: 14px 0 0; padding-left: 20px; color: var(--slate); line-height: 1.7; }

.questions { background: var(--ink); color: var(--white); }
.questions p { color: #b9c8c2; }
.questions .rows,
.questions .row { border-color: rgb(255 255 255 / 0.22); }

.action {
  padding-top: clamp(68px, 8vw, 100px);
  padding-bottom: clamp(68px, 8vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--lime);
}

.action a {
  min-height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 720;
  text-decoration: none;
}

footer:not(.site-footer) {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #071610;
  color: #aec0b8;
  font-size: 13px;
}

footer:not(.site-footer) a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
footer:not(.site-footer) a:hover { color: var(--lime); }

.article-hero {
  max-width: 960px;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

.article-hero h1 {
  max-width: 15ch;
}

.article-hero > p {
  max-width: 68ch;
  margin: 28px 0 0;
  font-size: 1.14rem;
}

.article-meta {
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 13px;
  font-weight: 640;
}

.direct-answer {
  max-width: 74ch;
  margin: 0 0 clamp(56px, 7vw, 88px);
  padding: 24px 28px;
  border-left: 4px solid var(--field);
  background: var(--white);
}

.direct-answer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.direct-answer p {
  margin: 0;
}

.article-layout {
  padding-bottom: clamp(80px, 10vw, 132px);
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
}

.article-layout > * {
  min-width: 0;
}

.toc {
  position: sticky;
  top: 28px;
  border-top: 1px solid var(--line);
}

.toc strong {
  padding: 18px 0 12px;
  display: block;
  font-size: 13px;
}

.toc a {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 13px;
  text-decoration: none;
}

.toc a:hover { color: var(--field); }

.article-body section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.article-body section:first-child { padding-top: 0; border-top: 0; }
.article-body h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.2rem); }
.article-body h3 { margin-top: 30px; }
.article-body p,
.article-body li { max-width: 72ch; color: var(--slate); line-height: 1.72; }
.article-body ul,
.article-body ol { padding-left: 22px; }
.article-body li + li { margin-top: 10px; }

.table-wrap {
  width: 100%;
  margin-top: 28px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}

th { color: var(--ink); font-size: 13px; }
td { color: var(--slate); font-size: 14px; }

.source-list a,
.related-list a { color: var(--field); font-weight: 650; }

.article-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.article-list li {
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.article-list p { max-width: 68ch; margin: 10px 0 0; }
.article-list a { align-self: center; color: var(--field); font-weight: 720; }

.article-tag {
  margin-bottom: 8px;
  display: block;
  color: var(--field);
  font-size: 12px;
  font-weight: 720;
}

@media (max-width: 760px) {
  body > header:not(.site-header) { padding-block: 18px; align-items: flex-start; flex-direction: column; }
  .intro,
  .split { grid-template-columns: 1fr; }
  .band,
  .action,
  footer:not(.site-footer) { align-items: flex-start; flex-direction: column; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.3rem); }
  .article-hero,
  .article-hero > p,
  .direct-answer { width: 100%; max-width: 100%; }
  .article-hero h1 { max-width: 100%; font-size: clamp(3rem, 13vw, 3.5rem); text-wrap: wrap; }
  .article-layout { width: 100%; display: block; }
  .article-body { width: 100%; }
  .toc { position: static; margin-bottom: 52px; }
  .table-wrap { max-width: calc(100vw - 40px); }
  .article-list li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
