:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-card: #ffffff;
  --text: #0f1424;
  --muted: #5b6478;
  --line: #e4e7ef;
  --accent: #3b6cf6;
  --accent-2: #8b5cf6;
  --accent-soft: #eef2ff;
  --code-bg: #f1f3f9;
  --shadow: 0 1px 2px rgba(15, 20, 36, 0.06), 0 24px 60px -20px rgba(15, 20, 36, 0.25);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e17;
    --bg-soft: #11151f;
    --bg-card: #151a26;
    --text: #e8ebf3;
    --muted: #98a1b6;
    --line: #232a3a;
    --accent: #6b92ff;
    --accent-2: #a78bfa;
    --accent-soft: #1a2240;
    --code-bg: #1a2030;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 30px 80px -24px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code, kbd {
  font: 0.88em "JetBrains Mono", ui-monospace, Consolas, monospace;
  background: var(--code-bg);
  border-radius: 6px;
  padding: 0.12em 0.4em;
  overflow-wrap: anywhere;
}
kbd { border: 1px solid var(--line); border-bottom-width: 2px; white-space: nowrap; }
pre { background: var(--code-bg); border-radius: 12px; padding: 16px 18px; overflow-x: auto; }
pre code { background: none; padding: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); text-decoration: none; }
.gh { display: inline-flex; align-items: center; gap: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 16px;
  border: 1px solid var(--line); color: var(--text); background: var(--bg-card);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(59, 108, 246, 0.5); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: none; }
.btn small { font-weight: 500; opacity: 0.8; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 40px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%) 30% 40% / 60% 80% no-repeat,
    radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 70%) 72% 30% / 55% 70% no-repeat;
  filter: blur(10px);
}
.pill {
  display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.035em;
  margin: 22px auto 18px; max-width: 900px; font-weight: 800;
}
.gradient-text {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.platforms { margin-top: 16px; color: var(--muted); font-size: 14px; }
.shot {
  margin: 60px auto 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-card);
}
.shot.window::before {
  content: ""; display: block; height: 34px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle, #ff5f57 5px, transparent 6px) 16px 50% / 20px 20px no-repeat,
    radial-gradient(circle, #febc2e 5px, transparent 6px) 36px 50% / 20px 20px no-repeat,
    radial-gradient(circle, #28c840 5px, transparent 6px) 56px 50% / 20px 20px no-repeat,
    var(--bg-soft);
}

/* Sections */
section { padding: 96px 0; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.025em; line-height: 1.1; margin: 10px 0 16px; font-weight: 800; }
h3 { font-size: 21px; letter-spacing: -0.01em; margin: 0 0 8px; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent-2) 16%, transparent));
  color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }

.feature { display: grid; grid-template-columns: 1fr 1.45fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature.flip { grid-template-columns: 1.45fr 1fr; }
.feature.flip .feature-text { order: 2; }
.feature-text p { color: var(--muted); font-size: 17px; }
.feature-text ul { padding: 0; margin: 20px 0 0; list-style: none; }
.feature-text li { padding-left: 30px; position: relative; margin: 10px 0; }
.feature-text li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b6cf6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.feature .shot { margin: 0; }

.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download { text-align: center; padding: 32px 24px; }
.download.recommended { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.download svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--text); }
.download .files { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.download .files a { padding: 10px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.download .files a:hover { border-color: var(--accent); text-decoration: none; }
.download .files a small { display: block; color: var(--muted); font-weight: 400; }
.note { color: var(--muted); font-size: 14px; margin-top: 22px; }

.printers { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--bg-soft); }
tr:last-child td { border-bottom: none; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag.yes { background: #dcfce7; color: #166534; }
.tag.soon { background: #fef3c7; color: #92400e; }
@media (prefers-color-scheme: dark) {
  .tag.yes { background: #14321f; color: #86efac; }
  .tag.soon { background: #3a2a0c; color: #fcd34d; }
}

footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Guide */
.guide { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-top: 48px; padding-bottom: 80px; }
.toc { position: sticky; top: 88px; align-self: start; font-size: 15px; }
.toc p { font-weight: 700; margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.toc a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--muted); border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.toc a.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); }
.doc { min-width: 0; }
.doc h1 { font-size: 44px; letter-spacing: -0.03em; margin: 0 0 12px; }
.doc > p.lead { font-size: 19px; color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 30px; margin-top: 72px; padding-top: 8px; }
.doc h3 { margin-top: 32px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.doc .shot { margin: 28px 0; }
.doc table { margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 14px 18px; border-radius: 10px; margin: 22px 0; }
.callout p { margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin: 18px 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

@media (max-width: 900px) {
  .grid, .downloads { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-text { order: 0; }
  .guide { grid-template-columns: 1fr; }
  .toc { display: none; }
  .top nav .hide-sm { display: none; }
  section { padding: 68px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top nav { gap: 14px; }
  .hero { padding-top: 56px; }
}
