/* Saetta website.
   Layout: the hero is a live copy window; below it the measured race against File
   Explorer, how to use it, the robocopy engine, then free versus Professional. Night
   blue with the logo's crystal violet and cyan, frosted glass as in the app. Motion is
   kept to what carries meaning: the copy window, the race, the small drawings that
   explain robocopy, the keys being pressed, hover states. */

:root {
  --bg: #0a0d18;
  --bg-deep: #070910;
  --surface: rgba(24, 29, 48, 0.58);
  --surface-strong: rgba(30, 36, 60, 0.84);
  --surface-hover: rgba(36, 43, 70, 0.66);
  --line: rgba(196, 206, 255, 0.10);
  --line-strong: rgba(196, 206, 255, 0.18);
  --fg: #eef1fb;
  --muted: #a6aec6;
  --faint: #767f9b;
  --violet: #9b8cff;
  --cyan: #5fd9ff;
  --accent: #a9b8ff;
  --accent-ink: #0b0f22;
  --spark: #7fe3ff;
  --ok: #56d39b;
  --warn: #f2b45a;
  --explorer: #8b93ad;
  --well: rgba(7, 9, 16, 0.42);
  --aurora-1: rgba(122, 92, 255, 0.28);
  --aurora-2: rgba(32, 196, 214, 0.18);
  --aurora-3: rgba(76, 112, 255, 0.20);
  --shadow: 0 24px 60px -26px rgba(0, 0, 0, 0.7);
  --key-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.8);
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", Manrope, system-ui, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", Manrope, system-ui, sans-serif;
  --font-data: "Cascadia Mono", "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius-l: 22px;
  --radius-m: 16px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f3f5fb; --bg-deep: #e7eaf5; --surface: rgba(255,255,255,0.72); --surface-strong: rgba(255,255,255,0.92);
    --surface-hover: rgba(255,255,255,0.95); --line: rgba(40,52,110,0.10); --line-strong: rgba(40,52,110,0.18);
    --fg: #121728; --muted: #4a536d; --faint: #69728d; --violet: #5a45dd; --cyan: #0a7eae; --accent: #3a50d4;
    --accent-ink: #ffffff; --spark: #0a7aa8; --ok: #1a8655; --warn: #a96500; --explorer: #8a90a6; --well: rgba(231, 234, 245, 0.7);
    --aurora-1: rgba(122,92,255,0.14); --aurora-2: rgba(32,196,214,0.10); --aurora-3: rgba(76,112,255,0.10);
    --shadow: 0 24px 60px -30px rgba(30,40,90,0.32); --key-shadow: 0 8px 16px -10px rgba(30,40,90,0.45); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f3f5fb; --bg-deep: #e7eaf5; --surface: rgba(255,255,255,0.72); --surface-strong: rgba(255,255,255,0.92);
  --surface-hover: rgba(255,255,255,0.95); --line: rgba(40,52,110,0.10); --line-strong: rgba(40,52,110,0.18);
  --fg: #121728; --muted: #4a536d; --faint: #69728d; --violet: #5a45dd; --cyan: #0a7eae; --accent: #3a50d4;
  --accent-ink: #ffffff; --spark: #0a7aa8; --ok: #1a8655; --warn: #a96500; --explorer: #8a90a6; --well: rgba(231, 234, 245, 0.7);
  --aurora-1: rgba(122,92,255,0.14); --aurora-2: rgba(32,196,214,0.10); --aurora-3: rgba(76,112,255,0.10);
  --shadow: 0 24px 60px -30px rgba(30,40,90,0.32); --key-shadow: 0 8px 16px -10px rgba(30,40,90,0.45); color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.grad { background: linear-gradient(100deg, var(--fg) 5%, var(--accent) 45%, var(--cyan) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Background: the app's aurora, still. */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, var(--bg) 0%, var(--bg-deep) 100%); }
.sky i { position: absolute; border-radius: 50%; filter: blur(90px); }
.sky i:nth-child(1) { width: 52vw; height: 52vw; left: -10vw; top: -16vw; background: var(--aurora-1); }
.sky i:nth-child(2) { width: 44vw; height: 44vw; right: -12vw; top: 8vh; background: var(--aurora-2); }
.sky i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; top: 70vh; background: var(--aurora-3); }

/* Frosted glass, with Fluent's reveal: the border lights up under the pointer. */
.glass {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow);
}
.reveal::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, -300px) var(--my, -300px), var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease;
}
.reveal:hover::before { opacity: 0.7; }

