/* Faraday — marketing site
   Brand: dark clinical instrument. One accent (cyan), amber for "look here",
   crimson only for a confirmed threat. Hairlines instead of shadows. */

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #050607;
  --bg-2: #090b0d;
  --surface: #0f1214;
  --surface-2: #151a1d;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: rgba(255, 255, 255, 0.93);
  --text-2: rgba(255, 255, 255, 0.64);
  --text-3: rgba(255, 255, 255, 0.44);

  --cyan: #32adc6;
  --cyan-hi: #6fd6e8;
  --cyan-glow: rgba(50, 173, 198, 0.18);
  --amber: #e0a82e;
  --red: #ef4444;

  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: #001; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type primitives ---------- */
.h2 { font-size: clamp(34px, 5.2vw, 58px); }
.h2 em, .hero h1 em { font-style: normal; color: var(--cyan-hi); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 36em; }
.mono { font-family: var(--mono); font-size: 0.82em; letter-spacing: 0.02em; }
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lede { margin-top: 20px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(5, 6, 7, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 28px; height: 28px; }
/* Matches the app: SF Pro semibold, wide tracking, a Lambda for every A. */
.brand__word { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 600; letter-spacing: 0.27em; font-size: 15px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14.5px; color: var(--text-2); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  background: var(--text); color: #050607;
  transition: background 0.2s;
}
.nav__cta:hover { background: #fff; }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #fff; color: #000;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 10px 40px -10px var(--cyan-glow);
}
.appstore:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #fff, 0 14px 50px -10px rgba(50,173,198,0.35); }
.appstore svg { width: 24px; height: 28px; margin-top: -3px; }
.appstore span { display: flex; flex-direction: column; line-height: 1.05; }
.appstore small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
.appstore b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.link-arrow { color: var(--text-2); text-decoration: none; font-size: 15.5px; display: inline-flex; gap: 8px; align-items: center; transition: color 0.2s; }
.link-arrow:hover { color: var(--text); }
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateY(2px); }

/* ---------- device frame ---------- */
.phone {
  --pw: 300px;
  width: var(--pw);
  flex: none;
  margin: 0;
  padding: calc(var(--pw) * 0.03);
  border-radius: calc(var(--pw) * 0.165);
  background: linear-gradient(155deg, #2a2f33 0%, #101315 38%, #0b0d0f 62%, #22272b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 0 0 1px rgba(0,0,0,0.9),
    0 40px 80px -30px rgba(0,0,0,0.9);
  position: relative;
}
.phone__screen {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: calc(var(--pw) * 0.138);
  overflow: hidden;
  background: #0a0a0a;
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__bar {
  position: absolute; inset: 0 0 auto 0; height: 13.2cqw;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7.5cqw 0 10cqw;
  font: 600 4.4cqw/1 -apple-system, system-ui, sans-serif;
  color: #fff; z-index: 2; pointer-events: none;
}
.phone__bar::after {
  content: ""; position: absolute; left: 50%; top: 3.2cqw; transform: translateX(-50%);
  width: 28cqw; height: 8.4cqw; border-radius: 99px; background: #000;
}
.phone__bar svg { height: 3.5cqw; width: auto; }
.phone__sys { display: flex; gap: 1.6cqw; align-items: center; }
.phone--tilt { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 72% 42%, rgba(50,173,198,0.13), transparent 70%),
    linear-gradient(transparent 0 calc(100% - 1px), var(--line) 0) 0 0 / 100% 64px,
    linear-gradient(90deg, transparent 0 calc(100% - 1px), var(--line) 0) 0 0 / 64px 100%;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 85%);
  opacity: 0.8; pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(44px, 7.4vw, 88px); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 26px; }
