:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #f3f3f4;
  --surface-strong: #e9e9eb;
  --text: #1e1a24;
  --muted: #676574;
  --border: #dedee3;
  --accent: #64993a;
  --accent-soft: #edf5e7;
  --warning-soft: #fff7e8;
  --warning: #795315;
  --max-width: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

main {
  padding: 54px 0 72px;
}

.hero {
  padding: 36px 0 44px;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 850;
}

h2 {
  margin: 52px 0 14px;
  font-size: 26px;
}

h3 {
  margin: 28px 0 8px;
  font-size: 19px;
}

p,
ul,
ol {
  margin: 0 0 18px;
}

ul,
ol {
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
}

.meta {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.card {
  display: block;
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  text-decoration: none;
}

.card:hover,
.card:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--accent-soft);
}

.callout.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.callout > :last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface);
  font-size: 13px;
  letter-spacing: 0.02em;
}

tr:last-child td {
  border-bottom: 0;
}

.button {
  display: inline-block;
  margin: 8px 0 20px;
  padding: 15px 20px;
  border-radius: 14px;
  background: var(--text);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--accent);
  color: #ffffff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

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

  main {
    padding-top: 30px;
  }

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

  .card {
    min-height: auto;
  }
}

@media print {
  .site-nav,
  .site-footer {
    display: none;
  }

  main {
    width: 100%;
    padding: 0;
  }

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