/* Netglow site in the Zanoshky Standard. Every colour comes from tokens.css (the --zs-* roles).
   Words are 7:1 on every surface they sit on, marks 3:1. */
@font-face { font-family: Inter; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root { --wrap: min(1100px, 100% - 40px); }

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--zs-ground); color: var(--zs-text); font: 400 1.0625rem/1.6 var(--zs-sans); transition: background var(--zs-look-ms), color var(--zs-look-ms); }
img, svg { max-width: 100%; }
a { color: var(--zs-blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--zs-glow); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: var(--zs-r-key); background: var(--zs-plate); color: var(--zs-text); border: 1px solid var(--zs-edge); font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { width: var(--wrap); margin-inline: auto; }
p { margin: 0; }

/* Type: JetBrains Mono Bold for the titles and section labels, sentence case, no letter spacing; Inter for the rest. */
h1, h2 { font-family: var(--zs-mono); font-weight: 700; line-height: 1.12; letter-spacing: 0; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font: 600 1.125rem/1.35 var(--zs-sans); margin: 0; }
.lbl { font: 700 .875rem/1.45 var(--zs-mono); color: var(--zs-soft); margin: 26px 0 10px; }
.intro { color: var(--zs-soft); max-width: 40em; margin-top: 14px; font-size: 1.125rem; }

/* Plates: plate colour, 16 corners, a hairline and the lit top edge. No drop shadow. */
.plate { background: var(--zs-plate); border: 1px solid var(--zs-line); border-radius: var(--zs-r-plate); box-shadow: 0 1px 0 var(--zs-bevel) inset; }
.lit { position: relative; overflow: hidden; }
.lit::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--zs-glow), transparent); }
.lit::after { content: ""; position: absolute; inset: 0 0 auto; height: 90px; background: radial-gradient(60% 100% at 50% 0%, color-mix(in srgb, var(--zs-glow) 14%, transparent), transparent); pointer-events: none; }
.lit > * { position: relative; z-index: 1; }

/* Keys: 52 tall, 14 corners, filled for the one main action, tonal for the rest. The edge is lit from above. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--zs-key-h); padding: 0 18px; border-radius: var(--zs-r-key); border: 1px solid transparent;
  font: 600 1rem/1.2 var(--zs-sans); text-decoration: none; cursor: pointer; transition: transform var(--zs-release-ms) ease, filter var(--zs-release-ms) ease; }
.btn:active { transform: scale(.97); transition-duration: var(--zs-press-ms); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.filled { color: var(--zs-on-fill); background: linear-gradient(var(--zs-fill), var(--zs-fill)) padding-box, linear-gradient(to bottom, rgba(255,255,255,.32), color-mix(in srgb, var(--zs-fill) 65%, #000) 45%) border-box; }
.btn.filled:hover { filter: brightness(1.08); }
.btn.filled:active { filter: brightness(.82); }
.btn.tonal { color: var(--zs-text); background: linear-gradient(var(--zs-well), var(--zs-well)) padding-box, linear-gradient(to bottom, var(--zs-bevel), var(--zs-line) 45%) border-box; }
.btn.tonal svg { color: var(--zs-blue); }
.btn.wide { width: 100%; }
.btn.hk { min-height: var(--zs-header-key-h); padding: 0 16px; border-radius: var(--zs-r-header-key); font-size: .875rem; }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.keys .btn { flex: 1 1 15em; min-width: 0; }

/* Header: sticky on the ground, one line under it, 64 tall. On a phone the lesser links hide and the key stays. */
.top { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); background: var(--zs-ground); border-bottom: 1px solid var(--zs-line); }
.top .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--zs-text); text-decoration: none; font: 700 1.125rem/1 var(--zs-mono); }
.brand .mark { width: 34px; height: 34px; flex: none; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.top nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--zs-soft); text-decoration: none; font-weight: 600; font-size: .9375rem; border-radius: var(--zs-r-row); }
.top nav a:not(.btn):hover { color: var(--zs-text); background: var(--zs-well); }
.top nav .btn { margin-left: 8px; }
@media (max-width: 760px) { .top nav a.hide-s { display: none; } }
@media (max-width: 359px) { .brand span { font-size: 1rem; } }

