:root {
  --bg: #0b0d12; --bg2: #11141b; --card: #171b24; --line: #252a35; --text: #eef0f4; --muted: #8d95a3;
  --a: #6b6bff; --b: #22c3ee; --grad: linear-gradient(90deg, var(--a), var(--b)); --ok: #3fb950;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 500px at 75% -5%, rgba(107,107,255,.22), transparent 60%),
                    radial-gradient(700px 400px at 10% 10%, rgba(34,195,238,.12), transparent 60%);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
code { background: #1d2230; padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px;
  padding: 14px max(24px, calc((100vw - 1160px) / 2)); background: rgba(11,13,18,.72);
  backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.05);
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--grad); color: #fff; font-weight: 650;
  border-radius: 12px; padding: 12px 20px; box-shadow: 0 8px 30px rgba(107,107,255,.35); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(107,107,255,.45); }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn.big { padding: 15px 24px; font-size: 16.5px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--text); }
.btn.ghost:hover { border-color: var(--a); }
.os-icon svg { width: 20px; height: 20px; fill: #fff; display: block; }

/* hero */
.hero {
  max-width: 1160px; margin: 0 auto; padding: 80px 24px 60px; display: grid;
  grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.pill { display: inline-block; font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid #333a5a; background: rgba(107,107,255,.12); color: #c5c8ff; }
h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 18px; }
.lead { font-size: 19px; color: #b9c0cc; max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.meta { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* app mock */
.mock { perspective: 1400px; }
.win {
  background: #14171f; border: 1px solid var(--line); border-radius: 16px; padding: 0 16px 16px;
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02);
  transform: rotateY(-8deg) rotateX(3deg); transition: transform .6s;
}
.mock:hover .win { transform: none; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 40px; font-size: 12.5px; color: var(--muted); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f4b; }
.win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: auto; margin-right: auto; padding-right: 50px; }
.win-quick {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 5px 0 12px; margin-bottom: 12px;
  border: 1.5px solid var(--line); border-radius: 10px; font-size: 12.5px; background: #0f1218;
}
.win-quick em { color: var(--muted); font-style: normal; flex: 1; white-space: nowrap; overflow: hidden; }
.win-quick b { background: var(--grad); color: #fff; padding: 5px 12px; border-radius: 7px; font-size: 12px; }
.card {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-top: 9px;
}
.thumb { width: 72px; height: 42px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; }
.t1 { background: linear-gradient(160deg, #ffb36b 0%, #e2547a 45%, #3a2b6b 100%); }
.t2 { background: #8e44ad; } .t3 { background: #e67e22; }
.cbody { min-width: 0; }
.ct { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin: 2px 0 6px; }
.cp.ok { color: var(--ok); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--a); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.bar { height: 6px; border-radius: 4px; background: #262b36; overflow: hidden; }
.fill { display: block; height: 100%; border-radius: 4px; background: var(--grad); position: relative; overflow: hidden; }
.fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: sh 1.4s infinite; transform: translateX(-100%); }
@keyframes sh { to { transform: translateX(100%); } }
.f1 { width: 68%; } .f2 { width: 79%; animation: grow2 9s ease-in-out infinite alternate; }
@keyframes grow2 { from { width: 62%; } to { width: 92%; } }
.fill.full { width: 100%; background: var(--ok); } .fill.full::after { display: none; }
.cm { font-size: 11px; color: var(--muted); display: flex; gap: 6px; margin-top: 5px; white-space: nowrap; }
.cm b { color: var(--text); }
.pct { font-size: 24px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pct small { font-size: 12px; color: var(--muted); }
.pct.ok { color: var(--ok); }

/* stats */
.stats {
  max-width: 1160px; margin: 0 auto 30px; padding: 26px 24px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats div { text-align: center; }
.stats b { display: block; font-size: 34px; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 14px; }

/* sections */
.section { max-width: 1160px; margin: 0 auto; padding: 80px 24px; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 12px; text-align: center; }
.sub { text-align: center; color: var(--muted); font-size: 18px; margin: 0 auto 44px; max-width: 40em; }
.sub.left, .split h2 { text-align: left; margin-left: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: border-color .2s, transform .2s; }
.feat:hover { border-color: #3b3f6b; transform: translateY(-2px); }
.fi { width: 42px; height: 42px; display: grid; place-items: center; font-size: 21px; border-radius: 11px; background: rgba(107,107,255,.14); margin-bottom: 14px; }
.feat h3 { margin: 0 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 30px; position: relative; margin: 10px 0; color: #c8ced8; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(63,185,80,.16); color: var(--ok); font-size: 12px; display: grid; place-items: center; font-weight: 800; }

.panel-mock { position: relative; height: 380px; }
.vid { position: absolute; inset: 0 70px 60px 0; border-radius: 16px; background: linear-gradient(160deg, #ffb36b 0%, #e2547a 40%, #3a2b6b 100%); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vbtn { position: absolute; top: 16px; right: 16px; background: var(--grad); color: #fff; font-weight: 650; font-size: 14px; padding: 8px 8px 8px 14px; border-radius: 99px; display: flex; gap: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.vbtn span { opacity: .7; border-left: 1px solid rgba(255,255,255,.35); padding: 0 4px 0 9px; }
.qpanel { position: absolute; right: 0; bottom: 0; width: 320px; background: #1d2027; border: 1px solid #343842; border-radius: 14px; padding: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.55); font-size: 13px; }
.qh { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.qh small { display: block; color: var(--muted); font-size: 11.5px; }
.qthumb { width: 64px; height: 36px; border-radius: 6px; background: linear-gradient(160deg, #ffb36b, #e2547a 45%, #3a2b6b); flex: none; }
.q { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 8px; background: #262a32; margin-top: 4px; }
.q em { font-style: normal; font-size: 10.5px; color: var(--b); font-weight: 700; }
.q span { margin-left: auto; color: var(--muted); font-size: 12px; }
.q.hi { background: #5b5bf7; } .q.hi em, .q.hi span { color: #fff; }
.qs { color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; margin: 9px 2px 2px; }

/* download */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.dl { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.dl:hover { border-color: var(--a); transform: translateY(-2px); }
.dl.mine { border-color: var(--a); background: linear-gradient(180deg, rgba(107,107,255,.14), var(--bg2)); }
.dl-ic { width: 56px; height: 56px; border-radius: 14px; background: #20253a; display: grid; place-items: center; flex: none; }
.dl-ic svg { width: 28px; height: 28px; fill: #fff; }
.dl b { display: block; font-size: 20px; }
.dl span { display: block; color: var(--muted); font-size: 14px; }
.dl em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 12.5px; padding: 2px 9px; border-radius: 99px; background: #20253a; color: #c5c8ff; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 18px auto 0; font-size: 14px; color: var(--muted); }
.steps b { color: var(--text); margin-right: 6px; }

/* browsers */
.br-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.br { text-align: center; padding: 28px 18px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.br:hover { border-color: var(--a); transform: translateY(-2px); }
.br b { display: block; font-size: 18px; margin-top: 12px; }
.br span { color: var(--muted); font-size: 14px; }
.br-logo { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; }
.chrome { background: conic-gradient(from -60deg, #ea4335 0 120deg, #fbbc05 0 240deg, #34a853 0); position: relative; }
.chrome::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #4285f4; box-shadow: 0 0 0 5px #fff; }
.edge { background: conic-gradient(from 200deg, #0c59a4, #1b9de2, #37c96f, #0c59a4); }
.firefox { background: radial-gradient(circle at 60% 40%, #ffbd4f, #ff7139 45%, #e31587 80%); }
.manual { max-width: 900px; margin: 22px auto 0; color: var(--muted); font-size: 15px; }
.manual summary { cursor: pointer; color: var(--text); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.foot { max-width: 1160px; margin: 0 auto; padding: 40px 24px 60px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 14px; }
.foot .brand { font-size: 16px; } .foot .brand img { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid, .br-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .grid, .br-grid, .dl-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .panel-mock { height: 420px; }
  .vid { inset: 0 0 150px 0; }
}

/* keep long one-line text from stretching the layout on small screens */
body { overflow-x: hidden; }
.hero > *, .split > *, .grid > *, .stats > *, .dl-grid > *, .br-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .win { transform: none; }
  .split h2, .sub.left { text-align: center; }
}
@media (max-width: 600px) {
  .grid, .br-grid, .dl-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .card { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .thumb { width: 56px; height: 34px; }
  .qpanel { width: auto; left: 0; }
  .foot { flex-direction: column; gap: 10px; }
}

/* secondary pages */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 24px 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 10px; }
.doc h2 { text-align: left; font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: #c3c9d3; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc a:not(.btn) { color: #9aa0ff; text-decoration: underline; text-underline-offset: 3px; }
.updated { color: var(--muted) !important; font-size: 14px; margin: 0 0 24px; }
.lead2 { font-size: 18.5px; color: #d5dae2 !important; }
.perm { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.perm td, .perm th { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); color: #c3c9d3; }
.perm th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.perm td:first-child { white-space: nowrap; color: var(--text); }
.release { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 6px 26px 18px; margin-top: 24px; }
.release h2 { margin-top: 20px; }
.tag { font-size: 12px; vertical-align: middle; padding: 3px 10px; border-radius: 99px; background: rgba(63,185,80,.15); color: var(--ok); margin-left: 8px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(107,107,255,.14), var(--bg2)); border: 1px solid #343a66; border-radius: 16px; padding: 22px 24px; margin: 26px 0; }
.contact-card b { display: block; font-size: 18px; }
.contact-card span { color: var(--muted); font-size: 14px; }
.doc .faq { margin: 0; }
.nf { text-align: center; padding: 60px 0; }
.nf-kite img { width: 96px; height: 96px; border-radius: 24px; animation: float 3s ease-in-out infinite; margin-bottom: 18px; }
@keyframes float { 50% { transform: translateY(-12px) rotate(4deg); } }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
@media (max-width: 600px) { .perm td:first-child { white-space: normal; } }
.alt-dl { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.alt-dl a { color: #9aa0ff; text-decoration: underline; text-underline-offset: 3px; }
