:root {
  color-scheme: light dark;
  --ink: #19322c;
  --muted: #5f746e;
  --paper: #f7faf7;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(25, 50, 44, 0.13);
  --accent: #2f7d63;
  --accent-deep: #225d4a;
  --shadow: 0 24px 70px rgba(31, 74, 60, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(107, 188, 151, 0.24), transparent 32rem),
    radial-gradient(circle at 92% 30%, rgba(238, 199, 106, 0.18), transparent 27rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-deep);
}

.shell {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(35, 91, 72, 0.2);
}

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

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 620;
  text-decoration: none;
}

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

main {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 64px);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 8vw, 4.7rem);
}

h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.lede {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: var(--accent-deep);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

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

.tile,
.section {
  padding: 24px;
  background: rgba(247, 250, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.tile p,
.section p,
.section li {
  color: var(--muted);
}

.tile p,
.section p:last-child {
  margin-bottom: 0;
}

.stack {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.section ul,
.section ol {
  margin-bottom: 0;
  padding-left: 22px;
}

.metadata {
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  padding-top: 30px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 600px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }

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

  main {
    border-radius: 24px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf7f2;
    --muted: #adc0b9;
    --paper: #10201b;
    --card: rgba(22, 43, 36, 0.88);
    --line: rgba(225, 244, 236, 0.12);
    --accent: #85d1ae;
    --accent-deep: #9be0c0;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  }

  .tile,
  .section {
    background: rgba(12, 28, 23, 0.7);
  }

  .button {
    color: #10201b;
  }
}
