@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-semibold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-bold.woff") format("woff"); }

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --ink: #0F2A56;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --blue: #0B66EE;
  --blue-hover: #0A57CC;
  --blue-soft: #E4EEFF;
  --cyan: #22D3EE;
  --card: #FFFFFF;
  --band: #0F2A56;
  --band-text: #C9D6EA;
  --shadow: 0 1px 2px rgba(15, 42, 86, .06), 0 12px 32px -12px rgba(15, 42, 86, .22);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220;
    --bg-alt: #0F1A2E;
    --ink: #F1F5FB;
    --text: #C3CEDD;
    --muted: #8A9AB2;
    --line: #1E2B44;
    --blue: #4C9BFF;
    --blue-hover: #6AADFF;
    --blue-soft: #14284A;
    --card: #111C31;
    --band: #08101E;
    --band-text: #A9B8CE;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
  .on-light { display: none !important; }
}
@media (prefers-color-scheme: light) { .on-dark { display: none !important; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
b { color: var(--ink); font-weight: 600; }
code {
  font: 500 .88em/1.4 ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
  background: var(--blue-soft); color: var(--ink); padding: .12em .4em; border-radius: 6px;
  overflow-wrap: anywhere;
}
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; font-weight: 700; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { color: var(--text); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  font: 600 13px/1 "Inter", system-ui, sans-serif; letter-spacing: .02em;
  border: 0; background: none; color: var(--muted); padding: 6px 11px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 42, 86, .15); }
.gh { color: var(--ink); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.gh:hover { background: var(--bg-alt); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 "Inter", system-ui, sans-serif; padding: 14px 22px; border-radius: 12px;
  border: 1px solid var(--line); color: var(--ink); background: var(--card);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
@media (prefers-color-scheme: dark) { .btn.primary { color: #06101F; } }

/* hero */
.hero { padding: 76px 0 64px; overflow: hidden;
  background: radial-gradient(700px 500px at 90% 50%, var(--blue-soft), transparent 80%); }
.hero-copy { max-width: 760px; margin: 0 auto; text-align: center; animation: arrive .5s ease-out both; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: .01em; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -.04em; max-width: 18ch; margin: 0 auto; }
.lede { font-size: 18px; max-width: 590px; margin: 22px auto 0; color: var(--text); }
.cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.fineprint { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* why */
.why { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.why-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 48px; padding-top: 20px; padding-bottom: 20px; }
.why p { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.why p::before { content: "✓"; color: var(--blue); margin-right: 8px; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-lede { margin: 12px 0 0; font-size: 18px; color: var(--muted); max-width: 620px; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; padding-top: 4px; }
.steps li + li::before {
  content: ""; position: absolute; top: 22px; left: -28px; width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--line), var(--cyan));
}
.num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 17px;
}
.steps p { margin: 8px 0 0; font-size: 16px; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.split-text p { margin: 16px 0 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 16px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B66EE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.product-preview { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.preview-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.preview-tabs button { flex: 1; padding: 10px 6px; font: 600 13px/1.3 "Inter", sans-serif; border: 0; border-radius: 9px; color: var(--muted); background: transparent; }
.preview-tabs button[aria-pressed="true"] { color: var(--blue); background: var(--blue-soft); }
.preview-stage { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.preview-screen { margin: 0; height: 330px; display: flex; align-items: center; justify-content: center; overflow: hidden; animation: arrive .2s ease-out both; }
.preview-screen img { width: 100%; height: 100%; object-fit: contain; }
.preview-screen.is-phone { position: relative; align-items: flex-start; padding-top: 18px; }
.preview-screen.is-phone img { width: 230px; height: auto; max-width: 75%; border-radius: 18px 18px 0 0; border: 5px solid #24324D; border-bottom: 0; }
.preview-screen.is-phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--bg-alt)); pointer-events: none; }
.preview-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding: 12px 4px 2px; font-size: 12px; color: var(--muted); }
.preview-caption a { font-weight: 600; }
.screenshot-dialog { width: min(1120px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0 18px 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--card); }
.screenshot-dialog::backdrop { background: #041127CC; backdrop-filter: blur(6px); }
.dialog-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); padding: 16px 0; }
.dialog-top h2 { font-size: 18px; }
.dialog-close { border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; font: 600 14px/1.2 "Inter", sans-serif; background: var(--bg-alt); color: var(--ink); }
.screenshot-dialog > img { width: auto; margin: 0 auto; border-radius: 8px; }
body.previewing { overflow: hidden; }

.features { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature svg {
  width: 40px; height: 40px; padding: 9px; border-radius: 11px; margin-bottom: 16px;
  background: var(--blue-soft); fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.feature p { margin: 8px 0 0; font-size: 15.5px; }

/* security band */
.section.dark { background: var(--band); color: var(--band-text); }
.section.dark h2, .section.dark summary { color: #fff; }
.section.dark .section-lede { color: var(--band-text); }
.security-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.sec-list { min-width: 0; }
.sec-list details { border-color: #284267; }
.sec-list details:first-of-type { margin-top: 0; }
.sec-list summary::after { border-color: var(--cyan); }
.sec-list p { font-size: 15.5px; }
.sec-links { margin: 28px 0 0; display: flex; gap: 12px 28px; flex-wrap: wrap; font-size: 14px; }
.sec-links a { color: var(--cyan); font-weight: 600; }

/* download */
.downloads { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.dl-card p { margin: 6px 0 20px; font-size: 15.5px; color: var(--muted); flex: 1; }
.dl-card .btn { width: 100%; }
.sub-link { margin-top: 12px; font-size: 14.5px; font-weight: 500; align-self: center; }
.dl-notes { margin-top: 32px; display: grid; gap: 10px; font-size: 15.5px; max-width: 820px; }
.dl-notes p { margin: 0; }
.linux-setup { margin-top: 24px; max-width: 820px; }
.linux-setup pre { max-width: 100%; overflow-x: auto; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); font-size: 13px; }
.linux-setup pre code { padding: 0; background: none; color: var(--ink); overflow-wrap: normal; font: 400 13px/1.7 ui-monospace, "SF Mono", Consolas, monospace; }

/* faq */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 32px; border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { margin: 0 0 22px; font-size: 16px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 32px; font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand img { height: 28px; width: auto; }
.foot-brand p { margin: 12px 0 0; color: var(--muted); max-width: 380px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--text); font-weight: 500; }
.foot-note { margin-top: 28px; color: var(--muted); font-size: 13.5px; }

/* responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero h1 { font-size: 44px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .product-preview { width: 100%; max-width: 620px; margin: 0 auto; }
  .features, .downloads { grid-template-columns: 1fr 1fr; }
  .downloads .dl-card:last-child { grid-column: 1 / -1; }
  .downloads .dl-card:last-child p { margin-bottom: 0; }
  .security-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .hero { padding: 32px 0; }
  .hero-copy { text-align: left; }
  .hero h1 { margin-left: 0; }
  .cta { justify-content: flex-start; }
  .eyebrow { font-size: 12px; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(36px, 9.8vw, 48px); max-width: 17ch; }
  .lede { font-size: 16px; margin-top: 16px; }
  .cta { gap: 8px; margin-top: 22px; }
  .cta .btn { padding: 13px 14px; font-size: 14px; flex: 1 1 auto; }
  .fineprint { font-size: 12px; margin-top: 12px; }
  .why-grid { gap: 10px 16px; padding-top: 16px; padding-bottom: 16px; }
  .why p { font-size: 11px; }
  .why p::before { margin-right: 4px; }
  .section { padding: 48px 0; }
  h2 { font-size: 28px; }
  .section-lede { font-size: 16px; }
  .steps { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 0; }
  .steps .num { width: 36px; height: 36px; border-radius: 10px; margin: 0; grid-row: 1 / 3; }
  .steps h3 { font-size: 17px; }
  .steps p { font-size: 14px; margin-top: 6px; }
  .steps li + li::before { display: none; }
  .split { gap: 28px; }
  .split-text p { font-size: 15px; margin-top: 12px; }
  .ticks { font-size: 14px; gap: 6px; margin-top: 18px; }
  .preview-screen { height: 270px; }
  .preview-screen.is-phone img { width: 215px; }
  .preview-tabs button { font-size: 12px; }
  .features { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .feature { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 16px; }
  .feature svg { grid-row: 1 / 3; width: 36px; height: 36px; margin: 0; padding: 8px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 14px; margin-top: 5px; }
  .security-layout { grid-template-columns: 1fr; gap: 28px; }
  .sec-list summary { padding-top: 17px; padding-bottom: 17px; font-size: 16px; }
  .sec-list p { font-size: 14px; }
  .downloads { gap: 12px; margin-top: 28px; }
  .dl-card { padding: 16px; }
  .dl-card h3 { font-size: 17px; }
  .dl-card p { font-size: 13px; margin-bottom: 16px; }
  .dl-card .btn { padding: 12px 8px; font-size: 13px; }
  .sub-link { font-size: 12px; text-align: center; }
  .dl-notes { font-size: 14px; margin-top: 24px; }
  summary { font-size: 16px; padding-top: 17px; padding-bottom: 17px; }
  details p { font-size: 14px; }
  .linux-setup pre { padding: 12px; font-size: 12px; }
  .foot { padding-top: 32px; }
  .foot-in { gap: 24px; }
  .foot-links { gap: 14px 20px; font-size: 14px; }
  .foot-note { font-size: 12px; }
  .brand img { height: 30px; }
}
@media (max-width: 360px) { .hero h1 { font-size: 32px; } }
@media (hover: hover) {
  .feature { transition: border-color .2s, transform .2s; }
  .feature:hover { border-color: var(--blue); transform: translateY(-3px); }
  .btn:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .feature:hover, .btn:hover, .btn:active { transform: none; }
}
