@font-face { font-family: "Plex"; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* The app's dark palette: graphite, light ink for what you press, colour only where it means something. */
:root {
  color-scheme: dark;
  --font: "Plex", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --bg: #0c0c0e;
  --surface: #141416;
  --surface-2: #19191c;
  --surface-3: #222226;
  --line: #232327;
  --line-strong: #323237;
  --text: #ededef;
  --text-2: #a7a7ae;
  --text-3: #8c8c94;

  --tide: #3cc4cd;
  --tide-ink: #7fdde3;
  --tide-soft: #0f2b2e;

  --good: #3bc46d;
  --good-soft: #10291a;
  --warning: #f0ae4c;
  --warning-soft: #2f2412;
  --serious: #f08a62;
  --serious-soft: #331d14;

  --s-macos: #9085e9;
  --s-apps: #3987e5;
  --s-clean: #199e70;
  --s-else: #c98500;
  --s-hidden: repeating-linear-gradient(135deg, #46464c 0 3px, #222226 3px 7px);

  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(1100px 520px at 50% -140px, var(--tide-soft), transparent 70%) no-repeat, var(--bg); color: var(--text); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
code, pre { font-family: var(--mono); }
p > code { padding: 1px 6px; border-radius: 5px; background: var(--surface-3); color: var(--text); font-size: 0.88em; }
a { color: var(--tide); }
a:hover { color: var(--tide-ink); }
:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 1; padding: 10px 14px; border-radius: 8px; background: var(--text); color: var(--bg); }
.skip:focus { left: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-top: clamp(80px, 11vw, 144px); display: flex; flex-direction: column; gap: 40px; }
.section.near { padding-top: clamp(48px, 6vw, 72px); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.intro { display: flex; flex-direction: column; gap: 16px; }
.intro p { max-width: 720px; color: var(--text-2); font-size: 19px; }
.cols { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 15px; }
.note { font-family: var(--mono); font-size: 13px; color: var(--text-3); }

h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
.mono-h { font-family: var(--mono); font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.mono-h.minor { font-size: clamp(24px, 3vw, 32px); }

/* header */
.top { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 20px; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 8px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 20px; flex: 1 1 auto; font-size: 15px; }
.links a { padding: 12px 0; color: var(--text-2); text-decoration: none; }
.links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 500; font-size: 15px; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn:hover { background: #fff; color: var(--bg); }
.btn:active { transform: scale(0.97); }

/* hero */
.hero { padding-block: clamp(56px, 8vw, 96px) 0; display: flex; flex-direction: column; gap: clamp(48px, 7vw, 80px); }
.hero-text { max-width: 780px; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--tide-soft); color: var(--tide); font-size: 14px; font-weight: 500; }
.lead { max-width: 680px; font-size: clamp(18px, 2vw, 21px); color: var(--text-2); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.row > a { padding: 12px 0; font-size: 15px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--text-3); }

/* a command with its copy button */
.cmd { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; padding: 6px 6px 6px 18px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-2); color: var(--text); font-family: var(--mono); font-size: 16px; }
.cmd code { min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.p { color: var(--tide); }
.copy { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 7px; background: var(--surface-3); color: var(--text); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.copy:hover { background: var(--line-strong); }
.copy:active { transform: scale(0.95); }
.copy .done, .copy[data-done] .idle { display: none; }
.copy[data-done] .done { display: block; }

/* the disk as one bar */
.disk { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.disk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.figs { display: flex; flex-wrap: wrap; gap: 12px 48px; }
.fig { display: flex; flex-direction: column; }
.fig b { font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.fig span { font-size: 15px; color: var(--text-2); }
.fig.free b { color: var(--tide); }
.fig.clean b { color: var(--good); }
.bar { display: flex; gap: 2px; height: clamp(44px, 5vw, 56px); border-radius: 10px; overflow: hidden; }
.seg { flex: 1 1 0; min-width: 0; display: flex; align-items: center; overflow: hidden; white-space: nowrap; font-style: normal; font-size: 14px; font-weight: 600; background: var(--c); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.legend span { color: var(--text-3); }
.macos { --c: var(--s-macos); }
.apps { --c: var(--s-apps); }
.clean { --c: var(--s-clean); }
.else { --c: var(--s-else); }
.unseen { --c: var(--s-hidden); }
.free { --c: var(--tide); }

/* sizes from the scan shown on this page, 494.4 GB in all */
.seg.macos { flex-grow: 42.8; }
.seg.apps { flex-grow: 54.3; }
.seg.clean { flex-grow: 98.3; padding: 0 14px; color: #03140d; }
.seg.else { flex-grow: 273.4; padding: 0 14px; color: #1f1500; }
.seg.unseen { flex-grow: 20.5; }
.seg.free { flex-grow: 5.1; min-width: 6px; }

/* screenshots */
.shot { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.shot img { width: 100%; border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.shot figcaption { font-size: 14px; color: var(--text-3); }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.stats li { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--surface); }
.stats b { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.stats span { font-size: 15px; color: var(--text-2); }

/* cards */
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.card > p { font-size: 15px; color: var(--text-2); }
.card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.path { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.path b { font-weight: 400; color: var(--text); white-space: nowrap; }
.meter { height: 6px; border-radius: 3px; background: var(--surface-3); }
.meter i { display: block; height: 6px; border-radius: 3px; background: var(--s-clean); }
.meter .w100 { width: 100%; }
.meter .w49 { width: 48.8%; background: var(--s-apps); }
.meter .w23 { width: 23.4%; }
.meter .w17 { width: 17.2%; background: var(--s-else); }
.meter .w13 { width: 12.7%; }
.meter .w8 { width: 7.7%; }

/* safety */
.tierbar { display: flex; gap: 2px; height: 16px; border-radius: 6px; overflow: hidden; }
.tierbar i { flex: 75.4 1 0; background: var(--good); }
.tierbar i + i { flex: 22.9 1 0; background: var(--warning); }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.badge.good { background: var(--good-soft); color: var(--good); }
.badge.warning { background: var(--warning-soft); color: var(--warning); }
.badge.serious { background: var(--serious-soft); color: var(--serious); }
.card > p.tier-num { color: var(--text); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.tier-num span { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-3); }
.never { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.never ul { display: flex; flex-direction: column; gap: 14px; color: var(--text-2); }
.never li { display: flex; gap: 12px; }
.never svg { flex: none; margin-top: 3px; color: var(--tide); }
.never > p { padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.plan { flex: 1.5 1 520px; }

/* terminal and agents */
.steps { flex: 1 1 300px; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; flex-direction: column; gap: 4px; }
.steps code { font-size: 16px; }
.steps p { font-size: 15px; color: var(--text-2); }
.term { flex: 1.7 1 560px; min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: 0 22px 64px rgba(0, 0, 0, 0.5); }
.term-bar { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
.term pre { padding: 20px; overflow-x: auto; scrollbar-width: none; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.term pre::-webkit-scrollbar { display: none; }
.tc { color: var(--text); }
.tb { color: var(--text); font-weight: 500; }
.tg { color: var(--good); }
.tw { color: var(--warning); }
.tr { color: var(--serious); }
.agents { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.tools { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tools ul { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 13px; }
.tools li { padding: 6px 10px; border-radius: 7px; background: var(--surface-3); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.gallery img { border-radius: 12px; box-shadow: none; }
.gallery figcaption { font-size: 15px; color: var(--text-2); }
.gallery strong { font-weight: 600; color: var(--text); }
.fresh-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.fresh-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; }
.fresh-text p { color: var(--text-2); }

/* try it */
.cta { margin-block: clamp(80px, 11vw, 144px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 6vw, 64px); border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); }
.cta > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta > div + div { flex: 1 1 420px; gap: 10px; }

@media (max-width: 560px) {
  .links a[href^="#"] { display: none; }
  .seg { font-size: 0; }
  .cmd { gap: 10px; padding-left: 14px; font-size: 14px; }
}

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 28px; font-size: 14px; color: var(--text-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { padding: 12px 0; color: var(--text-2); }
.foot a:hover { color: var(--text); }
