:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --metal-1: #e9ecef;
  --metal-2: #d5d9de;
  --line: #dde1e6;
  --text: #1b1f24;
  --text-2: #5b6470;
  --accent: #3d6a8a;
  --accent-2: #2f5672;
  --accent-text: #ffffff;
  --ok: #2f7d5b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px rgba(16, 24, 40, 0.08);
  --sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111316;
    --surface: #181b1f;
    --metal-1: #23272c;
    --metal-2: #2e333a;
    --line: #2b3036;
    --text: #e6e8eb;
    --text-2: #9aa3ad;
    --accent: #6a9cc0;
    --accent-2: #86b2d2;
    --accent-text: #0d1115;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
.muted, .fine { color: var(--text-2); }
.fine { font-size: 14px; }

.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 85%, transparent); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
.nav nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }
.nav .gh { color: var(--text); font-weight: 600; }

.hero { background: radial-gradient(1200px 500px at 70% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent), linear-gradient(180deg, var(--metal-1), var(--bg)); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 600; color: var(--accent); }
.lead { font-size: 19px; color: var(--text-2); max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--metal-1)); color: var(--text); font-weight: 600; text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-color: transparent; color: var(--accent-text); box-shadow: var(--shadow); }
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.trust li { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); }
.hero-shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

section { padding: 72px 0 0; }
.section-lead { color: var(--text-2); font-size: 18px; max-width: 46em; margin-bottom: 32px; }

.steps ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--text-2); margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; margin: 0 0 56px; }
.feature.flip > div { order: 2; }
.feature p { color: var(--text-2); font-size: 17px; }
.feature img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--text-2); margin: 0; }
.link-card { text-decoration: none; color: var(--text); transition: border-color 0.15s ease, transform 0.15s ease; }
.link-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.engine-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.engine-list li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.tile { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--c); color: #fff; font-size: 13px; font-weight: 700; flex: none; }

.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-grid > *, .grid > *, .steps li { min-width: 0; }
.dl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dl-card.current { border-color: var(--accent); box-shadow: var(--shadow); }
.dl-card .link { font-size: 15px; }
.dl-card pre { width: 100%; margin: 0; background: var(--metal-1); border-radius: 10px; padding: 12px; overflow-x: auto; font: 13px/1.5 var(--mono); }
#sign-note { margin-top: 20px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--text-2); margin: 12px 0 0; }

.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 28px 0; color: var(--text-2); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--text-2); }

@media (max-width: 900px) {
  .hero-inner, .feature { grid-template-columns: 1fr; }
  .feature.flip > div { order: 0; }
  .steps ol, .grid, .dl-grid { grid-template-columns: 1fr; }
  .engine-list { grid-template-columns: repeat(2, 1fr); }
  .nav nav a:not(.gh) { display: none; }
}

/* Signing notes: <html data-windows-signing> picks which [data-signing-when] variant shows. */
html:not([data-windows-signing="signpath"]) [data-signing-when="signpath"],
html[data-windows-signing="signpath"] [data-signing-when="off"] { display: none; }
