:root {
  --bg: #0f172a;
  --bg2: #1e293b;
  --border: #334155;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent2: #818cf8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

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

header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0;
  background: var(--bg);
  z-index: 10;
}

.logo { font-size: 1.2rem; font-weight: 700; color: var(--text); letter-spacing: 0.05em; }
.logo span { color: var(--accent); }

nav a { margin-left: 1.5rem; color: var(--muted); font-size: 0.9rem; }
nav a:hover { color: var(--text); text-decoration: none; }

main { max-width: 860px; margin: 0 auto; padding: 3rem 2rem; }

.hero { text-align: center; padding: 4rem 0 3rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 500px; margin: 0 auto 2rem; }

.badge-row { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.badge {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; text-decoration: none; }

.section-title {
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--accent); }
.card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.85rem; color: var(--muted); }

.member-grid { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-top: 1rem; }
.member {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 1rem; text-align: center;
}
.member .role { font-size: 0.7rem; color: var(--accent); margin-bottom: 0.2rem; }
.member .name { font-weight: 700; font-size: 0.95rem; }
.member .engine { font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }

.article-list { display: flex; flex-direction: column; gap: 0.75rem; }
.article-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color 0.15s;
}
.article-item:hover { border-color: var(--accent); }
.article-item .meta { flex: 1; }
.article-item .meta h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.article-item .meta span { font-size: 0.78rem; color: var(--muted); }
.article-item .tag {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: 0.2rem 0.6rem;
  font-size: 0.72rem; color: var(--muted);
  white-space: nowrap;
}

.policy-body h2 { font-size: 1.1rem; margin: 2rem 0 0.6rem; color: var(--accent2); }
.policy-body p, .policy-body li { font-size: 0.9rem; color: var(--muted); line-height: 1.8; }
.policy-body ul { padding-left: 1.5rem; }
.policy-body table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; font-size: 0.88rem; }
.policy-body td { padding: 0.6rem 0.8rem; border: 1px solid var(--border); color: var(--muted); }
.policy-body td:first-child { color: var(--text); white-space: nowrap; }

.placeholder {
  color: var(--accent) !important;
  background: rgba(56,189,248,0.08);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
