/* SCREEN TEST (ė.tv) — dark-first stylesheet. Every class carries the st- prefix. */

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- skins: dark is the default here; paper is the alternative ---- */
:root {
  --st-ground: #0C1116;
  --st-lift: #121A21;
  --st-ink: #FFFFFF;
  --st-ink-77: rgba(255, 255, 255, .72);
  --st-ink-62: rgba(255, 255, 255, .62);
  --st-rule: rgba(255, 255, 255, .16);
  --st-rule-soft: rgba(255, 255, 255, .08);
  --st-lime: #65A30D;
  --st-lime-ink: #A3E635;
  --st-lime-wash: rgba(101, 163, 13, .14);
  --st-fill: #FFFFFF;
  --st-fill-ink: #0C1116;
  --st-housing: #05080B;
  --st-housing-rule: rgba(255, 255, 255, .14);
  --st-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --st-measure: 1265px;
  --st-gutter: clamp(20px, 5vw, 56px);
  color-scheme: dark;
}
:root[data-st-ed="paper"] {
  --st-ground: #FFFFFF;
  --st-lift: #FAFAFA;
  --st-ink: #1E262B;
  --st-ink-77: rgba(30, 38, 43, .77);
  --st-ink-62: rgba(30, 38, 43, .66);
  --st-rule: rgba(30, 38, 43, .12);
  --st-rule-soft: rgba(30, 38, 43, .07);
  --st-lime: #65A30D;
  --st-lime-ink: #3F6212;
  --st-lime-wash: rgba(101, 163, 13, .10);
  --st-fill: #1E262B;
  --st-fill-ink: #FFFFFF;
  --st-housing: #1E262B;
  --st-housing-rule: rgba(255, 255, 255, .12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--st-ground);
  color: var(--st-ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--st-lime); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--st-lime-ink); outline-offset: 3px; border-radius: 4px; }
code, .st-num { font-family: var(--st-mono); font-size: .92em; overflow-wrap: anywhere; }

.st-skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--st-fill); color: var(--st-fill-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.st-skip:focus { top: 12px; }

.st-wrap { max-width: var(--st-measure); margin: 0 auto; padding-inline: var(--st-gutter); }

/* ---- masthead ---- */
.st-mast { border-bottom: 1px solid var(--st-rule); }
.st-mast-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding-block: 14px;
}
.st-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.st-brand svg { width: 30px; height: 30px; flex: none; }
.st-brand-word { font-weight: 700; letter-spacing: .14em; font-size: .86rem; text-transform: uppercase; }
.st-brand-host {
  font-family: var(--st-mono); font-size: .74rem; color: var(--st-lime-ink);
  border: 1px solid var(--st-rule); border-radius: 999px; padding: 1px 8px;
}
.st-nav { display: flex; gap: 4px 20px; flex-wrap: wrap; font-size: .92rem; }
.st-nav a { text-decoration: none; color: var(--st-ink-77); padding: 4px 0; }
.st-nav a:hover, .st-nav a[aria-current="page"] { color: var(--st-ink); box-shadow: inset 0 -2px 0 var(--st-lime); }

.st-edsw {
  display: inline-flex; border: 1px solid var(--st-rule); border-radius: 999px; padding: 3px; gap: 2px;
}
.st-edsw[hidden] { display: none; }
.st-edsw button {
  appearance: none; border: 0; background: transparent; color: var(--st-ink-77);
  width: 36px; height: 30px; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
}
.st-edsw button svg { width: 16px; height: 16px; }
.st-edsw button[aria-pressed="true"] { background: var(--st-fill); color: var(--st-fill-ink); }

/* ---- type ---- */
.st-eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: .69rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--st-ink-62);
}
.st-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--st-lime); flex: none; }
.st-d1 {
  text-wrap: balance;
  font-weight: 260; letter-spacing: -.035em; line-height: 1.08;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem); margin: 0 0 22px;
}
.st-d2 { text-wrap: balance; font-weight: 600; letter-spacing: -.04em; line-height: 1.15; font-size: clamp(1.45rem, 2.5vw, 2rem); margin: 0 0 16px; }
.st-d3 { font-weight: 600; letter-spacing: -.02em; font-size: 1.12rem; margin: 0 0 8px; line-height: 1.3; }
.st-dek { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--st-ink-77); max-width: 40em; margin: 0 0 22px; }
.st-small { font-size: .88rem; color: var(--st-ink-62); }

/* ---- buttons ---- */
.st-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.st-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; background: var(--st-fill); color: var(--st-fill-ink);
  font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid var(--st-fill);
}
.st-btn:hover { text-decoration: none; filter: brightness(.94); }
.st-btn--ghost { background: transparent; color: var(--st-ink); border-color: var(--st-rule); }
.st-btn--ghost:hover { border-color: var(--st-lime); }

/* ---- bands ---- */
.st-band { padding-block: clamp(56px, 6.4vw, 96px); }
.st-band--lift { background: var(--st-lift); border-block: 1px solid var(--st-rule-soft); }

