:root {
  --night: #0d0e12;
  --graphite: #17191f;
  --bone: #f2efe6;
  --fog: #8b909c;
  --ember: #ff4f2b;
  --sand: #e7d3c0;
  --line: rgba(242, 239, 230, 0.12);
  --max: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(255, 79, 43, 0.18), transparent 55%),
    var(--night);
  color: var(--bone);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

a:hover { color: var(--sand); }

header, main, footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

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

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

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

h1, h2 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 800;
}

h1 { font-size: clamp(44px, 8vw, 72px); margin: 28px 0 12px; }

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

.tag {
  color: var(--ember);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead { font-size: 20px; color: var(--sand); max-width: 38rem; }

ul { padding-left: 1.2rem; }

li { margin: 8px 0; }

.panel {
  margin-top: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

footer {
  padding: 28px 0 48px;
  color: var(--fog);
  font-size: 14px;
}

footer a { color: var(--fog); }
