:root {
  --bg: #0c111d;
  --bg-elevated: #141c2f;
  --bg-card: rgba(25, 35, 56, 0.72);
  --border: rgba(148, 163, 184, 0.18);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --blurple: #5865f2;
  --blurple-hover: #6c78ff;
  --green: #23a55a;
  --amber: #f0b132;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  background: radial-gradient(circle at 20% 0%, #1c2842 0%, var(--bg) 52%);
  color: var(--text);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #a5b4fc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  background: rgba(12, 17, 29, 0.86);
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
}

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

.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.42);
  color: #c7d2fe;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.24;
  margin: 0 auto 16px;
  max-width: 820px;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 28px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--blurple);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--blurple-hover);
  text-decoration: none;
}

.btn-secondary {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(165, 180, 252, 0.45);
  text-decoration: none;
}

section {
  padding: 40px 0;
}

h2 {
  font-size: 24px;
  margin: 0 0 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p, .card li {
  color: var(--muted);
  font-size: 14.5px;
}

.card ul {
  padding-left: 18px;
  margin: 10px 0 0;
}

.plan-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.plan-free {
  background: rgba(35, 165, 90, 0.16);
  color: #86efac;
}

.plan-pro {
  background: rgba(88, 101, 242, 0.22);
  color: #c7d2fe;
}

.prose {
  max-width: 780px;
  margin: 40px auto 64px;
}

.prose h1 {
  font-size: 30px;
  margin: 0 0 8px;
  text-align: left;
}

.prose h2 {
  font-size: 20px;
  margin-top: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.prose p, .prose li {
  color: #cbd5e1;
  font-size: 15px;
}

.meta {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 14.5px;
}

th {
  width: 28%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

td {
  color: #cbd5e1;
}

code {
  background: rgba(148, 163, 184, 0.15);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13px;
}

.notice {
  background: rgba(240, 177, 50, 0.12);
  border: 1px solid rgba(240, 177, 50, 0.35);
  color: #fde68a;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 44px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
