:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b7280;
  --accent: #0d9488;
  --border: #e5e7eb;
  --card-bg: #f9fafb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --fg: #e5e7eb;
    --muted: #9ca3af;
    --accent: #2dd4bf;
    --border: #273449;
    --card-bg: #16213a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

header.site .logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

header.site h1 {
  font-size: 20px;
  margin: 0;
}

header.site .company {
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 0;
}

nav.crumbs {
  font-size: 14px;
  margin-bottom: 24px;
}

nav.crumbs a {
  color: var(--accent);
  text-decoration: none;
}

nav.crumbs a:hover { text-decoration: underline; }

h2.page-title {
  font-size: 26px;
  margin: 0 0 8px;
}

p.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.disclaimer {
  background: color-mix(in srgb, #f59e0b 15%, var(--card-bg));
  border: 1px solid color-mix(in srgb, #f59e0b 40%, var(--border));
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  margin-bottom: 32px;
}

section.legal {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

section.legal:last-of-type { border-bottom: none; }

section.legal h3 {
  font-size: 17px;
  margin: 0 0 10px;
}

section.legal .body {
  white-space: pre-wrap;
  font-size: 15px;
  color: var(--fg);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 28px 0;
}

.card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
  text-decoration: none;
  color: var(--fg);
}

.card .t { font-weight: 600; font-size: 15px; }
.card .d { color: var(--muted); font-size: 13px; margin-top: 4px; }

footer.site {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
