:root {
  color-scheme: light;
  --ink: #182033;
  --muted: #667085;
  --line: #e5e7eb;
  --accent: #ef4b2f;
  --accent-dark: #b83222;
  --bg: #fff8f2;
  --card: #ffffff;
  --code: #111827;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(239, 75, 47, 0.14), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.site-header > a:first-child {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.article-shell {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 1rem 1.25rem;
}

article,
.article-shell > section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.5rem, 5vw, 4rem);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.08);
}

.eyebrow {
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  margin: .3rem 0 1.25rem;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-top: 2.5rem;
}

h3 {
  margin-top: 1.75rem;
}

.lede {
  color: #3c465c;
  font-size: 1.18rem;
}

.cover {
  width: 100%;
  margin: 2rem 0;
  border: 1px solid var(--line);
  border-radius: 22px;
}

pre {
  overflow-x: auto;
  background: var(--code);
  color: #f9fafb;
  border-radius: 18px;
  padding: 1rem;
  line-height: 1.45;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .92em;
}

p code,
li code {
  background: #fff0ec;
  color: var(--accent-dark);
  border-radius: .4rem;
  padding: .1rem .35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  padding: .8rem 1.1rem;
  text-decoration: none;
}

.button.small {
  padding: .55rem .85rem;
  font-size: .9rem;
}

.note,
.next {
  background: #fff4ef;
  border: 1px solid #ffd5c8;
  border-radius: 16px;
  padding: 1rem;
}

.guide-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.guide-card {
  display: grid;
  gap: .35rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.guide-card span {
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.guide-card strong {
  font-size: 1.15rem;
}

.guide-card small {
  color: var(--muted);
}
