:root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --shadow: rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --shadow: rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }
}

* { box-sizing: border-box; }
body { margin: 0; }

h1, h2, h3 { font-family: var(--sans); font-weight: 500; color: var(--text-h); margin: 0 0 12px; }
h1 { font-size: 48px; letter-spacing: -1.5px; line-height: 110%; }
h2 { font-size: 30px; letter-spacing: -0.5px; }
p { margin: 0 0 12px; line-height: 155%; }
a { color: var(--accent); }
code { font-family: var(--mono); background: var(--code-bg); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
pre { font-family: var(--mono); background: var(--code-bg); padding: 16px; border-radius: 8px; overflow-x: auto; font-size: 14px; line-height: 150%; }
pre code { padding: 0; background: transparent; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.brand img {
  display: block;
  height: 36px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 10px;
}

.btn-cta {
  display: inline-block;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 20px;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-cta:hover { opacity: 0.9; }

.hero-shell {
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 64px 10%;
  background-image: url('hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-card {
  max-width: 480px;
  background: rgba(8, 6, 13, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  color: #f3f4f6;
}
.hero-card h1 { color: #fff; }
.hero-card p { color: #d1cbd8; }

section { padding: 64px 0; }
section.alt { background: var(--code-bg); }

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

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.pillar-card img { height: 32px; margin-bottom: 12px; }

.steps { counter-reset: step; margin-top: 32px; }
.step { display: flex; gap: 16px; margin-bottom: 24px; }
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.pricing-card {
  max-width: 380px;
  margin: 32px auto 0;
  text-align: center;
}
.pricing-card .price { font-size: 40px; font-weight: 600; color: var(--text-h); margin: 8px 0; }
.pricing-card .trial-note { color: var(--accent); font-weight: 500; margin-bottom: 16px; }

.faq { margin-top: 32px; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-h);
  font-size: 17px;
}
.faq p { margin-top: 12px; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.site-footer img { height: 24px; }
.site-footer nav a { color: var(--text); margin-left: 16px; text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); }

.legal-notice {
  margin: 24px 0;
  padding: 12px 16px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  font-size: 14px;
}

@media (max-width: 800px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .hero-shell { justify-content: center; padding: 32px 20px; }
  h1 { font-size: 34px; }
}
