:root {
  color-scheme: light;
  --cream: #fbf5ec;
  --cream-deep: #f2e8d9;
  --paper: rgba(255, 255, 255, 0.78);
  --ink: #5a3f3a;
  --text: #7e6258;
  --muted: #9c8379;
  --rose: #c28c84;
  --rose-deep: #a06b63;
  --line: rgba(88, 60, 55, 0.14);
  --shadow: 0 24px 70px rgba(88, 60, 55, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(228, 189, 186, 0.46), transparent 36rem),
    linear-gradient(180deg, var(--cream), var(--cream-deep));
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--rose-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

.shell {
  width: min(100% - 32px, 780px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 4px 28px;
}

.brand {
  color: var(--ink);
  font-family: ui-serif, Georgia, serif;
  font-size: 1.05rem;
  text-decoration: none;
}

nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: var(--muted); font-size: 0.82rem; font-weight: 650; text-decoration: none; }

.card {
  overflow: hidden;
  padding: clamp(26px, 6vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-deep);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--ink);
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
  line-height: 1.18;
}

h1 { margin: 0 0 18px; font-size: clamp(2.25rem, 8vw, 4rem); letter-spacing: -0.035em; }
h2 { margin: 2.4rem 0 0.7rem; font-size: 1.45rem; }
h3 { margin: 1.6rem 0 0.5rem; font-size: 1.08rem; }
p, ul { margin: 0.7rem 0; }
ul { padding-left: 1.35rem; }
li + li { margin-top: 0.45rem; }

.lede { max-width: 42rem; font-size: 1.13rem; }
.meta { color: var(--muted); font-size: 0.86rem; }
.rule { height: 1px; margin: 32px 0; background: var(--line); }

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--rose);
  border-radius: 0 14px 14px 0;
  background: rgba(228, 189, 186, 0.2);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.link-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.link-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.78rem; font-weight: 500; }

footer { padding: 26px 6px 0; color: var(--muted); font-size: 0.78rem; text-align: center; }

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .link-grid { grid-template-columns: 1fr; }
  .card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
