:root {
  --pink: #e74c6f;
  --pink-dark: #c62851;
  --green: #2e7d32;
  --ink: #1a1a1a;
  --muted: #5f6268;
  --surface: #ffffff;
  --soft: #fff5f5;
  --line: #f0dfe3;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--soft); line-height: 1.65; }
a { color: var(--pink-dark); }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { max-width: 1040px; margin: 0 auto; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: var(--ink); font-weight: 800; text-decoration: none; font-size: 19px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.hero { padding: 72px 22px 54px; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.hero-inner, main { max-width: 920px; margin: 0 auto; }
.eyebrow { color: var(--pink-dark); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 10px 0 16px; font-size: clamp(36px, 6vw, 58px); line-height: 1.06; letter-spacing: -.035em; }
.lede { max-width: 720px; margin: 0; color: var(--muted); font-size: 20px; }
main { padding: 46px 22px 72px; }
h2 { margin: 42px 0 14px; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; }
h3 { margin: 0 0 8px; font-size: 20px; }
p { margin: 0 0 16px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cards-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .template, .step, .note { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card p, .step p { color: var(--muted); }
.card a { font-weight: 750; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.step-number { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fde8ed; color: var(--pink-dark); font-weight: 800; }
.template { border-left: 5px solid var(--green); }
.template pre { margin: 12px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; color: #30343a; }
.note { background: #f4fbf4; border-color: #d8ead9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 800; text-decoration: none; }
.button.secondary { background: var(--surface); color: var(--pink-dark); border: 1px solid var(--pink); }
.related { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.related ul { padding-left: 20px; }
footer { background: #222; color: #eee; }
.footer-inner { max-width: 920px; margin: 0 auto; padding: 28px 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner a { color: #fff; }
@media (max-width: 640px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 52px; }
  .lede { font-size: 18px; }
  .cards { grid-template-columns: 1fr; }
  .step { grid-template-columns: 34px minmax(0, 1fr); padding: 20px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
}
@media (min-width: 641px) and (max-width: 860px) {
  .cards-three { grid-template-columns: 1fr; }
}
