:root {
  --bg: #0b1117;
  --bg-2: #111a22;
  --card: #152029;
  --line: #22313d;
  --text: #e8eef2;
  --muted: #9aabb8;
  --accent: #5fd3c0;
  --accent-2: #8fb8ff;
  --radius: 18px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: auto; height: 39px; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  background: var(--accent); color: #062019;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn[aria-disabled="true"] { cursor: default; }

/* Hero */
.hero { padding-block: 88px 64px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 700px; z-index: -1;
  background: radial-gradient(closest-side, rgba(95, 211, 192, 0.18), transparent 70%);
  animation: breathe 16s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(0.85); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
.hero img.icon { width: 160px; height: 160px; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; margin: 28px 0 8px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 auto 18px; max-width: 16ch; }
.lede { color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); max-width: 44ch; margin: 0 auto 32px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Sections */
section { padding-block: 72px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.01em; }
.section-lede { color: var(--muted); max-width: 60ch; margin: 0 0 40px; font-size: 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.card .k { font-size: 26px; line-height: 1; margin-bottom: 14px; }

.steps { counter-reset: step; display: grid; gap: 16px; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 72px; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(95, 211, 192, 0.14); color: var(--accent); font-weight: 700;
}
.steps p { color: var(--muted); margin: 0; }

.pattern { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--accent-2); font-size: 15px; margin-bottom: 8px; }

.pricing { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pricing ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.pricing .card.pro { border-color: rgba(95, 211, 192, 0.5); }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--accent); font-size: 22px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.disclaimer { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; color: var(--muted); font-size: 15px; }
.disclaimer strong { color: var(--text); }

/* Legal pages */
.legal { padding-block: 56px 80px; }
.legal article { max-width: 72ch; }
.legal h1 { text-align: left; margin: 0 0 8px; max-width: none; font-size: clamp(32px, 5vw, 44px); }
.legal .meta { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: #cdd8e0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav .hide-sm { display: none; }
  .hero { padding-block: 56px 40px; }
  section { padding-block: 52px; }
}
