:root {
  --bg: #f8fafc;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --border: #e2e8f0;
  --accent: #ff4444;
  --accent-dark: #dc2626;
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 228, 230, 0.7), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 237, 213, 0.8), transparent 26%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand span {
  margin-top: 4px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.hero {
  padding: 88px 0 56px;
}

.eyebrow {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.7rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.lede {
  margin: 0;
  max-width: 740px;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--muted);
}

.hand {
  display: block;
  margin-top: 12px;
  font-family: 'Patrick Hand', cursive;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #334155;
  transform: rotate(-1deg);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 68, 68, 0.24);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
}

.hero-card,
.card,
.faq-card,
.example-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 1.08rem;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 22px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.section {
  padding: 32px 0 72px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.section-copy {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.faq-card,
.example-card {
  padding: 24px;
}

.card h3,
.faq-card h3,
.example-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p,
.faq-card p,
.example-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.example-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checklist {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.checklist li + li {
  margin-top: 4px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-weight: 700;
}

.related-links a:hover {
  color: var(--accent-dark);
  border-color: #fecaca;
}

.site-footer {
  padding: 48px 0 60px;
  background: #0f172a;
  color: #94a3b8;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px;
  }

  .section {
    padding-bottom: 56px;
  }
}
