/*!
 * Fresh Air — the landing (index.html), on top of tokens.css and site.css.
 * Layout: the first screen is copy left, globe right; on a phone the copy
 * first, then the state chip, the globe, the route's chips. Below it,
 * sections on alternating grounds. Colors only from tokens.css.
 */

/* ---------- the cipher (scr-init.js, landing/cipher.js) ----------
   Each word is its own span with the real text, which sets the layout;
   while scr-on is on <html> the word is hidden and its cipher (data-c) is
   drawn over it. Screen readers read the .visually-hidden copy. */
.lp-l1 { --scr-c: var(--fa-ink); }
.lp-l2 { --scr-c: var(--fa-mut); }
.lp-l3, .lp-final-line { --scr-c: var(--fa-lime-ink); }
main .scr .w { position: relative; }
.scr-on main .scr .w { color: transparent; text-shadow: none; }
.scr-on main .scr .w::after {
  content: attr(data-c);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--scr-c);
  white-space: pre;
}
.scr-on main .scr .w.ok { color: inherit; text-shadow: inherit; }
.scr-on main .scr .w.ok::after { content: none; }
/* The first screen once per visit (scr-init.js): back on the page, text. */
.scr-seen main .scr:not([data-scr-view]) .w { color: inherit; text-shadow: inherit; }
.scr-seen main .scr:not([data-scr-view]) .w::after { content: none; }

/* ---------- first screen ---------- */

/* .lp-band's washes and grid: the shared backdrop in site.css. */

.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding-block: clamp(1.5rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem);
}

.lp-copy { min-width: 0; display: grid; gap: 1.4rem; align-content: center; }

.lp-l1 {
  margin: 0;
  font: 600 clamp(2rem, 5.2vw, 3.9rem)/1.04 var(--fa-disp);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--fa-ink);
}
.lp-l2 {
  margin: 0;
  max-width: 44ch;
  font: 400 clamp(1.05rem, 1.6vw, 1.22rem)/1.55 var(--fa-body);
  color: var(--fa-mut);
}
.lp-l3 {
  margin: 0;
  font: 600 clamp(1.15rem, 2.3vw, 1.7rem)/1.2 var(--fa-disp);
  color: var(--fa-lime-ink);
  text-wrap: balance;
}
[data-bs-theme="dark"] .lp-l3,
[data-bs-theme="dark"] .lp-final-line {
  text-shadow: 0 0 40px rgba(198, 255, 62, 0.35);
}

.lp-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }
/* «Попробовать бесплатно — 1 день» (here and in «Дышите свободно»): one
   line in either language, so switching RU/EN never changes its height;
   under 400 px the short «1 день бесплатно», which fits a phone's
   full-width button. nowrap only as a guard. */
.lp-try { white-space: nowrap; }
.lp-try-short { display: none; }
@media (max-width: 399.98px) {
  .lp-try-long { display: none; }
  .lp-try-short { display: inline; }
}
.lp-cta .btn-lg, .lp-final .btn-lg, .lp-support .btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

/* ---------- the globe ---------- */

.lp-viz { position: relative; min-width: 0; }
.lp-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  isolation: isolate;
}
.lp-stage::before {
  content: "";
  position: absolute;
  inset: 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--fa-glow), transparent 100%);
}
.lp-stage canvas,
.lp-stage .lp-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.8s ease;
}
.lp-stage .lp-still { object-fit: contain; }
.lp-stage canvas { opacity: 0; }
.lp-stage.live canvas { opacity: 1; }
.lp-stage.live .lp-still { opacity: 0; }

/* The state of this visit: directly, or through which country. */
.lp-status {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 22rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--fa-line);
  border-radius: 12px;
  background: var(--fa-chip);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  font: 500 0.72rem/1.35 var(--fa-mono);
  letter-spacing: 0.04em;
  color: var(--fa-mut);
  /* Room for two lines in either language (padding and border included),
     the text centered: the globe below doesn't move on RU/EN. */
  min-height: calc(2 * 1.35em + 1.2rem + 2px);
}
.lp-status b { color: var(--fa-ink); font-weight: 500; }
.lp-status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fa-dim); }
.lp-viz[data-via] .lp-status { border-color: var(--fa-lime-line); }
.lp-viz[data-via] .lp-status i { background: var(--fa-lime); box-shadow: 0 0 10px var(--fa-lime); }

