/* ============================================================
   PassBy — SIGNAL SYSTEM
   A restrained pixel/telemetry layer on top of the existing UI.
   The original page structure and content are preserved.
   ============================================================ */

:root {
  --font-pixel: "Handjet", "JetBrains Mono", monospace;
  --r-xl: 20px;
  --r-lg: 12px;
  --r-md: 8px;
  --signal-cyan: #75d9ff;
  --signal-green: #68e6b0;
}

[data-theme="dark"] {
  color-scheme: dark;
  --surface-0: #06070a;
  --surface-1: #0b0d11;
  --surface-2: #11141a;
  --surface-3: #181c24;
  --text-secondary: #a5acb8;
  --text-tertiary: #747c88;
  --border-soft: rgba(255, 255, 255, 0.085);
  --border-med: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.28);
  --accent: #5a96ff;
  --accent-2: #a7cfff;
  --accent-soft: rgba(90, 150, 255, 0.14);
  --accent-line: rgba(90, 150, 255, 0.44);
  --grid-line: rgba(255, 255, 255, 0.052);
  --signal-green: #68e6b0;
  --signal-red: #ff7777;
  --on-accent: #07111e;
  --mark-base: #5a96ff;
  --mark-bright: #edf3ff;
  --mark-dim: #283752;
  --mark-dust: #425a7c;
  --field-pattern: url("../img/field-dark.svg");
}

[data-theme="light"] {
  color-scheme: light;
  --surface-0: #f7f9fc;
  --surface-1: #ffffff;
  --surface-2: #e9edf3;
  --surface-3: #dce2ea;
  --text-secondary: #4d5561;
  --text-tertiary: #626a76;
  --border-soft: rgba(14, 21, 30, 0.09);
  --border-med: rgba(14, 21, 30, 0.16);
  --border-strong: rgba(14, 21, 30, 0.30);
  --accent: #245ce0;
  --accent-2: #1847b9;
  --accent-soft: rgba(36, 92, 224, 0.10);
  --accent-line: rgba(36, 92, 224, 0.34);
  --grid-line: rgba(14, 21, 30, 0.055);
  --signal-green: #11764f;
  --signal-red: #b52f35;
  --on-accent: #ffffff;
  --mark-base: #245ce0;
  --mark-bright: #0c1320;
  --mark-dim: #aab4c3;
  --mark-dust: #c0c8d3;
  --field-pattern: url("../img/field-light.svg");
}

html {
  scroll-padding-top: 92px;
}

body {
  background-image: none;
}

section[id] {
  scroll-margin-top: 88px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* ── Page utilities ─────────────────────────────────────── */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 11px 15px;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform .2s var(--ease-out);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.pixel-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--signal-green);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--signal-green) 35%, transparent);
  animation: pixelPulse 2.4s steps(2, end) infinite;
}

.logo-cursor {
  display: inline-block;
  margin-left: 1px;
  color: var(--accent-2);
  animation: cursorBlink 1.15s steps(1, end) infinite;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

@keyframes pixelPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.page-body {
  background-color: var(--canvas);
  background-image:
    radial-gradient(70% 34% at 82% 3%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 72%),
    radial-gradient(52% 30% at 6% 24%, color-mix(in srgb, var(--signal-green) 3.5%, transparent), transparent 74%),
    var(--field-pattern);
  background-size: auto, auto, 720px 720px;
  background-repeat: no-repeat, no-repeat, repeat;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

#pricing {
  background-color: var(--canvas);
}

.page-body > section {
  padding-top: clamp(68px, 7vw, 96px);
  padding-bottom: clamp(68px, 7vw, 96px);
}

.page-body > .loc-section {
  padding-bottom: clamp(260px, 29vw, 360px);
}

.page-body > .rv-section {
  padding-top: clamp(72px, 7vw, 96px);
  padding-bottom: clamp(60px, 6vw, 82px);
}

.page-body > .final-cta {
  padding-top: clamp(96px, 11vw, 148px);
  padding-bottom: clamp(96px, 11vw, 148px);
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  align-items: stretch;
  padding-top: clamp(112px, 14vh, 150px);
  padding-bottom: clamp(40px, 7vh, 72px);
  text-align: left;
}

.hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .72fr);
  align-items: center;
  gap: clamp(32px, 5.5vw, 88px);
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: left;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.hero .hero-title {
  max-width: 100%;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: .94;
  letter-spacing: -.035em;
  text-transform: none;
  text-wrap: initial;
  opacity: 1;
  animation: none;
}

