/* Byline design system tokens */
:root {
  --paper: #f7f4ef;
  --sand: #ece5da;
  --card: #ffffff;
  --line: #ddd4c6;
  --line-sand: #d2c7b6;
  --ink: #1f2a2e;
  --ink-muted: #4f5b5f;
  --terracotta: #b5613f;
  --peach: #e7a184;
  --on-ink: #f7f4ef;
  --on-ink-muted: #c9d3d1;
  --on-ink-faint: #8fa09d;

  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --radius: 20px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

a { color: var(--peach); }
a:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }

/* Bands and container */
.band { padding: 0 24px; }
.band--ink { background: var(--ink); color: var(--on-ink); }
.band--paper { background: var(--paper); }
.band--sand { background: var(--sand); }
.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: 104px 0; display: flex; flex-direction: column; gap: 40px; }

/* Type */
.display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.1;
  color: var(--on-ink);
}
.title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.15;
}
.title--sm { font-size: clamp(26px, 2.8vw, 32px); line-height: 1.2; }
.title--ink { color: var(--on-ink); }
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow--ink { color: var(--peach); }
.head { display: flex; flex-direction: column; gap: 10px; }
.lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--on-ink-muted); }
.faint { font-size: 15px; color: var(--on-ink-faint); }

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius);
  background: var(--peach);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--on-ink); color: var(--ink); }

/* Hero */
.hero { padding: 32px 0 112px; display: flex; flex-direction: column; gap: 104px; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 28px; color: var(--peach); text-decoration: none; }
.nav__link { font-size: 16px; font-weight: 600; color: var(--on-ink-muted); text-decoration: none; padding: 12px 0; }
.nav__link:hover { color: var(--on-ink); }
.hero__body { display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 16px; }

/* Steps */
.steps { display: flex; flex-wrap: wrap; gap: 16px; }
.step {
  flex: 1 1 220px;
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step--sand { background: var(--sand); }
.step__num { font-size: 40px; font-weight: 700; line-height: 1; color: var(--terracotta); }
.step h3 { margin-top: 6px; font-size: 21px; font-weight: 700; line-height: 1.25; }
.step p { font-size: 17px; line-height: 1.45; color: var(--ink-muted); }

/* Audiences */
.audiences { flex-direction: row; flex-wrap: wrap; gap: 64px; }
.audience { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.rows li { border-top: 2px solid var(--line-sand); padding: 20px 0; display: flex; flex-direction: column; gap: 6px; }
.rows h3 { font-size: 19px; font-weight: 700; }
.rows p { font-size: 17px; line-height: 1.45; color: var(--ink-muted); }

/* Closing */
.closing { padding: 104px 0 48px; display: flex; flex-direction: column; gap: 96px; }
.closing__body { max-width: 760px; }
.closing__text { margin-top: 14px; font-size: 19px; line-height: 1.5; color: var(--on-ink-muted); }
.closing__cta { margin-top: 28px; }
.footline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-ink-faint); }

@media (max-width: 640px) {
  .hero { gap: 72px; padding-bottom: 88px; }
  .section, .closing { padding-top: 80px; }
  .section { padding-bottom: 80px; }
  .audiences { gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
