:root {
  --green: #2f7d5b;
  --green-dark: #1f5c40;
  --green-deep: #143d2c;
  --mint: #e7f4ed;
  --mint-2: #d3ebdf;
  --ink: #1c2430;
  --muted: #5c6775;
  --line: #d5e2db;
  --paper: #f4f7f5;
  --white: #ffffff;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { overflow-x: clip; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; }

a { color: var(--green-dark); }

a:hover { color: var(--green); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 247, 245, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: 64px;
  padding-block: 10px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wordmark img { width: 28px; height: 28px; display: block; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--green-dark); }

.hero {
  padding: 48px 0 12px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, var(--mint-2) 0%, transparent 55%),
    var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; }

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 7vw, 3.5rem);
  max-width: 14ch;
}

.lede {
  margin: 0 0 22px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--green);
}

.button:hover { background: var(--green-dark); color: white; }

.section { padding: 36px 0 64px; }

.section h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.2rem); }

.section-intro {
  margin: 0 0 22px;
  max-width: 40rem;
  color: var(--muted);
}

.apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  min-width: 0;
}

.card h3 { margin: 12px 0 6px; font-size: 1.15rem; }

.card p { margin: 0 0 14px; color: var(--muted); }

.app-link {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card.quiet { background: transparent; }

.page-hero { padding: 40px 0 8px; }

.page-hero h1 { max-width: 16ch; font-size: clamp(2rem, 4vw, 3rem); }

.prose { padding-bottom: 56px; }

.prose p { max-width: 40rem; color: var(--muted); }

.site-footer {
  background: var(--green-deep);
  color: #d7ebe1;
  padding: 36px 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  align-items: flex-start;
}

.site-footer a { color: white; overflow-wrap: anywhere; }

.footer-brand { margin: 0 0 6px; font-weight: 700; color: white; }

.footer-copy { margin: 8px 0 0; color: #c5ddd1; font-size: 0.85rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .apps { grid-template-columns: 1.4fr 0.8fr; align-items: stretch; }
}

@media (max-width: 720px) {
  .hero { padding-top: 28px; }
  .section { padding: 28px 0 48px; }
}
