:root {
  color-scheme: light;
  --ink: #17151d;
  --muted: #686270;
  --paper: #f7f3ed;
  --panel: #fffdfa;
  --accent: #df4e32;
  --line: #ded7ce;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  margin: 0;
}

a { color: inherit; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 750;
  text-decoration: none;
}

.brand span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .65rem;
  background: var(--ink);
  color: white;
  font-size: .78rem;
  letter-spacing: .08em;
}

nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] { color: var(--accent); }

.hero,
.content {
  width: min(68rem, 100%);
  margin: auto;
  padding: clamp(4rem, 12vw, 9rem) clamp(1.25rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.lede {
  max-width: 38rem;
  margin: 2rem 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.55;
}

.button {
  display: inline-block;
  padding: .9rem 1.15rem;
  border-radius: .7rem;
  background: var(--accent);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.button:hover { background: #c83d25; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.card {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: 0 1rem 3rem rgb(44 34 25 / 6%);
}

.card h2 {
  max-width: 22ch;
  margin: .65rem 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.12;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.card .status {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

footer {
  padding: 1.4rem clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
