:root {
  --ink: #1a1a1a;
  --muted: #555;
  --line: #ddd;
  --bg: #fafafa;
  --card: #fff;
  --accent: #0b57d0;
  --accent-dark: #0842a0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--card);
  margin: 0 -1.25rem 1.5rem;
  padding: 1rem 1.25rem 0.85rem;
}
.brand {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.65rem;
}
.brand a { color: var(--ink); text-decoration: none; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 700; color: var(--ink); }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 0.75rem; }
h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--line);
}
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.4rem; }
p, li { font-size: 1.02rem; }
.lede, .fine { color: var(--muted); }
.fine { font-size: 0.95rem; }
.meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.card, .cta, .form-card, .box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin: 1.15rem 0;
}
.cta { border: 2px solid var(--ink); }
.social-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  font-family: system-ui, -apple-system, sans-serif;
}
.social-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.social-list li:last-child { border-bottom: 0; }
.social-list .label { font-weight: 700; min-width: 5.5rem; color: var(--ink); }
.todo {
  font-size: 0.85rem;
  color: #8a5a00;
  background: #fff6e5;
  border: 1px solid #f0d9a0;
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
}
.keyword { font-size: 1.35rem; font-weight: 700; margin: 0.35rem 0; }
.number {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.25rem 0 0.75rem;
}
.number a { text-decoration: none; color: var(--ink); }
.box {
  background: #f0f0f0;
  border: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0;
  font-family: system-ui, -apple-system, sans-serif;
}
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}
.btn.secondary {
  background: var(--card);
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}
label {
  display: block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}
input[type=tel], input[type=text] {
  width: 100%;
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #999;
  border-radius: 8px;
  font-family: system-ui, -apple-system, sans-serif;
  background: #fff;
}
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
}
.consent input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
}
button[type=submit] {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}
button[type=submit]:disabled { opacity: 0.6; cursor: default; }
#form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  font-family: system-ui, -apple-system, sans-serif;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  margin: 0.75rem 0 1rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--line);
}
footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  .number { font-size: 1.25rem; }
}