/* ---- the test-card strip ---- */
.st-bars { display: flex; height: 10px; }
.st-bars span { flex: 1; }
.st-bars span:nth-child(1) { background: #E8ECEF; }
.st-bars span:nth-child(2) { background: #B9C0C6; }
.st-bars span:nth-child(3) { background: #65A30D; }
.st-bars span:nth-child(4) { background: #8A939A; }
.st-bars span:nth-child(5) { background: #A3E635; }
.st-bars span:nth-child(6) { background: #5B656C; }
.st-bars span:nth-child(7) { background: #1E262B; }

/* ---- the screen: bezel, status bar, glass, pins ---- */
.st-frameset { margin: 0; display: grid; gap: 22px; align-items: start; }
.st-screen {
  background: var(--st-housing); border-radius: 18px; padding: 8px 10px 12px;
  box-shadow: 0 0 0 1px var(--st-housing-rule), 0 24px 60px -30px rgba(0, 0, 0, .7);
}
.st-screen-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  padding: 4px 4px 9px; font-family: var(--st-mono); font-size: .7rem; color: rgba(255, 255, 255, .74);
  letter-spacing: .04em;
}
.st-rec { display: inline-flex; align-items: center; gap: 6px; color: #A3E635; font-weight: 700; }
.st-rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #65A30D; box-shadow: 0 0 0 3px rgba(101, 163, 13, .25); }
.st-screen-path { overflow-wrap: anywhere; }
.st-screen-time { margin-left: auto; }
.st-clean-btn {
  appearance: none; font: inherit; color: #FFFFFF; background: transparent; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 2px 10px; min-height: 26px;
}
.st-clean-btn[aria-pressed="true"] { background: #65A30D; color: #0C1116; border-color: #65A30D; }
.st-glass { position: relative; border-radius: 8px; overflow: hidden; background: #FFFFFF; }
.st-glass img { width: 100%; }
.st-pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: #65A30D; color: #0C1116; font: 700 .8rem/1 var(--st-mono);
  box-shadow: 0 0 0 2px #0C1116, 0 0 0 5px rgba(163, 230, 53, .45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.st-pin.st-lit { transform: translate(-50%, -50%) scale(1.28); box-shadow: 0 0 0 2px #0C1116, 0 0 0 7px #A3E635; }
.st-screen--clean .st-pin { display: none; }

.st-cuesheet { font-size: .95rem; }
.st-cuehead { margin: 0 0 12px; font-size: .69rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--st-ink-62); }
.st-cues { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-cues li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 8px 10px 8px 8px; border-radius: 10px; }
.st-cues li.st-lit { background: var(--st-lime-wash); }
.st-cue-n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--st-lime); color: var(--st-lime-ink); font: 700 .78rem/1 var(--st-mono);
}

@media (min-width: 980px) {
  .st-frameset--wide { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 32px; }
}

/* the handset: the phone capture */
.st-handset-set { margin: 30px 0; display: grid; gap: 20px; align-items: start; }
.st-handset {
  width: min(100%, 250px); background: var(--st-housing); border-radius: 34px; padding: 10px;
  box-shadow: 0 0 0 1px var(--st-housing-rule);
}
.st-handset .st-glass { border-radius: 24px; }
.st-handset .st-pin { width: 24px; height: 24px; font-size: .72rem; }
.st-handset-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 8px 8px; font: .66rem/1.3 var(--st-mono); color: rgba(255, 255, 255, .74); }
@media (min-width: 640px) {
  .st-handset-set { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
}

/* ---- front page ---- */
.st-marquee { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 5.6vw, 84px); }
.st-marquee-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) {
  .st-marquee-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; }
}
.st-owner-line {
  border-left: 2px solid var(--st-lime); padding: 4px 0 4px 14px; margin: 0 0 26px;
  font-size: .95rem; color: var(--st-ink-77); max-width: 36em;
}
.st-marquee .st-cues { margin-top: 14px; }

.st-guide { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.st-chan {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--st-rule); border-radius: 16px; padding: 12px 12px 18px; background: var(--st-ground);
}
.st-chan:hover, .st-chan:focus-within { border-color: var(--st-lime); }
.st-chan .st-screen { padding: 6px 7px 8px; border-radius: 12px; margin-bottom: 14px; }
.st-chan .st-screen-bar { font-size: .64rem; padding: 2px 2px 6px; }
.st-chan .st-glass { border-radius: 6px; }
.st-chan-body { padding: 0 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.st-chan-title a { text-decoration: none; }
.st-chan-title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.st-chan-line { margin: 0; color: var(--st-ink-77); font-size: .95rem; }
.st-chan-drop { margin: auto 0 0; padding-top: 10px; font-size: .86rem; color: var(--st-ink-62); border-top: 1px solid var(--st-rule-soft); }
.st-chan-drop b { color: var(--st-lime-ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; margin-right: 6px; }

.st-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: st-step; }
.st-steps li { border: 1px solid var(--st-rule); border-radius: 15px; padding: 18px 18px 20px; counter-increment: st-step; }
.st-steps li::before {
  content: "0" counter(st-step); display: block; font: 700 .74rem/1 var(--st-mono); color: var(--st-lime-ink); margin-bottom: 12px; letter-spacing: .1em;
}
.st-steps p { margin: 0; color: var(--st-ink-77); font-size: .96rem; }

/* ---- review page ---- */
.st-crumbs { font-size: .84rem; color: var(--st-ink-62); padding-top: 22px; }
.st-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.st-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--st-lime-ink); }
.st-reel-head { padding-block: 26px 34px; }
.st-slate { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font: .78rem/1.4 var(--st-mono); color: var(--st-ink-62); }
.st-slate span { white-space: nowrap; }
.st-slate b { color: var(--st-lime-ink); font-weight: 700; }

.st-reel-body { display: grid; gap: 0; }
.st-seg { padding-block: 34px; border-top: 1px solid var(--st-rule-soft); max-width: 46rem; }
.st-seg:first-child { border-top: 0; }
.st-seg p { margin: 0 0 14px; }
.st-seg-tag { display: block; font: 700 .7rem/1 var(--st-mono); letter-spacing: .14em; color: var(--st-lime-ink); margin-bottom: 10px; text-transform: uppercase; }
.st-feeds { list-style: none; margin: 18px 0 0; padding: 0; border: 1px solid var(--st-rule); border-radius: 15px; overflow: hidden; }
.st-feeds-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--st-rule); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--st-ink-62); }
.st-feeds-head::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st-lime); }
.st-feeds li { padding: 10px 16px; font-size: .94rem; border-top: 1px solid var(--st-rule-soft); color: var(--st-ink-77); }
.st-feeds li:first-child { border-top: 0; }

