:root {
  --bg: #F7EFE6;
  --surface: #FFFFFF;
  --ink: #2A1F1D;
  --muted: #6E605B;
  --line: #E6D9CB;
  --accent: #B44A60;
  --accent-ink: #FFFFFF;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Figtree", system-ui, -apple-system, sans-serif;
}

h1, h2, h3, .brand { font-family: "Gabarito", "Figtree", system-ui, sans-serif; line-height: 1.15; }

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

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover { color: var(--ink); }

.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); margin: 0 0 20px; max-width: 14ch; }
.hero p { font-size: 20px; color: var(--muted); max-width: 46ch; margin: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 28px;
  align-items: center;
}
.card img { width: 112px; height: 112px; border-radius: 26px; display: block; }
.card h2 { margin: 0 0 6px; font-size: 30px; }
.card .tag { color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.features h3 { margin: 0 0 6px; font-size: 18px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

section { padding: 40px 0; }
section > h2 { font-size: 28px; margin: 0 0 16px; }
section > h2 + .features { margin-top: 0; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 160ms var(--ease-out);
}
.button:active { transform: scale(0.97); }

.prose { max-width: 720px; padding: 24px 0 48px; }
.prose h1 { font-size: 40px; margin: 16px 0 8px; }
.prose h2 { font-size: 22px; margin: 36px 0 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.muted { color: var(--muted); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
footer.site a { color: var(--muted); }

/* Gentle entrance, first view only */
.rise { animation: rise 600ms var(--ease-out) both; }
.rise.d1 { animation-delay: 60ms; }
.rise.d2 { animation-delay: 120ms; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  .button { transition: none; }
}

@media (max-width: 720px) {
  .hero { padding: 40px 0 32px; }
  .card { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .card img { width: 88px; height: 88px; border-radius: 20px; }
  .features { grid-template-columns: 1fr; }
  nav a { margin-left: 14px; }
}