.hero .lede { margin-bottom: 36px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding: 0; list-style: none;
  font-family: var(--mono); font-size: 12.5px; color: var(--text-3); letter-spacing: 0.02em;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero__visual .phone { --pw: 318px; z-index: 2; }
.rings { position: absolute; max-width: none; width: 720px; height: 720px; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; }
.rings path { fill: none; stroke: var(--cyan); }
.rings .r1 { stroke-opacity: 0.16; }
.rings .r2 { stroke-opacity: 0.26; }
.rings .r3 { stroke-opacity: 0.4; }
.rings .pulse { stroke-opacity: 0.5; transform-origin: 360px 360px; animation: pulse 4.8s cubic-bezier(.2,.6,.3,1) infinite; }
.rings .pulse.b { animation-delay: 2.4s; }
@keyframes pulse { 0% { transform: scale(0.3); stroke-opacity: 0.55; } 100% { transform: scale(1.25); stroke-opacity: 0; } }

.readout {
  position: absolute; z-index: 3;
  background: rgba(15, 18, 20, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--text-2);
  box-shadow: 0 20px 40px -20px #000;
  min-width: 190px;
}
.readout b { display: block; color: var(--text); font-weight: 500; font-size: 12.5px; margin-bottom: 2px; }
.readout .tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 99px; border: 1px solid; font-size: 10.5px; letter-spacing: 0.08em; }
.readout .tag--amber { color: var(--amber); border-color: rgba(224,168,46,0.45); background: rgba(224,168,46,0.08); }
.readout .tag--cyan { color: var(--cyan-hi); border-color: rgba(50,173,198,0.45); background: rgba(50,173,198,0.08); }
.readout--a { left: -10%; top: 49%; }
.readout--b { right: -2%; bottom: 17%; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero__visual { min-height: 0; padding: 30px 0 0; }
  .hero__visual .phone { --pw: min(290px, 74vw); }
  .rings { width: 560px; height: 560px; }
  .readout--a { left: 0; top: 46%; }
  .readout--b { right: 0; bottom: 12%; }
}
@media (max-width: 520px) {
  .readout { min-width: 0; font-size: 10.5px; padding: 9px 11px; }
  .readout b { font-size: 11.5px; }
  .readout--a { top: 44%; }
}

/* ---------- moments (audience) ---------- */
.moments { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.moments__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.moment { padding: 34px 28px 36px; border-left: 1px solid var(--line); }
.moment:first-child { border-left: 0; padding-left: 0; }
.moment .mono { color: var(--cyan-hi); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11.5px; }
.moment h3 { font-size: 21px; margin: 12px 0 8px; letter-spacing: -0.015em; }
.moment p { color: var(--text-2); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) {
  .moments__grid { grid-template-columns: 1fr 1fr; }
  .moment { padding: 28px 22px; }
  .moment:nth-child(odd) { border-left: 0; padding-left: 0; }
  .moment:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .moments__grid { grid-template-columns: 1fr; }
  .moment { border-left: 0; padding: 24px 0; }
  .moment + .moment { border-top: 1px solid var(--line); }
}

/* ---------- sweep stepper ---------- */
.sweep__grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 6vw, 90px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { border-bottom: 1px solid var(--line); }
.step__btn {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: baseline;
  padding: 26px 0;
}
.step__n { font-family: var(--mono); font-size: 13px; color: var(--text-3); transition: color 0.25s; }
.step__t { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); transition: color 0.25s; }
.step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(.2,.7,.2,1); }
.step__body > div { overflow: hidden; }
.step__body p { color: var(--text-2); padding: 6px 0 52px 64px; margin: 0; max-width: 34em; line-height: 1.6; }
.step.is-active .step__n { color: var(--cyan-hi); }
.step.is-active .step__t { color: var(--text); }
.step.is-active .step__body { grid-template-rows: 1fr; }
.step__btn:hover .step__t { color: var(--text); }
.step__bar { height: 1px; background: var(--cyan); transform-origin: left; transform: scaleX(0); margin-top: -1px; }
.step.is-active .step__bar { transform: scaleX(1); transition: transform 0.6s ease; }

.sweep__device { position: sticky; top: 100px; display: grid; justify-items: center; gap: 22px; }
.sweep__device .phone { --pw: 340px; }
.sweep__device .phone__screen img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
.sweep__device .phone__screen img.is-on { opacity: 1; }
.sweep__caption { font-family: var(--mono); font-size: 12px; color: var(--text-3); text-align: center; min-height: 1.5em; }

.layered {
  margin-top: clamp(40px, 6vw, 70px);
  display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center;
  padding: 28px 30px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(50,173,198,0.09), rgba(50,173,198,0.02) 60%);
  border: 1px solid rgba(50,173,198,0.22);
}
.layered svg { width: 54px; height: 54px; }
.layered p { margin: 0; color: var(--text-2); }
.layered strong { color: var(--text); font-weight: 600; display: block; font-size: 19px; margin-bottom: 4px; letter-spacing: -0.01em; }

