:root { --bg: #0d0d1f; --bg2: #15152c; --card: #1b1b36; --line: rgba(255,255,255,.10); --text: #eef0ff; --muted: #a9adc9;
  --green: #3fbf5f; --accent: linear-gradient(90deg, #3ccf6a, #35c9d6 45%, #3a7bf0); --gold: #ffc23a; --radius: 18px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: #7fb4ff; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top { position: sticky; top: 0; z-index: 10; background: rgba(13,13,31,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 32px; height: 32px; }
nav.links { display: flex; gap: 18px; margin-left: auto; align-items: center; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--text); }
select.lang { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 5px 8px; font: inherit; font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 13px; font: 700 17px/1.2 inherit;
  font-family: inherit; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--card); cursor: pointer; }
.btn-primary { background: var(--green); border-color: transparent; color: #fff; box-shadow: 0 6px 22px rgba(63,191,95,.35); }
.btn-gold { background: linear-gradient(90deg, #ffcf4a, #ff9b2f); color: #2a1600; border-color: transparent; box-shadow: 0 6px 22px rgba(255,170,50,.3); }
.btn[disabled], .btn.soon { opacity: .55; cursor: default; box-shadow: none; }
.hero { padding: 64px 0 30px; text-align: center; background: radial-gradient(900px 420px at 50% -10%, rgba(58,123,240,.25), transparent 70%); }
.hero img.icon { width: 112px; height: 112px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)); }
.hero h1 { margin: 14px 0 4px; font-size: clamp(38px, 7vw, 66px); line-height: 1.05; font-weight: 900; letter-spacing: -.02em;
  background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 21px; font-weight: 700; margin: 0; }
.hero .promo { color: var(--muted); max-width: 640px; margin: 12px auto 26px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 14px; margin-top: 12px; }
.shot { margin: 40px auto 0; max-width: 980px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55); background: #111127; }
.shot .bar { height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 12px; background: #181833; }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .shot .bar i:nth-child(2) { background: #febc2e; } .shot .bar i:nth-child(3) { background: #28c840; }
.shot img { display: block; width: 100%; height: auto; }
section { padding: 56px 0; scroll-margin-top: 50px; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.01em; }
.how { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { position: relative; padding: 0 0 10px 30px; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 13px; height: 13px; transform: rotate(45deg); border-radius: 3px; background: var(--accent); }
.shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shapes figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shapes img { display: block; width: 100%; height: auto; }
.shapes figcaption { padding: 10px 14px; font-weight: 700; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan.full { border-color: rgba(255,194,58,.55); box-shadow: 0 0 0 1px rgba(255,194,58,.25), 0 18px 50px rgba(255,170,50,.12); }
.plan h3 { margin: 0; font-size: 22px; }
.price { font-size: 40px; font-weight: 900; margin: 6px 0 2px; } .price span { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.plan ul.ticks { margin: 16px 0 22px; flex: 1; }
.plan .btn { width: 100%; }
.know { max-width: 820px; color: var(--muted); } .know li { margin-bottom: 8px; }
form.lost-key { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
form.lost-key input { flex: 1; min-width: 220px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; }
.lost-msg { color: var(--muted); min-height: 1.6em; }
footer { border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
footer .grow { flex: 1; }
.doc { max-width: 760px; padding-top: 40px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 22px; margin: 30px 0 8px; }
/* the key window after payment (buy.js) */
.gk-back { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gk-back[hidden] { display: none; }
.gk-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; max-width: 520px; width: 100%; text-align: center; }
.gk-card h2 { font-size: 26px; margin: 0 0 8px; }
.gk-note { color: var(--muted); }
.gk-key { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 16px 0; flex-wrap: wrap; }
.gk-key code { font: 700 20px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .03em; padding: 10px 14px; border-radius: 10px; background: var(--card); user-select: all; }
.gk-copy, .gk-close { font: inherit; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 8px 14px; cursor: pointer; }
.gk-close { margin-top: 16px; }
.gk-fine { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  nav.links a.hide-s { display: none; }
  .how, .plans { grid-template-columns: 1fr; }
  .shapes { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f7fc; --bg2: #ffffff; --card: #ffffff; --line: rgba(20,20,60,.12); --text: #15152c; --muted: #5a5e7a; }
  header.top { background: rgba(246,247,252,.85); }
  .hero { background: radial-gradient(900px 420px at 50% -10%, rgba(58,123,240,.18), transparent 70%); }
  a { color: #2a62d6; }
  .shot .bar { background: #e9eaf3; }
}
