:root {
  --bg: #0d0f12;
  --bg-elevated: #16191e;
  --border: #2a2e35;
  --text: #e8eaed;
  --text-muted: #9aa0a8;
  --accent: #4ade80;
  --accent-soft: rgba(74, 222, 128, 0.12);
  --radius: 14px;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand .dot {
  color: var(--accent);
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.brand .dot::before {
  content: "\2726";
}

nav.site-nav {
  display: flex;
  gap: 24px;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

nav.site-nav a:hover {
  color: var(--text);
}

main {
  padding: 64px 0 96px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.35;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h2 {
  display: inline-block;
  font-size: 1.4rem;
  margin: 48px 0 16px;
  letter-spacing: -0.005em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}

p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 640px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 20px 0;
}

.form-embed {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}

.form-embed iframe {
  display: block;
  width: 100%;
  border: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.card-grid .card,
.card-grid-2 .card {
  margin: 0;
  padding: 20px;
}

.card-grid .card h3,
.card-grid-2 .card h3 {
  margin-top: 0;
  font-size: 1rem;
}

.card-grid .card p,
.card-grid-2 .card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.88;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

th {
  color: var(--text);
  font-weight: 600;
  background: var(--bg-elevated);
}

ul, ol {
  color: var(--text-muted);
}

li {
  margin-bottom: 6px;
}

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

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.note {
  border-left: 3px solid var(--accent);
  padding: 4px 16px;
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 18px;
}

footer.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.9rem;
  }
  header.site-header .wrap {
    flex-direction: column;
    gap: 12px;
  }
  footer.site-footer .wrap {
    flex-direction: column;
    text-align: center;
  }
  footer.site-footer a {
    margin: 0 8px;
  }
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}
