:root {
  /* JAY OS palette (clip-engine/os.html): deep navy ground, violet, blue and cyan accents */
  --bg: #060918;
  --panel: #0e1430;
  --panel-2: #121a3d;
  --line: rgba(96,128,255,.22);
  --line-2: rgba(96,128,255,.38);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --accent: #3fd6ff;
  --violet: #8b5cf6;
  --blue: #4f7cff;
  --grad: linear-gradient(135deg, #7c3aed, #4f46e5 55%, #2563eb);
  --accent-ink: #ffffff;
  --ok: #34d399;
  --bad: #f87171;
  --radius: 18px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(6,9,24,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 900; letter-spacing: .04em; color: var(--text); text-decoration: none; font-size: 20px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links .btn { color: var(--accent-ink); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* buttons */
.btn {
  display: inline-block; background: var(--grad); color: var(--accent-ink);
  font-weight: 800; text-decoration: none; padding: 14px 24px; border-radius: 999px;
  border: 0; cursor: pointer; font-size: 16px; transition: transform .12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); }

/* hero */
.hero { padding: 88px 0 64px; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; margin: 14px 0 20px; letter-spacing: -.02em; font-weight: 900; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -.01em; }
h3 { margin: 0 0 8px; font-size: 20px; }
.lead { color: var(--muted); font-size: 20px; max-width: 720px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 52px; }
.stat { background: var(--panel); padding: 22px; }
.stat b { display: block; font-size: 30px; color: var(--accent); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--accent-ink); font-weight: 900; margin-bottom: 12px; }

/* pricing */
.tabs { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 10px 0 26px; }
.tabs button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--grad); color: var(--accent-ink); }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 34px; font-weight: 900; margin: 6px 0 2px; }
.plan .term { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.plan ul { padding-left: 18px; color: var(--muted); margin: 0 0 20px; flex: 1; }
.plan li { margin-bottom: 6px; }
.plan.pick { border-color: var(--violet); background: var(--panel-2); }
[hidden] { display: none !important; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; }
summary::after { content: "+"; float: right; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* form */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 720px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; background: #0a0f26; color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.msg.ok { background: rgba(52,211,153,.12); color: var(--ok); }
.msg.err { background: rgba(248,113,113,.12); color: var(--bad); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); }

/* about page */
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.values li { margin-bottom: 12px; color: var(--muted); }
.values b { color: var(--text); }
