:root {
  --ink: #141413;
  --paper: #faf8f3;
  --muted: #6b6b66;
  --line: #d9d6cc;
  --accent: #5a4a2f;
  --measure: 62ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ececea;
    --paper: #0e0e0d;
    --muted: #8b8b85;
    --line: #2a2926;
    --accent: #c9b07a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino,
               "Hoefler Text", "Source Serif Pro", Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 120ms ease;
}
a:hover { opacity: 0.65; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 28px 80px;
}

header.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
header.site .brand {
  font-size: 16px;
  letter-spacing: 0.02em;
  border-bottom: none;
}
header.site .brand em { font-style: italic; color: var(--muted); font-weight: 400; }
header.site nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
header.site nav a {
  border-bottom: none;
  letter-spacing: 0.02em;
}
header.site nav a:hover { color: var(--ink); opacity: 1; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.005em; }
h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 18px;
}
h1 em { font-style: italic; color: var(--accent); }
h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

p { margin: 0 0 14px; max-width: var(--measure); }
.lead {
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 36px;
}
.muted { color: var(--muted); }
.italic { font-style: italic; }

section { margin: 56px 0; }

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
}
.services .item h3 { margin-bottom: 4px; }
.services .item p { font-size: 15px; color: var(--muted); margin: 0; }

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.principles li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.principles li .num {
  font-variant-numeric: tabular-nums;
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.principles li .body { max-width: var(--measure); }
.principles li .body strong { font-weight: 500; }
.principles li .body p { font-size: 15px; color: var(--muted); margin: 4px 0 0; }

.contact-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 24px;
  font-size: 16px;
  padding: 4px 0 0;
}
.contact-block dt { color: var(--muted); font-style: italic; padding: 8px 0; }
.contact-block dd { margin: 0; padding: 8px 0; }

footer.site {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
footer.site a { border-bottom: none; }
footer.site a:hover { color: var(--ink); }

/* ---- Legal documents (privacy / terms) ---- */
.legal { counter-reset: section; }
.legal .meta {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin: -8px 0 36px;
}
.legal h1 { font-size: 32px; margin-bottom: 12px; }
.legal section { margin: 36px 0; }
.legal section > h2 {
  counter-increment: section;
  text-transform: none;
  letter-spacing: 0;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 10px;
  font-weight: 500;
}
.legal section > h2::before {
  content: counter(section) ".\00a0\00a0";
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-style: italic;
}
.legal h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 18px 0 4px;
}
.legal p,
.legal ul,
.legal ol { font-size: 16px; max-width: var(--measure); }
.legal ul,
.legal ol { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin: 4px 0; }
.legal li::marker { color: var(--muted); }
.legal .callout {
  border-left: 2px solid var(--line);
  padding: 4px 0 4px 16px;
  margin: 14px 0;
  color: var(--ink);
  font-size: 15px;
}
.legal .callout strong { font-weight: 500; }
.legal .toc {
  border: 1px solid var(--line);
  padding: 16px 20px;
  font-size: 14px;
  margin: 0 0 40px;
}
.legal .toc h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 8px;
}
.legal .toc ol {
  list-style: decimal;
  padding-left: 22px;
  margin: 0;
  columns: 2;
  column-gap: 28px;
}
.legal .toc a { border-bottom: none; color: var(--ink); }
.legal .toc a:hover { color: var(--accent); opacity: 1; }

/* ---- Support form ---- */
.support-form {
  max-width: 480px;
  margin: 28px 0 0;
}
.support-form fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
.support-form .field {
  margin: 0 0 18px;
}
.support-form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 5px;
  letter-spacing: 0.02em;
}
.support-form label .req { color: var(--accent); }
.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 12px;
  -webkit-appearance: none;
  appearance: none;
}
.support-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b6b66' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.support-form textarea {
  min-height: 120px;
  resize: vertical;
}
.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.support-form button {
  font: inherit;
  font-size: 15px;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: 2px;
  padding: 11px 24px;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 120ms ease;
}
.support-form button:hover { opacity: 0.8; }
.support-form button:disabled { opacity: 0.45; cursor: not-allowed; }
.support-form .hint {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
  font-style: italic;
}
.support-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.notice-success {
  border: 1px solid var(--line);
  padding: 14px 18px;
  margin: 0 0 28px;
  font-size: 15px;
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
}
.notice-success strong { font-weight: 500; }

@media (max-width: 560px) {
  .legal .toc ol { columns: 1; }

  .wrap { padding: 32px 22px 64px; }
  h1 { font-size: 30px; }
  .lead { font-size: 19px; }
  .services { grid-template-columns: 1fr; gap: 22px; }
  .principles li { grid-template-columns: 56px 1fr; gap: 16px; }
  .contact-block { grid-template-columns: 1fr; gap: 0; }
  .contact-block dt { padding-bottom: 0; }
  .contact-block dd { padding-top: 0; padding-bottom: 14px; }
  header.site { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 36px; }
  footer.site { flex-direction: column; }
}
