:root {
  --paper: #fff9f6;
  --blush: #f6f2fb;
  --sky: #edf7ff;
  --ink: #694a58;
  --muted: #9a7d88;
  --kicker: #aa8292;
  --line: rgba(201, 168, 176, 0.45);
  --card: rgba(255, 255, 255, 0.78);
  --accent: #c65c7c;
  --button: #694a58;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  background:
    linear-gradient(155deg, var(--paper) 0%, var(--blush) 45%, var(--sky) 100%);
}

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

.wrap {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a[aria-current="page"] { color: var(--ink); }

.hero, .card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(105, 74, 88, 0.06);
}

.hero { padding: 36px 32px 32px; }

.kicker {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  color: var(--kicker);
}

h1 {
  margin: 12px 0 0;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 600;
}

.lede {
  margin: 14px 0 0;
  max-width: 38em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button, .button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.button { background: var(--button); color: white; }
.button-quiet { background: white; color: var(--ink); border: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.card { padding: 20px 20px 18px; }

.card h2, article h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.card p, article p, article li {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.card a { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 600; text-decoration: none; }

article {
  margin-top: 14px;
  padding: 28px 28px 8px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
}

article h2 { margin-top: 8px; }
article ul { margin: 8px 0 18px; padding-left: 18px; }
article p { margin: 8px 0 18px; }

.updated {
  margin-top: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  color: var(--kicker);
}

@media (max-width: 640px) {
  h1 { font-size: 32px; }
  .hero, article { padding-left: 20px; padding-right: 20px; }
}
