:root {
  color-scheme: light dark;
  --paper: #f5f5f7; --ink: #1d1d1f; --soft: #5e5e66; --muted: #6e6e76; --line: #dcdce1;
  --accent: #0a6cff; --accent-hover: #005ae0;
  --window: #ececef; --tile: #ffffff; --tile-edge: rgba(0, 0, 0, .07); --shadow: 0 30px 70px -20px rgba(20, 20, 40, .28), 0 0 0 .5px rgba(0, 0, 0, .12);
  --cpu: #007aff; --memory: #af52de; --gpu: #00a3b8; --power: #ff9500;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --settle: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161618; --ink: #f2f2f5; --soft: #b4b4bc; --muted: #9a9aa3; --line: #2f2f34;
    --accent: #3d8bff; --accent-hover: #5c9dff;
    --window: #1f1f22; --tile: rgba(255, 255, 255, .05); --tile-edge: rgba(255, 255, 255, .1); --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 .5px rgba(255, 255, 255, .14);
    --cpu: #0a84ff; --memory: #bf5af2; --gpu: #40c8e0; --power: #ff9f0a;
  }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(1100px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 18px; background: var(--paper); border: 1px solid var(--accent); transform: translateY(-150%); clip-path: inset(50%); }
.skip-link:focus { transform: none; clip-path: none; }

.nav { padding-block: 22px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 21px/1 var(--sans); letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; }

.stage { flex: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: 40px; }
.hero { min-width: 0; }
.eyebrow { margin: 0 0 22px; color: var(--soft); font: 500 10px/1.5 var(--mono); letter-spacing: .035em; text-transform: uppercase; }
h1 { margin: 0; max-width: 10ch; font: 600 clamp(48px, 5.6vw, 72px)/1 var(--sans); letter-spacing: -.045em; }
h1 em { display: block; font-style: normal; color: var(--accent); white-space: nowrap; }
.hero-actions { display: flex; margin-top: 32px; }
.download { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; transition: background .2s, transform .2s var(--settle); }
.download svg { width: 17px; height: 17px; }
.download:hover { background: var(--accent-hover); transform: translateY(-2px); }
.download:active { transform: translateY(1px); }
.meta { margin: 14px 0 0; color: var(--muted); font: 400 10px/1.6 var(--mono); letter-spacing: .02em; }
.notice { margin: 6px 0 0; max-width: 35ch; color: var(--muted); font-size: 11px; }

/* The app window. Sizes follow the app's Overview tiles at about two thirds scale. */
.preview { min-width: 0; }
.window { max-width: 560px; margin-left: auto; padding: 0 14px 14px; border-radius: 20px; background: var(--window); box-shadow: var(--shadow); font-family: var(--sans); }
.titlebar { display: flex; align-items: center; gap: 10px; height: 44px; font-size: 12px; }
.titlebar strong { font-weight: 600; }
.titlebar span:last-child { color: var(--muted); }
.lights { display: flex; gap: 7px; margin-right: 6px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 156px; padding: 13px 14px 0; border-radius: 14px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--tile-edge); }
/* Each tile's color: the sparkline draws in currentColor, the header mark in --tint. */
.tile[data-tile="cpu"] { --tint: var(--cpu); }
.tile[data-tile="memory"] { --tint: var(--memory); }
.tile[data-tile="gpu"] { --tint: var(--gpu); }
.tile[data-tile="power"] { --tint: var(--power); }
.tile { color: var(--tint); }
.tile-head { display: flex; align-items: center; gap: 6px; color: var(--soft); font-size: 11px; font-weight: 600; }
.tile-head .mark { width: 8px; height: 8px; border-radius: 2.5px; background: var(--tint); }
.tile-head em { margin-left: auto; color: var(--muted); font-style: normal; font-weight: 400; font-size: 10px; }
.value { margin-top: 6px; color: var(--ink); font: 500 26px/1.1 var(--rounded); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.value small { margin-left: 3px; color: var(--muted); font-size: 12px; font-weight: 500; }
.caption { margin-top: 2px; color: var(--soft); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.spark { display: block; width: calc(100% + 28px); height: 46px; margin: auto -14px 0; overflow: hidden; }

.foot { padding-block: 16px; border-top: 1px solid var(--line); }
.footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font: 400 10px/1.5 var(--mono); }
.footer-meta a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 16px; }

/* Privacy: one readable column. */
.doc { flex: 1; width: min(680px, calc(100% - 48px)); margin-inline: auto; padding-block: 48px 64px; }
.doc h1 { max-width: none; font-size: clamp(36px, 5vw, 48px); }
.doc .updated { margin: 14px 0 32px; color: var(--muted); font: 400 10px/1.6 var(--mono); }
.doc h2 { margin: 32px 0 8px; font-size: 19px; letter-spacing: -.01em; }
.doc p { margin: 0 0 14px; color: var(--soft); font-size: 15px; line-height: 1.75; }
.doc strong { color: var(--ink); }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) { .wrap { width: calc(100% - 64px); } }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .stage { grid-template-columns: 1fr; gap: 36px; padding-block: 28px; }
  .hero { width: 100%; max-width: 520px; margin-inline: auto; }
  h1 { font-size: clamp(42px, 8vw, 56px); }
  .window { margin-inline: auto; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: clamp(38px, 11vw, 48px); }
  .window { padding: 0 10px 10px; border-radius: 16px; }
  .tiles { gap: 8px; }
  .tile { min-height: 132px; padding: 11px 11px 0; }
  .tile-head em, .caption { display: none; }
  .value { font-size: 22px; }
  .spark { width: calc(100% + 22px); margin-inline: -11px; }
  .footer-meta { font-size: 9px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .download:hover, .download:active { transform: none; }
}
