:root {
  --ink: #0f1b2d;
  --ink2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --alt: #f5f8fc;
  --brand: #1a66d2;
  --brand-dark: #1450a8;
  --brand-soft: #e8f0fc;
  --ok: #15803d;
  --warn: #b45309;
  --risk: #c62828;
  --c-win: #1d4ed8;
  --c-ntfs: #3b82f6;
  --c-efi: #7c3aed;
  --c-rec: #ea8a0b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px rgba(15, 27, 45, .07);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .9em; background: #eef2f7; padding: 1px 6px; border-radius: 5px; word-break: break-all; }
[hidden] { display: none !important; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(26, 102, 210, .3); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c3cfdd; background: #f8fafc; }
.btn-soft { background: var(--brand-soft); color: var(--brand-dark); }
.btn-soft:hover { background: #d9e7fb; }
.btn-soft small { font-weight: 400; color: #4d6a92; margin-left: 2px; }
.btn-lg small { font-weight: 400; opacity: .82; margin-left: 2px; }
.btn-link { background: none; color: var(--muted); }
.btn-link:hover { color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; }
.logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink2); font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #dfeafb 0%, transparent 60%), linear-gradient(#f7faff, #fff); padding: 64px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.hero .lead { font-size: 18px; color: var(--ink2); margin-top: 18px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 540px; }

/* demo window */
.demo { background: #fff; border: 1px solid #d7e0ec; border-radius: 16px; box-shadow: 0 30px 70px rgba(15, 27, 45, .14), 0 2px 6px rgba(15, 27, 45, .06); overflow: hidden; }
.demo-chrome { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: #f3f6fa; border-bottom: 1px solid #e3e9f1; }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4dbe5; }
.dots i:first-child { background: #f1a3a3; }
.dots i:nth-child(2) { background: #f3d08c; }
.dots i:nth-child(3) { background: #a9dbb4; }
.demo-title { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-body { padding: 20px; }
.demo-hint { font-size: 14px; color: var(--ink2); margin-bottom: 14px; min-height: 44px; }
.dmap { display: flex; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid #dbe3ed; background: #f3f5f8; }
.dseg { --g: 10; --c: var(--c-ntfs); position: relative; flex: var(--g) 1 0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 7px 8px; border-right: 2px solid #fff; background: color-mix(in srgb, var(--c) 8%, #fff); transition: flex-grow 1.1s cubic-bezier(.65, 0, .35, 1), background .3s; }
.dseg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: color-mix(in srgb, var(--c) 30%, #fff); }
.dseg .used { position: absolute; left: 0; top: 0; height: 10px; background: var(--c); z-index: 1; transition: width 1.1s; }
.dseg:last-child { border-right: 0; }
.dseg b { font-size: 13px; white-space: nowrap; }
.dseg span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.dseg.win { --c: var(--c-win); --g: 402.7; }
.dseg.efi { --c: var(--c-efi); --g: 22; }
.dseg.rec { --c: var(--c-rec); --g: 22; }
.dseg[data-k="d"] { --g: 200.7; }
.dseg[data-k="e"] { --g: 150.7; }
.dseg[data-k="f"] { --g: 150.9; }
.dseg.free { --g: 47.9; background: repeating-linear-gradient(135deg, #e2e7ee 0 6px, #f4f6f9 6px 12px); }
.dseg.free::before { display: none; }
.dseg.free.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: inset 0 0 0 2px #f59e0b; } }
.dseg.moving { background: color-mix(in srgb, #f59e0b 18%, #fff); }
.dseg.done-glow { box-shadow: inset 0 0 0 2px var(--ok); }
.demo-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.demo-run { margin-top: 16px; }
.demo-progress { height: 6px; background: #e6ebf2; border-radius: 3px; overflow: hidden; }
.demo-progress div { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #53a0f5); transition: width .35s; }
.dsteps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 5px; }
.dsteps li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.dsteps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; }
.dsteps li.run { color: var(--ink); font-weight: 600; }
.dsteps li.run::before { border-color: #c8d8f0; border-top-color: var(--brand); animation: spin .8s linear infinite; }
.dsteps li.done { color: var(--ink2); }
.dsteps li.done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/10px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-note { margin-top: 14px; font-size: 12px; color: #94a3b8; }

/* sections */
.section { padding: 76px 0; }
.section.alt { background: var(--alt); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2, .safety-grid h2, .download h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; }
.section-head p:not(.eyebrow) { color: var(--ink2); margin-top: 12px; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ficon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink2); font-size: 15px; }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.how-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }
.how h3 { font-size: 18px; margin-bottom: 6px; }
.how p { color: var(--ink2); font-size: 15px; }

.safety-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #e7f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.checks b { color: var(--ink); }
.limits { background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.limits h3 { font-size: 19px; }
.limits ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 9px; color: var(--ink2); font-size: 15px; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(26, 102, 210, .15); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.price h3 { font-size: 18px; }
.amount { font-size: 42px; font-weight: 800; margin-top: 8px; letter-spacing: -.02em; }
.amount small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: 14px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.price li { position: relative; padding-left: 26px; color: var(--ink2); font-size: 15px; }
.price li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a66d2' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat; }
.price em { color: var(--muted); font-style: normal; font-size: 13px; }

.download { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; background: linear-gradient(135deg, #0f2f63, #1a66d2); color: #fff; border-radius: 22px; padding: 44px; box-shadow: 0 30px 70px rgba(26, 102, 210, .25); }
.download .eyebrow { color: #a9c8f5; }
.release-line { color: #cfe0f8; font-size: 15px; margin: 14px 0 24px; }
.download .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.download .btn-primary:hover { background: #eaf2fd; }
.sha { margin-top: 16px; font-size: 13px; color: #a9c8f5; }
.sha code { background: rgba(255, 255, 255, .12); color: #e6efff; }
.alt-download { margin-top: 14px; font-size: 14px; color: #cfe0f8; }
.alt-download a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.alt-download code { background: rgba(255, 255, 255, .12); color: #e6efff; }
.release-missing { margin-top: 12px; background: rgba(255, 196, 0, .16); padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.release-missing code { background: rgba(255, 255, 255, .15); color: #fff; }
.download-side { display: grid; gap: 16px; align-content: start; }
.next { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 20px 22px; }
.next h3 { font-size: 16px; margin-bottom: 10px; }
.next ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #dce8fb; font-size: 15px; }
.next-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); color: #a9c8f5; font-size: 14px; }
.next.flash { animation: flash 1.2s ease-out 2; }
@keyframes flash { 40% { background: rgba(255, 255, 255, .28); } }

details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "−"; }
details p { color: var(--ink2); padding-bottom: 18px; }

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

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(15, 27, 45, .5); }
.modal-card { background: #fff; border-radius: 16px; padding: 28px; max-width: 440px; width: 100%; box-shadow: 0 30px 80px rgba(15, 27, 45, .3); }
.modal-card h3 { font-size: 20px; }
.modal-card p { color: var(--ink2); margin-top: 10px; }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero-grid, .safety-grid, .download { grid-template-columns: minmax(0, 1fr); }
  .features, .prices, .how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; }
  .features, .prices, .how { grid-template-columns: minmax(0, 1fr); }
  .download { padding: 28px 22px; }
  .section { padding: 56px 0; }
  .dseg span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dseg, .dseg .used, .demo-progress div { transition: none; }
}
