:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --border: #e3e6ea;
  --text: #1a1f26;
  --text-muted: #5a6472;
  --accent: #1f3a5f;
  --accent-hover: #16293f;
  --notice-bg: #eef2f7;
  --notice-border: #c7d3e2;
  --max-width: 860px;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--text-muted); font-weight: 400; }

/* Hero / notice */
.hero {
  padding: 48px 0 12px;
}
.hero h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 8px;
}
.hero .lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.notice {
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}
.notice p { margin: 0 0 12px; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--text); }

/* Contact cards */
.section-title {
  font-size: 1.3rem;
  margin: 40px 0 4px;
}
.section-sub {
  color: var(--text-muted);
  margin: 0 0 20px;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}
.card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.card .who {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 18px;
}
.contact-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0;
  flex-wrap: wrap;
}
.contact-line .label {
  color: var(--text-muted);
  font-size: 0.85rem;
  min-width: 70px;
}
.contact-line a {
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.contact-line a:hover { text-decoration: underline; }

/* FAQ */
.faq { margin: 48px 0 8px; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--text-muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-muted); margin: 12px 0 4px; }

/* Legal content pages */
.legal { padding: 40px 0; }
.legal h1 { font-size: 1.8rem; margin: 0 0 24px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal .muted { color: var(--text-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--text-muted); }
.site-footer nav a { margin-left: 18px; }
.site-footer nav a:first-child { margin-left: 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.55rem; }
  .cards { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; }
  .site-footer nav a { margin-left: 0; margin-right: 18px; }
}