/* A sunken panel inside a card, where the drawings live. */
.well { border-radius: 14px; background: var(--well); border: 1px solid var(--line); }

/* Sections settle into place once as they are reached; visible throughout. */
.rise { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.rise.below { transform: translateY(16px); }
/* Drawings rest while they are off screen. */
.paused, .paused *, .paused *::after { animation-play-state: paused !important; }

/* ---------------- Navigation ---------------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-block: 12px; }
.nav .bar {
  display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 16px;
  background: var(--surface-strong); border: 1px solid var(--line); border-radius: 16px;
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--font-display); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.links { display: flex; gap: 2px; margin-left: 8px; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s; }
.links a:hover { color: var(--fg); background: var(--surface-hover); }
.nav .tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.chip-btn {
  font: 600 13px/1 var(--font-body); color: var(--muted); background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 9px 11px; cursor: pointer; transition: color .15s, border-color .15s; min-height: 38px; min-width: 40px;
}
.chip-btn:hover { color: var(--fg); border-color: var(--accent); }
a.chip-btn { display: inline-flex; align-items: center; text-decoration: none; }
.chip-btn svg { width: 16px; height: 16px; display: block; margin: auto; }
/* The language picker: a chip with a small arrow; its list follows the page's color-scheme. */
select.chip-btn {
  appearance: none; -webkit-appearance: none; padding-right: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%238a90a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center / 12px;
}
select.chip-btn option { color: var(--fg); background: var(--bg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: 12px; font: 600 16px/1.1 var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--cyan) 55%, var(--accent)));
  box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--cyan) 65%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--cyan) 75%, transparent); }
.btn-ghost { color: var(--fg); background: var(--surface); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); }
.nav .btn { min-height: 40px; padding: 9px 16px; font-size: 15px; }

