/* glancestat.app: one stylesheet, no web fonts (Segoe UI Variable is the native face on the
   Windows PCs this product is for; other systems fall back to their UI font). */
:root {
  --bg: #0b0d14;
  --bg-2: #10131c;
  --surface: #151924;
  --surface-2: #1b2030;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef1f7;
  --text-2: #b4bccb;
  --text-3: #8892a6;
  --cpu: #3dd6f5;
  --cpu-2: #2f7cf6;
  --mem: #a98bff;
  --gpu: #7be38f;
  --up: #ff7b6b;
  --down: #4db5ff;
  --warn: #ffb547;
  --radius: 14px;
  --wrap: 1160px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font);
  font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--cpu); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #8ee9fb; }
:focus-visible { outline: 2px solid var(--cpu); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--cpu); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 20, .82); backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 650 1.12rem/1 var(--font-display); letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.nav { margin-left: auto; }
.nav ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav ul { display: flex; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: rgba(255, 255, 255, .06); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border-radius: 10px; border: 1px solid var(--line-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.menu nav { position: absolute; right: 0; top: 48px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; min-width: 200px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.menu a { display: block; padding: 10px 12px; color: var(--text); text-decoration: none; border-radius: 8px; }
.menu a:hover { background: rgba(255, 255, 255, .06); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font: 600 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--cpu); color: #04121a; box-shadow: 0 8px 28px rgba(61, 214, 245, .25); }
.btn-primary:hover { background: #7ae4fa; color: #04121a; transform: translateY(-1px); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.btn-small { padding: 9px 16px; font-size: .92rem; border-radius: 10px; box-shadow: none; }

/* ---------- hero ---------- */
section.hero { padding: 0; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 13, 20, .96) 0%, rgba(11, 13, 20, .78) 42%, rgba(11, 13, 20, .25) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 18%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 72px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cpu); font: 600 .82rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--cpu), var(--mem) 55%, var(--gpu)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.22rem; color: var(--text-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { color: var(--text-3); font-size: .92rem; }
.hero-note strong { color: var(--text-2); font-weight: 600; }
.hero-shot { position: relative; align-self: end; justify-self: center; width: min(364px, 100%); }
.hero-shot .flyout { border-radius: 10px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .09); }
.taskbar { position: relative; margin-top: 18px; height: 52px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 14px; background: rgba(22, 24, 32, .92); border-top: 1px solid var(--line); }
.taskbar .tray { padding: 7px 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.taskbar .clock { color: var(--text); font-size: 12px; line-height: 1.3; text-align: right; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }
.center { text-align: center; margin-inline: auto; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.metric img { width: 48px; height: 48px; margin-bottom: 18px; image-rendering: auto; }
.metric h3 { margin-bottom: 6px; }
.metric p { color: var(--text-2); font-size: .97rem; margin: 0; }
.metric .rule { height: 3px; width: 36px; border-radius: 3px; margin-bottom: 16px; }
.rule-cpu { background: var(--cpu); } .rule-mem { background: var(--mem); } .rule-net { background: var(--up); } .rule-gpu { background: var(--gpu); } .rule-disk { background: #ff8ad1; } .rule-ping { background: #93a8ff; }
section.tight { padding-top: 0; }
section.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.duo-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.duo-card { border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--radius); padding: 26px; }
.duo-card h2, .duo-card h3 { font-size: 1.35rem; }
.duo-card p { color: var(--text-2); }
.more { margin-top: 20px; }

.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.feature p { color: var(--text-2); }
.feature ul, .ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li, .ticks li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--text-2); }
.feature li::before, .ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--cpu); border-radius: 2px; }
.shot video { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.shot img, .feature-media img { border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.feature-media { position: relative; }
.feature-media .overlay { position: absolute; right: -4%; bottom: -10%; width: 62%; }
.feature-media.narrow { max-width: 380px; margin-inline: auto; }
figure { margin: 0; }
figcaption { color: var(--text-3); font-size: .9rem; margin-top: 12px; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg-2); }
.pillar h3 { font-size: 1.12rem; }
.pillar p { color: var(--text-2); font-size: .97rem; margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 12px; }
.stat { border-left: 2px solid var(--cpu); padding: 4px 0 4px 18px; }
.stat b { display: block; font: 650 2.2rem/1.1 var(--font-display); letter-spacing: -.02em; }
.stat span { color: var(--text-2); font-size: .95rem; }
.fineprint { color: var(--text-3); font-size: .88rem; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 20px; }
.plan { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.plan.best { border-color: rgba(61, 214, 245, .6); box-shadow: 0 0 0 1px rgba(61, 214, 245, .35), 0 20px 60px rgba(61, 214, 245, .08); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--cpu); color: #04121a; font: 650 .78rem/1 var(--font); padding: 6px 10px; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font-size: 1.05rem; color: var(--text-2); font-weight: 600; }
.plan .price { font: 650 2.6rem/1 var(--font-display); letter-spacing: -.03em; margin: 6px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.plan p { color: var(--text-2); font-size: .95rem; margin: 10px 0 0; }

/* ---------- pages & articles ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 22px 0 0; margin: 0; font-size: .88rem; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-head { padding: 34px 0 30px; max-width: 860px; margin-left: max(20px, calc((100% - var(--wrap)) / 2)); }
.page-head .lede { font-size: 1.2rem; color: var(--text-2); }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.byline { color: var(--text-3); font-size: .9rem; margin: 0; }
.prose { max-width: 780px; margin-left: max(20px, calc((100% - var(--wrap)) / 2)); padding-bottom: 40px; }
.prose.wide { max-width: var(--wrap); }
.prose h2 { margin-top: 2em; padding-top: .2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #d3d9e5; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose strong { color: var(--text); }
.prose figure, .prose .shot { margin: 28px 0; }
.prose blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 3px solid var(--cpu); background: var(--bg-2); border-radius: 0 10px 10px 0; color: var(--text-2); }
.prose blockquote p:last-child { margin: 0; }
.prose code, .prose kbd { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: 10px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.table-wrap, .prose table { width: 100%; }
.prose table { border-collapse: collapse; margin: 24px 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; background: var(--bg-2); white-space: nowrap; }
.prose td { color: var(--text-2); }
.answer-box { background: linear-gradient(180deg, rgba(61, 214, 245, .08), rgba(61, 214, 245, .02)); border: 1px solid rgba(61, 214, 245, .3); border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 28px; }
.answer-box p:last-child { margin: 0; }
.answer-box > p:first-child > strong:first-child { display: block; color: var(--cpu); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.note { border: 1px solid rgba(255, 181, 71, .35); background: rgba(255, 181, 71, .06); border-radius: 12px; padding: 14px 18px; }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 780px); gap: 48px; }
.article-grid .prose { margin-left: 0; }
.toc { position: sticky; top: 90px; align-self: start; font-size: .9rem; }
.toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; color: var(--text-2); text-decoration: none; padding: 5px 0 5px 14px; }
.toc a:hover { color: var(--text); }
.related ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.related li { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--bg-2); margin: 0; }
.related a { font-weight: 600; display: block; text-decoration: none; }
.related span { display: block; color: var(--text-3); font-size: .9rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 20px 0; padding: 0; list-style: none; }
.cards li { border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--radius); padding: 22px; margin: 0; }
.cards a { font: 650 1.12rem/1.3 var(--font-display); text-decoration: none; color: var(--text); display: block; margin-bottom: 6px; }
.cards a:hover { color: var(--cpu); }
.cards p { color: var(--text-2); font-size: .95rem; margin: 0; }
.gallery { display: grid; gap: 40px; }
.press-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 20px 0; }
.press-gallery .shot { margin: 0; }
@media (max-width: 900px) { .press-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .press-gallery { grid-template-columns: 1fr; } }
.yes { color: var(--gpu); font-weight: 600; }
.no { color: var(--up); font-weight: 600; }
.part { color: var(--warn); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { padding: 20px 0 60px; max-width: 860px; margin-left: max(20px, calc((100% - var(--wrap)) / 2)); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; color: var(--text-3); }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.faq .answer { color: var(--text-2); padding-bottom: 14px; }
.inline-faq { padding: 0; margin: 0; max-width: none; }

/* ---------- CTA + footer ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 40px; margin-bottom: 80px; padding: 34px 38px; border-radius: 20px; border: 1px solid rgba(61, 214, 245, .25); background: radial-gradient(120% 140% at 0% 0%, rgba(61, 214, 245, .14), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(169, 139, 255, .14), transparent 55%), var(--bg-2); }
.cta-band h2 { font-size: 1.6rem; margin-bottom: 6px; }
.cta-band p { color: var(--text-2); margin: 0; max-width: 44em; }
.site-footer { border-top: 1px solid var(--line); background: #090b11; padding: 56px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { color: var(--text-3); margin-top: 14px; max-width: 26em; }
.site-footer h2 { font: 600 .78rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer nav a { color: var(--text-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.footer-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--text-3); font-size: .84rem; }
.footer-legal p { margin: 0; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-shot { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both .1s; }
  .hero-copy > * { animation: fade .7s ease both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav, .header-row > .btn { display: none; }
  .menu { display: block; margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; gap: 36px; }
  .hero-shot { width: min(330px, 100%); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip > :first-child { order: 0; }
  .feature-media .overlay { position: static; width: 80%; margin: -20px 0 0 auto; }
  .pillars, .plans, .stat-row { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; margin-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
  .hero-actions .btn { width: 100%; }
}