.hero .hero-title > span {
  display: block;
  opacity: 0;
  transform: translateY(.36em);
  animation: heroLineIn .75s var(--ease-out) forwards;
}

.hero .hero-title > span:nth-child(2) {
  animation-delay: .07s;
}

.hero .hero-title > span:nth-child(3) {
  animation-delay: .14s;
}

.hero .hero-title > span:nth-child(4) {
  animation-delay: .21s;
}

.hero .hero-sub {
  max-width: 42ch;
  margin: clamp(22px, 3vw, 30px) 0 0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.6;
  text-align: left;
}

.hero .hero-actions {
  justify-content: flex-start;
  margin-top: clamp(24px, 3vw, 32px);
}

.hero-actions .btn-primary {
  box-shadow: 0 14px 42px -32px var(--accent);
}

.hero-actions .btn-primary:hover {
  box-shadow: 0 16px 46px -28px var(--accent);
}

.hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin: clamp(26px, 3.2vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: .02em;
  opacity: 0;
  animation: fadeUp .7s .3s var(--ease-out) forwards;
}

.hero-rail li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.hero-rail li::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  background: var(--accent);
}

.hero-rail li:nth-child(2)::before {
  background: var(--signal-green);
}

.hero-rail li:nth-child(3)::before {
  background: var(--accent-2);
}

.hero-rail li:nth-child(4)::before {
  background: var(--signal-cyan);
}

.hero-mark {
  justify-self: end;
  align-self: center;
  width: min(100%, 26rem);
  opacity: 0;
  transform: translateY(14px);
  animation: heroMarkIn .9s var(--ease-out) .2s forwards;
}

