:root {
  --bg: #0b0f15;
  --bg-alt: #0f141c;
  --card: #151b25;
  --line: #232c3a;
  --line-strong: #2f3a4b;
  --text: #e8edf3;
  --soft: #b4bfcd;
  --muted: #8592a3;
  --accent: #35e0a1;
  --accent-ink: #062016;
  --accent-soft: rgba(53, 224, 161, 0.12);
  --warn: #f5b942;
  --radius: 12px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- header ---------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 21, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; text-decoration: none; }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: var(--soft); text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--text); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang select {
  appearance: none; -webkit-appearance: none;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238592a3' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px;
  font: inherit; font-size: 14px; padding: 6px 28px 6px 10px; cursor: pointer;
}
.lang select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- buttons --------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: 10px;
  padding: 11px 20px; font-weight: 650; font-size: 15px; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(53, 224, 161, 0.25); }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--card); box-shadow: none; }
.btn-small { padding: 7px 14px; font-size: 14px; }
.btn-big { padding: 14px 26px; font-size: 16px; }

/* ---- hero ------------------------------------------------------------ */

.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(900px 420px at 78% 20%, rgba(53, 224, 161, 0.10), transparent 70%),
    radial-gradient(700px 360px at 10% 0%, rgba(59, 164, 255, 0.07), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
.lead { color: var(--soft); font-size: 18px; margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { color: var(--muted); font-size: 14px; margin-top: 14px; }

.window {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.window-bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #10151d; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.hero-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .hero-shot { transform: none; } }

/* ---- stats ----------------------------------------------------------- */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 26px 16px; text-align: center; border-left: 1px solid var(--line); }
.stats-grid div:first-child { border-left: 0; }
.stats-grid strong { display: block; font-size: 30px; font-weight: 700; color: var(--accent); }
.stats-grid span { color: var(--muted); font-size: 14px; }

/* ---- sections -------------------------------------------------------- */

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; }
.section-lead { color: var(--soft); font-size: 17px; margin-top: 14px; max-width: 42em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-accent { border-color: rgba(53, 224, 161, 0.35); background: linear-gradient(180deg, rgba(53, 224, 161, 0.06), var(--card) 60%); }
.card h3 { font-size: 18px; font-weight: 650; margin: 16px 0 8px; }
.card p { color: var(--soft); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split p { color: var(--soft); margin-top: 16px; }
.leftout { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.leftout li {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--warn);
  border-radius: 10px; padding: 14px 18px;
}
.leftout strong { display: block; font-weight: 600; }
.leftout span { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.step { border-top: 2px solid var(--line-strong); padding-top: 20px; }
.num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px;
}
.step h3 { font-size: 17px; font-weight: 650; margin: 14px 0 8px; }
.step p { color: var(--soft); font-size: 15px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 20px; }
.tabs button {
  background: var(--card); color: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font: inherit; font-size: 14px; cursor: pointer;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-color: rgba(53, 224, 161, 0.4); }
.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.buy { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 56px; align-items: center; }
.price-card {
  background: linear-gradient(180deg, rgba(53, 224, 161, 0.08), var(--card) 55%);
  border: 1px solid rgba(53, 224, 161, 0.4); border-radius: 16px; padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.price-card h2 { margin-top: 16px; font-size: 26px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.price strong { font-size: 52px; font-weight: 750; letter-spacing: -0.02em; }
.price span { color: var(--muted); }
.included { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.included li { position: relative; padding-left: 28px; color: var(--soft); }
.included li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.price-card .btn { width: 100%; justify-content: center; }
.btn[aria-disabled="true"] { background: var(--card); color: var(--muted); border-color: var(--line-strong); pointer-events: none; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.how li { display: flex; gap: 16px; align-items: flex-start; }
.how h3 { font-size: 18px; font-weight: 650; margin-bottom: 4px; }
.how p { color: var(--soft); }
.key-sample {
  display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 8px;
  font-family: "Cascadia Mono", Consolas, monospace; font-size: 14px; letter-spacing: 0.04em;
  background: var(--bg); border: 1px dashed var(--line-strong); color: var(--accent);
}

.download { text-align: center; display: flex; flex-direction: column; align-items: center; }
.download h2 { margin-top: 18px; }
.download .section-lead { margin-left: auto; margin-right: auto; }
.download .btn { margin-top: 30px; }
.notice {
  margin-top: 26px; max-width: 40em; text-align: left;
  background: rgba(245, 185, 66, 0.08); border: 1px solid rgba(245, 185, 66, 0.3);
  border-radius: 10px; padding: 12px 16px; color: var(--soft); font-size: 15px;
}
.silent { margin-top: 18px; color: var(--muted); font-size: 14px; }
.silent summary { cursor: pointer; }
.silent code {
  display: block; margin-top: 8px; text-align: left;
  font-family: "Cascadia Mono", Consolas, monospace; font-size: 13px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--text);
}

.faq { max-width: 820px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--muted);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.faq details p { color: var(--soft); padding: 0 0 20px; }

/* ---- legal pages ----------------------------------------------------- */

.legal { max-width: 780px; }
.legal h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.legal h2 { font-size: 18px; margin: 34px 0 10px; color: var(--accent); letter-spacing: 0.02em; }
.legal p { color: var(--soft); margin: 0 0 12px; }
.legal ul { color: var(--soft); margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .note { color: var(--muted); }

/* ---- footer ---------------------------------------------------------- */

.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.foot-links { display: flex; gap: 22px; justify-content: flex-end; }
.foot-links a { color: var(--soft); font-size: 14px; text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.foot-legal { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }

/* ---- small screens --------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid, .split, .buy { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot { transform: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .links { display: none; }
  .top-actions .btn-small { display: none; }
  .hero { padding: 44px 0 40px; }
  .lead { font-size: 17px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(3) { border-left: 0; }
  .stats-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 60px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .download .btn { width: 100%; justify-content: center; }
  .price-card { padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