/* The route's chips: only while there is a route. */
.lp-chips { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.lp-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--fa-line);
  border-radius: 10px;
  background: var(--fa-chip);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  font: 500 0.66rem/1.2 var(--fa-mono);
  letter-spacing: 0.08em;
  color: var(--fa-mut);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s ease, color 0.4s ease;
}
.lp-chip b { color: var(--fa-ink); font-weight: 500; }
.lp-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--fa-dim); transition: background 0.4s ease, box-shadow 0.4s ease; }
.lp-c1 { top: 34%; left: 0; }
.lp-c2 { top: 56%; right: 0; }
.lp-c3 { bottom: 6%; left: 8%; }
.lp-viz[data-via] .lp-chip { opacity: 1; transform: none; }
/* Lit while the leading packet is on that leg (globe.js sets data-leg). */
.lp-viz[data-leg="1"] .lp-c1,
.lp-viz[data-leg="2"] .lp-c2 { border-color: var(--fa-lime-line); color: var(--fa-ink); }
.lp-viz[data-leg="1"] .lp-c1 i,
.lp-viz[data-leg="2"] .lp-c2 i { background: var(--fa-lime); box-shadow: 0 0 10px var(--fa-lime); }
.lp-viz[data-leg="3"] .lp-c3 { border-color: var(--fa-cyan-line); color: var(--fa-ink); }
.lp-viz[data-leg="3"] .lp-c3 i { background: var(--fa-cyan); box-shadow: 0 0 10px var(--fa-cyan); }

/* ---------- ticker ---------- */

.lp-ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--fa-line);
  background: var(--fa-bg-2);
}
.lp-ticker-track { display: flex; width: max-content; animation: lp-marq 32s linear infinite; }
.lp-ticker:hover .lp-ticker-track { animation-play-state: paused; }
.lp-ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.lp-ticker li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.7rem 0 0.7rem 1.6rem;
  font: 500 0.68rem/1 var(--fa-mono);
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: var(--fa-mut);
}
.lp-ticker li::after {
  content: "";
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--fa-lime-ink);
  opacity: 0.8;
}
@keyframes lp-marq { to { transform: translateX(-50%); } }

/* ---------- numbers ---------- */

.lp-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.lp-stat {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--fa-lime-line);
}
.lp-num {
  font: 600 clamp(2.6rem, 6vw, 4.2rem)/1 var(--fa-disp);
  color: var(--fa-ink);
  font-variant-numeric: tabular-nums;
}
.lp-unit { font-size: 0.45em; color: var(--fa-lime-ink); }
/* The two numbers rise in once in view (landing/sections.js): the real
   figure all along, only fading up. Under scr-on only -- set before the
   first paint where motion is fine, dropped after 4 s if no page script
   ran -- so reduced motion or a blocked script shows them as they are. */
.scr-on [data-rise] {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scr-on [data-rise].in { opacity: 1; transform: none; }
.lp-stat-label {
  font: 500 0.72rem/1.4 var(--fa-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fa-mut);
}

/* ---------- sections ---------- */

.lp-sect { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.lp-sect-alt { background: var(--fa-bg-2); border-block: 1px solid var(--fa-line); }
.lp-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  font: 500 0.68rem/1 var(--fa-mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fa-lime-ink);
}
.lp-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lp-h2 {
  margin: 0 0 2rem;
  max-width: 22ch;
  font: 600 clamp(1.6rem, 3.4vw, 2.6rem)/1.12 var(--fa-disp);
  color: var(--fa-ink);
}
.lp-lead { max-width: 52ch; margin: -1rem 0 2rem; font-size: 1.08rem; color: var(--fa-mut); }

.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.lp-card {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--fa-line);
  border-radius: 18px;
  background: var(--fa-bg);
}
.lp-sect:not(.lp-sect-alt) .lp-card { background: var(--fa-bg-2); }
.lp-card h3, .lp-steps h3, .lp-why-steps h3 {
  margin: 0 0 0.5rem;
  font: 600 1.05rem/1.3 var(--fa-body);
  color: var(--fa-ink);
}
.lp-card p, .lp-steps p, .lp-why-steps p { margin: 0; color: var(--fa-mut); }

/* Three steps in order: the numbers are the order. */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lp-step;
}
.lp-steps li {
  counter-increment: lp-step;
  padding-top: 1.25rem;
  border-top: 1px solid var(--fa-line);
}
.lp-steps li::before {
  content: counter(lp-step);
  display: block;
  margin-bottom: 0.75rem;
  font: 600 2.2rem/1 var(--fa-disp);
  color: var(--fa-lime-ink);
}

