:root {
  --bg: #FAFAF9;
  --bg-soft: #F2F1EE;
  --bg-deep: #E6E4DC;
  --edge: #CFCDC2;
  --ink: #0C0C0C;
  --ink-soft: #3A3A3A;
  --ink-mute: #6E6E6E;
  --magenta: #D6306A;
  --magenta-deep: #9F1F4D;
  --cobalt: #1E5BFF;
  --cobalt-deep: #1340BC;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}
header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--edge);
  background: var(--bg);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 26px; height: 26px;
  background: var(--magenta);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -10px; top: 7px;
  width: 12px; height: 12px;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
}
.brand span.name { padding-left: 8px; }
nav.nav { display: flex; gap: 26px; }
nav.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 600;
  border-bottom: 2px solid transparent; padding-bottom: 3px;
}
nav.nav a:hover, nav.nav a.active { color: var(--cobalt); border-bottom-color: var(--cobalt); }
.shell { max-width: 760px; margin: 0 auto; padding: 56px 32px 96px; }
h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800; line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.h1-rule { width: 80px; height: 4px; background: var(--magenta); margin-bottom: 24px; }
.lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 36px; }
h2 {
  font-size: 22px; margin: 40px 0 12px;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
}
h2::before {
  content: ""; display: inline-block;
  width: 14px; height: 3px; background: var(--cobalt);
}
h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; color: var(--ink); }
p { color: var(--ink-soft); margin-bottom: 14px; font-size: 16px; }
ul, ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
ul li, ol li { margin-bottom: 6px; font-size: 16px; }
.meta {
  font-size: 13px; color: var(--ink-mute);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 8px; font-weight: 600;
}
.tag {
  display: inline-block;
  padding: 5px 11px; background: var(--magenta);
  color: #FAFAF9;
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700;
  margin-bottom: 18px;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--edge);
  padding: 22px;
  margin: 24px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.contact-card .row {
  display: flex; justify-content: space-between; gap: 16px;
  border-bottom: 1px dashed var(--edge);
  padding-bottom: 10px;
}
.contact-card .row:last-child { border: none; padding: 0; }
.contact-card .label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.contact-card .val { color: var(--ink); font-weight: 600; }
.contact-card a { color: var(--cobalt); text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.faq-item {
  border-bottom: 1px solid var(--edge);
  padding: 16px 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 600;
  color: var(--ink); font-size: 16px;
  list-style: none;
  display: flex; align-items: center; gap: 10px;
}
.faq-item summary::before {
  content: "+"; color: var(--magenta); font-weight: 700; font-size: 18px;
}
.faq-item[open] summary::before { content: "−"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 12px 0 0; padding-left: 24px; }
footer.bot {
  border-top: 1px solid var(--edge);
  padding: 26px 32px;
  text-align: center;
  font-size: 13px; color: var(--ink-mute);
  margin-top: 56px;
}
footer.bot a { color: var(--cobalt); text-decoration: none; }
.toc {
  background: var(--bg-soft); border: 1px solid var(--edge);
  padding: 18px 22px; margin: 24px 0 32px;
}
.toc-label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600; margin-bottom: 10px;
}
.toc ol { margin: 0; padding-left: 22px; }
.toc ol li { margin-bottom: 4px; font-size: 14px; }
.toc ol li a { color: var(--cobalt); text-decoration: none; }
.toc ol li a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  header.top { padding: 16px 20px; flex-direction: column; gap: 14px; align-items: flex-start; }
  nav.nav { gap: 16px; }
  .shell { padding: 36px 20px 64px; }
  footer.bot { padding: 22px; }
}
