:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --text: #1b1e2e;
  --muted: #5e6480;
  --border: rgba(20, 24, 60, 0.1);
  --soft: #f0f1f8;
  --accent: #6d5dfc;
  --grad: linear-gradient(135deg, #6d5dfc, #b44bf0 55%, #ff6fa5);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1120;
    --surface: #171a2c;
    --text: #e8eaf6;
    --muted: #9aa0bd;
    --border: rgba(255, 255, 255, 0.08);
    --soft: rgba(255, 255, 255, 0.04);
    --accent: #9d8cff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
}

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .inner,
main,
.site-footer .inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}

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

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.site-header nav { display: flex; gap: 16px; font-size: 14px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

main { padding-top: 40px; padding-bottom: 64px; }

.hero {
  text-align: center;
  padding: 48px 20px;
  border-radius: 24px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 48px;
}

.hero img { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.hero h1 { font-size: 36px; margin: 16px 0 8px; line-height: 1.3; }
.hero p { margin: 0 auto; max-width: 560px; opacity: 0.95; }

.cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #fff;
  color: #6d5dfc;
  font-weight: 700;
  text-decoration: none;
}

h1.page-title { font-size: 30px; margin: 0 0 24px; }
h2 { font-size: 22px; margin: 48px 0 16px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.features strong { display: block; }
.features span { color: var(--muted); font-size: 14px; }

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

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}

.plan.pro { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 28px; font-weight: 700; margin: 8px 0; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan p { margin: 0; color: var(--muted); }

.note {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 15px;
}

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

tr:last-child th, tr:last-child td { border-bottom: none; }
th { width: 28%; background: var(--soft); font-weight: 600; white-space: nowrap; }

td ul { margin: 0; padding-left: 1.2em; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .inner { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--muted); }

@media (max-width: 600px) {
  .site-header nav { display: none; }
  .hero h1 { font-size: 28px; }
  th { white-space: normal; width: 36%; }
}