@media (max-width: 960px) {
  .sweep__grid { grid-template-columns: minmax(0, 1fr); }
  .sweep__device { position: relative; top: 0; order: -1; }
  .sweep__device .phone { --pw: min(300px, 72vw); }
}
@media (max-width: 560px) {
  .step__btn { grid-template-columns: 40px 1fr; padding: 22px 0; }
  .step__body p { padding-left: 48px; }
  .layered { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- instruments ---------- */
.instruments { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.inst { background: var(--bg-2); padding: 32px 28px 30px; display: flex; flex-direction: column; transition: background 0.25s; }
.inst:hover { background: var(--surface); }
.inst__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface); margin-bottom: 22px; }
.inst__icon svg { width: 22px; height: 22px; stroke: var(--cyan-hi); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.inst h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 8px; }
.inst p { color: var(--text-2); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) { .inst-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .inst-grid { grid-template-columns: 1fr; } .inst { padding: 28px 22px; } }

/* ---------- pro / monitoring ---------- */
.pro__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pro__phones { position: relative; display: flex; justify-content: center; min-height: 600px; }
.pro__phones .phone { --pw: 270px; }
.pro__phones .phone:first-child { transform: translateX(22%) rotate(-4deg) translateY(30px); opacity: 0.9; }
.pro__phones .phone:last-child { transform: translateX(-22%) rotate(3deg); z-index: 2; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--text-2); }
.checks li b { color: var(--text); font-weight: 600; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; stroke: var(--cyan-hi); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .pro__grid { grid-template-columns: minmax(0, 1fr); }
  .pro__phones { min-height: 0; order: 2; padding: 10px 0 30px; }
  .pro__phones .phone { --pw: min(230px, 42vw); }
}

/* ---------- privacy ---------- */
.privacy { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.privacy__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.zeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.zero { background: var(--bg-2); padding: 28px 20px; text-align: center; }
.zero b { display: block; font-family: var(--sans); font-weight: 600; font-size: clamp(48px, 6.4vw, 70px); line-height: 1; color: var(--cyan-hi); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.zero span { display: block; margin-top: 12px; font-size: 14px; color: var(--text-2); }
@media (max-width: 960px) { .privacy__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg); transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--text-2); margin: -6px 0 24px; max-width: 40em; }
@media (max-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- final cta ---------- */
.final { text-align: center; padding: clamp(100px, 13vw, 170px) 0; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(50,173,198,0.16), transparent 62%);
  pointer-events: none;
}
.final__icon { width: 96px; height: 96px; margin: 0 auto 34px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line-strong), 0 20px 60px -10px rgba(50,173,198,0.4); }
.final h2 { font-size: clamp(44px, 8vw, 96px); letter-spacing: -0.04em; margin-bottom: 22px; position: relative; }
.final .lede { margin: 0 auto 38px; position: relative; }
.final .cta-row { justify-content: center; position: relative; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14px; color: var(--text-3); }
.footer__in { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer a { text-decoration: none; color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer__legal { width: 100%; font-size: 12.5px; line-height: 1.6; color: var(--text-3); max-width: 60em; margin: 8px 0 0; }

/* ---------- guide page ---------- */
.article { padding: clamp(48px, 7vw, 96px) 0 clamp(60px, 8vw, 110px); }
.article__head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 64px); }
.article__head h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.035em; margin-bottom: 22px; }
.article__grid { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { max-width: 42em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ol, .prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.7em; padding-left: 4px; }
.prose li::marker { color: var(--cyan-hi); font-family: var(--mono); font-size: 0.85em; }
.hide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0 !important; }
.hide-list li { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 15.5px; }
.hide-list li span { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.aside { position: sticky; top: 96px; display: grid; gap: 18px; justify-items: center; text-align: center; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.aside .phone { --pw: 200px; }
.aside p { color: var(--text-2); font-size: 15px; margin: 0; }
@media (max-width: 960px) {
  .article__grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: relative; top: 0; }
}
@media (max-width: 520px) { .hide-list { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: 0.08s; }
.js .rv-d2 { transition-delay: 0.16s; }
.js .rv-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rings .pulse { animation: none; opacity: 0; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .step__body, .step__bar, .sweep__device .phone__screen img { transition: none; }
}

.lede--gap { margin-top: 20px; }

/* ---------- guide: stats, citations, share ---------- */
.share {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14.5px; font-weight: 600; color: var(--text); transition: border-color 0.2s, background 0.2s;
}
.share:hover { border-color: rgba(50,173,198,0.6); background: rgba(50,173,198,0.08); }
.share:focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 3px; }
.share svg { width: 16px; height: 16px; stroke: var(--cyan-hi); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 clamp(56px, 8vw, 96px); }
.stat {
  display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(50,173,198,0.08), var(--surface) 60%);
  border: 1px solid var(--line-strong); scroll-margin-top: 90px;
}
.stat b { font-size: clamp(40px, 4.4vw, 54px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--cyan-hi); font-variant-numeric: tabular-nums; }
.stat p { margin: 16px 0 20px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.stat__src { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); text-decoration: none; letter-spacing: 0.02em; }
.stat__src:hover { color: var(--cyan-hi); }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stats { grid-template-columns: minmax(0, 1fr); } }

