:root {
  color-scheme: light dark;
  --background: #f2f2f7;
  --surface: #ffffff;
  --surface-muted: #e5e5ea;
  --ink: #171a18;
  --muted: #70766f;
  --line: rgba(30, 35, 31, 0.1);
  --green: #237a62;
  --green-soft: #ddeee8;
  --shadow: rgba(37, 48, 44, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000000;
    --surface: #1c1c1e;
    --surface-muted: #2c2c2e;
    --ink: #f2f2f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.1);
    --green: #2a8c72;
    --green-soft: rgba(42, 140, 114, 0.2);
    --shadow: rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(42, 140, 114, 0.12), transparent 34rem),
    var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

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

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer,
.page {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.site-header {
  min-height: 72px;
  padding: 18px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 22px;
  font-weight: 900;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 6px 18px var(--shadow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 16px;
  padding: 0 12px;
  color: var(--muted);
}

.nav-links a[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 22px var(--shadow);
}

.page {
  padding: 34px 20px 56px;
}

.page.narrow {
  width: min(780px, 100%);
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  padding: 20px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  line-height: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  margin: 20px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 650;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 0 18px;
  border: 1px solid var(--line);
}

.button.primary {
  background: var(--green);
  color: white;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

.button:hover {
  text-decoration: none;
}

.hero-preview {
  width: min(360px, 100%);
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 30px 80px var(--shadow);
  padding: 22px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
}

.preview-top span,
.preview-label,
.preview-list small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
}

.preview-top strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
  line-height: 32px;
  font-weight: 900;
}

.preview-card {
  border-radius: 24px;
  background: var(--background);
  padding: 18px 18px 14px;
}

.preview-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 34px;
  line-height: 38px;
  font-weight: 950;
}

.preview-chart {
  width: 100%;
  height: 96px;
  margin-top: 14px;
  display: block;
  overflow: visible;
}

.preview-chart line {
  stroke: var(--line);
  stroke-width: 1.4;
}

.preview-chart path {
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-chart circle {
  fill: var(--green);
  stroke: var(--surface);
  stroke-width: 4;
}

.preview-list {
  margin-top: 14px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--background);
}

.preview-list div {
  min-height: 64px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.preview-list div + div {
  border-top: 1px solid var(--line);
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--muted);
}

.dot.due {
  border-color: #b67824;
}

.dot.done {
  border-color: var(--green);
  background: var(--green-soft);
}

.preview-list p {
  margin: 0;
}

.preview-list strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 20px;
  font-weight: 900;
}

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

.feature-card,
.split-card,
.article {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 10px 28px var(--shadow);
}

.feature-card {
  min-height: 210px;
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

h2 {
  margin: 30px 0 10px;
  font-size: 23px;
  line-height: 1.18;
}

.feature-card h2,
.article h2:first-of-type,
.split-card h2 {
  margin-top: 0;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 550;
}

.split-card {
  margin-top: 14px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.article {
  padding: 30px;
}

.updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.summary-card,
.support-card {
  margin: 24px 0 28px;
  border-radius: 20px;
  background: var(--surface-muted);
  padding: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.summary-card strong {
  color: var(--ink);
}

.support-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.support-card span {
  color: var(--ink);
  font-weight: 900;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
  font-weight: 600;
}

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

.site-footer {
  padding: 22px 20px 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer span {
  margin-right: auto;
}

@media (max-width: 760px) {
  .site-header {
    padding-inline: 14px;
  }

  .page {
    padding: 24px 14px 42px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0 34px;
  }

  .hero-preview {
    justify-self: stretch;
    width: 100%;
    border-radius: 28px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .article {
    border-radius: 24px;
    padding: 22px;
  }

  .support-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-inline: 14px;
  }
}

@media (max-width: 430px) {
  .brand span {
    display: none;
  }

  .nav-links a {
    padding-inline: 10px;
  }
}
