:root {
  --ivory: #fdf9f4;
  --paper: #fffdf9;
  --ink: #352f31;
  --muted: #74696c;
  --rose: #d8a7b1;
  --rose-deep: #a85f70;
  --rose-soft: #f4e7e9;
  --sage: #b5c9b7;
  --line: #eadfe0;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.72;
}

a { color: var(--rose-deep); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 4px; }

.wrap { width: min(820px, calc(100% - 48px)); margin: 0 auto; }
header { padding: 26px 0; border-bottom: 1px solid var(--line); }
nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.links { display: flex; gap: 10px 24px; flex-wrap: wrap; }
.links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.links a[aria-current="page"] { color: var(--rose-deep); }

main { padding: 86px 0 110px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; }
h1 { max-width: 720px; margin: 0 0 22px; font-size: clamp(3.2rem, 8vw, 5.8rem); letter-spacing: -.04em; }
h2 { margin: 3.1rem 0 .8rem; font-size: clamp(1.8rem, 4vw, 2.45rem); }
h3 { margin: 2rem 0 .6rem; }
p, li { font-size: 1rem; }
.lede { max-width: 740px; color: var(--muted); font-family: var(--display); font-size: 1.25rem; line-height: 1.6; }
.meta { color: var(--muted); font-size: .88rem; }

.card { margin: 34px 0; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 55px rgb(78 52 58 / 8%); }
.card h2 { margin-top: 0; }
.button { min-height: 48px; margin-top: 12px; padding: 0 20px; display: inline-flex; align-items: center; color: white; background: var(--rose-deep); border-radius: 999px; font-weight: 700; text-decoration: none; }
.notice { margin-top: 40px; padding: 20px 22px; background: var(--rose-soft); border-left: 4px solid var(--rose-deep); border-radius: 10px; }
footer { padding: 30px 0 44px; color: var(--muted); border-top: 1px solid var(--line); font-size: .86rem; text-align: center; }

@media (max-width: 640px) {
  .wrap { width: min(100% - 36px, 820px); }
  nav { align-items: flex-start; flex-direction: column; }
  header { padding: 18px 0; }
  main { padding: 58px 0 80px; }
  .card { padding: 22px; }
}

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