:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.site-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}

.hero {
  text-align: center;
}

.site-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 12px;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.page-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

h1 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--accent);
}

.subtitle,
.meta {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.button.secondary {
  background: var(--accent-soft);
  color: var(--accent);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover,
.button:hover {
  opacity: 0.92;
}

ul {
  padding-left: 20px;
}

.legal-page h1 {
  margin-bottom: 6px;
}

.common-issue summary {
  cursor: pointer;
  font-weight: 600;
}

.common-issue summary:hover {
  text-decoration: underline;
}

.issue-details {
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #f5f7fb;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .card {
    padding: 24px 18px;
  }

  h1 {
    font-size: 1.7rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    text-align: center;
  }

  .page-header {
    align-items: flex-start;
  }

  .site-logo {
    width: 76px;
    height: 76px;
  }

  .page-logo {
    width: 48px;
    height: 48px;
  }
}
