:root {
  --bg: #0f1115;
  --bg-card: #171a21;
  --text: #e8eaed;
  --text-dim: #9aa0a6;
  --accent: #5b8cff;
  --accent-hover: #7ba0ff;
  --border: #2a2e37;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

header.hero {
  padding: 96px 0 72px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(91, 140, 255, 0.15), transparent 60%);
}

header.hero h1 {
  font-size: 3rem;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

header.hero p.tagline {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin: 0 0 40px;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0b0d11;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 1.75rem;
  margin: 0 0 32px;
  text-align: center;
}

.screenshot-frame {
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

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

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.preset-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.preset-table th,
.preset-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.preset-table th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preset-table tr:last-child td {
  border-bottom: none;
}

.preset-table td.badge-free {
  color: #7ce38b;
  font-size: 0.85rem;
}

footer {
  padding: 48px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--text-dim);
  margin: 0 8px;
}

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

.legal h1 {
  font-size: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  text-align: left;
  margin: 40px 0 12px;
}

.legal p,
.legal li {
  color: var(--text-dim);
}

.legal .updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 40px;
}