.hero-mark-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 14px;
  line-height: 1;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.hero-mark-meta span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-p {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  cursor: crosshair;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.hero-p rect {
  transition: fill .14s linear;
}

.hero-p rect.p-lit {
  fill: var(--mark-bright);
}

.hero-p rect.p-near {
  fill: var(--accent-2);
}

.p-base { fill: var(--mark-base); }
.p-bright { fill: var(--mark-bright); }
.p-dim { fill: var(--mark-dim); }
.p-dust { fill: var(--mark-dust); }
.p-accent { fill: var(--signal-green); }

.hero-blast {
  opacity: .4;
}

.pricing-blast {
  opacity: .42;
}

[data-theme="light"] .hero-blast {
  opacity: .32;
}

@keyframes heroLineIn {
  from {
    opacity: 0;
    transform: translateY(.36em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMarkIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Section headings ───────────────────────────────────── */

.section-head.section-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr);
  align-items: end;
  gap: clamp(30px, 6vw, 92px);
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(38px, 5vw, 64px);
  text-align: left;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(17px, 2.2vw, 24px);
  font-family: var(--font-pixel);
}

.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  border: 1px solid var(--border-med);
  border-radius: 1px;
  background: var(--surface-1);
  color: var(--accent-2);
  font-family: var(--font-pixel);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .035em;
  font-variant-numeric: tabular-nums;
}

.section-kicker .section-tag {
  display: inline;
  margin: 0;
  color: var(--accent-2);
  font-family: var(--font-pixel);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.section-kicker-line {
  display: block;
  width: clamp(24px, 3.5vw, 48px);
  height: 1px;
  background: var(--border-strong);
}

.section-head--row .section-title {
  max-width: 17ch;
  font-size: clamp(32px, 4.55vw, 54px);
  line-height: 1.07;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.section-head.section-head--row.section-head--solo {
  grid-template-columns: minmax(0, 1fr);
}

.section-head--solo .section-title {
  max-width: 22ch;
}

.section-head-aside {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 23rem;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.section-head-aside::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(100% + 9px);
  width: 5px;
  height: 5px;
  pointer-events: none;
  background: var(--accent);
  box-shadow:
    8px 0 0 var(--accent),
    16px 0 0 var(--accent),
    24px 0 0 var(--signal-green),
    32px 0 0 color-mix(in srgb, var(--accent) 26%, transparent),
    40px 0 0 color-mix(in srgb, var(--accent) 16%, transparent),
    48px 0 0 color-mix(in srgb, var(--accent) 9%, transparent);
}

.rv-section .section-head-aside::before {
  display: none;
}

.section-head-aside .section-sub {
  max-width: 34ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ── Packet tracer as an instrument panel ───────────────── */

.trace-frame {
  position: relative;
  padding: 0 clamp(18px, 4.6vw, 56px) 0;
  overflow: hidden;
  border: 1px solid var(--border-med);
  border-radius: var(--r-xl);
  background-color: var(--surface-1);
  box-shadow: 0 30px 90px -82px var(--accent);
}

.trace-frame::before,
.trace-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 36px;
  height: 10px;
  pointer-events: none;
  opacity: .8;
}

.trace-frame::before {
  top: -1px;
  left: 28px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.trace-frame::after {
  right: 28px;
  bottom: -1px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.trace-frame,
.trace-frame * {
  cursor: default;
}

.trace-bar,
.trace-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.trace-bar {
  min-height: 46px;
  border-bottom: 1px dashed var(--border-soft);
}

.trace-bar-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
}

.trace-bar-meta {
  color: var(--text-tertiary);
}

.trace-frame .ln-stage {
  max-width: 100%;
  padding: clamp(18px, 3.2vw, 38px) 0 8px;
}

.trace-frame .ln-glow {
  opacity: .2;
}

.trace-foot {
  min-height: 44px;
  border-top: 1px dashed var(--border-soft);
  color: var(--text-tertiary);
}

.trace-foot > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trace-foot-meta {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: .09em;
}

.trace-swatch {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: currentColor;
}

.trace-swatch--red {
  color: var(--signal-red);
}

.trace-swatch--blue {
  color: var(--accent);
}

.trace-frame .ln-tag,
.trace-frame .ln-outcome {
  top: 7px;
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.trace-frame .ln-eye-label {
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.trace-frame .ln-line {
  height: 1px;
  border: 0;
  background: repeating-linear-gradient(90deg, var(--border-med) 0 3px, transparent 3px 7px);
}

.trace-frame .ln-end {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: transparent;
}

.trace-frame .pk {
  width: 6px !important;
  height: 6px !important;
  margin-top: -3px !important;
  border-radius: 0;
  box-shadow: none;
}

.trace-frame .pk--pass {
  background: var(--accent);
}

.trace-frame .pk--vpn {
  background: var(--signal-red);
}

.trace-frame .ln-x {
  color: var(--signal-red);
  font-family: var(--font-pixel);
  font-size: 16px;
}

.trace-frame .eye-mini .eye-white {
  fill: var(--surface-2);
}

.trace-frame .eye-mini .lid {
  fill: var(--surface-1);
}

.trace-frame .eye-mini .iris {
  fill: var(--accent-soft);
  stroke: var(--accent-line);
}

.trace-reticle {
  position: absolute;
  width: 122px;
  height: 80px;
  pointer-events: none;
  opacity: .55;
  background:
    linear-gradient(var(--accent-line), var(--accent-line)) left top / 10px 1px no-repeat,
    linear-gradient(var(--accent-line), var(--accent-line)) left top / 1px 10px no-repeat,
    linear-gradient(var(--accent-line), var(--accent-line)) right top / 10px 1px no-repeat,
    linear-gradient(var(--accent-line), var(--accent-line)) right top / 1px 10px no-repeat,
    linear-gradient(var(--accent-line), var(--accent-line)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--accent-line), var(--accent-line)) left bottom / 1px 10px no-repeat,
    linear-gradient(var(--accent-line), var(--accent-line)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--accent-line), var(--accent-line)) right bottom / 1px 10px no-repeat;
}

/* ── Protocols ──────────────────────────────────────────── */

.proto-split {
  border-color: var(--border-med);
  border-radius: var(--r-xl);
  background: var(--surface-0);
}

.proto-pane {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 48px);
  min-height: 100%;
}

.proto-pane.a {
  border-right: 1px solid var(--border-soft);
  background: var(--surface-1);
}

.proto-pane.b {
  background: var(--surface-0);
}

.proto-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.proto-index {
  margin: 0;
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.025em;
  opacity: .55;
}

.proto-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--accent-2);
}

.proto-icon svg {
  width: 36px;
  height: 36px;
}

.proto-mode {
  display: block;
  margin-bottom: 7px;
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.proto-pane h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.proto-pane p {
  max-width: 43ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
}

.proto-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: auto;
  padding-top: clamp(28px, 4vw, 48px);
}

.proto-stat {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.proto-pane .proto-stat .num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.25vw, 28px);
  letter-spacing: -.03em;
}

