:root {
  --ink: #0e1116;
  --navy: #0f1b33;
  --navy-2: #13254a;
  --accent: #3d8bff;
  --accent-2: #2f74e0;
  --teal: #2ec4b6;
  --text: #1a2233;
  --muted: #5d6b82;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 27, 51, .08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 34px; height: 34px; }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.header .cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(61, 139, 255, .35); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-lg { padding: 16px 28px; font-size: 17px; border-radius: 14px; }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(61, 139, 255, .35), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(46, 196, 182, .18), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; font-weight: 600; color: #cfe0ff;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.02em; }
.hero h1 span { color: #8fbaff; }
.hero p.lead { font-size: 19px; color: #c5d2ea; max-width: 540px; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13px; color: #9fb0cf; }

/* Mockup */
.mock { position: relative; height: 380px; }
.laptop {
  position: absolute; left: 0; top: 10px; width: 90%;
  background: #1b2436; border-radius: 14px; padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .08);
}
.laptop .bar { display: flex; gap: 6px; padding: 4px 4px 10px; }
.laptop .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4560; }
.laptop .screen { border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 34% 1fr; height: 270px; background: #0e1116; }
.laptop .side { background: #161a22; padding: 16px; }
.laptop .side small { color: #8b95a7; font-size: 10px; letter-spacing: .08em; }
.laptop .side .id { color: #e8ecf3; font-weight: 700; font-size: clamp(12px, 1.4vw, 18px); margin: 6px 0 4px; white-space: nowrap; }
.laptop .side .ok { color: #3ddc84; font-size: 11px; }
.laptop .side .line { height: 8px; border-radius: 4px; background: #232a37; margin-top: 12px; }
.laptop .main { padding: 16px; }
.laptop .quick { background: linear-gradient(90deg, #1c3a6b, #161a22); border-radius: 10px; padding: 12px; color: #e8ecf3; font-size: 12px; }
.laptop .quick .input { margin-top: 8px; display: flex; gap: 8px; }
.laptop .quick .input span { flex: 1; background: #0e1116; border-radius: 6px; padding: 6px 8px; color: #8b95a7; }
.laptop .quick .input b { background: #3d8bff; border-radius: 6px; padding: 6px 10px; color: #fff; font-weight: 600; }
.laptop .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.laptop .cards div { height: 70px; border-radius: 8px; background: linear-gradient(135deg, rgba(61, 139, 255, .5), rgba(61, 139, 255, .1)); }
.laptop .cards div:nth-child(2) { background: linear-gradient(135deg, rgba(46, 196, 182, .5), rgba(46, 196, 182, .1)); }
.laptop .cards div:nth-child(3) { background: linear-gradient(135deg, rgba(255, 176, 32, .5), rgba(255, 176, 32, .1)); }
.phone {
  position: absolute; right: 0; bottom: 0; width: 150px; height: 290px; border-radius: 26px;
  background: #0b0e13; border: 6px solid #232a37; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); overflow: hidden;
}
.phone .ps { position: absolute; inset: 0; background: linear-gradient(160deg, #13254a, #0e1116); padding: 18px 12px; }
.phone .ps .win { background: #1e2430; border-radius: 6px; height: 90px; margin-top: 30px; position: relative; }
.phone .ps .win::after { content: ""; position: absolute; left: 50%; top: 40%; border: 7px solid transparent; border-left-color: #fff; border-top-color: #fff; transform: rotate(0deg); }
.phone .ps .keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 70px; }
.phone .ps .keys i { height: 18px; border-radius: 4px; background: #232a37; }

/* Sections */
section { padding: 96px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.kicker { color: var(--accent-2); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 27, 51, .12); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(61, 139, 255, .1); color: var(--accent-2); margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }
.id-chip {
  display: inline-block; margin-top: 14px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-weight: 700; font-size: 20px; letter-spacing: .06em; padding: 8px 14px; border-radius: 10px;
  background: var(--bg-soft); border: 1px dashed #c6d2e6; color: var(--ink);
}

/* Security */
.security { background: linear-gradient(180deg, var(--navy), #0b1426); color: #fff; }
.security .section-head p { color: #b5c3dd; }
.security .kicker { color: #8fbaff; }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sec-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.sec-item svg { flex: none; width: 26px; height: 26px; color: #3ddc84; }
.sec-item h3 { margin: 0 0 4px; font-size: 17px; }
.sec-item p { margin: 0; color: #b5c3dd; font-size: 15px; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform { text-align: center; padding: 30px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.platform svg { width: 42px; height: 42px; margin: 0 auto 12px; color: var(--ink); }
.platform h3 { margin: 0 0 4px; }
.platform .tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag.ok { background: rgba(61, 220, 132, .15); color: #1d8a51; }
.tag.soon { background: #eef1f6; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA band */
.band { background: linear-gradient(90deg, var(--accent-2), var(--accent)); color: #fff; padding: 64px 0; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.band p { margin: 6px 0 0; color: #dbe8ff; }
.band .btn { background: #fff; color: var(--accent-2); }

/* Footer */
.footer { background: var(--ink); color: #9aa5b8; padding: 48px 0 32px; font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; }
.footer a { color: #9aa5b8; display: block; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .copy { grid-column: 1 / -1; border-top: 1px solid #1e2430; padding-top: 20px; margin-top: 12px; }

/* Download page */
.dl-hero { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; padding: 72px 0 120px; text-align: center; }
.dl-hero h1 { font-size: clamp(32px, 4.5vw, 48px); margin: 0 0 10px; }
.dl-hero p { color: #c5d2ea; font-size: 18px; margin: 0; }
.dl-main { margin-top: -80px; }
.dl-primary {
  background: #fff; border-radius: 22px; box-shadow: 0 30px 60px rgba(15, 27, 51, .18); padding: 40px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
}
.dl-primary .os { width: 72px; height: 72px; border-radius: 18px; background: var(--bg-soft); display: grid; place-items: center; }
.dl-primary .os svg { width: 40px; height: 40px; }
.dl-primary h2 { margin: 0 0 4px; }
.dl-primary .meta { color: var(--muted); font-size: 14px; }
.dl-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.dl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; display: flex; flex-direction: column; }
.dl-card h3 { margin: 10px 0 4px; }
.dl-card p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.dl-card svg.p { width: 34px; height: 34px; }
.dl-card .btn { width: 100%; }
.howto { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.howto ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.howto li { margin-bottom: 6px; }
.checksum { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--muted); word-break: break-all; }
code { font-family: ui-monospace, Consolas, monospace; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .mock { height: 320px; }
  .grid-3, .steps, .dl-list { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .dl-primary { grid-template-columns: 1fr; text-align: center; }
  .dl-primary .os { margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav, .header .cta { display: none; }
  .menu-btn { display: block; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--line); margin: 0;
  }
  section { padding: 64px 0; }
  .grid-3, .steps, .sec-grid, .platforms, .dl-list, .howto { grid-template-columns: 1fr; }
  .mock { display: none; }
  .footer .wrap { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .dl-primary { padding: 28px 20px; }
}