.st-rivals { display: grid; gap: 18px; margin-top: 18px; }
.st-rival { border: 1px solid var(--st-rule); border-radius: 15px; overflow: hidden; }
.st-rival-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 12px 18px; border-bottom: 1px solid var(--st-rule); background: var(--st-lift); }
.st-rival-head h3 { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.st-rival-when { font: .72rem/1.3 var(--st-mono); color: var(--st-ink-62); }
.st-rival dl { margin: 0; padding: 6px 18px 14px; }
.st-rival dt { margin-top: 12px; font-size: .69rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--st-ink-62); }
.st-rival dt.st-plus { color: var(--st-lime-ink); }
.st-rival dd { margin: 4px 0 0; font-size: .96rem; }

.st-drops { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.st-drops li {
  position: relative; padding: 12px 16px 12px 44px; border: 1px dashed var(--st-rule); border-radius: 12px; font-size: .97rem;
}
.st-drops li::before {
  content: ""; position: absolute; left: 16px; top: 19px; width: 14px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--st-ink-62) 0 2px, transparent 2px 4px);
}

.st-endcard { margin-top: 18px; border: 1px solid var(--st-rule); border-radius: 16px; overflow: hidden; }
.st-endcard-body { padding: clamp(20px, 3vw, 32px); }
.st-verdict { font-size: clamp(1.18rem, 2vw, 1.45rem); font-weight: 300; letter-spacing: -.01em; line-height: 1.45; margin: 0 0 22px; }

.st-dial { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 30px 10px; border-top: 1px solid var(--st-rule-soft); margin-top: 20px; font-size: .92rem; }
.st-dial a { text-decoration: none; color: var(--st-ink-77); }
.st-dial a:hover { color: var(--st-ink); }
.st-dial small { display: block; font: 700 .66rem/1.2 var(--st-mono); letter-spacing: .12em; color: var(--st-lime-ink); text-transform: uppercase; margin-bottom: 2px; }

/* ---- method + prose ---- */
.st-prose { max-width: 46rem; }
.st-prose p, .st-prose li { color: var(--st-ink-77); }
.st-prose h2 { margin-top: 44px; }
.st-prose ol, .st-prose ul { padding-left: 1.2em; }
.st-prose li { margin-bottom: 8px; }
.st-callbox { border: 1px solid var(--st-lime); background: var(--st-lime-wash); border-radius: 15px; padding: 18px 20px; margin: 0 0 30px; color: var(--st-ink); }
.st-callbox p { margin: 0; color: var(--st-ink); }

/* ---- no signal ---- */
.st-nosignal { text-align: left; padding-block: clamp(64px, 10vw, 140px); }

/* ---- foot ---- */
.st-foot { border-top: 1px solid var(--st-rule); padding-block: 36px 48px; font-size: .9rem; color: var(--st-ink-77); }
.st-foot-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .st-foot-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; } }
.st-foot p { margin: 0 0 10px; }
.st-foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }

@media (max-width: 480px) {
  .st-pin { width: 22px; height: 22px; font-size: .68rem; box-shadow: 0 0 0 2px #0C1116, 0 0 0 4px rgba(163, 230, 53, .45); }
  .st-handset .st-pin { width: 20px; height: 20px; font-size: .64rem; }
  .st-screen { padding: 6px 7px 9px; border-radius: 14px; }
  .st-screen-time { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .st-pin { transition: none; }
}
@media print {
  .st-edsw, .st-clean-btn, .st-skip { display: none !important; }
}

/* text for screen readers only */
.st-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
