/* Disk Cleaner & Visualizer site. One accent, one radius scale (8px controls, 14px panels), light and
   dark from the same tokens. System fonts: the product is a Windows app, so Segoe UI
   Variable is what the buyer's own PC renders, with no font download. */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --sunken: #eef0f3;
  --text: #14161a;
  --muted: #4b5260;
  --line: #d9dce1;
  --accent: #2457c5;
  --accent-ink: #ffffff;
  --accent-soft: #e4ebfa;
  --ring-1: #2457c5;
  --ring-2: #5b80d6;
  --ring-3: #93abe4;
  --ring-4: #c6d3f1;
  --ring-rest: #d9dce1;
  --r-control: 8px;
  --r-panel: 14px;
  --shadow: 0 1px 2px rgb(20 30 60 / 6%), 0 8px 24px rgb(20 30 60 / 6%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #181b20;
    --sunken: #1f2329;
    --text: #eceef1;
    --muted: #a3aab5;
    --line: #2c3139;
    --accent: #8fb0ff;
    --accent-ink: #0d1117;
    --accent-soft: #1d2740;
    --ring-1: #8fb0ff;
    --ring-2: #6a8fe0;
    --ring-3: #4b6bb5;
    --ring-4: #34497a;
    --ring-rest: #2c3139;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 650; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 620; }
h3 { font-size: 19px; font-weight: 620; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: var(--r-control); z-index: 10; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); text-decoration: none; font-size: 18px; }
.brand svg { width: 26px; height: 26px; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }
@media (max-width: 640px) {
  .top nav a.hide-sm { display: none; }
  /* The product name is long: let it wrap to two lines beside the nav on a phone. */
  .top .wrap { gap: 12px; }
  .top nav { gap: 14px; }
  .top nav a { white-space: nowrap; }
  .brand { font-size: 16px; line-height: 1.15; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-control);
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 120ms ease, background-color 150ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line); }
.btn-quiet:hover { background: var(--sunken); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* Hero: text left, ring right; one column on phones */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } .hero { padding: 80px 0 88px; } }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 34ch; margin: 18px 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ring { width: min(100%, 420px); justify-self: center; aspect-ratio: 1; }
.ring .seg { fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .ring .seg { stroke-dashoffset: var(--len); animation: draw 900ms cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: var(--d, 0ms); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Sections */
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 18px; }

/* Safety: the three labels as a definition list, plus the promises beside it */
.labels { display: grid; gap: 28px; }
@media (min-width: 900px) { .labels { grid-template-columns: 1fr 1fr; gap: 48px; } }
.labels dl { margin: 0; display: grid; gap: 18px; }
.labels dt { display: inline-block; font-weight: 650; font-size: 14px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--text); }
.labels dd { margin: 6px 0 0; color: var(--muted); }
.promises { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px; box-shadow: var(--shadow); }
.promises ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.promises li { padding-left: 22px; position: relative; }
.promises li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* Free vs Premium: a real table, horizontally scrollable inside its own box on phones */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; }
thead th { font-size: 14px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
tbody tr + tr td, tbody tr + tr th { border-top: 1px solid var(--sunken); }
tbody th { font-weight: 600; }
tbody th span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; margin-top: 2px; }
td.yes { font-weight: 600; white-space: nowrap; }
td.no { color: var(--muted); white-space: nowrap; }
tr.group th { background: var(--sunken); font-size: 14px; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }

/* Pricing */
.prices { display: grid; gap: 20px; }
@media (min-width: 768px) { .prices { grid-template-columns: 1fr 1fr; max-width: 820px; } }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.price .amount { font-size: 40px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; }
.price .amount small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price .btn { margin-top: 14px; align-self: flex-start; }
.fine { max-width: 820px; margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.notice { max-width: 820px; margin: 0 0 22px; padding: 14px 18px; border-radius: var(--r-control); background: var(--accent-soft); }

/* Download */
.download { display: grid; gap: 16px; max-width: 820px; }
@media (min-width: 768px) { .download { grid-template-columns: 1fr 1fr; } }
.download .opt { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; background: var(--surface); }
.download .opt p { color: var(--muted); font-size: 15px; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 16px 0; max-width: 760px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Prose pages: privacy and support */
.prose { max-width: 720px; padding: 48px 0 72px; }
.prose h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose table { min-width: 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