/* Hero: lit from one light above. The h1 says what the app does; the device list beside it, under it on a phone. */
section { padding: clamp(48px, 6vw, 80px) 0; }
main > section + section { padding-top: 0; }
section[id] { scroll-margin-top: 72px; }
.hero { position: relative; padding-top: clamp(32px, 6vw, 80px); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, color-mix(in srgb, var(--zs-glow) 13%, transparent), transparent); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.over { font: 700 .875rem/1.45 var(--zs-mono); color: var(--zs-soft); margin-bottom: 14px; }
.lead { margin-top: 20px; max-width: 34em; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--zs-soft); }
.price { margin-top: 18px; color: var(--zs-soft); }
.price b { font: 600 1.375rem/1 var(--zs-sans); color: var(--zs-text); margin-right: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Features as rows: an icon on a blue tile, the name and one line, two plates side by side past 840. */
.feats h2 { text-align: center; }
.cols { margin-top: clamp(28px, 4vw, 48px); }
.feat { list-style: none; margin: 0; padding: 4px 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.fr { display: flex; align-items: flex-start; gap: 16px; min-height: 60px; padding: 16px 18px; position: relative; }
.fr + .fr::before { content: ""; position: absolute; top: 0; left: 74px; right: 18px; height: 1px; background: var(--zs-line); }
@media (min-width: 840px) {
  .feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 8px; }
  .fr:nth-child(2)::before { display: none; }
}
.fr .tile { width: 40px; height: 40px; border-radius: var(--zs-r-feature-tile); background: var(--zs-chosen); color: var(--zs-blue); display: grid; place-items: center; flex: none; }
.fr .tile svg { width: 21px; height: 21px; }
.fr h3 { font-weight: 600; font-size: 1.0625rem; }
.fr p { color: var(--zs-soft); font-size: .9375rem; margin-top: 2px; }

/* Pricing: one lit plate with the price, the one payment line and the Google Play key, then the promise chips. */
.price-plate { padding: clamp(32px, 5vw, 56px) clamp(18px, 4vw, 48px); text-align: center; max-width: 760px; margin-inline: auto; }
.amount { margin-top: 14px; font: 600 clamp(3rem, 7vw, 4.25rem)/1 var(--zs-sans); font-variant-numeric: tabular-nums; }
.once { margin-top: 12px; font-weight: 600; }
.where { margin: 4px 0 24px; color: var(--zs-soft); font-size: .9375rem; }
.price-plate .pledge { justify-content: center; margin-top: 28px; }

/* Promise chips: pale red with a red not allowed sign, never a green tick or a red X. */
.pledge { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.pledge li { font: 600 .8125rem/1.3 var(--zs-sans); padding: 6px 12px 6px 2.15em; border-radius: var(--zs-r-chip); background: var(--zs-risky-fill); color: var(--zs-risky-text); position: relative; }
.pledge li::before, .promises li::before, .perm.off b::before { content: ""; background: var(--zs-risky-line);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'><circle cx='12' cy='12' r='9.5'/><path d='m5.3 5.3 13.4 13.4'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'><circle cx='12' cy='12' r='9.5'/><path d='m5.3 5.3 13.4 13.4'/></svg>") center / contain no-repeat; }
.pledge li::before { position: absolute; left: .75em; top: 50%; width: 1.05em; height: 1.05em; margin-top: -.525em; }
.promises { list-style: none; margin: 0; padding: 6px 0; }
.promises li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 18px; font-weight: 600; }
.promises li + li { border-top: 1px solid var(--zs-line); }
.promises li::before { flex: none; width: 1.1em; height: 1.1em; margin-top: .25em; }

/* Permissions: the name in semibold, then what it is for and when. The one we never ask for wears the ban sign. */
.perms { padding: 6px 0; }
.perms .hint { padding: 12px 18px; color: var(--zs-soft); font-size: .9375rem; }
.perm { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-top: 1px solid var(--zs-line); }
.perm b { font-weight: 600; }
.perm span { color: var(--zs-soft); font-size: .9375rem; }
.perm.off b::before { display: inline-block; width: 1em; height: 1em; margin-right: .5em; vertical-align: -.14em; }

/* Questions: one plate of rows, a chevron that turns when open. */
.faq .wrap { max-width: 820px; }
.faq h2 { text-align: center; margin-bottom: 32px; }
.qs { padding: 4px 0; }
details + details { border-top: 1px solid var(--zs-line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 18px; cursor: pointer; list-style: none; font-weight: 600; border-radius: var(--zs-r-row); }
summary::-webkit-details-marker { display: none; }
summary svg { flex: none; width: 18px; height: 18px; color: var(--zs-soft); transition: transform .2s ease; }
details[open] summary svg { transform: rotate(90deg); }
details p { color: var(--zs-soft); padding: 0 18px 20px; max-width: 42em; }

/* Footer: the maker, the footer nav (48 tall), then the look tiles. */
footer { padding: 28px 0 calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--zs-line); color: var(--zs-soft); }
.foot { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; justify-content: space-between; }
.by a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
footer nav { display: flex; flex-wrap: wrap; gap: 2px; margin-inline: -12px; }
footer nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--zs-soft); border-radius: var(--zs-r-row); }
footer nav a:hover, footer nav a[aria-current] { color: var(--zs-text); }
footer nav a[aria-current] { font-weight: 600; }
footer .lbl { margin-top: 18px; }
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 640px; }
@media (min-width: 600px) { .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.looks .tt { padding: 8px 8px 10px; gap: 8px; font-size: .875rem; }
.pv { height: 40px; border-radius: var(--zs-r-tile-preview); padding: 7px; display: flex; flex-direction: column; gap: 5px; border: 1px solid rgba(127,127,127,.35); overflow: hidden; }
.pv i { display: block; border-radius: 3px; }
.pv .t { width: 44%; height: 5px; }
.pv .p { height: 14px; border-radius: 4px; position: relative; }
.pv .p::after { content: ""; position: absolute; left: 5px; right: 40%; top: 5px; height: 4px; border-radius: 3px; background: #0068ff; }
.pv.l { background: #f6f7f9; } .pv.l .t { background: #121418; } .pv.l .p { background: #ffffff; box-shadow: 0 0 0 1px #dfe2e8; }
.pv.d { background: #111215; } .pv.d .t { background: #eceef2; } .pv.d .p { background: #18191d; box-shadow: 0 0 0 1px #2a2c33; }
.pv.b { background: #000000; } .pv.b .t { background: #ffffff; } .pv.b .p { background: #0d0d10; box-shadow: 0 0 0 1px #24252b; }
.pv.a { background: linear-gradient(135deg, #f6f7f9 50%, #000000 50%); }
.pv.a .t { background: linear-gradient(90deg, #121418 60%, #ffffff 60%); }
.pv.a .p { background: linear-gradient(135deg, #ffffff 50%, #0d0d10 50%); box-shadow: 0 0 0 1px #8a8d96; }
.looks .tt .tk { top: 4px; right: 4px; }
html:not(.js) footer .lbl, html:not(.js) .looks { display: none; }

/* Legal pages */
.doc { padding: clamp(32px, 6vw, 72px) 0; }
.doc article { max-width: 760px; margin-inline: auto; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.doc h2 { font-size: 1.375rem; margin: 40px 0 10px; }
.doc h2.lbl { font-size: .875rem; margin: 30px 0 10px; }
.doc .eff { color: var(--zs-soft); font-weight: 600; margin: 10px 0 8px; }
.doc article > p { margin-top: 14px; }
.doc .plate + p { margin-top: 24px; }
.doc ul:not(.pledge, .promises) { padding-left: 1.2em; margin: 12px 0; }
.doc ul:not(.pledge, .promises) li { margin: 8px 0; }
.mail { font-weight: 600; overflow-wrap: anywhere; user-select: all; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .btn:active { transform: none; }
}

/* Big screens at 1x (a 4K monitor without scaling): grow the whole page so it reads like a laptop. */
@media (min-width: 2400px) { body { zoom: 1.5; } }
@media (min-width: 3200px) { body { zoom: 2; } }

/* The device list in the hero, as the app draws it: a row per device, a name, what it is and how it was found, the address. */
.scan { padding: 6px 0; }
.scan-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--zs-line); }
.scan-top p b { display: block; font: 700 1.125rem/1.3 var(--zs-mono); }
.scan-top p span { color: var(--zs-soft); font-size: .9375rem; }
.ring { width: 12px; height: 12px; border-radius: 50%; background: var(--zs-glow); box-shadow: 0 0 0 5px color-mix(in srgb, var(--zs-glow) 22%, transparent); flex: none; }
.scan ul { list-style: none; margin: 0; padding: 0; }
.scan li { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 18px; position: relative; }
.scan li + li::before { content: ""; position: absolute; top: 0; left: 72px; right: 18px; height: 1px; background: var(--zs-line); }
.scan .k { width: 40px; height: 40px; border-radius: var(--zs-r-feature-tile); background: var(--zs-chosen); color: var(--zs-blue); display: grid; place-items: center; flex: none; }
.scan .k svg { width: 21px; height: 21px; }
.scan .grow { flex: 1; min-width: 0; }
.scan .grow b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.scan .grow span { display: block; color: var(--zs-soft); font-size: .875rem; line-height: 1.35; }
.scan code { font: 700 .9375rem var(--zs-mono); color: var(--zs-soft); flex: none; }
.tag { font: 600 .75rem/1 var(--zs-sans); padding: 5px 8px; border-radius: 6px; border: 1px solid var(--zs-line); background: var(--zs-well); color: var(--zs-soft); }
.tag.new { background: var(--zs-chosen); color: var(--zs-on-chosen); border-color: var(--zs-glow); }
.tag.cam { color: var(--zs-text); border-color: var(--zs-edge); }
.hero-demo .scan { max-width: 520px; margin-inline: auto; }

/* Sections with a plain heading and a lead line; the camera plate says what the check cannot see. */
.feats .intro { text-align: center; margin-inline: auto; }
.camera .honest { max-width: 820px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); }
.camera .honest h2 { font-size: clamp(1.4rem, 2.6vw, 1.875rem); }
.camera .honest p { margin-top: 14px; color: var(--zs-soft); }
.more { text-align: center; margin-top: 24px; color: var(--zs-soft); }
.more a { display: inline-flex; align-items: center; min-height: 48px; }

/* Tiles for choosing one of a few: the moods here, the looks in the footer. Chosen: chosen fill, glow edge, a tick. */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 24px 0 16px; }
@media (max-width: 520px) { .modes { grid-template-columns: minmax(0, 1fr); } }
.tt { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 48px; padding: 12px 14px; border-radius: var(--zs-r-theme-tile); border: 1px solid var(--zs-line);
  background: var(--zs-well); color: var(--zs-text); font: 600 .9375rem/1.3 var(--zs-sans); text-align: left; cursor: pointer; transition: background var(--zs-pill-ms), border-color var(--zs-pill-ms); }
.tt[aria-checked="true"] { background: var(--zs-chosen); color: var(--zs-on-chosen); border-color: var(--zs-glow); box-shadow: 0 0 0 1px var(--zs-glow); }
.tt small { display: block; font-weight: 400; font-size: .875rem; color: var(--zs-soft); }
.tt[aria-checked="true"] small { color: var(--zs-on-chosen); }
.tt .tk { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--zs-fill); color: #fff; display: none; place-items: center; box-shadow: 0 0 0 2px var(--zs-plate); }
.tt .tk svg { width: 13px; height: 13px; }
.tt[aria-checked="true"] .tk { display: grid; }
.nb { white-space: nowrap; }