/* ---------- why no logs ---------- */

.lp-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.lp-why-figure { position: sticky; top: 6rem; min-width: 0; }
.lp-why-svg { width: 100%; height: auto; display: block; overflow: visible; }
.lp-why-svg text {
  font: 500 13px var(--fa-mono);
  letter-spacing: 0.08em;
  fill: var(--fa-mut);
  text-anchor: middle;
}
.lp-why-path { stroke: var(--fa-line); stroke-width: 2; stroke-dasharray: 4 6; }
.lp-why-device rect, .lp-why-server rect, .lp-why-net circle, .lp-why-net ellipse {
  fill: var(--fa-bg-2);
  stroke: var(--fa-mut);
  stroke-width: 1.5;
}
.lp-why-device line, .lp-why-net line { stroke: var(--fa-mut); stroke-width: 1.5; }
.lp-why-server circle { fill: var(--fa-lime-ink); }
.lp-why-packet { fill: var(--fa-lime); }
[data-bs-theme="light"] .lp-why-packet { fill: var(--fa-lime-ink); }
.lp-why-trail circle { fill: var(--fa-lime-ink); opacity: 0.45; transition: opacity 0.8s ease; }
.lp-why-log { opacity: 0; transform: translateY(8px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lp-why-log rect { fill: var(--fa-bg-2); stroke: var(--fa-warn); stroke-width: 1.5; }
.lp-why-log line { stroke: var(--fa-warn); stroke-width: 6; stroke-linecap: round; opacity: 0.55; }
.lp-why-svg .lp-why-log-k { text-anchor: start; fill: var(--fa-ink); }
.lp-why-log-strike { stroke: var(--fa-mut); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lp-why-zero { opacity: 0; transition: opacity 0.5s ease; }
.lp-why-zero rect { fill: var(--fa-bg-2); stroke: var(--fa-lime-ink); stroke-width: 1.5; }
.lp-why-zero circle { fill: none; stroke: var(--fa-lime-ink); stroke-width: 2; }
.lp-why-zero path { fill: none; stroke: var(--fa-lime-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lp-why-svg .lp-why-zero text { font-size: 15px; font-weight: 600; fill: var(--fa-lime-ink); }
/* Step 1: the server is the subject; 2: it keeps a log; 3: the log is
   struck out and fades, the green "0 logs" frame takes its place, and
   the packet's trail fades. No step yet (no script): step 3's picture. */
.lp-why[data-step="1"] .lp-why-server rect { stroke: var(--fa-ink); stroke-width: 2.5; }
.lp-why[data-step="2"] .lp-why-log { opacity: 1; transform: none; }
.lp-why[data-step="2"] .lp-why-server rect { stroke: var(--fa-warn); }
.lp-why[data-step="3"] .lp-why-log { transform: none; transition: opacity 0.5s ease 0.3s; }
.lp-why[data-step="3"] .lp-why-log-strike { stroke-dashoffset: 0; transition: stroke-dashoffset 0.3s ease; }
.lp-why:not(.lp-why-js) .lp-why-zero, .lp-why[data-step="3"] .lp-why-zero { opacity: 1; }
.lp-why:not(.lp-why-js) .lp-why-zero path, .lp-why[data-step="3"] .lp-why-zero path { stroke-dashoffset: 0; }
.lp-why[data-step="3"] .lp-why-zero { transition-delay: 0.7s; }
.lp-why[data-step="3"] .lp-why-zero path { transition: stroke-dashoffset 0.4s ease 1.1s; }
.lp-why:not([data-step="1"]):not([data-step="2"]) .lp-why-server rect { stroke: var(--fa-lime-line); }
.lp-why:not([data-step="1"]):not([data-step="2"]) .lp-why-trail circle { opacity: 0; }

.lp-why-text { min-width: 0; }
.lp-why-steps { margin: 0 0 2rem; padding: 0; list-style: none; counter-reset: lp-why; }
.lp-why-steps li {
  counter-increment: lp-why;
  position: relative;
  padding: 1.25rem 0 1.25rem 3rem;
  border-top: 1px solid var(--fa-line);
  opacity: 0.55;
  transition: opacity 0.4s ease;
}
.lp-why-steps li::before {
  content: counter(lp-why);
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--fa-line);
  border-radius: 50%;
  font: 600 0.85rem/1 var(--fa-mono);
  color: var(--fa-mut);
}
.lp-why-steps li.is-on { opacity: 1; }
.lp-why-steps li.is-on::before { border-color: var(--fa-lime-line); color: var(--fa-lime-ink); }
/* The heading is the step's button; the whole step takes the click. */
.lp-why-go {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: start;
  cursor: pointer;
}
.lp-why-go::after { content: ""; position: absolute; inset: 0; }
/* Reduced motion: the steps don't change, so nothing to press. */
.lp-why-go:disabled { cursor: inherit; }
/* The focus ring round the whole step, where :has() works. */
@supports selector(:has(a)) {
  .lp-why-go:focus-visible { outline: none; }
  .lp-why-steps li:has(.lp-why-go:focus-visible) {
    outline: 2px solid var(--fa-lime-line);
    outline-offset: 4px;
    border-radius: 6px;
  }
}
.lp-why[data-step] .lp-why-steps li:not(.is-on):hover { opacity: 0.8; }
/* Without the script every step reads at full strength. */
.lp-why:not([data-step]) .lp-why-steps li { opacity: 1; }

/* ---------- support, questions, final ---------- */

.lp-support {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.lp-support .lp-lead { margin-bottom: 0.75rem; }
.lp-support-note { margin: 0; font-weight: 600; color: var(--fa-ink); }
.lp-support-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }

.lp-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
}
.lp-faq details { border-top: 1px solid var(--fa-line); }
.lp-faq details:last-child { border-bottom: 1px solid var(--fa-line); }
.lp-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.25rem;
  font-weight: 600;
  color: var(--fa-ink);
  cursor: pointer;
  list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+";
  flex: none;
  font: 500 1.2rem/1 var(--fa-mono);
  color: var(--fa-lime-ink);
  transition: transform 0.3s ease;
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0 0.25rem 1.25rem; max-width: 60ch; color: var(--fa-mut); }
.lp-faq details p:not(:last-child) { margin-bottom: 0.6rem; }

/* The onion address (addresses.js), in the footer and the FAQ:
   monospaced, and on a phone it breaks between any two characters -- a
   56-character name has nowhere else to break. */
.lp-onion {
  padding: 0;
  font: 500 0.85em/1.5 var(--fa-mono);
  color: var(--fa-ink);
  background: none;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.lp-onion-copy {
  margin-left: 0.25rem;
  padding: 0.05rem 0.6rem;
  border: 1px solid var(--fa-line);
  border-radius: 999px;
  background: none;
  font: inherit;
  color: var(--fa-mut);
  white-space: nowrap;
}
.lp-onion-copy:hover { color: var(--fa-ink); }

/* The landing's last lines: the addresses left and «Support» right on the
   first, © under them; without the addresses «Support» keeps its place.
   A phone: one column -- addresses (one per line), «Support», ©. */
.lp-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  row-gap: 0.4rem;
}
.lp-foot-addr {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0.25rem;
  min-width: 0;
}
.lp-foot-support { grid-column: 2; grid-row: 1; text-align: right; }
.lp-foot-copy { grid-column: 1; grid-row: 2; }
@media (max-width: 575.98px) {
  .lp-foot { grid-template-columns: minmax(0, 1fr); }
  .lp-foot-addr { flex-direction: column; }
  .lp-foot-addr, .lp-foot-support, .lp-foot-copy { grid-column: 1; grid-row: auto; text-align: left; }
}

.lp-final { text-align: center; }
.lp-final-line {
  margin: 0 0 2rem;
  font: 600 clamp(2rem, 6vw, 4.2rem)/1.08 var(--fa-disp);
  color: var(--fa-lime-ink);
}

/* ---------- footer ---------- */

.lp-footer { padding-top: 3rem; font-size: 0.9rem; }
.lp-footer-title { margin: 0 0 0.5rem; font: 600 1rem/1.3 var(--fa-disp); color: var(--fa-ink); }
.lp-footer-lead { margin: 0 0 1.75rem; }
/* Software, imagery, fonts: three equal columns; one under the other
   on a phone, all on the same left edge. */
.lp-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--fa-line);
}
.lp-footer-grid .lp-kicker { margin-bottom: 0.75rem; }
.lp-footer-grid li + li { margin-top: 0.25rem; }
@media (max-width: 767.98px) {
  .lp-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- narrower ---------- */

@media (width < 992px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .lp-viz { width: min(100%, 440px); justify-self: center; display: grid; gap: 0.6rem; }
  .lp-status { position: static; max-width: none; order: -1; }
  .lp-chips { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-top: -0.25rem; }
  .lp-chip { position: static; }
  .lp-viz:not([data-via]) .lp-chips { display: none; }
  .lp-why { grid-template-columns: minmax(0, 1fr); }
  .lp-why-figure { position: static; max-width: 520px; }
  .lp-cards, .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-support, .lp-faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .lp-support-actions { justify-content: flex-start; }
}
/* "Why no logs" on a phone: no shared diagram above the steps (it reads
   apart from them) and no round; each step has its own frame of it
   beside the text, faded in as it scrolls up (.is-seen, sections.js).
   max-width rather than a range: the same test as sections.js's
   matchMedia, which older phone browsers only know in this form. */
.lp-why-mini { display: none; }
@media (max-width: 767.98px) {
  .lp-why-figure { display: none; }
  .lp-why-steps li,
  .lp-why[data-step] .lp-why-steps li:not(.is-on):hover {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    column-gap: 0.75rem;
    align-items: start;
    opacity: 1;
  }
  .lp-why-steps li.is-on::before { border-color: var(--fa-line); color: var(--fa-mut); }
  .lp-why-steps h3, .lp-why-steps p { grid-column: 1; }
  .lp-why-go { cursor: inherit; }
  .lp-why-mini {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    height: auto;
    overflow: visible;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .lp-why-js .lp-why-steps li:not(.is-seen) .lp-why-mini { opacity: 0; transform: translateY(10px); }
}
/* 12 and 13 units in a 132-wide frame shown 120 px wide: 11-12 px on screen. */
.lp-why-mini text { font: 600 12px var(--fa-mono); fill: var(--fa-ink); }
.lp-wm-srv rect { fill: var(--fa-bg-2); stroke: var(--fa-mut); stroke-width: 1.5; }
.lp-wm-srv circle { fill: var(--fa-lime-ink); }
.lp-wm-warn rect { stroke: var(--fa-warn); }
.lp-wm-lock path { fill: none; stroke: var(--fa-warn); stroke-width: 3; stroke-linecap: round; }
.lp-wm-lock rect { fill: var(--fa-warn); }
.lp-wm-lock circle { fill: var(--fa-bg); }
.lp-wm-card rect { fill: var(--fa-bg-2); stroke: var(--fa-warn); stroke-width: 1.5; }
.lp-wm-card line { stroke: var(--fa-warn); stroke-width: 4; stroke-linecap: round; opacity: 0.55; }
/* 3: the card is struck out and fades; the green mark stays. Without the
   script, with reduced motion or once seen: the end of it. */
.lp-wm-3 .lp-wm-card { opacity: 0.25; transition: opacity 1s ease 0.5s; }
.lp-wm-strike { stroke: var(--fa-mut); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s ease 0.3s; }
.lp-wm-ok circle { fill: none; stroke: var(--fa-lime-ink); stroke-width: 2; }
.lp-wm-ok path { fill: none; stroke: var(--fa-lime-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lp-wm-ok text { text-anchor: middle; fill: var(--fa-lime-ink); font-size: 13px; }
.lp-why-js .lp-why-steps li:not(.is-seen) .lp-wm-3 .lp-wm-card { opacity: 1; }
.lp-why-js .lp-why-steps li:not(.is-seen) .lp-wm-strike { stroke-dashoffset: 1; }

@media (width < 576px) {
  .lp-stats { grid-template-columns: minmax(0, 1fr); }
  .lp-cta .btn, .lp-final .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-ticker-track { animation: none; width: auto; }
  .lp-ticker-track ul + ul { display: none; }
  .lp-ticker ul { flex-wrap: wrap; justify-content: center; }
  .lp-ticker li { padding-block: 0.45rem; }
  .lp-stage canvas, .lp-stage .lp-still, .lp-chip, .lp-chip i,
  .lp-why-log, .lp-why-trail circle, .lp-why-steps li, .lp-faq summary::after,
  .lp-why-mini, .lp-wm-3 .lp-wm-card, .lp-wm-strike,
  .lp-why-zero, .lp-why-zero path, .lp-why-log-strike { transition: none; }
}