.proto-pane .proto-stat .lbl {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
}

/* ── Locations ──────────────────────────────────────────── */

.loc-section {
  padding-bottom: clamp(220px, 27vw, 360px);
}

.loc-hud {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.loc-hud-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.loc-hud-note {
  margin-left: auto;
  white-space: nowrap;
}

.loc-hud-note span {
  padding-inline: 5px;
  opacity: .55;
}

.loc-hud-state {
  padding-left: 16px;
  border-left: 1px solid var(--border-soft);
  color: var(--accent-2);
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.loc-section .loc-globe {
  cursor: grab;
}

/* ── Features ───────────────────────────────────────────── */

.feat-list {
  border-top: 1px solid var(--border-soft);
}

.feat-row {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 42px);
  padding: clamp(25px, 3.4vw, 36px) 0;
  border-bottom: 1px solid var(--border-soft);
}

.feat-row:hover {
  padding-left: 7px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-soft) 32%, transparent), transparent 48%);
}

.feat-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.feat-idx {
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  padding: 0;
}

.feat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--accent-2);
  transition: color .2s var(--ease);
}

.feat-icon svg {
  width: 36px;
  height: 36px;
  shape-rendering: crispEdges;
}

.feat-row:hover .feat-icon {
  color: var(--text-primary);
}

.feat-row:hover .feat-idx {
  color: var(--accent-2);
}

.feat-body h3 {
  margin: 1px 0 7px;
  font-size: 18px;
  line-height: 1.35;
  gap: 9px;
}

.feat-body p {
  max-width: 61ch;
  font-size: 14.5px;
  line-height: 1.6;
}

.feat-tag {
  padding: 3px 7px;
  border: 1px solid var(--accent-line);
  border-radius: 1px;
  background: transparent;
  color: var(--accent-2);
  font-family: var(--font-pixel);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Reviews ────────────────────────────────────────────── */

.rv-section {
  padding-top: clamp(76px, 8.2vw, 116px);
  padding-bottom: clamp(66px, 7.2vw, 94px);
  background-color: var(--surface-0);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.rv-section .section-head {
  margin-bottom: clamp(34px, 5vw, 52px);
}

.rv-section .section-head-aside .reviews-meta {
  margin-bottom: 0;
}

.reviews-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.reviews-sources {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 11px;
}

.reviews-sources a {
  color: var(--text-secondary);
  border-bottom: 1px dotted var(--border-med);
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.reviews-sources a:hover {
  color: var(--accent-2);
  border-color: var(--accent-line);
}

.ticker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  background: transparent;
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.ticker-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-med);
  background: var(--surface-1);
}

.ticker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  gap: 2px;
}

.ticker-icon i {
  display: block;
  width: 3px;
  height: 10px;
  background: currentColor;
  transition: width .2s var(--ease), height .2s var(--ease);
}

.ticker-toggle[aria-pressed="true"] .ticker-icon {
  gap: 0;
}

.ticker-toggle[aria-pressed="true"] .ticker-icon i:first-child {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
  background: transparent;
}

.ticker-toggle[aria-pressed="true"] .ticker-icon i:last-child {
  display: none;
}

.rv-rows {
  margin-top: 0;
  gap: 12px;
}

.rv-card {
  min-width: 235px;
  max-width: 410px;
  padding: 16px 18px 15px;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  background: var(--surface-1);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.rv-set .rv-card:nth-child(2n) {
  background: color-mix(in srgb, var(--surface-2) 40%, var(--surface-1));
}

.rv-card:hover {
  border-color: var(--accent-line);
}

.rv-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
  font-size: 0;
  letter-spacing: 0;
}

.rv-stars i {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  opacity: .82;
}

.rv-card .rv-text {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
  -webkit-line-clamp: 4;
}

/* ── Pricing console ───────────────────────────────────── */

#pricing {
  isolation: isolate;
}

#pricing .section-head {
  position: relative;
  z-index: 2;
}

.price-console {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3.6vw, 42px);
  border: 1px solid var(--border-med);
  border-radius: var(--r-xl);
  background: var(--surface-1);
  box-shadow: 0 34px 100px -86px var(--accent);
  overflow: hidden;
}

.price-console::after {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  width: 56px;
  height: 8px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  pointer-events: none;
  opacity: .8;
}

