:root {
  --bg: #0a0f1a;
  --panel: #111827;
  --panel-2: #0f172a;
  --line: #1f2a3c;
  --text: #e6edf3;
  --muted: #9aa7b8;
  --cyan: #22d3ee;
  --green: #10e6a0;
  --red: #f87171;
  --amber: #fbbf24;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 600px at 20% -10%, #0f2a3a 0%, var(--bg) 55%) fixed;
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--cyan); }
.wrap { max-width: 960px; margin: 0 auto; padding: 24px 20px 64px; }
.narrow { max-width: 620px; }
header.top { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
header.top img { width: 44px; height: 44px; }
header.top .brand { font-weight: 800; letter-spacing: 0.08em; font-size: 20px; }
header.top .brand span { color: var(--cyan); }
.pill { display: inline-block; border: 1px solid var(--green); color: var(--green); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.15; margin: 12px 0 12px; }
h2 { font-size: 22px; margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 18px; max-width: 720px; }
.grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; margin-top: 28px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.shots img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.shots .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.features { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.features li { padding-left: 26px; position: relative; color: var(--muted); }
.features li::before { content: "\25B8"; color: var(--green); position: absolute; left: 6px; }
.features b { color: var(--text); }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
label .opt { color: var(--muted); font-weight: 400; font-size: 13px; }
input[type="email"], input[type="text"], input[type="url"] {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font-size: 16px;
}
input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.check { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #04130d; border: 0; border-radius: 8px;
  padding: 12px 18px; font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none;
}
button.secondary, .btn.secondary { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); }
button.danger { background: transparent; color: var(--red); border: 1px solid var(--red); }
button[disabled] { opacity: 0.55; cursor: progress; }
.full { width: 100%; margin-top: 18px; }
.err { color: var(--red); font-size: 14px; min-height: 20px; margin-top: 10px; }
.ts-box { margin-top: 16px; min-height: 65px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(30px);
  background: var(--green); color: #04130d; font-weight: 800; padding: 14px 20px; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45); opacity: 0; transition: all .25s ease; pointer-events: none; max-width: 92vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps > li { counter-increment: s; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 16px 56px; position: relative; }
.steps > li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--cyan); color: #031016; font-weight: 800; display: grid; place-items: center; }
.steps p { margin: 4px 0 10px; color: var(--muted); }
.reveal-box { margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.reveal-box code { background: #06101b; border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; font-size: 16px; color: var(--green); }
.muted { color: var(--muted); }
.mt { margin-top: 22px; }
fieldset.apps { border: 0; padding: 0; margin: 14px 0 0; }
fieldset.apps legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.hidden { display: none !important; }
footer.foot { margin-top: 48px; color: var(--muted); font-size: 13px; text-align: center; }
footer.foot a { color: var(--muted); }
/* admin */
table.admin { width: 100%; border-collapse: collapse; font-size: 14px; }
table.admin th, table.admin td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
table.admin th { color: var(--muted); font-weight: 600; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.toolbar select { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 9px; }
.tag { font-size: 12px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag.ok { border-color: var(--green); color: var(--green); }
.tag.wait { border-color: var(--amber); color: var(--amber); }
