:root {
  --page: #f4f5f7;
  --card: #ffffff;
  --wine: #7a3a4a;
  --wine-deep: #5c2b38;
  --rose: #c45c6a;
  --blush: #e8c5cb;
  --ink: #1c1f24;
  --muted: #6b7280;
  --rule: #e4dde0;
  --pearl: #fffbfc;
  --ok: #3f6b5a;
  --shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #161418;
    --card: #221e22;
    --wine: #c45c6a;
    --wine-deep: #9a3f4e;
    --rose: #e08a96;
    --blush: #4a3036;
    --ink: #f4f1f2;
    --muted: #b4a8ac;
    --rule: #3a3336;
    --pearl: #fff8f9;
    --ok: #7aa892;
    --shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
}

.wash {
  position: absolute;
  inset: 0 0 auto;
  height: 280px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--blush) 55%, transparent), transparent);
  pointer-events: none;
}

.wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--wine-deep);
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.mark svg { width: 22px; height: 22px; }

.brand strong {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  color: var(--wine);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

nav a[aria-current="page"] {
  background: var(--card);
  border: 1px solid var(--wine);
}

h1 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  color: var(--wine-deep);
  margin: 0 0 10px;
  font-weight: 600;
}

.lede {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 42em;
}

.chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  margin: 0 0 16px;
}

.card h2 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--wine-deep);
  margin: 0 0 10px;
  font-weight: 600;
}

.card p, .card li {
  color: var(--ink);
  margin: 0 0 10px;
}

.card ul {
  margin: 0 0 8px;
  padding-left: 1.15em;
}

.card a { color: var(--wine); }

.grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--wine);
  color: var(--pearl);
  text-decoration: none;
  font-weight: 600;
}

.cta.ghost {
  background: transparent;
  color: var(--wine);
  border: 1px solid var(--rule);
}

.meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 28px;
}

footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--wine); text-decoration: none; font-weight: 600; }