.price-console > * {
  position: relative;
  z-index: 1;
}

.console-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 2.5vw, 25px);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-soft);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.2;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.console-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.console-meta span:last-child {
  opacity: .7;
}

.price-tabs {
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  background: var(--surface-0);
  padding: 5px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  scrollbar-width: none;
}

.price-tabs::-webkit-scrollbar {
  display: none;
}

.price-tab {
  border-radius: 1px;
  font-size: 13px;
}

.price-tab-bg {
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  border-radius: 1px;
}

.price-display {
  position: relative;
}

.price-digits {
  font-size: clamp(54px, 8.5vw, 86px);
}

.price-num-row .currency {
  font-family: var(--font-pixel);
  font-size: clamp(25px, 3.5vw, 36px);
  font-weight: 500;
  color: var(--accent-2);
}

.price-perday {
  margin-top: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.price-save-badge {
  border: 1px solid color-mix(in srgb, var(--signal-green) 29%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--signal-green) 8%, transparent);
  color: var(--signal-green);
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.price-divider-full {
  height: 1px;
  background: var(--border-soft);
}

.price-grid-bottom {
  gap: clamp(24px, 5vw, 54px);
}

.price-feature-list {
  gap: 13px;
}

.price-feature-list li {
  color: var(--text-secondary);
  font-size: 14px;
}

.price-feature-list svg {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  stroke: var(--signal-green);
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.price-pay {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price-cta-final {
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-text);
}

.price-cta-final:hover {
  transform: translateY(-2px);
}

.refund-badge {
  border-radius: 3px;
  border: 1px solid color-mix(in srgb, var(--signal-green) 26%, transparent);
  background: color-mix(in srgb, var(--signal-green) 7%, transparent);
}

.refund-badge span {
  color: var(--text-secondary);
  font-size: 11.5px;
}

.price-clients {
  margin-top: clamp(26px, 4vw, 42px);
  padding-top: 13px;
  border-top: 1px dashed var(--border-soft);
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.price-clients b {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── FAQ ────────────────────────────────────────────────── */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, .53fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 82px);
}

.faq-aside {
  position: sticky;
  top: 100px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border-med);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}

.faq-aside > * {
  position: relative;
  z-index: 1;
}

.faq-aside-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.2;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.faq-aside-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin-top: 26px;
  color: var(--accent-2);
}

.faq-aside-icon svg {
  width: 24px;
  height: 24px;
}

.faq-aside h3 {
  margin-top: 17px;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.faq-aside p {
  max-width: 30ch;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}

.faq-support {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 22px;
  padding: 11px 14px;
  border: 1px solid var(--accent-line);
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.faq-support:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.faq-aside-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: .02em;
}

.faq-aside-note a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 2px;
}

.faq-aside-note a:hover {
  color: var(--accent-2);
}

.faq-layout .faq-list {
  max-width: none;
  margin: 0;
  border-top: 1px solid var(--border-soft);
  counter-reset: faq;
}

.faq-layout .faq-item {
  border-bottom: 1px solid var(--border-soft);
  counter-increment: faq;
}

.faq-layout .faq-q {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 13px;
  padding: 21px 0 20px;
  font-size: 16px;
  line-height: 1.35;
}

.faq-q::before {
  content: counter(faq, decimal-leading-zero);
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .04em;
}

.faq-q .plus {
  margin-top: 3px;
}

.faq-q .plus::before,
.faq-q .plus::after {
  background: var(--text-tertiary);
}

.faq-item.open .faq-q {
  color: var(--accent-2);
}

.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after {
  background: var(--accent-2);
}

.faq-a p {
  padding: 0 32px 22px 45px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* ── Final CTA ──────────────────────────────────────────── */

.final-cta {
  padding-top: clamp(94px, 12vw, 158px);
  padding-bottom: clamp(94px, 12vw, 158px);
  border-top: 1px solid var(--border-soft);
  background: var(--canvas);
}

.final-cta .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 36px);
  color: var(--accent-2);
  font-family: var(--font-pixel);
}

.final-kicker .section-tag {
  display: inline;
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .06em;
}

.final-kicker-line {
  width: 58px;
  height: 1px;
  background: var(--border-strong);
}

.final-cta h2 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(32px, 5.6vw, 60px);
  line-height: 1.04;
  text-wrap: balance;
}

.final-cta p {
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: 15px;
}

