:root {
  --bg: #ffffff;
  --bg-alt: #f5f6fb;
  --surface: #ffffff;
  --text: #0d1030;
  --muted: #555b76;
  --line: #e4e6f0;
  --brand: #002ad7;
  --brand-soft: #e8edff;
  --accent: #fdb71e;
  --hero: #070a1f;
  --hero-text: #f3f4ff;
  --hero-muted: #a7acc9;
  --hero-line: rgba(255, 255, 255, 0.12);
  --error: #ff8a80;
  --radius: 16px;
  --container: 1160px;
  --shadow: 0 1px 2px rgba(13, 16, 48, 0.04), 0 8px 24px rgba(13, 16, 48, 0.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d24;
    --bg-alt: #0e122d;
    --surface: #13173a;
    --text: #eceefa;
    --muted: #a3a8c3;
    --line: #232850;
    --brand: #7b96ff;
    --brand-soft: #1b2257;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 10, 31, 0.96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hero-line);
  color: var(--hero-text);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--hero-muted); transition: color .15s; }
.nav-links a:hover { color: var(--hero-text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: #fff; color: #0d1030; font-weight: 600; font-size: 14px; text-decoration: none;
}
.nav-cta .ico { width: 16px; height: 16px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--hero-line); border-radius: 999px; background: rgba(255, 255, 255, 0.04); }
.lang-switch button {
  min-width: 38px; padding: 4px 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--hero-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: background .15s, color .15s;
}
.lang-switch button:hover { color: var(--hero-text); }
.lang-switch button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); color: var(--hero-text); }

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--hero-text);
  background:
    radial-gradient(55% 60% at 78% 30%, rgba(40, 72, 255, 0.45), transparent 70%),
    radial-gradient(35% 45% at 5% 95%, rgba(253, 183, 30, 0.12), transparent 70%),
    var(--hero);
  padding: 72px 0 40px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--hero-line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); color: var(--hero-muted); font-size: 13px; font-weight: 500;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(253, 183, 30, 0.18); }
.hero h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; margin: 20px 0 20px; }
.hero h1 > span { display: block; white-space: nowrap; }
.hl { color: var(--accent); font-style: normal; }
.lede { color: var(--hero-muted); font-size: 18px; max-width: 540px; text-wrap: pretty; }

.download {
  margin-top: 32px; max-width: 460px;
  padding: 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hero-line);
}
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 15px 20px; border: 0; border-radius: 12px;
  background: #fff; color: #0d1030; font-weight: 700; font-size: 17px;
  box-shadow: 0 10px 30px rgba(40, 72, 255, 0.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(40, 72, 255, 0.45); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }
