:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #657067;
  --paper: #f4f1e9;
  --card: #fffdf7;
  --line: #d7d2c6;
  --accent: #245d45;
  --accent-soft: #dce9df;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(36, 93, 69, .10), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -.02em;
}

.mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

nav { display: flex; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--accent); }

.hero {
  padding: 92px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .8fr);
  gap: 64px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(44px, 7vw, 82px); max-width: 820px; }
h2 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 44px); }
h3 { margin: 0 0 10px; font-size: 21px; }

.lead { margin: 0; color: var(--muted); font-size: 18px; }

.signal {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 247, .72);
  box-shadow: 0 16px 44px rgba(23, 32, 25, .06);
}

.signal strong { display: block; margin-bottom: 8px; }
.signal p { margin: 0; color: var(--muted); font-size: 14px; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #3f9b68; box-shadow: 0 0 0 5px rgba(63, 155, 104, .12); }

.section { padding: 70px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 32px; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }

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

.card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover { transform: translateY(-3px); border-color: #98aa9d; box-shadow: 0 18px 45px rgba(23, 32, 25, .08); }
.card p { margin: 0; color: var(--muted); }
.card .meta { margin-top: 28px; color: var(--accent); font: 650 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .08em; }

.article { max-width: 760px; padding: 72px 0 96px; }
.article h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 24px; }
.article .dek { color: var(--muted); font-size: 20px; margin: 0 0 52px; }
.article h2 { margin-top: 48px; font-size: 30px; }
.article p, .article li { font-size: 17px; }
.article code { padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; }
.article blockquote { margin: 32px 0; padding: 2px 0 2px 24px; border-left: 3px solid var(--accent); color: var(--muted); }

.button { display: inline-flex; padding: 12px 17px; border-radius: 11px; background: var(--accent); color: white; text-decoration: none; font-weight: 650; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1080px); }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 64px 0 56px; }
  .grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  nav { gap: 14px; }
  footer { display: block; }
}
