:root {
  --bg: #0d0b12;
  --bg2: #15121d;
  --card: #1b1725;
  --line: #2c2639;
  --text: #ebe7f3;
  --muted: #9d95ad;
  --accent: #8b4dff;
  --accent2: #b48cff;
  --ok: #4fd18b;
  --amber: #ffb547;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
h3 { font-size: 1.15rem; }
p, ul, ol, table { margin: 0 0 1em; }
code, pre { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: .9em; }
code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: .05em .35em; }
pre { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* header / footer */
.top { position: sticky; top: 0; z-index: 10; background: rgba(13,11,18,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.top nav a:not(.btn) { color: var(--muted); padding: 6px 10px; border-radius: 8px; font-size: .95rem; }
.top nav a:not(.btn):hover, .top nav a.on { color: var(--text); background: var(--card); text-decoration: none; }
.foot { border-top: 1px solid var(--line); margin-top: 80px; padding: 32px 0 48px; font-size: .9rem; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; padding: 12px 22px;
  border-radius: 10px; border: 1px solid transparent; }
.btn:hover { background: #7a3cf0; text-decoration: none; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card); }
.btn-sm { padding: 6px 14px; font-size: .9rem; margin-left: 6px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }

/* hero */
.hero { padding: 72px 0 40px; background:
  radial-gradient(800px 380px at 70% -10%, rgba(139,77,255,.28), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: #cfc8de; max-width: 36em; }
.kicker { color: var(--accent2); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

/* the drawn menu-bar mock */
.mock { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; font-size: .92rem; }
.mock-bar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 6px 14px;
  background: #221d2d; color: var(--muted); font-size: .8rem; }
.mock-bar img { width: 16px; height: 16px; }
.mock-menu { margin: 10px 14px 16px auto; width: min(280px, 100%); background: #241f30; border: 1px solid var(--line);
  border-radius: 10px; padding: 6px; }
.mock-menu div { padding: 5px 10px; border-radius: 6px; }
.mock-menu .sel { background: var(--accent); color: #fff; }
.mock-menu .sep { height: 1px; padding: 0; margin: 5px 6px; background: var(--line); }
.mock-menu .hd { color: var(--muted); font-size: .78rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; }

/* cards and grids */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .35em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(139,77,255,.18); color: var(--accent2);
  display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 12px; }
section { padding: 24px 0; }
.band { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; margin: 40px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.price { display: flex; flex-direction: column; }
.price.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.price .amt { font-size: 2.3rem; font-weight: 700; margin: 6px 0 0; }
.price .per { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.price ul { padding-left: 1.1em; color: #cfc8de; font-size: .95rem; flex: 1; }
.price .btn { text-align: center; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--accent2); background: rgba(139,77,255,.15);
  border-radius: 99px; padding: 2px 10px; margin-bottom: 8px; align-self: flex-start; }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* docs / legal */
.doc { padding-top: 48px; }
.doc h2 { font-size: 1.35rem; }
.doc li { margin-bottom: .35em; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
.note { border-left: 3px solid var(--accent); background: var(--card); padding: 12px 16px; border-radius: 0 10px 10px 0; }

@media (max-width: 900px) {
  .hero-in, .grid, .grid-2 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 40px; }
}
@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { padding: 4px 7px; font-size: .88rem; }
}

/* coming-soon banner (SITE["coming_soon"] in build.py) */
.soon { background: rgba(139,77,255,.16); border-bottom: 1px solid var(--line); padding: 9px 0; font-size: .92rem; text-align: center; }

/* beta access form (29 Nov 2026) */
.beta-form { display: grid; gap: 14px; margin-top: 20px; }
.beta-form label { display: grid; gap: 6px; font-weight: 600; }
.beta-form input { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; color: inherit; width: 100%; }
.beta-form input:focus { outline: 2px solid rgba(139,77,255,.6); outline-offset: 1px; }
.beta-form .btn { justify-self: start; }
.beta-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