.g-logo { width: 20px; height: 20px; flex: none; }
.btn-primary .dl-ico { display: none; color: var(--brand); }
.btn-primary[data-state="download"] .g-logo { display: none; }
.btn-primary[data-state="download"] .dl-ico { display: block; color: #002ad7; }
.download-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 14px; font-size: 13px; color: var(--hero-muted); }
.download-meta strong { color: var(--hero-text); font-weight: 600; }
.count strong { font-variant-numeric: tabular-nums; }
.who, .status, .notice { margin-top: 12px; font-size: 14px; color: var(--hero-muted); overflow-wrap: anywhere; }
.status.error { color: var(--error); }
.status a, .link { color: #fff; }
.link { border: 0; background: none; padding: 0; text-decoration: underline; }
.notice { color: var(--hero-text); }
.fineprint { margin-top: 14px; max-width: 460px; font-size: 12.5px; line-height: 1.55; color: #7d82a3; }

/* Product mock */
.hero-visual { position: relative; }
.hero-visual::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -30px; height: 60px;
  background: rgba(40, 72, 255, 0.5); filter: blur(50px); z-index: -1;
}
.window {
  border-radius: 14px; overflow: hidden;
  background: #0f1330;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.window-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #181c3d; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 12.5px; color: var(--hero-muted); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.window-title { flex: 1; min-width: 0; text-align: center; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(253, 183, 30, 0.15); color: var(--accent); font-weight: 600; font-size: 11.5px; }
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.stage { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; background: #e9ecf6; }
.slide {
  position: absolute; inset: 0;
  padding: 5.5cqw 6.5cqw;
  background: linear-gradient(180deg, #ffffff, #f4f6fc);
  color: #111532;
}
.slide p { margin: 0; }
.slide-kicker { font-size: 2.1cqw; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #002ad7; }
.slide-title { margin-top: 1cqw !important; font-size: 4.2cqw; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; max-width: 62%; }
.slide-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5cqw; margin-top: 2.8cqw; }
.slide-stat { font-size: 7.6cqw; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #002ad7; }
.slide-sub { margin-top: 0.8cqw !important; font-size: 2.3cqw; color: #4a5070; }
.slide-points { margin: 1.8cqw 0 0; padding: 0; list-style: none; font-size: 2.2cqw; color: #2b3050; }
.slide-points li { display: flex; align-items: center; gap: 1.2cqw; margin-top: 0.6cqw; }
.slide-points li::before { content: ""; width: 1cqw; height: 1cqw; border-radius: 50%; background: #fdb71e; flex: none; }
.sprite { position: absolute; }
.slide-chart { display: flex; flex-direction: column; justify-content: flex-end; }
.bars { display: flex; align-items: flex-end; gap: 2.2cqw; height: 14cqw; padding-bottom: 0.6cqw; border-bottom: 2px solid #d9ddec; }
.bars i { flex: 1; height: var(--h); border-radius: 0.8cqw 0.8cqw 0 0; background: #c9d2f5; }
.bars i.now { background: #002ad7; }
.bars i:nth-child(1) { --h: 32%; }
.bars i:nth-child(2) { --h: 47%; }
.bars i:nth-child(3) { --h: 61%; }
.bars i:nth-child(4) { --h: 73%; }
.years { display: flex; gap: 2.2cqw; margin-top: 0.8cqw; font-size: 1.8cqw; color: #6b7090; }
.years span { flex: 1; text-align: center; }

.presenter {
  position: absolute; top: 3.5cqw; right: 3.5cqw;
  width: 22cqw; aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  border-radius: 1.6cqw; overflow: hidden;
  background: linear-gradient(145deg, #3b4a8f, #1c2356);
  box-shadow: 0 1cqw 3cqw rgba(13, 16, 48, 0.3);
}
.avatar { display: grid; place-items: center; width: 7.5cqw; height: 7.5cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.16); font-weight: 700; font-size: 2.6cqw; color: #fff; }
.talk { position: absolute; top: 1.4cqw; right: 1.4cqw; display: flex; align-items: flex-end; gap: 0.35cqw; height: 2.2cqw; }
.talk i { width: 0.45cqw; height: 40%; border-radius: 1px; background: #fdb71e; animation: talk 0.9s ease-in-out infinite; }
.talk i:nth-child(2) { animation-delay: .15s; }
.talk i:nth-child(3) { animation-delay: .3s; }
.talk i:nth-child(4) { animation-delay: .45s; }
@keyframes talk { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.name { position: absolute; left: 1.2cqw; bottom: 1.1cqw; padding: 0.2cqw 1cqw; border-radius: 0.8cqw; background: rgba(0, 0, 0, 0.45); font-size: 1.7cqw; color: #eef0ff; }

.caption {
  position: absolute; left: 50%; bottom: 3cqw; transform: translateX(-50%);
  width: max-content; max-width: 90%;
  padding: 1.3cqw 2.6cqw; border-radius: 1.4cqw;
  background: rgba(6, 8, 24, 0.86);
  text-align: center;
  box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.3);
}
.cap-dst { min-height: 1.45em; font-size: 2.8cqw; font-weight: 600; color: #fff; line-height: 1.45; }
.cap-dst .draft { opacity: 0.5; }
@container (max-width: 440px) { .cap-dst { font-size: 3.7cqw; } .caption { max-width: 94%; } }

.works-with { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--hero-line); color: var(--hero-muted); font-size: 14px; }
.works-with ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.works-with li { color: #d6d8ef; font-weight: 600; }

/* --- Sections --- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { text-wrap: balance; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; font-weight: 800; margin-bottom: 14px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 17px; text-wrap: pretty; }
.narrow { max-width: 820px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.f-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 18px; }
@media (prefers-color-scheme: dark) { .step-n { color: #0a0d24; } }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

.privacy { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.privacy .section-head { margin-bottom: 0; }
.privacy-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.privacy-list li { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.privacy-list .ico { width: 24px; height: 24px; color: var(--brand); margin-top: 2px; }
.privacy-list h3 { font-size: 16px; margin-bottom: 4px; }
.privacy-list p { color: var(--muted); font-size: 15px; }

/* Release timeline */
.releases { position: relative; margin: 0; padding: 0; list-style: none; }
.releases::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.releases > li { position: relative; padding: 0 0 32px 36px; }
.releases > li:last-child { padding-bottom: 0; }
.releases > li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--muted); box-sizing: border-box; }
.releases > li:first-child::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.release-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.release-head strong { font-size: 18px; }
.release-head span { color: var(--muted); font-size: 14px; }
.release-head .tag { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: #0d1030; }
.notes { margin-top: 10px; padding: 16px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.notes > :first-child { margin-top: 0; }
.notes > :last-child { margin-bottom: 0; }
.notes h1, .notes h2, .notes h3 { font-size: 15px; margin: 12px 0 4px; }
.notes ul, .notes ol { padding-left: 20px; margin: 4px 0; }
.notes li + li { margin-top: 4px; }
.notes code { font-size: 13px; background: var(--bg-alt); padding: 1px 5px; border-radius: 4px; }
.notes a { color: var(--brand); }
.no-notes { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Closing CTA */
.cta { padding: 96px 0; color: var(--hero-text); text-align: center; background: radial-gradient(60% 90% at 50% 100%, rgba(40, 72, 255, 0.45), transparent 70%), var(--hero); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta img { border-radius: 16px; margin-bottom: 24px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 12px; }
.cta p { color: var(--hero-muted); margin-bottom: 28px; }
.btn-light { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; background: #fff; color: #0d1030; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(40, 72, 255, 0.35); }

.footer { background: var(--hero); color: #7d82a3; font-size: 14px; border-top: 1px solid var(--hero-line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand.small { font-size: 14px; font-weight: 600; color: var(--hero-text); gap: 8px; }
.brand.small img { border-radius: 5px; }

/* --- Responsive --- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: clamp(34px, 6.4vw, 56px); }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .privacy { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
  .nav-cta { display: none; }
  .btn-primary { font-size: 16px; padding: 14px 12px; gap: 10px; }
  .nav-inner { gap: 12px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: min(36px, 8.8vw); }
  .stage { aspect-ratio: 16 / 11.6; }
  .lede { font-size: 16px; }
  .features, .steps { grid-template-columns: 1fr; }
  .section, .cta { padding: 64px 0; }
  .works-with { margin-top: 44px; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .live, .talk i { animation: none; }
  .feature, .btn-primary { transition: none; }
}
