:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #fff;
  padding: 36px 20px;
}

.header-inner, .container {
  width: min(100%, 980px);
  margin: 0 auto;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-title { margin: 0; font-size: 30px; letter-spacing: -0.03em; }
.brand-subtitle { margin: 8px 0 0; color: rgba(255,255,255,.82); }

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.nav a {
  color: #fff;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
}
.nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; }

.container { padding: 28px 20px 56px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  margin-bottom: 22px;
}

.hero h2, .policy h2 { margin-top: 0; font-size: 28px; letter-spacing: -0.02em; }
.meta-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.meta-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fafafa;
}
.meta-label { color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.meta-value { font-weight: 700; word-break: break-word; }

.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--brand);
  color: white;
  font-weight: 700;
}
.button.secondary { background: #111827; }
.button:hover { background: var(--brand-dark); text-decoration: none; }
.button.secondary:hover { background: #000; }

.policy h3 { margin-top: 28px; font-size: 19px; }
.policy ul { padding-left: 22px; }
.notice {
  border-left: 4px solid var(--brand);
  padding: 12px 14px;
  background: #eff6ff;
  border-radius: 10px;
  color: #1e3a8a;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 22px 20px;
  text-align: center;
}

@media (max-width: 640px) {
  .brand-title { font-size: 24px; }
  .card { padding: 20px; border-radius: 14px; }
}
