:root {
  --bg: #0b0d12; --surface: #141821; --surface2: #1b2130; --border: #262d3d;
  --text: #e8ebf2; --muted: #8b93a7; --accent: #2dd4a4; --accent-text: #062a20; --warm: #f5b544;
  --radius: 16px; --max: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 13, 18, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(45, 212, 164, .18); }
nav.links { display: flex; align-items: center; gap: 22px; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.links a:hover { color: var(--text); }

.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.ghost { border-color: var(--border); color: var(--text); }
.btn.small { padding: 8px 14px; font-size: 14px; }

.hero { padding: 88px 0 64px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.03em; max-width: 14ch; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 40ch; margin: 0 0 32px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }

.alert-demo { margin-top: 48px; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; }
.alert-demo .icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--surface2); display: grid; place-items: center; color: var(--accent); font-weight: 900; }
.alert-demo strong { font-size: 15px; }
.alert-demo .when { color: var(--muted); font-size: 13px; }
.alert-demo .sub { color: var(--muted); font-size: 14px; grid-column: 2 / 4; }

section { padding: 64px 0; border-top: 1px solid var(--border); }
section h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; letter-spacing: -.02em; }
section p.intro { color: var(--muted); margin: 0 0 36px; max-width: 60ch; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--surface2); color: var(--accent); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border-color: var(--accent); }
.plan .tag { align-self: flex-start; background: rgba(45, 212, 164, .14); color: var(--accent); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.plan .price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 8px; }
.plan li { padding-left: 24px; position: relative; color: var(--text); font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; text-align: center; }
.fine { color: var(--muted); font-size: 14px; margin-top: 20px; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

.doc { padding: 56px 0 80px; max-width: 760px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; letter-spacing: -.02em; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #c9cfdc; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.todo { background: rgba(245, 181, 68, .12); color: var(--warm); padding: 0 4px; border-radius: 4px; }

footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; margin: 0; }

@media (max-width: 640px) {
  nav.links a:not(.btn) { display: none; }
  .hero { padding: 56px 0 40px; }
  section { padding: 48px 0; }
}
