:root {
  --bg: #0a0e14;
  --bg-card: #12161f;
  --text: #e6eaf0;
  --text-dim: #9aa4b2;
  --accent: #f9950a;
  --accent-hover: #ffb347;
  --alert: #ff1320;
  --border: #1e2530;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "JetBrains Mono", "Consolas", "Segoe UI", "Hiragino Sans", "Yu Gothic", monospace;
  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:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 100% 32px,
    radial-gradient(ellipse at top, rgba(249, 149, 10, 0.12), transparent 60%);
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

header.hero p.tagline {
  font-size: 1.2rem;
  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: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
  letter-spacing: 0.02em;
}

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

.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.6rem;
  margin: 0 0 32px;
  text-align: center;
  letter-spacing: 0.03em;
}

.pv-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 64px;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.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;
  position: relative;
}

.feature-card::before,
.feature-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--accent);
  opacity: 0.6;
}

.feature-card::before {
  top: -1px;
  left: -1px;
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.feature-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

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

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

.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 {
  padding: 64px 0;
}

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

.legal h2 {
  font-size: 1.2rem;
  text-align: left;
  margin: 40px 0 12px;
  color: var(--accent);
}

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

.legal code {
  background: #1a1200;
  color: #ffb000;
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

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

.legal .back-link {
  margin-top: 48px;
}

@media (max-width: 480px) {
  .preset-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
