/* DiskSuds — website
   Palette, type and materials come from the app itself (Sources/DiskMacApp/Design.swift). */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --night: #070d1a;
  --bg: #0d1528;
  --surface: #17223a;
  --raised: #243752;
  --border: #30425e;
  --hairline: rgba(255, 255, 255, 0.08);
  --ink: #f0f6ff;
  --muted: #a7b7d0;
  --faint: #6f819e;
  --accent: #5fa9f6;
  --sky: #b2deff;
  --sky-2: #d2efff;
  --mint: #8ae2c6;
  --teal: #68c9b7;
  --peach: #e8b686;
  --rose: #e394bc;
  --danger: #ffacaf;
  --gold: #ffdd8d;
  --display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --text: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page: min(1180px, calc(100vw - 48px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: rgba(95, 169, 246, 0.35); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--sky); color: #0d1528; padding: 10px 14px; border-radius: 10px; }

/* ---------- Type ---------- */
.eyebrow {
  font: 600 13px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0 0 18px;
}
.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(42px, 6.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
}
.headline {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  margin: 0;
}
.title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
}
.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34em;
  margin: 22px 0 0;
}
.lede strong { color: var(--ink); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.gradient-ink {
  background: linear-gradient(100deg, #fff 0%, var(--sky-2) 40%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.page { width: var(--page); margin: 0 auto; }
section { position: relative; }
.chapter { padding: clamp(96px, 13vw, 168px) 0; }
.chapter + .chapter { padding-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 920px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 14px; border: 0;
  font: 600 16px/1 var(--text); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 200ms, box-shadow 200ms, opacity 200ms;
}
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn-primary {
  color: #10304e;
  background: linear-gradient(90deg, var(--sky-2), #aad4fc);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 30px -10px rgba(122, 190, 255, 0.55);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 36px -10px rgba(122, 190, 255, 0.75); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }
.btn-small { --h: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn[disabled] { opacity: 0.45; cursor: default; }
.btn .arrow { transition: transform 200ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(7, 13, 26, 0.55);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms, background-color 300ms;
}
.nav.scrolled { border-color: var(--hairline); background: rgba(7, 13, 26, 0.75); }
.nav-inner { width: var(--page); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color 160ms; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 520px) { .nav-cta .btn-ghost { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 124px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120vh; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(95, 169, 246, 0.22), transparent 70%),
    radial-gradient(40% 40% at 85% 20%, rgba(138, 226, 198, 0.08), transparent 70%);
}
.hero-icon { width: 84px; height: 84px; margin: 0 auto 22px; filter: drop-shadow(0 24px 40px rgba(40, 110, 220, 0.45)); }
.hero .lede { margin-left: auto; margin-right: auto; text-align: center; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--faint); }
.hero-meta span + span::before { content: "·"; margin: 0 10px; color: var(--border); }

/* ---------- App window (the product, rendered live) ---------- */
.stage { margin: 56px auto 0; width: min(1120px, calc(100vw - 32px)); perspective: 1800px; }
.window {
  position: relative; display: grid; grid-template-columns: 208px 1fr; min-height: 600px;
  border-radius: 18px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, #0f1a30, #0b1426);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 50px 120px -30px rgba(0, 0, 0, 0.75),
    0 30px 80px -40px rgba(40, 110, 220, 0.45);
}
.window::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.lights { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 2; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.sidebar {
  padding: 52px 12px 16px;
  background: linear-gradient(160deg, #17283f, #0c1425 55%, #142039);
  border-right: 1px solid var(--border);
}
.side-brand { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 16px; }
.side-brand img { width: 58px; height: 58px; }
.side-brand b { font: 700 16px/1.2 var(--display); letter-spacing: -0.03em; }
.side-label { font-size: 10px; color: var(--muted); padding: 10px 10px 6px; }
.side-item {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 8px;
  border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; text-align: left;
  transition: background-color 160ms, color 160ms;
}
.side-item img { width: 28px; height: 28px; }
.side-item:hover { background: rgba(255, 255, 255, 0.04); color: var(--ink); }
.side-item[aria-current="true"] { background: rgba(36, 55, 82, 0.75); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.toolbar { height: 52px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--border); background: rgba(23, 34, 58, 0.4); }
.tool { height: 32px; padding: 0 12px; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(48, 66, 94, 0.75); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.tool.count { background: #2d70bd; color: #fff; box-shadow: none; }
.content { flex: 1; padding: 26px 28px; overflow: hidden; }
@media (max-width: 760px) {
  .window { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .content { padding: 20px 16px; }
}

/* ---------- Smart Scan (hero demo) ---------- */
.scan-hero {
  display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: center;
  padding: 30px 34px; border-radius: 20px;
  background: linear-gradient(135deg, #1d4273, #13243f 55%, #15374d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.scan-hero h3 { font: 600 34px/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 10px; white-space: pre-line; }
.scan-hero p { margin: 0 0 22px; font-size: 14px; color: #ccdaed; max-width: 30em; }
.scan-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.progress-card { background: rgba(0, 0, 0, 0.2); border-radius: 14px; padding: 14px 16px; width: min(440px, 100%); }
.progress-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); }
.progress-row b { font: 600 15px var(--display); color: var(--ink); }
.bar { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); margin: 10px 0; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 120ms linear; }
.result-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.rcard { padding: 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.rcard.in { opacity: 1; transform: none; }
.rcard .k { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.rcard .k img { width: 24px; height: 24px; }
.rcard .v { font: 600 24px/1.2 var(--display); letter-spacing: -0.02em; margin: 6px 0 2px; }
.rcard .d { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .scan-hero { grid-template-columns: 1fr; padding: 22px; }
  .scan-hero .orb { max-width: 200px; margin: 0 auto; }
  .result-cards { grid-template-columns: 1fr; }
}

/* ---------- Orb ---------- */
.orb { position: relative; width: 100%; aspect-ratio: 1; }
.orb svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb-core { position: absolute; inset: 17%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 30% 25%, rgba(172, 220, 255, 0.28), rgba(23, 55, 91, 0.55) 55%, #0a1930 100%);
  box-shadow: inset 0 0 0 2px rgba(172, 220, 255, 0.16), 0 -5px 30px rgba(172, 220, 255, 0.14);
}
.orb-core b { font: 600 clamp(22px, 2.6vw, 30px)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.orb-core span { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* ---------- Generic UI bits inside demos ---------- */
.panel { background: var(--surface); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--border); }
.check {
  width: 18px; height: 18px; border-radius: 5px; flex: none; border: 1.5px solid #5b6e8c; background: transparent; position: relative; cursor: pointer; padding: 0;
  transition: background-color 150ms, border-color 150ms;
}
.check[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.check[aria-checked="true"]::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px; border: solid #0d1528; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.check[aria-checked="mixed"] { background: var(--accent); border-color: var(--accent); }
.check[aria-checked="mixed"]::after { content: ""; position: absolute; left: 3.5px; right: 3.5px; top: 7px; height: 2px; background: #0d1528; border-radius: 2px; }
.badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 99px; }
.badge.inuse { background: rgba(232, 182, 134, 0.18); color: var(--peach); }
.badge.best { background: rgba(138, 226, 198, 0.92); color: #0d2a22; }
.badge.cloud { background: rgba(125, 179, 245, 0.18); color: #7db3f5; }
.pill-group { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); box-shadow: inset 0 0 0 1px var(--hairline); }
.pill { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 8px; cursor: pointer; transition: background-color 160ms, color 160ms; }
.pill[aria-pressed="true"] { background: var(--raised); color: var(--ink); }

/* ---------- Feature chapters ---------- */
.feature-copy .art { width: 92px; height: 92px; margin-bottom: 26px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }
.points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); font-size: 16px; }
.points li::before { content: ""; width: 8px; height: 8px; margin: 9px 0 0 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(95, 169, 246, 0.15); }
.points b { color: var(--ink); font-weight: 600; }
.demo { position: relative; border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, rgba(23, 34, 58, 0.9), rgba(13, 21, 40, 0.9)); box-shadow: inset 0 0 0 1px var(--hairline), 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.demo-head h4 { margin: 0; font: 600 18px/1.2 var(--display); letter-spacing: -0.02em; }
.hint { font-size: 12px; color: var(--faint); margin-top: 12px; }

/* Deep Clean */
.junk { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 12px; }
.junk-cats { display: grid; gap: 6px; align-content: start; }
.junk-section { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 6px 4px 2px; }
.cat { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface); cursor: pointer; border: 0; text-align: left; width: 100%; transition: background-color 160ms; }
.cat:hover { background: #1c2a45; }
.cat[aria-current="true"] { background: var(--raised); }
.cat .t { flex: 1; min-width: 0; }
.cat .t b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat .t span { font-size: 11px; color: var(--muted); }
.cat .s { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.items { padding: 16px; border-radius: 14px; background: var(--surface); min-height: 330px; min-width: 0; }
.items h5 { margin: 0; font: 600 18px var(--display); letter-spacing: -0.02em; }
.items p { margin: 4px 0 12px; font-size: 12px; color: var(--muted); }
.item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hairline); font-size: 13px; transition: opacity 300ms, transform 300ms var(--ease); }
.item .n { flex: 1; min-width: 0; }
.item .n b { font-weight: 500; }
.item .n .path { display: block; font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .n .badge { margin-left: 4px; vertical-align: 1px; }
.item .s { font-variant-numeric: tabular-nums; font-size: 12px; }
.folder { width: 22px; height: 18px; flex: none; border-radius: 3px 3px 4px 4px; background: linear-gradient(180deg, #8cc7ff, #4f8fd8); position: relative; }
.folder::before { content: ""; position: absolute; left: 0; top: -3px; width: 9px; height: 5px; border-radius: 2px 2px 0 0; background: #8cc7ff; }
.junk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.junk-total b { font: 600 26px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.junk-total span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .junk { grid-template-columns: 1fr; } }

/* Confirmation sheet (the user’s final say) */
.sheet-scrim { position: absolute; inset: 0; border-radius: inherit; background: rgba(5, 10, 20, 0.55); backdrop-filter: blur(3px); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 220ms var(--ease); z-index: 5; }
.sheet-scrim.open { opacity: 1; pointer-events: auto; }
.sheet { width: min(330px, 86%); padding: 20px; border-radius: 16px; background: rgba(42, 46, 56, 0.96); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1); transform: scale(0.94); transition: transform 260ms var(--ease); font-size: 13px; }
.sheet-scrim.open .sheet { transform: none; }
.sheet h6 { margin: 0 0 10px; font: 700 14px var(--text); }
.sheet ul { margin: 0 0 14px; padding-left: 16px; color: #d7deea; line-height: 1.5; }
.sheet .row { display: grid; gap: 8px; }
.sheet button { height: 30px; border-radius: 8px; border: 0; font-weight: 600; font-size: 13px; cursor: pointer; }
.sheet .go { background: #0a7cff; color: #fff; }
.sheet .no { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Space map */
.treemap { position: relative; height: 380px; border-radius: 14px; overflow: hidden; background: #0b1426; }
.tile { position: absolute; border-radius: 7px; overflow: hidden; cursor: pointer; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 20, 38, 0.9); transition: filter 160ms; }
.tile.kid { border-radius: 5px; padding: 7px 8px; color: #12263d; box-shadow: inset 0 0 0 1px rgba(11, 20, 38, 0.55); }
.tile.kid:hover, .tile.file:hover { filter: brightness(1.12); }
.tile-head { display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px 0; }
.tile b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile span { font-size: 11px; opacity: 0.75; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile.file { padding: 7px 8px; color: #12263d; }
.tile.file { cursor: default; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumbs button { border: 0; background: none; color: var(--sky); cursor: pointer; padding: 0; font-size: 13px; }
.crumbs button[disabled] { color: var(--ink); cursor: default; font-weight: 600; }
.maplist { display: none; width: 100%; border-collapse: collapse; font-size: 13px; }
.maplist td { padding: 8px 6px; border-top: 1px solid var(--hairline); }
.maplist td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.demo.as-list .treemap { display: none; }
.demo.as-list .maplist { display: table; }

/* Large files */
.lf-row { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--hairline); font-size: 13px; }
.lf-row .ico { width: 28px; height: 34px; border-radius: 4px; background: linear-gradient(180deg, #eef4fb, #c9d6e6); position: relative; }
.lf-row .ico::after { content: attr(data-ext); position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 7px; font-weight: 700; color: #3a5274; text-transform: uppercase; }
.lf-row .n b { font-weight: 500; }
.lf-row .n .path { display: block; font-size: 11px; color: var(--faint); }
.lf-row .n .badge { margin-left: 4px; vertical-align: 1px; }
.lf-row .evict { margin-top: 6px; border: 0; background: rgba(125, 179, 245, 0.14); color: #a9cdfa; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 7px; cursor: pointer; }
.lf-row .evict:hover { background: rgba(125, 179, 245, 0.22); }
.lf-row.evicted .s { color: var(--faint); text-decoration: line-through; }
.lf-row .done { display: block; margin-top: 6px; font-size: 11px; color: var(--mint); }
.lf-row .when { font-size: 11px; color: var(--muted); text-align: right; min-width: 110px; }
.lf-row .s { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.lf-list { position: relative; min-height: 360px; }
@media (max-width: 560px) { .lf-row .when { display: none; } .lf-row { grid-template-columns: 28px 1fr auto; } }

/* Keeper demo */
.copies { display: grid; gap: 10px; }
.copy { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); cursor: pointer; transition: box-shadow 200ms, background-color 200ms; text-align: left; border: 0; width: 100%; color: inherit; }
.copy:hover { background: #1c2a45; }
.copy.keep { box-shadow: inset 0 0 0 1.5px var(--mint); background: rgba(138, 226, 198, 0.06); }
.copy .path { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--muted); }
.copy .file { display: block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--ink); font-weight: 600; margin-top: 2px; }
.copy .why { font-size: 11px; color: var(--muted); margin-top: 4px; }
.copy .mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #5b6e8c; display: grid; place-items: center; font-size: 12px; }
.copy.keep .mark { background: var(--mint); border-color: var(--mint); color: #0d2a22; }
.copy .tag { font-size: 11px; font-weight: 600; color: var(--muted); }
.copy.keep .tag { color: var(--mint); }

/* Similar photos */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shot { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; border: 0; padding: 0; background: #0b1426; transition: transform 200ms var(--ease), box-shadow 200ms; }
.shot:hover { transform: translateY(-2px); }
.shot svg { width: 100%; height: 100%; display: block; }
.shot.best { box-shadow: 0 0 0 2px var(--mint); }
.shot.picked { box-shadow: 0 0 0 2px var(--danger); }
.shot.picked svg { opacity: 0.55; }
.shot .badge { position: absolute; top: 8px; left: 8px; }
.shot .meta { position: absolute; left: 8px; bottom: 6px; font-size: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shot .meta { display: none; }
  .copy { grid-template-columns: auto 1fr; }
  .copy .tag { grid-column: 2; }
}

/* Apps */
.apps { display: grid; grid-template-columns: 200px 1fr; gap: 14px; }
.app-list { display: grid; gap: 4px; align-content: start; }
.app-btn { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; font-size: 13px; }
.app-btn[aria-current="true"] { background: var(--raised); }
.app-ico { width: 26px; height: 26px; border-radius: 7px; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.app-detail { padding: 18px; border-radius: 14px; background: var(--surface); }
.footbar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin: 14px 0 8px; gap: 2px; }
.footbar i { display: block; height: 100%; transition: flex-grow 500ms var(--ease); }
.legend { display: flex; gap: 18px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.support { margin-top: 14px; display: grid; gap: 2px; }
.support div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--hairline); font-size: 12px; }
.support div span:first-child { color: var(--muted); }
.support em { font-style: normal; font-size: 10px; color: var(--mint); margin-left: 6px; }
.support em.review { color: var(--peach); }
@media (max-width: 640px) { .apps { grid-template-columns: 1fr; } .app-list { grid-auto-flow: column; overflow-x: auto; } }

/* Trio: protection, startup, privacy */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 96px; border-top: 1px solid var(--hairline); }
.trio article { padding: 36px 32px 8px; }
.trio article + article { border-left: 1px solid var(--hairline); }
.trio img { width: 64px; height: 64px; margin-bottom: 18px; }
.trio p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } .trio article + article { border-left: 0; border-top: 1px solid var(--hairline); } }
.app-detail { position: relative; overflow: hidden; }
.app-done { margin-top: 16px; font-size: 13px; color: var(--mint); }

/* Safety sandbox */
.safety { background: radial-gradient(70% 60% at 50% 0%, rgba(95, 169, 246, 0.12), transparent 70%), var(--night); }
.traps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.trap { text-align: left; padding: 18px; border-radius: 16px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); cursor: pointer; color: inherit; transition: transform 180ms var(--ease), box-shadow 200ms, background-color 200ms; }
.trap:hover { transform: translateY(-2px); }
.trap[aria-pressed="true"] { background: #1b2b47; box-shadow: inset 0 0 0 1.5px var(--accent); }
.trap b { display: block; font: 600 15px/1.25 var(--display); letter-spacing: -0.01em; margin-bottom: 6px; }
.trap span { font-size: 13px; color: var(--muted); }
.verdict { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.verdict > div { padding: 24px; min-height: 180px; }
.verdict .attack { background: rgba(255, 172, 175, 0.05); border-right: 1px solid var(--border); }
.verdict .response { background: rgba(138, 226, 198, 0.05); }
.verdict h5 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.verdict .attack h5 { color: var(--danger); }
.verdict .response h5 { color: var(--mint); }
.verdict p { margin: 0; color: #d7deea; font-size: 15px; }
.verdict code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; color: var(--sky); background: rgba(0, 0, 0, 0.25); padding: 1px 6px; border-radius: 5px; }
.verdict .status { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mint); }
.verdict .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(138, 226, 198, 0.2); }
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.honest article { padding: 26px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.measure { margin-top: 18px; }
.measure .bars { display: grid; gap: 10px; margin-top: 14px; }
.measure .line { display: grid; grid-template-columns: 110px 1fr 80px; gap: 12px; align-items: center; font-size: 13px; }
.measure .track { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.measure .track i { display: block; height: 100%; border-radius: inherit; transition: width 700ms var(--ease); }
@media (max-width: 900px) { .traps { grid-template-columns: repeat(2, 1fr); } .verdict, .honest { grid-template-columns: 1fr; } .verdict .attack { border-right: 0; border-bottom: 1px solid var(--border); } }

/* Menu bar */
.desk { position: relative; border-radius: var(--radius); overflow: hidden; height: 560px; box-shadow: inset 0 0 0 1px var(--hairline);
  background: radial-gradient(120% 90% at 70% 0%, #2a5a8f 0%, #13294a 45%, #0a1426 100%); }
.menubar { height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 0 14px; background: rgba(10, 18, 34, 0.45); backdrop-filter: blur(18px); font-size: 13px; color: #e8eef7; }
.menubar .left { margin-right: auto; display: flex; gap: 18px; font-weight: 600; }
.menubar .left span:not(:first-child) { font-weight: 400; opacity: 0.85; }
.mb-icon { width: 26px; height: 22px; border-radius: 5px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; padding: 0; }
.mb-icon.on { background: rgba(255, 255, 255, 0.22); }
.mb-icon svg { width: 16px; height: 16px; }
.popover { position: absolute; top: 40px; right: 64px; width: 330px; padding: 16px; border-radius: 18px;
  background: radial-gradient(120% 60% at 0% 0%, rgba(35, 103, 165, 0.75), transparent 70%), rgba(13, 21, 40, 0.92);
  backdrop-filter: blur(30px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform-origin: top right; transition: opacity 220ms var(--ease), transform 260ms var(--ease); }
.popover[hidden] { display: block; opacity: 0; transform: scale(0.94) translateY(-6px); pointer-events: none; }
.popover h5 { margin: 0; font: 600 20px var(--display); letter-spacing: -0.02em; }
.popover h5 em { font-style: normal; color: var(--mint); }
.mcards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mcard { padding: 11px; border-radius: 13px; background: rgba(255, 255, 255, 0.085); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 11px; color: var(--muted); }
.mcard b { display: block; color: var(--ink); font: 700 14px var(--text); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.meter { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.17); margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; background: #a9d8ff; transition: width 600ms var(--ease); }
.reco { margin-top: 10px; padding: 12px; border-radius: 13px; background: rgba(255, 255, 255, 0.085); font-size: 12px; color: var(--muted); }
.reco b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
@media (max-width: 560px) { .popover { right: 12px; left: 12px; width: auto; } .menubar .left span:nth-child(n+3) { display: none; } }

/* Pricing */
.pricing { text-align: center; }
.price-card { margin: 56px auto 0; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; text-align: left; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, #1d4273, #13243f 60%, #15374d); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 50px 100px -40px rgba(40, 110, 220, 0.5); }
.price-card > div { padding: 40px; }
.price-card .buy { border-right: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; }
.price { font: 600 72px/1 var(--display); letter-spacing: -0.05em; margin: 18px 0 6px; }
.price small { font-size: 20px; letter-spacing: -0.01em; color: var(--muted); margin-left: 6px; }
.buy .btn { margin-top: 26px; width: 100%; }
.buy .btn + .btn { margin-top: 10px; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.includes li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15px; color: #d7deea; }
.includes li::before { content: "✓"; color: var(--mint); font-weight: 700; }
@media (max-width: 720px) { .price-card { grid-template-columns: 1fr; } .price-card .buy { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .price-card > div { padding: 28px; } }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.35 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-75%) rotate(45deg); transition: transform 240ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 44em; }

/* Final call + footer */
.final { text-align: center; padding: clamp(110px, 14vw, 180px) 0; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, rgba(95, 169, 246, 0.2), transparent 70%); pointer-events: none; }
.final img { width: 140px; height: 140px; margin: 0 auto 30px; filter: drop-shadow(0 30px 50px rgba(40, 110, 220, 0.5)); }
footer { border-top: 1px solid var(--hairline); padding: 36px 0 48px; font-size: 13px; color: var(--faint); }
footer .page { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--ink); }

/* Section-level reveal: restrained, once, and skipped for reduced motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .popover, .menubar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0d1528; }
}

/* Idle Overview cards inside the hero window */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.way { padding: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(36, 55, 82, 0.7), var(--surface)); box-shadow: inset 0 0 0 1px var(--border); }
.way img { width: 54px; height: 54px; margin: 2px auto 10px; }
.way b { display: block; font: 600 15px/1.2 var(--display); letter-spacing: -0.015em; }
.way span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.way i { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 10px; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Subpages: account, download, help and legal ---------- */
.subpage main { padding-top: 64px; min-height: 70vh; }
.nav.is-solid { background: rgba(7, 13, 26, 0.82); border-color: var(--hairline); }
.sub-hero { padding: clamp(72px, 9vw, 120px) 0 clamp(32px, 4vw, 48px); }
.sub-hero .lede { max-width: 38em; }
.hero-cta.left { justify-content: flex-start; flex-wrap: wrap; }
.text-link { color: var(--sky); text-decoration: none; font-size: 14px; }
.text-link:hover { text-decoration: underline; }
.badge-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--sky); background: rgba(95, 169, 246, 0.12); }
.btn.is-disabled { opacity: 0.55; cursor: default; }

.account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(64px, 8vw, 112px) 0; }
.account-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.account-points li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.account-points li::before { content: "✓"; color: var(--mint); font-weight: 700; }
.account-card { padding: 36px; border-radius: 28px; background: linear-gradient(180deg, rgba(36, 55, 82, 0.72), rgba(23, 34, 58, 0.86)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 40px 120px -40px rgba(0, 0, 0, 0.7); }
.account-card img { width: 64px; height: 64px; margin-bottom: 18px; }
.account-card #content { display: grid; gap: 14px; margin-top: 24px; }
.account-card #message { min-height: 1.4em; margin: 14px 0 0; font-size: 14px; color: var(--peach); }
.account-card .btn { width: 100%; }
.account-card .text-link { justify-self: start; }
.account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.includes.compact { gap: 10px; }
.includes.compact li { font-size: 14px; }
.license-key { padding: 18px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); box-shadow: inset 0 0 0 1px rgba(178, 222, 255, 0.25); font: 600 17px/1.5 ui-monospace, Menlo, monospace; letter-spacing: 0.02em; color: var(--sky); overflow-wrap: anywhere; user-select: all; }
.account-form { display: grid; gap: 8px; }
.account-form label { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.account-form input, .account-form select { height: 46px; padding: 0 14px; border-radius: 12px; border: 0; font: inherit; font-size: 15px; color: var(--ink); background: rgba(0, 0, 0, 0.28); box-shadow: inset 0 0 0 1px var(--border); }
.account-form input:focus, .account-form select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.account-form [hidden] { display: none; }
.account-form .btn { margin-top: 14px; }
@media (max-width: 880px) { .account { grid-template-columns: 1fr; } }

.download-panel { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: 40px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.download-panel img { width: 148px; height: 148px; }
.download-panel .title { margin: 14px 0 8px; }
@media (max-width: 720px) { .download-panel { grid-template-columns: 1fr; } }
.steps { padding: clamp(56px, 7vw, 96px) 0; }
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-list li { counter-increment: step; padding: 26px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); display: grid; gap: 8px; }
.step-list li::before { content: counter(step); font: 700 14px/1 var(--display); color: var(--sky); }
.step-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .step-list { grid-template-columns: 1fr; } }

.prose { max-width: 760px; padding-bottom: clamp(64px, 8vw, 120px); color: #d7deea; }
.prose h2 { font: 600 24px/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); margin: 44px 0 12px; }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--sky); }
.prose details { margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: var(--surface); }
.prose summary { cursor: pointer; font-weight: 600; }
.checksum { font: 13px/1.6 ui-monospace, Menlo, monospace; overflow-wrap: anywhere; color: var(--muted); }
.help-card { margin-top: 48px; padding: 32px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); display: grid; gap: 12px; justify-items: start; }
.changelog time { color: var(--muted); font-size: 14px; }

.footer-grid { display: grid !important; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; align-items: start !important; }
.footer-grid nav { display: grid !important; gap: 10px; margin: 0 !important; }
.footer-grid h2 { font: 600 12px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 6px; }
.footer-grid .brand { color: var(--ink); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--hairline); justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
