:root {
  --ink: #1f2430;
  --ink-soft: #5a6172;
  --paper: #faf7f2;
  --accent: #c8794a;
  --accent-soft: #f1e3d6;
  --line: #e6e0d6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* Header */
header { padding: 28px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--ink);
  position: relative; flex-shrink: 0;
}
.mark::after {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); top: 5px; right: 5px;
}
.brand-name { font-family: var(--serif); font-size: 20px; letter-spacing: 0.01em; }
nav { display: flex; gap: 26px; font-size: 15px; }
nav a { text-decoration: none; color: var(--ink-soft); }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero { flex: 1; display: flex; align-items: center; padding: 72px 0 96px; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 7vw, 80px); line-height: 1.05; letter-spacing: -0.01em;
  max-width: 14ch; margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede { font-size: 20px; color: var(--ink-soft); max-width: 38ch; margin-bottom: 40px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--paper);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); }

/* Sections */
.band { border-top: 1px solid var(--line); padding: 72px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 10px; }
.grid p { color: var(--ink-soft); font-size: 16px; }
.num { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 14px; display: block; }

/* Content pages */
.page { flex: 1; padding: 56px 0 88px; }
.page .wrap { max-width: 720px; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin-bottom: 12px; }
.page .meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 44px; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { margin-bottom: 14px; }
.page ul { padding-left: 22px; }
.card {
  background: var(--accent-soft); border-radius: 18px; padding: 28px 30px; margin: 8px 0 32px;
}
.card a { font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { text-decoration: none; margin-left: 20px; }
footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; gap: 32px; }
  nav { gap: 18px; }
  .brand-name { font-size: 17px; }
  footer a { margin-left: 0; margin-right: 20px; }
}