.final-cta .btn-primary svg {
  width: 16px;
  height: 16px;
}

.final-meter {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: clamp(40px, 6vw, 64px);
}

.final-meter i {
  display: block;
  width: 4px;
  height: 4px;
  background: var(--accent);
  opacity: .35;
}

.final-meter i:nth-child(2),
.final-meter i:nth-child(3),
.final-meter i:nth-child(4) {
  opacity: .9;
}

.final-meter i:nth-child(6),
.final-meter i:nth-child(7) {
  background: var(--signal-green);
  opacity: .55;
}

/* ── Footer ─────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border-soft);
}

.footer-logo {
  font-size: 16px;
}

.footer-logo svg {
  color: var(--text-secondary);
}

.footer-logo .logo-cursor {
  color: var(--accent-2);
}

.footer-links {
  color: var(--text-secondary);
}

.footer-links a:hover,
.footer-links .footer-link-btn:hover {
  color: var(--accent-2);
}

.footer-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 13px;
  border-top: 1px solid var(--border-soft);
}

.footer-note {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 11px;
}

.footer-system {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  font-size: 14px;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── Modals ─────────────────────────────────────────────── */

.modal-card {
  background-color: var(--surface-1);
  border-radius: var(--r-xl);
}

.modal-tag {
  color: var(--accent-2);
  font-family: var(--font-pixel);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .055em;
}

.checkout-summary-label,
.checkout-field-label {
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: .04em;
}

.checkout-summary,
.checkout-option,
.checkout-method-pill,
.support-row {
  border-radius: 3px;
}

.checkout-field-input:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-color: var(--accent);
}

.modal-close {
  border-radius: 3px;
}

.price-tab:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: -3px;
}

/* ── Light theme details ────────────────────────────────── */

[data-theme="light"] .pricing-blast {
  opacity: .36;
}

[data-theme="light"] .trace-frame {
  background-color: #fff;
}

[data-theme="light"] .price-console {
  background: #fff;
}

[data-theme="light"] .rv-section {
  background-color: #f4f7fb;
}

[data-theme="light"] .nav-pill {
  background: color-mix(in srgb, #fff 77%, transparent);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero .hero-inner {
    grid-template-columns: 1fr;
    max-width: 840px;
  }

  .hero-mark {
    display: none;
  }

  .hero .hero-title {
    font-size: clamp(44px, 8vw, 72px);
  }
}

