:root {
  color-scheme: light dark;
  --ink: #12211b;
  --muted: #5f6f67;
  --paper: #f7f4ec;
  --surface: rgba(255, 255, 255, 0.72);
  --line: rgba(18, 33, 27, 0.12);
  --green: #1d654c;
  --green-dark: #0e3e30;
  --cream: #fffaf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(55, 137, 101, 0.18), transparent 28rem),
    linear-gradient(145deg, #fbf8f0 0%, var(--paper) 58%, #eaf2ec 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--green);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--cream);
  background: var(--green-dark);
  font-size: 21px;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

nav a:hover {
  color: var(--ink);
}

main {
  padding: 58px 0 96px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: ui-serif, "New York", Georgia, serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 740px;
  margin: 12px 0 20px;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.02;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 22px);
}

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(24, 54, 41, 0.07);
  backdrop-filter: blur(18px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 14px;
  color: white;
  background: var(--green);
  text-decoration: none;
  font-weight: 700;
}

.document {
  max-width: 760px;
}

.document h1 {
  font-size: clamp(38px, 7vw, 60px);
}

.document h2 {
  margin-top: 48px;
  font-size: 28px;
}

.document h3 {
  margin-top: 28px;
  font-size: 21px;
}

.document p,
.document li {
  color: #45564e;
}

.document section {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.meta {
  margin: -6px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.language {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 2px solid var(--line);
}

footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 680px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 34px;
  }

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

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f5f1;
    --muted: #a7b5ad;
    --paper: #0c1511;
    --surface: rgba(24, 38, 31, 0.78);
    --line: rgba(232, 244, 237, 0.13);
    --green: #75c5a2;
    --green-dark: #1b5d46;
    --cream: #fffaf0;
  }

  body {
    background:
      radial-gradient(circle at 12% 0%, rgba(46, 142, 100, 0.2), transparent 28rem),
      linear-gradient(145deg, #0c1511 0%, #101d17 58%, #0b1712 100%);
  }

  .document p,
  .document li {
    color: #b8c5be;
  }
}
