:root {
  color-scheme: light dark;
  --bg: #f7f6f1;
  --surface: #ffffff;
  --surface-soft: #f1f2ed;
  --text: #202823;
  --muted: #667069;
  --border: #e1e4df;
  --accent: #c83f34;
  --accent-soft: #fff0ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
}

.brand {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
}

nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
nav a, a { color: var(--accent); }

main {
  margin-bottom: 34px;
  padding: clamp(24px, 5vw, 58px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
}

h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 7vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

h2 { margin-top: 42px; font-size: 1.5rem; line-height: 1.25; }
h3 { margin-top: 28px; font-size: 1.08rem; line-height: 1.35; }
p, li { max-width: 76ch; }

.lead { color: var(--muted); font-size: 1.14rem; }
.meta { color: var(--muted); font-size: .88rem; }
.breadcrumb { margin: 0 0 26px; color: var(--muted); font-size: .86rem; }
.breadcrumb a { margin-right: 6px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.card {
  display: block;
  padding: 22px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h2 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }

.note {
  margin: 28px 0;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 4px 14px 14px 4px;
}

.tool-step {
  margin: 20px 0 28px;
  padding: 18px 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.tool-step strong { display: block; margin-bottom: 4px; }
.tool-step p { margin: 0; color: var(--muted); }

.cta {
  margin-top: 38px;
  padding: 24px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 18px;
}

.cta h2 { margin-top: 0; }
.cta-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: var(--accent);
  border-radius: 12px;
}

.checklist li { margin-bottom: 9px; }
.next {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

footer {
  padding: 0 0 36px;
  color: var(--muted);
  font-size: .86rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121614;
    --surface: #1c2420;
    --surface-soft: #252e29;
    --text: #eef4f0;
    --muted: #a4b0a9;
    --border: #344139;
    --accent: #ff776c;
    --accent-soft: #352522;
  }
}

@media (max-width: 560px) {
  header { align-items: flex-start; flex-direction: column; }
  main { border-radius: 20px; }
}
