:root {
  color-scheme: light dark;
  --ink: #151713;
  --muted: #5b6258;
  --paper: #f6f2e8;
  --line: rgba(21, 23, 19, 0.14);
  --accent: #0f6b5f;
  --accent-ink: #f8fff8;
  --warn: #9f3328;
  --shadow: 0 24px 70px rgba(35, 39, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 107, 95, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(15, 107, 95, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 80% 18%, rgba(15, 107, 95, 0.18), transparent 30%),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto, auto;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

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

.hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(70px, 14vw, 164px);
  line-height: 0.82;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.46);
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
}

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

.tile {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.56);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.tile strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.tile span:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.kicker {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.tile.sensitive .kicker {
  color: var(--warn);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1120px);
    padding: 38px 0;
  }

  .hero {
    min-height: 56vh;
  }

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

  .tile {
    min-height: 150px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f0e8;
    --muted: #b7b3a8;
    --paper: #11140f;
    --line: rgba(242, 240, 232, 0.16);
    --accent: #61b8a8;
    --accent-ink: #09231f;
    --warn: #f08a7f;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  }

  body {
    background:
      linear-gradient(90deg, rgba(97, 184, 168, 0.08) 1px, transparent 1px),
      linear-gradient(rgba(97, 184, 168, 0.07) 1px, transparent 1px),
      radial-gradient(circle at 80% 18%, rgba(97, 184, 168, 0.16), transparent 30%),
      var(--paper);
    background-size: 44px 44px, 44px 44px, auto, auto;
  }

  .button,
  .tile {
    background: rgba(20, 24, 18, 0.74);
  }
}
