:root { --bg: #f4f8ff; --card: #fff; --line: rgba(20,50,110,.12); --text: #10203f; --muted: #56658a; --blue: #1c7df2; --link: #1262c9; }
@media (prefers-color-scheme: dark) { :root { --bg: #0d131d; --card: #161e2b; --line: rgba(255,255,255,.1); --text: #eef4ff; --muted: #a3b1cb; --link: #7dbaff; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-top: 12px; padding-bottom: 12px; font-size: 15px; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; margin-right: auto; }
header a:not(.brand), footer a { color: var(--muted); text-decoration: none; }
header a:hover, footer a:hover { text-decoration: underline; }
.hero { text-align: center; padding: 56px 0 24px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -.025em; margin: 18px auto 14px; max-width: 760px; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shot { display: block; width: min(1200px, 100%); height: auto; margin: 18px auto 22px; }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 auto 26px; text-wrap: pretty; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 650; }
.btn.soon { background: transparent; color: var(--muted); border: 1px solid var(--line); cursor: default; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 14px; }
.demo { margin: 36px auto 0; max-width: 900px; border-radius: 22px; padding: 26px 20px 20px; color: #fff; background: linear-gradient(160deg, #2a5fc4, #40357f 55%, #7b3565); }
.demo input { display: block; width: min(280px, 100%); margin: 0 auto 24px; padding: 8px 14px; border-radius: 9px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.16); color: #fff; font: inherit; font-size: 16px; text-align: center; }
.demo input::placeholder { color: rgba(255,255,255,.8); }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px 8px; min-height: 222px; align-content: start; }
.app { font-size: 13px; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.app svg { display: block; width: 62px; max-width: 84%; margin: 0 auto 6px; }
.app[hidden] { display: none; }
.app.first svg { outline: 3px solid rgba(255,255,255,.75); outline-offset: 4px; border-radius: 15px; }
.demo p { margin: 16px 0 0; text-align: center; font-size: 15px; min-height: 1.6em; }
.demo button { font: inherit; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 2px 10px; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.demo :focus-visible { outline-color: #fff; }
section { padding: 44px 0; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 22px; text-wrap: balance; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 44px; }
.features h3 { margin: 0 0 4px; font-size: 19px; }
.features p { margin: 0; color: var(--muted); }
.price-card { max-width: 480px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.price { font-size: 46px; font-weight: 750; line-height: 1; margin: 0 0 8px; }
.price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.price-card ul { padding-left: 20px; margin: 18px 0 24px; }
.doc { max-width: 740px; padding-top: 34px; padding-bottom: 40px; }
.doc h1 { font-size: 38px; margin-left: 0; }
.doc h2 { font-size: 21px; margin: 28px 0 6px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.price-card button.btn { border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.price-card button.btn:disabled { opacity: .6; cursor: default; }
form.lost-key { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
form.lost-key input { flex: 1; min-width: 220px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; }
form.lost-key button { border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.lost-msg { color: var(--muted); min-height: 1.6em; }
/* the key window after payment (buy.js) */
.gk-back { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gk-back[hidden] { display: none; }
.gk-card { background: var(--card); 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, .gk-fine { color: var(--muted); }
.gk-fine { font-size: 14px; }
.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(--bg); user-select: all; }
.gk-copy, .gk-close { font: inherit; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 8px 14px; cursor: pointer; }
.gk-close { margin-top: 16px; }
.draft { background: #ffd24d; color: #3a2a00; text-align: center; font-size: 14px; padding: 6px 20px; }
@media (max-width: 700px) {
  .features { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .hero { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