/* ---------------- Hero ---------------- */
.hero { padding-block: 40px 24px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.02; font-weight: 700; margin-top: 16px; letter-spacing: -0.03em; }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 33em; }
.hero .lead strong { color: var(--fg); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* The copy window, as the app draws it. The Explorer menu hangs from its bottom-right
   corner, below the figures and beside the short file name, so no text is covered. */
.stage { position: relative; min-width: 0; margin-bottom: 124px; }
.win { padding: 0; overflow: hidden; border-radius: 16px; }
.win .titlebar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 13px; color: var(--muted); }
.win .titlebar img { width: 16px; height: 16px; }
.win .titlebar .caps { margin-left: auto; display: flex; gap: 18px; color: var(--faint); }
.win .titlebar .caps svg { width: 11px; height: 11px; }
.job { margin: 0 14px 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.job .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.job .what { font-weight: 600; font-size: 16px; }
.job .state { font-size: 13px; font-weight: 600; color: var(--cyan); }
.job .state.done { color: var(--ok); }
.job .state.check { color: var(--violet); }
.route { margin-top: 6px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.route b { color: var(--fg); font-weight: 500; }
.route svg { width: 14px; height: 14px; color: var(--faint); }
.bigrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; }
.pct { font: 700 46px/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pct small { font-size: 20px; color: var(--muted); margin-left: 2px; }
.speed { text-align: right; }
.speed .v { font: 600 22px/1.1 var(--font-data); color: var(--spark); font-variant-numeric: tabular-nums; }
.speed .l { font-size: 12px; color: var(--faint); }
.graph { margin-top: 12px; height: 92px; border-radius: 10px; background: color-mix(in srgb, var(--bg-deep) 55%, transparent); border: 1px solid var(--line); overflow: hidden; }
.graph svg { width: 100%; height: 100%; display: block; }
.meter { margin-top: 14px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.meter.check i { background: linear-gradient(90deg, var(--violet), var(--accent)); }
.stats { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 13px; }
.stats div { min-width: 0; }
.stats .k { color: var(--faint); font-size: 12px; }
.stats .v { font-family: var(--font-data); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.current { margin-top: 12px; min-height: 18px; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-data); }
.current.ok { color: var(--ok); font-family: var(--font-body); font-weight: 600; }

/* File Explorer's menu, with Saetta's entries in it. */
.menu { position: absolute; right: 18px; top: calc(100% - 56px); width: 214px; padding: 6px; font-size: 13px; border-radius: 12px; }
.menu .row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--muted); }
.menu .row svg { width: 16px; height: 16px; flex: none; }
.menu .row.on { background: var(--surface-hover); color: var(--fg); }
.menu .row .kbd { margin-left: auto; font-family: var(--font-data); font-size: 11px; color: var(--faint); }
.menu .sep { height: 1px; background: var(--line); margin: 4px 6px; }

/* ---------------- Sections ---------------- */
section { padding-block: 104px 0; }
.sec-head { max-width: 780px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 700; margin-top: 12px; letter-spacing: -0.025em; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 42em; }

/* Benchmarks: one card per operation, each with its own time scale. */
.bench-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legend { display: flex; gap: 18px; font-size: 14px; color: var(--muted); flex-wrap: wrap; margin-top: 20px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 8px; border-radius: 4px; display: inline-block; }
.legend .ex { background: var(--explorer); }
.legend .sa { background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.bench { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { padding: 30px; display: grid; gap: 20px; align-content: start; }
.case h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.case .sub { font-size: 14.5px; color: var(--faint); margin-top: 4px; }
.case .result { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.case .result .big { font: 700 54px/0.95 var(--font-display); letter-spacing: -0.035em; }
.case .result .what { font-size: 16px; color: var(--muted); }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; gap: 7px; }
.bar-row .top { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.bar-row .who { color: var(--muted); }
.bar-row .t { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.bar-row.sa .t { color: var(--fg); font-weight: 600; }
.track { height: 12px; border-radius: 99px; background: color-mix(in srgb, var(--line) 80%, transparent); overflow: hidden; }
.fill { height: 100%; border-radius: inherit; width: var(--w); }
.bar-row.ex .fill { background: var(--explorer); opacity: .75; }
.bar-row.sa .fill { background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.axis { display: flex; justify-content: space-between; font: 500 12px/1 var(--font-data); color: var(--faint); border-top: 1px dashed var(--line-strong); padding-top: 8px; }
.rates { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.rates div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; }
.rates dt { color: var(--muted); }
.rates dd { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-data); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rates .ex { color: var(--faint); }
.rates svg { width: 14px; height: 14px; color: var(--faint); align-self: center; }
.rates b { color: var(--fg); font-weight: 600; }
/* Charts from the measurements: speed-up by file size, and disk speed through one copy. */
.charts { margin-top: 20px; display: grid; gap: 20px; }
.chart { margin: 0; padding: 32px; display: grid; gap: 26px; align-content: start; }
.chart figcaption { max-width: 820px; }
.chart h3 { font-size: 20px; letter-spacing: -0.01em; }
.chart .sub { margin-top: 6px; font-size: 14.5px; color: var(--faint); }
.chart .legend { margin-top: 14px; }
.srows { display: grid; gap: 16px; }
.srow { display: grid; grid-template-columns: 210px minmax(0, 1fr) 72px; gap: 18px; align-items: center; }
.slabel b { display: block; font: 600 15px/1.3 var(--font-body); }
.slabel small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.3; color: var(--faint); }
.strack { height: 12px; border-radius: 99px; background: color-mix(in srgb, var(--line) 80%, transparent); overflow: hidden; }
.strack i { display: block; height: 100%; width: var(--to); border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--cyan)); transform-origin: left; }
.srows:not(.grown) .strack i { transform: scaleX(0); }
.srows.grown .strack i { transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.srows.grown .srow:nth-child(2) i { transition-delay: .08s; }
.srows.grown .srow:nth-child(3) i { transition-delay: .16s; }
.srows.grown .srow:nth-child(4) i { transition-delay: .24s; }
.srows.grown .srow:nth-child(5) i { transition-delay: .32s; }
.srows.grown .srow:nth-child(6) i { transition-delay: .40s; }
.stimes { margin-top: 6px; font: 500 12px/1.3 var(--font-data); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stimes span { white-space: nowrap; }
.sval { font: 700 23px/1 var(--font-display); letter-spacing: -0.02em; text-align: right; }
.plot { display: grid; grid-template-columns: 70px minmax(0, 1fr); grid-template-rows: 300px auto; }
.ylabels { position: relative; }
.ylabels span { position: absolute; right: 12px; transform: translateY(-50%); font: 500 11.5px/1 var(--font-data); color: var(--faint); white-space: nowrap; }
.canvas { position: relative; border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.canvas .grid line { stroke: var(--line-strong); stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.canvas .ex-line { fill: none; stroke: var(--explorer); stroke-width: 2; }
.canvas .sa-line { fill: none; stroke: url(#saLine); stroke-width: 2.5; }
.canvas .sa-area { fill: url(#saFill); }
.end { position: absolute; top: 0; bottom: 0; width: 0; opacity: 0; transition: opacity .4s ease; }
.end.shown { opacity: 1; }
.end i { position: absolute; top: 0; bottom: 0; left: 0; border-left: 1px dashed currentColor; }
.end span { position: absolute; left: 8px; white-space: nowrap; font-size: 12.5px; color: var(--muted); padding: 4px 9px; border-radius: 8px; background: var(--surface-strong); border: 1px solid var(--line); }
.end b { font-weight: 600; color: var(--fg); margin-right: 4px; }
.end.sa { color: var(--cyan); }
.end.sa span { top: 6px; }
.end.ex { color: var(--explorer); }
.end.ex span { top: 44px; left: auto; right: 8px; }
.xlabels { grid-column: 2; position: relative; height: 26px; }
.xlabels span { position: absolute; top: 8px; transform: translateX(-50%); font: 500 11.5px/1 var(--font-data); color: var(--faint); white-space: nowrap; }
.method { margin-top: 20px; padding: 22px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; border-radius: var(--radius-m); }
.method svg { width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }
.method h3 { font-size: 17px; font-weight: 600; }
.method ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; display: grid; gap: 4px; }

/* ---------------- How to use: the three steps carry the section ---------------- */
.steps { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding: 30px; display: grid; gap: 24px; align-content: start; }
.step .visual { height: 156px; display: grid; place-items: center; align-content: center; gap: 18px; padding: 18px; }
.step .title { display: flex; align-items: center; gap: 14px; }
.step .n {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font: 700 17px/1 var(--font-display); color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--cyan));
}
.step h3 { font-size: 25px; letter-spacing: -0.02em; }
.step p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.keys { display: flex; align-items: center; gap: 12px; color: var(--faint); font: 600 22px/1 var(--font-body); }
.kbd2 {
  display: inline-grid; place-items: center; min-width: 66px; height: 60px; padding: 0 18px; border-radius: 13px;
  font: 600 21px/1 var(--font-body); color: var(--fg); background: var(--surface-strong);
  border: 1px solid var(--line-strong); box-shadow: inset 0 -4px 0 var(--line-strong), var(--key-shadow);
}
.kbd2.hit { animation: press 4.5s ease-in-out infinite; }
@keyframes press {
  0%, 8%, 100% { transform: none; box-shadow: inset 0 -4px 0 var(--line-strong), var(--key-shadow); }
  4% { transform: translateY(3px); box-shadow: inset 0 -1px 0 var(--line-strong), 0 2px 6px -4px rgba(0,0,0,.6); border-color: var(--accent); }
}
.store-tile { display: flex; align-items: center; gap: 14px; font: 600 19px/1.2 var(--font-display); }
.store-tile .ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--cyan)); box-shadow: var(--key-shadow); }
.store-tile .ic svg { width: 30px; height: 30px; }
.store-tile small { display: block; font: 500 13.5px/1.3 var(--font-body); color: var(--faint); }
.mini { width: min(220px, 80%); height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.mini i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--cyan)); transform-origin: left; animation: mini 4.5s ease-in-out infinite; }
@keyframes mini { 0%, 6% { transform: scaleX(0); opacity: 1; } 62%, 90% { transform: scaleX(1); opacity: 1; } 98% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }

/* ---------------- The robocopy engine, told plainly ---------------- */
.ideas { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.idea { padding: 28px; display: grid; gap: 22px; align-content: start; }
.idea h3 { font-size: 21px; letter-spacing: -0.015em; }
.idea p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.idea .well { height: 168px; padding: 20px; display: grid; align-content: center; gap: 16px; overflow: hidden; }
.ill-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); margin-bottom: 7px; }
.ill-label b { font-weight: 600; color: var(--muted); }

/* One file after another, or several at once. */
.pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pills i { position: relative; height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.pills i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transform-origin: left; animation: 6s linear infinite; }
.pills.ex i::after { background: var(--explorer); }
.pills.ex i:nth-child(1)::after { animation-name: q1; }
.pills.ex i:nth-child(2)::after { animation-name: q2; }
.pills.ex i:nth-child(3)::after { animation-name: q3; }
.pills.ex i:nth-child(4)::after { animation-name: q4; }
.pills.sa i::after { background: linear-gradient(90deg, var(--violet), var(--cyan)); animation-name: qp; animation-timing-function: ease-out; }
.pills.sa i:nth-child(2)::after { animation-duration: 6s; animation-name: qp2; }
.pills.sa i:nth-child(4)::after { animation-name: qp2; }
@keyframes q1 { 0% { transform: scaleX(0); opacity: 1; } 20%, 92% { transform: scaleX(1); opacity: 1; } 99% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes q2 { 0%, 20% { transform: scaleX(0); opacity: 1; } 40%, 92% { transform: scaleX(1); opacity: 1; } 99% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes q3 { 0%, 40% { transform: scaleX(0); opacity: 1; } 60%, 92% { transform: scaleX(1); opacity: 1; } 99% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes q4 { 0%, 60% { transform: scaleX(0); opacity: 1; } 80%, 92% { transform: scaleX(1); opacity: 1; } 99% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes qp { 0% { transform: scaleX(0); opacity: 1; } 22%, 92% { transform: scaleX(1); opacity: 1; } 99% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes qp2 { 0% { transform: scaleX(0); opacity: 1; } 26%, 92% { transform: scaleX(1); opacity: 1; } 99% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }

/* A locked file is tried again, then set aside; the others go on. */
.files { display: grid; gap: 8px; font-size: 13px; }
.files .f { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.files .f > svg { width: 16px; height: 16px; color: var(--faint); }
.files .nm { font-family: var(--font-data); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.files .st { display: grid; justify-items: end; font-size: 12.5px; font-weight: 600; }
.files .st > * { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; animation: 6s linear infinite; }
.files .st svg { width: 15px; height: 15px; }
.files .ok { color: var(--ok); }
.files .warn { color: var(--warn); }
.files .retry { color: var(--faint); font-weight: 500; opacity: 0; }
.files .f:nth-child(1) .ok { animation-name: a1; }
.files .f:nth-child(2) .retry { animation-name: r2; }
.files .f:nth-child(2) .warn { animation-name: a2; }
.files .f:nth-child(3) .ok { animation-name: a3; }
.files .f:nth-child(4) .ok { animation-name: a4; }
@keyframes a1 { 0%, 8% { opacity: 0; } 13%, 92% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes r2 { 0%, 13% { opacity: 0; } 17%, 34% { opacity: 1; } 37%, 100% { opacity: 0; } }
@keyframes a2 { 0%, 36% { opacity: 0; } 40%, 92% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes a3 { 0%, 50% { opacity: 0; } 55%, 92% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes a4 { 0%, 64% { opacity: 0; } 69%, 92% { opacity: 1; } 99%, 100% { opacity: 0; } }

/* Large files go straight to the drive; Windows' memory is left alone. */
.direct { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.direct .node { display: grid; justify-items: center; gap: 7px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.25; }
.direct .node .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--cyan) 12%, transparent); color: var(--cyan); }
.direct .node .ic svg { width: 22px; height: 22px; }
.direct .node small { color: var(--faint); }
.direct .road { position: relative; height: 92px; }
.direct .detour { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.direct .detour path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 5; }
.direct .cache { position: absolute; left: 50%; top: 0; transform: translateX(-50%); padding: 5px 9px; border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--surface-strong); font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.direct .line { position: absolute; left: 0; right: 0; top: 62px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 30%, transparent), var(--cyan)); }
.direct .dot { position: absolute; top: 57px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 18%, transparent); animation: travel 2.8s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }


/* Features: free and Professional side by side. */
.tiers { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.tier { padding: 34px; }
.tier .label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier h3 { font-size: 25px; }
.badge { font: 700 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; white-space: nowrap; }
.badge.free { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.badge.pro { color: var(--accent-ink); background: linear-gradient(120deg, var(--accent), var(--cyan)); }
.tier .intro { margin-top: 8px; color: var(--muted); font-size: 16px; }
.feat { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px; }
.feat li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 13px 10px; border-radius: 12px; transition: background .2s; }
.feat li:hover { background: var(--surface-hover); }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.tier.pro .feat .ic { background: color-mix(in srgb, var(--cyan) 14%, transparent); color: var(--cyan); }
.feat .ic svg { width: 20px; height: 20px; }
.feat b { display: block; font-weight: 600; font-size: 17px; }
.feat span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 3px; line-height: 1.55; }
.tier.pro, .price.pro { border-color: color-mix(in srgb, var(--cyan) 30%, var(--line)); }

/* Prices: what it costs; what it includes is listed above. */
.prices { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.price { padding: 36px; display: grid; gap: 12px; align-content: start; }
.price .kind { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price h3 { font-size: 24px; }
.price .amount { font: 700 58px/1 var(--font-display); letter-spacing: -0.035em; margin-top: 6px; }
.price .per { font-size: 15.5px; color: var(--muted); }
.price p { color: var(--muted); font-size: 16.5px; max-width: 34em; }
.price .btn { justify-self: start; margin-top: 10px; }
.price.pro { background: linear-gradient(160deg, color-mix(in srgb, var(--violet) 12%, var(--surface)), var(--surface)); }
.note { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* FAQ. */
.faq { margin-top: 30px; display: grid; gap: 12px; max-width: 940px; }
.faq details { border-radius: var(--radius-m); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; color: var(--muted); font-size: 16.5px; max-width: 72ch; }

/* Closing call. */
.final { margin-block: 104px 40px; padding: 52px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; overflow: hidden; }
.final h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.final p { margin-top: 12px; color: var(--muted); font-size: 18px; }
.final .bolt { width: 160px; filter: drop-shadow(0 0 30px rgba(95,217,255,.35)); }
.reqs { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.reqs span { font-size: 13px; color: var(--muted); padding: 7px 11px; border-radius: 99px; border: 1px solid var(--line-strong); }

footer { padding-block: 28px 44px; color: var(--faint); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ---------------- Narrow screens ---------------- */
@media (max-width: 1120px) {
  .bench, .ideas { grid-template-columns: minmax(0, 1fr); }
  .idea { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 32px; }
  .links { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .tiers, .prices { grid-template-columns: minmax(0, 1fr); }
  .final { grid-template-columns: minmax(0, 1fr); padding: 32px; }
  .final .bolt { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .case, .tier, .price, .step, .idea { padding: 22px; }
  .step, .idea { grid-template-columns: minmax(0, 1fr); }
  .step .visual { height: 136px; }
  .chart { padding: 22px; }
  .srow { grid-template-columns: minmax(0, 1fr) 50px; gap: 6px 12px; }
  .slabel { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
  .slabel small { margin-top: 0; }
  .stimes { white-space: normal; }
  .sval { font-size: 19px; }
  .plot { grid-template-columns: 58px minmax(0, 1fr); grid-template-rows: 200px auto; }
  .nav .btn span { display: none; }
  .menu { display: none; }
  .stage { margin-bottom: 0; }
  section { padding-block: 72px 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:last-child { display: none; }
  .method { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rise.below { transform: none; }
  .files .retry { display: none; }
}

/* Text pages (privacy, licences). */
.doc { margin-block: 40px 20px; padding: 44px; max-width: 860px; margin-inline: auto; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin-top: 12px; }
.doc .meta { margin-top: 10px; color: var(--faint); font-size: 14px; }
.doc h2 { font-size: 21px; margin-top: 34px; }
.doc p, .doc li { color: var(--muted); font-size: 16.5px; }
.doc p { margin-top: 12px; }
.doc ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 4px; }
.doc .key { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--well); border: 1px solid var(--line); color: var(--fg); }
.doc a { color: var(--accent); }
@media (max-width: 720px) { .doc { padding: 24px; margin-top: 20px; } }
