:root {
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #e4ddd2;
  --paper: #f6f1e8;
  --card: #fffdf9;
  --orange: #c2410c;
  --orange-deep: #9a3412;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Candara, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
a { color: var(--orange-deep); }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7vw;
}
.mark { font-weight: 700; letter-spacing: -0.03em; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
nav a { margin-left: 22px; color: var(--ink); text-decoration: none; }
nav a:hover { color: var(--orange-deep); }
.hero { padding: 28px 7vw 10px; max-width: 820px; }
h1 { font-family: Georgia, "Palatino Linotype", serif; font-size: 3.2rem; line-height: 1.05; font-weight: 600; margin: 0 0 16px; }
.lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
button, .button {
  background: var(--orange);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
button.quiet, .button.quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
section { padding: 28px 7vw 8px; }
h2 { font-family: Georgia, serif; font-size: 1.8rem; margin: 0 0 8px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p, .note { color: var(--muted); margin: 0; }
form.card { display: grid; gap: 10px; max-width: 560px; }
label { font-size: 0.92rem; }
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
textarea { min-height: 110px; resize: vertical; }
.ok { color: #0d7a45; }
.err { color: #9a3412; }
footer { padding: 28px 7vw 40px; color: var(--muted); font-size: 0.92rem; }
table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.82rem; color: var(--muted); font-weight: 650; }
.portal { padding: 12px 7vw 40px; }
.split { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.hidden { display: none; }
@media (max-width: 800px) {
  h1 { font-size: 2.3rem; }
  .grid, .split { grid-template-columns: 1fr; }
  header, .hero, section, footer, .portal { padding-left: 20px; padding-right: 20px; }
}