@media (max-width: 960px) {
  .section-head.section-head--row {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .section-head-aside {
    justify-self: start;
    max-width: 37rem;
  }

  .section-head--row .section-title {
    max-width: 19ch;
  }
}

@media (max-width: 920px) {
  .nav-pill {
    gap: var(--sp-2);
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-mobile-menu {
    display: flex;
  }

  .nav-contact-label {
    display: none;
  }

  .nav-contact {
    padding: 9px 10px;
  }

  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 42px;
  }

  .hero {
    overflow: hidden;
  }

  .hero .hero-inner {
    padding-inline: 18px;
  }

  .hero .hero-copy {
    position: relative;
    z-index: 1;
  }

  .hero .hero-mark {
    display: block;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    bottom: auto;
    z-index: 0;
    width: min(30vw, 11rem);
    opacity: .17;
    transform: none;
    animation: none;
  }

  .hero .hero-mark-meta {
    display: none;
  }

  .hero .hero-title {
    font-size: clamp(36px, 12vw, 58px);
    line-height: .95;
  }

  .hero .hero-sub {
    max-width: 35ch;
    margin-top: 20px;
    font-size: 15px;
  }

  .hero .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-rail {
    gap: 6px 14px;
    margin-top: 22px;
    font-size: 9.5px;
  }

  .page-body > section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-head.section-head--row {
    margin-bottom: 34px;
  }

  .section-head--row .section-title {
    max-width: 100%;
    font-size: clamp(27px, 8.2vw, 38px);
    line-height: 1.08;
  }

  .section-kicker {
    margin-bottom: 15px;
  }

  .section-index {
    width: 28px;
    height: 22px;
    font-size: 15px;
  }

  .section-kicker .section-tag {
    font-size: 15px;
  }

  .section-head-aside {
    padding-top: 12px;
  }

  .section-head-aside .section-sub {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .trace-frame {
    margin-inline: -2px;
    padding: 0 15px;
    border-radius: 12px;
  }

  .trace-frame::before {
    left: 14px;
  }

  .trace-frame::after {
    right: 14px;
  }

  .trace-bar {
    min-height: 38px;
    font-size: 9px;
  }

  .trace-frame .ln-stage {
    padding-top: 14px;
  }

  .trace-foot {
    min-height: 38px;
    font-size: 9px;
  }

  .trace-foot-meta {
    display: none;
  }

  .trace-frame .ln-eye-row {
    height: 86px;
  }

  .trace-reticle {
    width: 106px;
    height: 72px;
  }

  .proto-pane {
    padding: 24px 21px;
  }

  .proto-pane.a {
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .proto-pane p {
    max-width: 100%;
  }

  .proto-stat-row {
    margin-top: 26px;
    padding-top: 22px;
  }

  .loc-section {
    padding-bottom: 200px;
  }

  .loc-hud {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-block: 11px;
    font-size: 9px;
  }

  .loc-hud-note {
    margin-left: 0;
  }

  .loc-hud-state {
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .feat-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding-block: 22px;
  }

  .feat-icon {
    width: 44px;
    height: 44px;
  }

  .feat-icon svg {
    width: 36px;
    height: 36px;
  }

  .feat-body h3 {
    font-size: 16px;
  }

  .feat-body p {
    font-size: 13.5px;
  }

  .reviews-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .ticker-toggle {
    align-self: flex-start;
  }

  .rv-rows {
    gap: 10px;
  }

  .rv-card {
    min-width: 225px;
    padding: 14px 15px;
  }

  .rv-card .rv-text {
    font-size: 13px;
  }

  .price-console {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .price-console::after {
    right: 14px;
  }

  .console-meta {
    font-size: 8.5px;
  }

  .price-grid-bottom {
    gap: 22px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-aside {
    position: static;
  }

  .faq-layout .faq-q {
    grid-template-columns: 27px minmax(0, 1fr) 16px;
    gap: 10px;
    padding-block: 18px;
    font-size: 14.5px;
  }

  .faq-a p {
    padding: 0 20px 18px 37px;
    font-size: 13.5px;
  }

  .final-cta h2 {
    font-size: clamp(29px, 8.8vw, 42px);
  }

  .footer-end {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-system {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .section-head--row .section-title {
    font-size: clamp(25px, 8.1vw, 34px);
  }

  .trace-frame .ln-tag,
  .trace-frame .ln-outcome {
    font-size: 12px;
  }

  .trace-frame .ln-eye-label {
    font-size: 11px;
  }

  .proto-index {
    font-size: 48px;
  }

  .proto-icon {
    width: 38px;
    height: 38px;
  }

  .proto-icon svg {
    width: 36px;
    height: 36px;
  }

  .loc-hud-note {
    width: 100%;
    white-space: normal;
  }

  .loc-hud-state {
    margin-left: 0;
  }

  .feat-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .feat-icon {
    width: 44px;
    height: 44px;
  }

  .feat-icon svg {
    width: 36px;
    height: 36px;
  }

  .feat-body h3 {
    font-size: 15px;
  }

  .feat-tag {
    font-size: 12px;
  }

  .price-display::before,
  .price-display::after {
    display: none;
  }

  .price-tabs {
    gap: 2px;
    margin-bottom: 26px;
    scroll-snap-type: x proximity;
  }

  .price-tab {
    flex: 1 0 60px;
    min-width: 60px;
    padding-inline: 2px;
    overflow: visible;
    text-overflow: clip;
    font-size: 10.5px;
    letter-spacing: -.025em;
    scroll-snap-align: center;
  }

  .price-clients {
    font-size: 13px;
    text-align: left;
    line-height: 1.45;
  }

  .final-kicker-line {
    width: 34px;
  }

  .footer-links {
    column-gap: 14px;
    row-gap: 10px;
  }

  .checkout-field-input {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .hero .hero-mark {
    top: calc(100% + 10px);
    width: 27vw;
  }
}

@media (max-width: 760px) and (max-height: 760px) {
  .hero .hero-mark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blast canvas,
  .pricing-blast canvas {
    display: none !important;
  }

  .hero .hero-title > span,
  .hero-mark,
  .hero-rail {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .pixel-dot,
  .logo-cursor {
    animation: none;
  }

  .hero-p rect {
    transition: none;
  }

  .ticker-toggle {
    display: none;
  }
}
