/* Readout page only. Colours follow the app: CPU blue, memory violet, network teal, disk orange; green is the brand. */
:root { --rd: #147f89; --rd-soft: color-mix(in srgb, #1a9aa6 16%, transparent); --cpu: #2f80ff; --mem: #9a5fd1; --wired: #2f80ff;
        --comp: #c47f1c; --net: #11939b; --disk: #f0a530; --track: rgba(0,0,0,.06); }
@media (prefers-color-scheme: dark) {
  :root { --rd: #3dbdc8; --rd-soft: color-mix(in srgb, #1a9aa6 14%, transparent); --mem: #b37ce6; --net: #2bb5bd; --track: rgba(255,255,255,.08); }
}
.eyebrow { color: var(--rd); }
.feature .q { color: var(--rd); }
.rd-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); }
.rd-hero h1.big { margin-top: 18px; }
.rd-glow { position: relative; }
.rd-glow::before { content: ""; position: absolute; inset: -40px 8% auto; height: 420px; z-index: -1; pointer-events: none;
                   background: radial-gradient(closest-side, color-mix(in srgb, #1a9aa6 22%, transparent), transparent); filter: blur(10px); }

/* ---------- animated hero dashboard ---------- */
.dash { max-width: 980px; margin: 54px auto 0; padding: 14px; border-radius: 28px; background: color-mix(in srgb, var(--card) 70%, transparent);
        border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.12), 0 6px 18px rgba(0,0,0,.05); text-align: left; }
.dash-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px 14px; font-size: 14px; color: var(--soft); }
.dash-bar .lights { display: flex; gap: 7px; } .dash-bar .lights i { width: 11px; height: 11px; border-radius: 99px; background: var(--line); }
.status { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; min-width: 0; }
.status b { font-weight: 600; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 99px; background: #34a853; position: relative; flex: none; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(3); opacity: 0; } }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-width: 0; }
.tile .label { font-size: 13.5px; font-weight: 600; color: var(--soft); display: flex; justify-content: space-between; gap: 8px; }
.tile .val { font-size: 32px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.tile .small { font-size: 13.5px; color: var(--soft); font-variant-numeric: tabular-nums; }
.tile.wide { grid-column: 1 / -1; }

.cpu-row { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.ring { width: 92px; height: 92px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: var(--track); }
.ring .fg { stroke: var(--cpu); stroke-linecap: round; stroke-dasharray: 264px; stroke-dashoffset: 264px; transition: stroke-dashoffset .9s cubic-bezier(.3,.7,.2,1); }
.cores { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; height: 40px; margin-top: 12px; }
.cores i { display: block; border-radius: 4px; background: var(--track); position: relative; overflow: hidden; }
.cores i::after { content: ""; position: absolute; inset: 0; background: var(--cpu); transform-origin: bottom; transform: scaleY(var(--v, .1)); transition: transform .8s cubic-bezier(.3,.7,.2,1); }

.stack { position: relative; height: 12px; border-radius: 99px; background: var(--track); overflow: hidden; margin: 16px 0 10px; }
.stack i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.3,.7,.2,1); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: var(--c); margin-right: 6px; }
.press { margin-top: 14px; }
.press .track { height: 6px; border-radius: 99px; background: var(--track); overflow: hidden; margin-top: 6px; }
.press .track i { display: block; height: 100%; background: #34a853; transform-origin: left; transform: scaleX(.28); transition: transform .9s cubic-bezier(.3,.7,.2,1); }

.spark { display: block; width: 100%; height: 92px; margin-top: 10px; overflow: hidden; }
.spark .line { fill: none; stroke: var(--net); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark .area { fill: color-mix(in srgb, var(--net) 18%, transparent); }

.disk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.disk-head .val { font-size: 22px; }
.rescan { font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--track); border: 0; border-radius: 99px; padding: 6px 12px; cursor: pointer; }
.dstack { display: flex; height: 14px; border-radius: 99px; background: var(--track); overflow: hidden; margin: 14px 0 14px; gap: 2px; }
.dstack i { display: block; height: 100%; flex: 0 0 auto; transform-origin: left; transform: scaleX(0); transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.drows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 22px; font-size: 14px; font-variant-numeric: tabular-nums; }
.drows div { display: flex; justify-content: space-between; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
.drows div.in { opacity: 1; transform: none; }
.drows div span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: var(--c); margin-right: 8px; }
.drows b { font-weight: 600; }
@media (max-width: 820px) { .dash-grid { grid-template-columns: 1fr 1fr; } .tile.net { grid-column: 1 / -1; } .drows { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dash { padding: 10px; border-radius: 22px; } .dash-grid { grid-template-columns: 1fr; } .drows { grid-template-columns: 1fr; }
                            .dash-bar .lights, .dash-bar > .small { display: none; } .dash-bar { justify-content: center; } .status { white-space: nowrap; font-size: 13px; } .tile .val { font-size: 28px; } }

/* ---------- terminal ---------- */
.term { max-width: 860px; margin: 0 auto; border-radius: 18px; background: #0f1012; color: #e7e7ea; text-align: left; overflow: hidden;
        box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.25); }
.term-top { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #18191c; border-bottom: 1px solid rgba(255,255,255,.06); }
.term-top i { width: 11px; height: 11px; border-radius: 99px; background: #3a3b40; }
.term-top span { margin-left: 8px; font: 12.5px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #8a8b92; }
.term pre { margin: 0; padding: 18px 20px 22px; min-height: 452px; font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre; overflow-x: auto; }
.term .p { color: #3dbdc8; } .term .c { color: #fff; font-weight: 600; } .term .d { color: #8a8b92; } .term .w { color: #f0a530; }
.caret { display: inline-block; width: .6em; height: 1.1em; background: #3dbdc8; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cmds { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px auto 0; max-width: 860px; }
.cmds code { font: 13.5px/1 ui-monospace, "SF Mono", Menlo, monospace; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px; color: var(--soft); }
.cmds code b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .term pre { font-size: 11.5px; padding: 14px; min-height: 400px; } }

/* ---------- measure + privacy ---------- */
.rule { font: 600 13px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--rd); background: var(--rd-soft); display: inline-block; padding: 6px 9px; border-radius: 8px; margin-bottom: 12px; }
.textlink { color: var(--blue); font-weight: 600; }
.privacy-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--line);
                border-radius: 28px; padding: 44px; box-shadow: var(--shadow); }
.privacy-band h2 { margin-top: 10px; }
.privacy-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.privacy-band li { display: flex; gap: 12px; color: var(--soft); }
.privacy-band li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; font-size: 13px; font-weight: 700;
                           color: var(--rd); background: var(--rd-soft); }
.privacy-band li b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .privacy-band { grid-template-columns: 1fr; padding: 26px; gap: 22px; } }

.final { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 54px 26px; box-shadow: var(--shadow); }
.final .rd-icon { width: 72px; height: 72px; border-radius: 17px; }
.build { display: inline-block; max-width: 100%; margin-top: 18px; text-align: left; font: 13px/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: var(--soft);
         background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; overflow-x: auto; white-space: pre; }

@media (prefers-reduced-motion: reduce) {
  .dot::after, .caret { animation: none; }
  .ring .fg, .cores i::after, .stack i, .press .track i, .dstack i, .drows div { transition: none; }
}
.lead code, details code { font: .88em ui-monospace, "SF Mono", Menlo, monospace; background: var(--line); padding: 2px 6px; border-radius: 6px; }
.shot img { height: auto; } /* width/height attributes reserve space; keep the aspect ratio */