.cite { font-size: 0.68em; line-height: 0; margin-left: 2px; }
.cite a { color: var(--cyan-hi); text-decoration: none; font-family: var(--mono); padding: 0 1px; }
.cite a:hover { text-decoration: underline; }
.sources { font-size: 14px; }
.sources li { color: var(--text-3); scroll-margin-top: 90px; }
.sources a { color: var(--text-2); }
.sources li:target { color: var(--text); }
.byline { margin: 18px 0 0; font-size: 14px; color: var(--text-3); }
.faq--inline { border-top: 1px solid var(--line); margin-bottom: 8px; }
.faq--inline summary { font-size: 17.5px; }

/* guide: screenshot-friendly checklist and tip */
.prose .checklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; counter-reset: step; }
.prose .checklist li {
  counter-increment: step; margin: 0; padding: 18px 20px 18px 66px; position: relative;
  border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface);
  color: var(--text-2); font-size: 16.5px; line-height: 1.45;
}
.prose .checklist li::before {
  content: counter(step); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(50,173,198,0.14); color: var(--cyan-hi); font-family: var(--mono); font-size: 14px; font-weight: 500;
}
.prose .checklist b { color: var(--text); font-weight: 600; display: block; font-size: 17.5px; margin-bottom: 2px; }
.tip {
  margin: 40px 0 8px; padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(50,173,198,0.12), rgba(50,173,198,0.03) 70%);
  border: 1px solid rgba(50,173,198,0.3);
}
.prose .tip p { margin: 0; }
.prose .tip__label { font-size: 14px; color: var(--text-3); margin-bottom: 8px; }
.prose .tip__line { font-size: clamp(22px, 2.8vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.tip__line em { font-style: normal; color: var(--cyan-hi); }
.prose .checklist small { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.prose .tip__more { margin-top: 12px !important; font-size: 15px; color: var(--text-2); }

/* guide visuals */
.plan { margin: 8px 0 18px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); }
.plan svg { width: 100%; height: auto; }
.plan .room { fill: #0a0d0f; stroke: rgba(255,255,255,0.35); stroke-width: 3; }
.plan .gap { stroke: #0a0d0f; stroke-width: 6; }
.plan .wall { fill: none; stroke: rgba(255,255,255,0.35); stroke-width: 3; }
.plan .door { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 1.5; stroke-dasharray: 4 4; }
.plan .f { fill: #13181b; stroke: rgba(255,255,255,0.2); stroke-width: 1.5; }
.plan .bed { fill: #161c20; }
.plan .ring { fill: none; stroke: rgba(224,168,46,0.45); stroke-width: 1.5; stroke-dasharray: 3 4; }
.plan .lbl { fill: rgba(255,255,255,0.32); font: 500 15px var(--sans); text-anchor: middle; }
.plan .hs circle { fill: #1d1607; stroke: var(--amber); stroke-width: 2; }
.plan .hs text { fill: var(--amber); font: 600 17px var(--sans); text-anchor: middle; dominant-baseline: central; }
.plan figcaption { margin-top: 12px; font-size: 13.5px; color: var(--text-3); }
.prose ol.hide-list { counter-reset: spot; }
.prose ol.hide-list li { counter-increment: spot; position: relative; padding-left: 52px; }
.prose ol.hide-list li::before {
  content: counter(spot); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--amber); color: var(--amber); font-size: 13px; font-weight: 600; background: #1d1607;
}
.prose ol.hide-list li::marker { content: ""; }

@media (max-width: 560px) {
  .prose .checklist li { padding: 16px 16px 16px 58px; }
}

.lvr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 20px; }
.lvr figure { margin: 0; padding: 12px 12px 14px; border-radius: 16px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); }
.lvr svg { width: 100%; height: auto; }
.lvr figcaption { margin-top: 8px; text-align: center; font-size: 14px; color: var(--text-2); }
.lvr figcaption b { color: var(--text); }
.lvr .gloss { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.35); stroke-width: 1.5; }
.lvr .obj { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.3); stroke-width: 1.5; }
.lvr .ray { stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 3 4; }
.lvr .r0 { stroke-opacity: 0.45; } .lvr .r1 { stroke-opacity: 0.8; } .lvr .r2 { stroke-opacity: 0.45; }
.lvr .glint { fill: #fff; }
.lvr .g0, .lvr .g2 { fill-opacity: 0.45; }
.lvr .lensdot { fill: #d86bff; filter: drop-shadow(0 0 6px #d86bff); }
.lvr .ph { fill: #1a1f23; stroke: rgba(255,255,255,0.45); stroke-width: 1.5; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 6px; }
.tile svg { width: 26px; height: 26px; margin-bottom: 8px; fill: none; stroke: var(--cyan-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-size: 17px; font-weight: 600; color: var(--text); }
.tile span { font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
@media (max-width: 440px) { .tiles { grid-template-columns: 1fr; } }
.note { margin: 22px 0 0; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); }
.prose .note p { margin: 0; font-size: 16.5px; }
.prose .note p + p { margin-top: 12px; }
