:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0c0a09;
  color: #e7e5e4;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgb(120 53 15 / 18%), transparent 32rem),
    #0c0a09;
  line-height: 1.65;
}

a {
  color: #fbbf24;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #fde68a;
}

.shell {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid #292524;
  background: rgb(12 10 9 / 88%);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  color: #fafaf9;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
}

main {
  padding-block: 3.5rem 5rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: #f59e0b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: #fafaf9;
  line-height: 1.2;
}

h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.7rem);
}

h2 {
  margin-top: 2.6rem;
  font-size: 1.35rem;
}

h3 {
  margin-top: 1.7rem;
  font-size: 1rem;
}

p,
li {
  color: #d6d3d1;
}

.lede {
  max-width: 68ch;
  margin-top: 1.25rem;
  color: #a8a29e;
  font-size: 1.05rem;
}

.meta,
.note {
  color: #a8a29e;
  font-size: 0.88rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card,
.callout {
  border: 1px solid #44403c;
  border-radius: 0.9rem;
  background: rgb(28 25 23 / 78%);
  padding: 1.15rem;
}

.card h2,
.card h3,
.callout h2,
.callout h3 {
  margin-top: 0;
}

.callout {
  margin-block: 1.5rem;
  border-color: #92400e;
  background: rgb(69 26 3 / 38%);
}

.danger {
  border-color: #991b1b;
  background: rgb(69 10 10 / 38%);
}

.button {
  display: inline-block;
  border: 1px solid #d97706;
  border-radius: 0.65rem;
  background: #451a03;
  padding: 0.72rem 1rem;
  color: #fde68a;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

code {
  overflow-wrap: anywhere;
  color: #fef3c7;
}

footer {
  border-top: 1px solid #292524;
  padding-block: 1.8rem;
  color: #78716c;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .site-header .shell {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  main {
    padding-block-start: 2.5rem;
  }
}
