:root {
  --ground: #FBF7F2;
  --plate: #F3ECE3;
  --ink: #342C40;
  --ink-muted: #6B615A;
  --ink-faint: #A69B92;
  --rule: #E3D9CD;
  --peach: #F8705A;
  --peach-deep: #C9503C;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--peach-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

header { padding: 24px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -0.005em; color: var(--ink); }
.wordmark:hover { text-decoration: none; }
.wordmark img { display: block; height: 48px; width: auto; }
nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 500; }
nav a { color: var(--ink-muted); }
nav a:hover { color: var(--ink); text-decoration: none; }

.hero { padding-top: 88px; padding-bottom: 64px; }
.rules { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); height: 7px; margin-bottom: 40px; }
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 7.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--peach); }
.lede { font-size: 20px; color: var(--ink-muted); max-width: 32em; margin-bottom: 28px; }
.badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--peach-deep); border: 1px solid var(--rule);
  border-radius: 999px; padding: 7px 16px; background: #fff;
}

.band { background: var(--plate); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 44px 0; }
.band h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.band p { color: var(--ink-muted); max-width: 36em; }
.band p + p { margin-top: 10px; }
.band b { color: var(--ink); font-weight: 600; }

.section { padding-top: 64px; padding-bottom: 24px; }
.section > h2 {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px;
}
.app { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; }
.app + .app { border-top: 1px solid var(--rule); }
.app .mark { width: 64px; height: 64px; display: block; }
.app h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 4px; }
.app h3 small { font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-left: 10px; vertical-align: middle; }
.app p { color: var(--ink-muted); max-width: 36em; margin-bottom: 8px; }
.app p b { color: var(--ink); font-weight: 600; }
.app .links { font-size: 14.5px; font-weight: 500; display: flex; gap: 18px; flex-wrap: wrap; }

.company { padding-top: 24px; padding-bottom: 56px; }
.company dl { display: grid; grid-template-columns: 160px 1fr; row-gap: 12px; column-gap: 20px; border-top: 1px solid var(--rule); padding-top: 24px; }
.company dt { color: var(--ink-faint); font-size: 14px; font-weight: 500; padding-top: 2px; }
.company dd { color: var(--ink); }
.company dd span { color: var(--ink-muted); }
@media (max-width: 520px) { .company dl { grid-template-columns: 1fr; row-gap: 4px; } .company dt { margin-top: 12px; } }

footer {
  padding: 32px 0 56px; border-top: 1px solid var(--rule);
  color: var(--ink-faint); font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer a { color: var(--ink-muted); }

/* Document pages */
main.doc { padding-top: 56px; padding-bottom: 56px; }
main.doc h1 { font-size: 38px; margin-bottom: 10px; }
main.doc .updated { color: var(--ink-muted); font-size: 14px; margin-bottom: 40px; }
main.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 36px 0 10px; padding-top: 28px; border-top: 1px solid var(--rule); }
main.doc h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin: 22px 0 6px; }
main.doc p { color: var(--ink-muted); margin-bottom: 12px; max-width: 38em; }
main.doc p b { color: var(--ink); font-weight: 600; }
main.doc ul { color: var(--ink-muted); margin: 0 0 12px 22px; max-width: 36em; }
main.doc li { margin-bottom: 8px; }
main.doc li b { color: var(--ink); font-weight: 600; }
.card { background: var(--plate); border: 1px solid var(--rule); border-radius: 14px; padding: 22px 24px; margin: 18px 0; }
.card h3 { margin-top: 0 !important; }
.card p:last-child { margin-bottom: 0; }
