:root {
  --ink: #1c1422;
  --ink-soft: #4a3a52;
  --muted: #6e5d78;
  --line: #e8ddd4;
  --paper: #f7f0ea;
  --paper-2: #fffaf6;
  --card: #ffffff;
  --plum: #1c1224;
  --plum-2: #2a1830;
  --plum-line: #4a3558;
  --plum-text: #f4ebe3;
  --plum-muted: #c4b0bc;
  --coral: #e07a5f;
  --coral-2: #f08a6d;
  --mint: #3d9a78;
  --mint-soft: #e6f5ef;
  --gold: #c4923a;
  --shadow: 0 18px 40px rgba(28, 20, 34, 0.09);
  --radius: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--coral); }
code, pre { font-family: var(--mono); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(28, 18, 36, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--plum-line);
  color: var(--plum-text);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none; font-weight: 700; letter-spacing: -0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }
.nav a { color: var(--plum-muted); text-decoration: none; }
.nav a:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--coral); color: #fff !important; text-decoration: none;
  font-weight: 700; border-radius: 999px; padding: 0.55rem 1.05rem;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--coral-2); }
.btn-lg { padding: 0.85rem 1.35rem; font-size: 1.02rem; }
.btn-ghost {
  background: transparent; color: var(--plum-text) !important;
  border: 1px solid var(--plum-line);
}
.btn-ghost:hover { border-color: #fff; color: #fff !important; background: transparent; }

.hero {
  background: linear-gradient(165deg, var(--plum) 0%, var(--plum-2) 55%, #3a2244 100%);
  color: var(--plum-text); padding: 64px 0 72px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.kicker {
  display: inline-block; font-size: 0.82rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 12px;
}
.hero h1 {
  margin: 0 0 14px; font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.12; letter-spacing: -0.03em;
}
.lead { font-size: 1.12rem; color: var(--plum-muted); margin: 0 0 22px; max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: rgba(255,255,255,0.06); border: 1px solid var(--plum-line);
  color: var(--plum-muted); border-radius: 999px; padding: 0.35rem 0.75rem; font-size: 0.82rem;
}
.hero-frame {
  margin: 0; background: rgba(0,0,0,0.25); border: 1px solid var(--plum-line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
}
.hero-frame img { width: 100%; }
.hero-caption {
  padding: 12px 16px; font-size: 0.85rem; color: var(--plum-muted);
  border-top: 1px solid var(--plum-line);
}

section { padding: 72px 0; }
section h2 {
  margin: 0 0 10px; font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em; line-height: 1.2;
}
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 28px; }
.center { text-align: center; }
.center.section-lead, .section-lead.center { margin-left: auto; margin-right: auto; }

.compare { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare table {
  width: 100%; border-collapse: collapse; background: var(--card); min-width: 640px;
}
.compare th, .compare td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.compare th { background: var(--plum-2); color: var(--plum-text); font-weight: 700; }
.compare th:first-child, .compare td:first-child {
  font-weight: 700; color: var(--ink-soft); width: 22%; background: var(--paper-2);
}
.compare tbody tr:last-child td { border-bottom: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }
.step-num {
  width: 36px; height: 36px; border-radius: 10px; background: var(--coral); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
}
.shot { padding: 12px; }
.shot img { border-radius: 12px; border: 1px solid var(--line); }
.shot figcaption { padding: 12px 8px 4px; color: var(--muted); font-size: 0.92rem; }

.terminal {
  background: var(--plum); color: var(--plum-text); border-radius: var(--radius);
  padding: 22px 24px; overflow-x: auto; font-size: 0.88rem; line-height: 1.55;
  border: 1px solid var(--plum-line); white-space: pre-wrap;
}
.terminal .cmt { color: var(--plum-muted); }
.terminal .ok { color: #8cc8ad; }

.include-list { list-style: none; margin: 0; padding: 0; }
.include-list li {
  display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.include-list li:last-child { border-bottom: none; }
.include-list code { font-size: 0.86rem; color: var(--ink); }
.include-list span { color: var(--muted); font-size: 0.95rem; }

.limits { background: #f3e8e0; }
.limits ul { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }
.limits li { margin-bottom: 10px; }

.pricing-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start;
}
.price-card {
  background: var(--plum-2); color: var(--plum-text); border-radius: 22px;
  padding: 28px; box-shadow: var(--shadow);
}
.price-card .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 18px; }
.price-card .amount span { display: block; font-size: 0.95rem; font-weight: 500; color: var(--plum-muted); margin-top: 4px; }
.price-card ul { margin: 0 0 22px; padding-left: 1.1rem; color: var(--plum-muted); }
.price-card li { margin-bottom: 8px; }
.note { color: var(--muted); font-size: 0.92rem; }

.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 4px; color: var(--muted); }

.footer {
  background: var(--plum); color: var(--plum-muted); padding: 36px 0 48px; font-size: 0.9rem;
}
.footer a { color: var(--plum-text); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .pricing-wrap { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .include-list li { grid-template-columns: 1fr; gap: 4px; }
}
