/* ═══════════════════════════════════════════════════
   VALPERO — Landing 2026 (dev-tool aesthetic)
   Scoped under .lp to coexist with style.css
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap');

/* ─── Reset extras for landing scope ─────────────── */
.lp,
.lp *,
.lp *::before,
.lp *::after {
  box-sizing: border-box;
}

/* ─── Tokens (defined on the whole landing-page body so nav/footer
       outside of .lp wrapper still resolve var()s correctly) ────── */
body:has(.lp) {
  /* Surfaces */
  --lp-bg: #0A0A0B;
  --lp-bg-soft: #0F0F11;
  --lp-surface: #111114;
  --lp-surface-2: #16161B;
  --lp-line: #1E1E25;
  --lp-line-soft: #181820;
  --lp-line-strong: #2A2A33;

  /* Text */
  --lp-fg: #F2F2F4;
  --lp-fg-2: #B8B8C2;
  --lp-fg-3: #767682;
  --lp-fg-4: #4A4A55;

  /* Brand semantic */
  --lp-up: #00D17F;
  --lp-up-soft: rgba(0, 209, 127, 0.12);
  --lp-up-glow: rgba(0, 209, 127, 0.45);
  --lp-down: #F85149;
  --lp-down-soft: rgba(248, 81, 73, 0.12);
  --lp-warn: #E8A33D;

  /* Type */
  --lp-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --lp-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing scale (4px base) */
  --lp-1: 4px;  --lp-2: 8px;  --lp-3: 12px; --lp-4: 16px;
  --lp-5: 24px; --lp-6: 32px; --lp-7: 48px;  --lp-8: 64px;
  --lp-9: 96px; --lp-10: 128px;

  /* Radius — restrained */
  --lp-r-sm: 6px;
  --lp-r-md: 10px;
  --lp-r-lg: 14px;
}

.lp {
  font-family: var(--lp-sans);
  background: var(--lp-bg);
  color: var(--lp-fg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Body & html when landing is mounted ────────── */
body:has(.lp) {
  background: var(--lp-bg, #0A0A0B);
}

.lp::selection,
.lp *::selection {
  background: rgba(0, 209, 127, 0.28);
  color: #fff;
}

/* ─── Container ──────────────────────────────────── */
.lp__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 720px) {
  .lp__container { padding: 0 20px; }
}

/* ─── Type ──────────────────────────────────────── */
.lp h1, .lp h2, .lp h3, .lp h4 {
  font-family: var(--lp-sans);
  color: var(--lp-fg);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.lp p { margin: 0; color: var(--lp-fg-2); line-height: 1.55; }

.lp__mono {
  font-family: var(--lp-mono);
  font-feature-settings: "ss01", "ss02";
  font-variant-ligatures: none;
}

/* ─── NAV (override over style.css .nav) ─────────── */
.lp .nav,
body:has(.lp) .nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 11, 0.72);
  border-bottom: 1px solid var(--lp-line-soft);
}

body:has(.lp) .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body:has(.lp) .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

body:has(.lp) .nav-links a {
  color: var(--lp-fg-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 120ms ease;
}

body:has(.lp) .nav-links a:hover { color: var(--lp-fg); }

body:has(.lp) .nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body:has(.lp) .nav-actions .btn {
  font-family: var(--lp-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

body:has(.lp) .btn.btn-ghost {
  background: transparent;
  color: var(--lp-fg-2);
}
body:has(.lp) .btn.btn-ghost:hover { color: var(--lp-fg); background: var(--lp-line-soft); }

body:has(.lp) .btn.btn-primary {
  background: #F2F2F4 !important;
  color: #0A0A0B !important;
  font-weight: 600;
  box-shadow: none !important;
  transform: none !important;
  transition: background 120ms ease, box-shadow 120ms ease !important;
}
body:has(.lp) .btn.btn-primary:hover {
  background: #ffffff !important;
  color: #0A0A0B !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  transform: none !important;
}
body:has(.lp) .btn.btn-primary:active {
  background: #EDEDF0 !important;
  color: #0A0A0B !important;
  transform: none !important;
}

body:has(.lp) .btn-secondary {
  background: var(--lp-surface);
  color: var(--lp-fg);
  border: 1px solid var(--lp-line);
}
body:has(.lp) .btn-secondary:hover { background: var(--lp-surface-2); border-color: var(--lp-line-strong); }

body:has(.lp) .btn-lg {
  height: 42px;
  padding: 0 18px;
  font-size: 14.5px;
}

/* ═══ HERO ═══════════════════════════════════════ */
.lp__hero {
  position: relative;
  padding: 80px 0 80px;
  overflow: hidden;
}

@media (max-width: 720px) {
  .lp__hero { padding: 56px 0 64px; }
}

/* Subtle radial wash, no orbs */
.lp__hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 600px;
  background: radial-gradient(50% 50% at 50% 0%, rgba(0, 209, 127, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.lp__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 980px) {
  .lp__hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: center;
  }
}

.lp__hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: var(--lp-surface);
  font-family: var(--lp-mono);
  font-size: 12px;
  color: var(--lp-fg-2);
  letter-spacing: -0.005em;
  margin-bottom: 24px;
}

.lp__hero-eyebrow .lp__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-up);
  box-shadow: 0 0 0 0 var(--lp-up-glow);
  animation: lp-pulse 1.6s infinite;
}

@keyframes lp-pulse {
  0%   { box-shadow: 0 0 0 0 var(--lp-up-glow); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 209, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 209, 127, 0); }
}

.lp__hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--lp-fg);
}

.lp__hero h1 .lp__hl {
  color: var(--lp-up);
  font-weight: 600;
}

.lp__hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--lp-fg-2);
  max-width: 480px;
  line-height: 1.5;
}

.lp__hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.lp__hero-cta .lp__btn-primary,
.lp__btn-primary {
  font-family: var(--lp-sans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: var(--lp-fg);
  color: var(--lp-bg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 80ms ease, box-shadow 120ms ease, background 120ms ease;
}

.lp__btn-primary:hover {
  background: #fff;
  color: var(--lp-bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.lp__btn-primary:active {
  background: #EDEDF0;
  transform: none;
}
.lp__btn-primary:focus-visible {
  outline: 2px solid var(--lp-up);
  outline-offset: 2px;
}

.lp__btn-secondary {
  font-family: var(--lp-sans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--lp-fg);
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 120ms ease, background 120ms ease;
}
.lp__btn-secondary:hover { border-color: var(--lp-line-strong); background: var(--lp-surface); }

.lp__hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  font-family: var(--lp-mono);
  font-size: 12.5px;
  color: var(--lp-fg-3);
}
.lp__hero-meta strong {
  color: var(--lp-fg-2);
  font-weight: 500;
  margin-right: 6px;
}

/* ═══ MAP ═══════════════════════════════════════ */
.lp__map {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background: linear-gradient(180deg, var(--lp-bg-soft), var(--lp-bg));
  border: 1px solid var(--lp-line-soft);
  border-radius: var(--lp-r-lg);
  overflow: hidden;
}

.lp__map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Continents — schematic blob shapes */
.lp__map-continent {
  fill: #1A1A20;
  stroke: #232330;
  stroke-width: 1;
  transition: fill 200ms ease;
}

/* Subtle dotted layer to add texture */
.lp__map-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.035) 0.8px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* Region pins */
.lp__map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.lp__map-pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-up);
  box-shadow: 0 0 0 0 var(--lp-up-glow), 0 0 12px var(--lp-up-glow);
  animation: lp-pulse-strong 2.4s infinite;
}

.lp__map-pin--soon .lp__map-pin-dot {
  background: var(--lp-warn);
  box-shadow: 0 0 8px rgba(232, 163, 61, 0.45);
  animation: none;
  opacity: 0.7;
}

@keyframes lp-pulse-strong {
  0%   { box-shadow: 0 0 0 0 var(--lp-up-glow), 0 0 12px var(--lp-up-glow); }
  60%  { box-shadow: 0 0 0 14px rgba(0, 209, 127, 0), 0 0 12px var(--lp-up-glow); }
  100% { box-shadow: 0 0 0 0 rgba(0, 209, 127, 0), 0 0 12px var(--lp-up-glow); }
}

.lp__map-pin-label {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--lp-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--lp-fg-3);
  background: rgba(10, 10, 11, 0.7);
  border: 1px solid var(--lp-line-soft);
  border-radius: 4px;
  padding: 2px 6px;
}

.lp__map-pin--soon .lp__map-pin-label {
  color: var(--lp-warn);
}

/* Center hub */
.lp__map-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lp-fg);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 0 24px rgba(255, 255, 255, 0.18);
  z-index: 4;
}

.lp__map-hub-label {
  position: absolute;
  top: calc(50% + 16px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--lp-mono);
  font-size: 11.5px;
  color: var(--lp-fg-2);
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid var(--lp-line);
  border-radius: 6px;
  padding: 4px 8px;
  z-index: 4;
  white-space: nowrap;
}

/* Animated ping lines */
.lp__map-ping {
  fill: none;
  stroke: var(--lp-up);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 10 320;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: lp-ping 4.2s linear infinite;
}

@keyframes lp-ping {
  0%   { stroke-dashoffset: 0;    opacity: 0; }
  10%  { opacity: 0.85; }
  80%  { opacity: 0.85; }
  100% { stroke-dashoffset: -330; opacity: 0; }
}

.lp__map-ping-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

/* ═══ STATS STRIP ═══════════════════════════════ */
.lp__stats {
  padding: 8px 0 32px;
  background: transparent;
}
.lp__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .lp__stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}
.lp__stat-num {
  font-family: var(--lp-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--lp-fg);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 6px;
}
.lp__stat-num .lp__stat-unit {
  color: var(--lp-fg-3);
  font-weight: 400;
  margin-left: 4px;
}
.lp__stat-label {
  font-size: 13px;
  color: var(--lp-fg-3);
  letter-spacing: -0.005em;
}

/* ═══ SECTIONS ══════════════════════════════════ */
.lp__section {
  padding: 88px 0;
  position: relative;
}
@media (max-width: 720px) {
  .lp__section { padding: 56px 0; }
}

.lp__section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.lp__section-eyebrow {
  font-family: var(--lp-mono);
  font-size: 12px;
  color: var(--lp-up);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.lp__section-title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.1;
}
.lp__section-desc {
  margin-top: 14px;
  font-size: 16px;
  color: var(--lp-fg-2);
  max-width: 560px;
}

/* ═══ PRODUCT SHOWCASE ═════════════════════════ */
.lp__showcase {
  position: relative;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-lg);
  background: var(--lp-surface);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.4);
}
.lp__showcase-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--lp-line);
  background: var(--lp-surface-2);
}
.lp__showcase-bar span.lp__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lp-line-strong);
}
.lp__showcase-url {
  margin-left: 14px;
  font-family: var(--lp-mono);
  font-size: 12px;
  color: var(--lp-fg-3);
}
.lp__showcase-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 var(--lp-r-lg) var(--lp-r-lg);
  background: #0e0e12;
}

.lp__showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 980px) {
  .lp__showcase-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 380px);
    gap: 36px;
  }
}

.lp__showcase-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lp__feature {
  border: 1px solid var(--lp-line-soft);
  background: var(--lp-bg-soft);
  border-radius: var(--lp-r-md);
  padding: 18px 18px 16px;
}
.lp__feature h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lp-fg);
  margin: 0 0 6px;
}
.lp__feature p {
  font-size: 13.5px;
  color: var(--lp-fg-3);
  line-height: 1.5;
}
.lp__feature-key {
  font-family: var(--lp-mono);
  font-size: 11px;
  color: var(--lp-up);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* ═══ DEV BLOCK (terminal + telegram) ═════════ */
.lp__dev-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 880px) {
  .lp__dev-grid { grid-template-columns: 1.05fr 1fr; gap: 28px; }
}

.lp__terminal {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  overflow: hidden;
  font-family: var(--lp-mono);
  font-size: 13px;
  line-height: 1.6;
}
.lp__terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lp-line);
  background: var(--lp-surface-2);
}
.lp__terminal-bar .lp__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lp-line-strong); }
.lp__terminal-bar .lp__terminal-tab {
  margin-left: 12px;
  color: var(--lp-fg-3);
  font-size: 12px;
}
.lp__terminal-body {
  padding: 18px 18px 22px;
  white-space: pre;
  overflow-x: auto;
  color: var(--lp-fg-2);
}
.lp__terminal-body .tk-cmt { color: var(--lp-fg-4); }
.lp__terminal-body .tk-prompt { color: var(--lp-up); }
.lp__terminal-body .tk-key { color: #6FBFFF; }
.lp__terminal-body .tk-str { color: #E8A33D; }
.lp__terminal-body .tk-num { color: #C7B9FF; }
.lp__terminal-body .tk-bool { color: var(--lp-up); }
.lp__terminal-body .tk-down { color: var(--lp-down); }

.lp__telegram {
  background: linear-gradient(180deg, #0F0F12, #0B0B0E);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.lp__telegram-head {
  font-family: var(--lp-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--lp-fg-3);
  text-transform: uppercase;
}
.lp__tg-msg {
  background: var(--lp-surface-2);
  border-radius: 14px 14px 14px 4px;
  padding: 14px 16px;
  border: 1px solid var(--lp-line-soft);
  max-width: 360px;
  font-size: 13.5px;
  line-height: 1.5;
  position: relative;
}
.lp__tg-msg-sender {
  font-size: 12px;
  color: var(--lp-up);
  font-weight: 600;
  margin-bottom: 4px;
}
.lp__tg-msg b { color: var(--lp-fg); font-weight: 600; }
.lp__tg-msg .lp__tg-down { color: var(--lp-down); font-weight: 600; }
.lp__tg-msg-time {
  font-size: 11px;
  color: var(--lp-fg-4);
  margin-top: 6px;
  text-align: right;
}

/* ═══ APPS-STRIP — slim "available on" hint between sections ══ */
.lp__apps-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  margin: 0 auto;
  max-width: 920px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  transition: border-color 160ms ease, background 160ms ease;
  text-decoration: none;
}
.lp__apps-strip:hover {
  border-color: var(--lp-line-strong);
  background: var(--lp-surface-2);
}
.lp__apps-strip-eyebrow {
  font-family: var(--lp-mono);
  font-size: 11.5px;
  color: var(--lp-fg-3);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.lp__apps-strip-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}
.lp__apps-platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-line-soft);
  font-family: var(--lp-sans);
  font-size: 12.5px;
  color: var(--lp-fg-2);
  letter-spacing: -0.005em;
  transition: border-color 120ms ease, color 120ms ease;
}
.lp__apps-strip:hover .lp__apps-platform {
  border-color: var(--lp-line-strong);
  color: var(--lp-fg);
}
.lp__apps-platform svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.lp__apps-strip-cta {
  font-family: var(--lp-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--lp-fg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: color 120ms ease;
}
.lp__apps-strip:hover .lp__apps-strip-cta { color: var(--lp-up); }
.lp__apps-strip-cta::after {
  content: '→';
  transition: transform 160ms ease;
}
.lp__apps-strip:hover .lp__apps-strip-cta::after {
  transform: translateX(3px);
}
@media (max-width: 720px) {
  .lp__apps-strip {
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
    text-align: center;
  }
  .lp__apps-strip-platforms { justify-content: center; }
}

/* ═══ COMPARE TABLE ════════════════════════════ */
.lp__compare {
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  overflow: hidden;
  background: var(--lp-surface);
}
.lp__compare-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp__compare-row:last-child { border-bottom: none; }
.lp__compare-cell {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--lp-fg-2);
  border-right: 1px solid var(--lp-line-soft);
}
.lp__compare-cell:last-child { border-right: none; }
.lp__compare-row--head .lp__compare-cell {
  background: var(--lp-surface-2);
  color: var(--lp-fg-3);
  font-family: var(--lp-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.lp__compare-row--head .lp__compare-cell:first-child { color: var(--lp-fg); text-transform: none; font-family: var(--lp-sans); font-size: 14px; letter-spacing: -0.01em; }
.lp__compare-row--us {
  background: linear-gradient(90deg, rgba(0, 209, 127, 0.04), transparent 60%);
}
.lp__compare-row--us .lp__compare-cell:first-child { color: var(--lp-fg); font-weight: 600; }
.lp__compare-yes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-up);
  font-weight: 500;
}
.lp__compare-no {
  color: var(--lp-fg-4);
}
.lp__compare-row .lp__compare-cell:first-child {
  font-weight: 500;
  color: var(--lp-fg);
}

@media (max-width: 760px) {
  .lp__compare-row {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
  .lp__compare-cell {
    padding: 12px 10px;
    font-size: 12.5px;
  }
}

/* ═══ PRICING ═══════════════════════════════════ */
.lp__pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 880px) {
  .lp__pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.lp__price-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lp__price-card--featured {
  border-color: rgba(0, 209, 127, 0.32);
  background: linear-gradient(180deg, rgba(0, 209, 127, 0.04), transparent 50%), var(--lp-surface);
  box-shadow: 0 0 0 1px rgba(0, 209, 127, 0.18) inset;
}
.lp__price-name {
  font-family: var(--lp-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--lp-fg-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lp__price-fig {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.lp__price-fig .lp__price-amount {
  font-family: var(--lp-sans);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--lp-fg);
  line-height: 1;
}
.lp__price-fig .lp__price-unit {
  font-family: var(--lp-mono);
  font-size: 13px;
  color: var(--lp-fg-3);
}
.lp__price-sub {
  font-size: 13px;
  color: var(--lp-fg-3);
  margin-top: -10px;
}
.lp__price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp__price-list li {
  font-size: 13.5px;
  color: var(--lp-fg-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.lp__price-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--lp-up) 0 35%, transparent 36%) center / 100% no-repeat,
    var(--lp-up-soft);
}
.lp__price-list li strong { color: var(--lp-fg); font-weight: 500; }
.lp__price-cta {
  margin-top: auto;
}
.lp__price-cta button {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--lp-line-strong);
  background: var(--lp-surface-2);
  color: var(--lp-fg);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--lp-sans);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.lp__price-cta button:hover { border-color: rgba(0, 209, 127, 0.4); background: var(--lp-surface); }
.lp__price-card--featured .lp__price-cta button {
  background: var(--lp-up);
  color: #002819;
  border-color: transparent;
  font-weight: 600;
}
.lp__price-card--featured .lp__price-cta button:hover {
  background: #00E68A;
  box-shadow: 0 0 0 4px rgba(0, 209, 127, 0.16);
}

.lp__pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 32px;
  padding: 4px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 999px;
}
.lp__pricing-toggle button {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--lp-sans);
  font-size: 13px;
  color: var(--lp-fg-3);
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  transition: color 120ms ease, background 120ms ease;
}
.lp__pricing-toggle button.is-active {
  background: var(--lp-bg);
  color: var(--lp-fg);
}
.lp__pricing-toggle .lp__discount {
  font-family: var(--lp-mono);
  font-size: 11px;
  color: var(--lp-up);
  margin-left: 4px;
}

/* ═══ FAQ ═══════════════════════════════════════ */
.lp__faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--lp-line-soft);
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp__faq-item {
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp__faq-item:last-child { border-bottom: none; }
.lp__faq-q {
  width: 100%;
  appearance: none;
  background: transparent;
  border: none;
  padding: 22px 0;
  font-family: var(--lp-sans);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--lp-fg);
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}
.lp__faq-q:hover { color: var(--lp-up); }
.lp__faq-q .lp__chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 200ms ease;
  color: var(--lp-fg-3);
}
.lp__faq-item.is-open .lp__chev { transform: rotate(180deg); color: var(--lp-up); }
.lp__faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease, padding 200ms ease;
}
.lp__faq-item.is-open .lp__faq-a {
  max-height: 320px;
  padding-bottom: 22px;
}
.lp__faq-a p {
  font-size: 14.5px;
  color: var(--lp-fg-2);
  line-height: 1.55;
  max-width: 720px;
}

/* ═══ CTA bottom ════════════════════════════════ */
.lp__cta {
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(0, 209, 127, 0.08) 0%, transparent 70%),
    var(--lp-bg);
}
.lp__cta-title {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.05;
  max-width: 640px;
  margin: 0 auto;
}
.lp__cta-sub {
  margin: 16px auto 28px;
  max-width: 480px;
  font-size: 16px;
  color: var(--lp-fg-2);
}
.lp__cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lp__cta-meta {
  margin-top: 18px;
  font-family: var(--lp-mono);
  font-size: 12px;
  color: var(--lp-fg-3);
}

/* ═══ FOOTER overrides — blend with new aesthetic */
body:has(.lp) .footer {
  background: var(--lp-bg);
  border-top: 1px solid var(--lp-line-soft);
  padding: 64px 0 32px;
}
body:has(.lp) .footer .container {
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}
body:has(.lp) .footer-tagline { color: var(--lp-fg-3); font-size: 13.5px; max-width: 320px; line-height: 1.5; }
body:has(.lp) .footer-email { color: var(--lp-fg-2); font-size: 13.5px; }
body:has(.lp) .footer-copy { color: var(--lp-fg-4); font-size: 12.5px; }
body:has(.lp) .footer-col h4 { color: var(--lp-fg); font-size: 13px; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 14px; }
body:has(.lp) .footer-col a { color: var(--lp-fg-3); font-size: 13.5px; transition: color 120ms ease; display: block; padding: 4px 0; }
body:has(.lp) .footer-col a:hover { color: var(--lp-fg); }
body:has(.lp) .footer-bottom { border-top: 1px solid var(--lp-line-soft); padding-top: 24px; margin-top: 36px; }
body:has(.lp) .footer-badge { color: var(--lp-fg-3); font-size: 11.5px; }
body:has(.lp) .footer-bottom-links a { color: var(--lp-fg-3); }
body:has(.lp) .footer-bottom-links a:hover { color: var(--lp-fg); }

/* ═══ Mobile nav burger ═════════════════════════ */
@media (max-width: 880px) {
  body:has(.lp) .nav-links {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-md);
    padding: 8px;
    margin-top: 8px;
    display: none;
  }
  body:has(.lp) .nav-links.mobile-open { display: flex; }
  body:has(.lp) .nav-links a {
    padding: 12px 14px;
    border-radius: 8px;
  }
  body:has(.lp) .nav-links a:hover { background: var(--lp-surface-2); }
  body:has(.lp) .nav-hamburger { display: inline-flex; }
}

@media (min-width: 881px) {
  body:has(.lp) .nav-hamburger { display: none; }
}

body:has(.lp) .nav-hamburger {
  background: transparent;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
body:has(.lp) .nav-hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--lp-fg-2);
  border-radius: 1px;
}

/* ═══ Trim leftover style.css backgrounds ══════ */
body:has(.lp) .bg-grid,
body:has(.lp) .bg-gradient-orbs,
body:has(.lp) .bg-noise { display: none !important; }

/* ═══ LEGAL pages override ══════════════════════════
   Stylises existing `.legal-content` markup (terms, privacy,
   cookies, sub-processors, offer, vulnerability-disclosure)
   without rewriting their long-form content. */
body:has(.lp) .legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  font-family: var(--lp-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--lp-fg-2);
  letter-spacing: -0.005em;
}
body:has(.lp) .legal-content h1 {
  font-family: var(--lp-sans);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--lp-fg);
  text-align: left;
  line-height: 1.1;
  margin-bottom: 14px;
}
body:has(.lp) .legal-content .last-updated {
  font-family: var(--lp-mono);
  font-size: 12px;
  color: var(--lp-fg-3);
  text-align: left;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}
body:has(.lp) .legal-content h2 {
  font-family: var(--lp-sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--lp-fg);
  letter-spacing: -0.02em;
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lp-line-soft);
  line-height: 1.3;
}
body:has(.lp) .legal-content h3 {
  font-family: var(--lp-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--lp-fg);
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
}
body:has(.lp) .legal-content h4 {
  font-family: var(--lp-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lp-fg);
  margin: 22px 0 8px;
}
body:has(.lp) .legal-content p { margin-bottom: 14px; }
body:has(.lp) .legal-content ul,
body:has(.lp) .legal-content ol { margin: 0 0 16px 22px; padding: 0; }
body:has(.lp) .legal-content li { margin-bottom: 6px; }
body:has(.lp) .legal-content strong { color: var(--lp-fg); font-weight: 600; }
body:has(.lp) .legal-content em { color: var(--lp-fg); }
body:has(.lp) .legal-content a {
  color: var(--lp-up);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 209, 127, 0.4);
  transition: text-decoration-color 120ms ease;
}
body:has(.lp) .legal-content a:hover { text-decoration-color: var(--lp-up); }

body:has(.lp) .legal-content code,
body:has(.lp) .legal-content kbd,
body:has(.lp) .legal-content samp {
  font-family: var(--lp-mono);
  font-size: 13px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-line-soft);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--lp-warn);
}
body:has(.lp) .legal-content pre {
  background: var(--lp-bg);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  padding: 16px 18px;
  overflow-x: auto;
  margin: 18px 0;
  font-family: var(--lp-mono);
  font-size: 12.5px;
  color: var(--lp-fg-2);
}
body:has(.lp) .legal-content pre code {
  background: none; border: none; padding: 0; color: inherit;
}

body:has(.lp) .legal-content blockquote,
body:has(.lp) .legal-content .highlight-box {
  border-left: 2px solid var(--lp-up);
  background: var(--lp-up-soft);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0;
  color: var(--lp-fg);
}
body:has(.lp) .legal-content blockquote p:last-child,
body:has(.lp) .legal-content .highlight-box p:last-child { margin-bottom: 0; }

body:has(.lp) .legal-content .warning-box {
  border-left: 2px solid var(--lp-warn);
  background: rgba(232, 163, 61, 0.08);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0;
  color: var(--lp-fg);
}
body:has(.lp) .legal-content .warning-box p:last-child { margin-bottom: 0; }

body:has(.lp) .legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
body:has(.lp) .legal-content th {
  text-align: left;
  padding: 10px 14px;
  background: var(--lp-surface);
  color: var(--lp-fg);
  font-weight: 600;
  border-bottom: 1px solid var(--lp-line);
  font-family: var(--lp-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body:has(.lp) .legal-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--lp-line-soft);
}

body:has(.lp) .legal-content hr {
  border: none;
  border-top: 1px solid var(--lp-line-soft);
  margin: 36px 0;
}

/* Sub-processors page (.sp-*) */
body:has(.lp) .sp-hero {
  max-width: 720px;
  margin: 0 0 48px;
}
body:has(.lp) .sp-hero h1 {
  font-family: var(--lp-sans);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--lp-fg);
  line-height: 1.1;
  margin: 14px 0 16px;
}
body:has(.lp) .sp-hero p {
  font-family: var(--lp-sans);
  font-size: 15px;
  color: var(--lp-fg-2);
  line-height: 1.65;
  letter-spacing: -0.005em;
}
body:has(.lp) .section-label {
  font-family: var(--lp-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-up);
  margin-bottom: 10px;
}
body:has(.lp) .gdpr-tag {
  display: inline-block;
  font-family: var(--lp-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-up);
  background: var(--lp-up-soft);
  padding: 4px 9px;
  border-radius: 5px;
  margin-bottom: 14px;
}
body:has(.lp) .intro-note {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  padding: 22px 26px;
  font-family: var(--lp-sans);
  font-size: 14.5px;
  color: var(--lp-fg-2);
  line-height: 1.6;
  letter-spacing: -0.005em;
}
body:has(.lp) .sp-table-wrapper {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  overflow: hidden;
  margin-top: 32px;
}
body:has(.lp) .sp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--lp-sans);
}
body:has(.lp) .sp-table thead {
  background: var(--lp-surface-2);
  border-bottom: 1px solid var(--lp-line);
}
body:has(.lp) .sp-table thead th {
  font-family: var(--lp-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-fg-3);
  text-align: left;
  padding: 14px 22px;
  border-bottom: none;
}
body:has(.lp) .sp-table tbody tr {
  border-bottom: 1px solid var(--lp-line-soft);
  transition: background 120ms ease;
}
body:has(.lp) .sp-table tbody tr:last-child { border-bottom: none; }
body:has(.lp) .sp-table tbody tr:hover { background: var(--lp-surface-2); }
body:has(.lp) .sp-table tbody td {
  padding: 18px 22px;
  vertical-align: top;
  border-bottom: none;
}
body:has(.lp) .sp-company {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lp-fg);
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
body:has(.lp) .sp-purpose {
  font-size: 13px;
  color: var(--lp-fg-3);
  line-height: 1.5;
}
body:has(.lp) .sp-location {
  font-family: var(--lp-mono);
  font-size: 12.5px;
  color: var(--lp-fg-2);
}
body:has(.lp) .sp-flag {
  display: inline-block;
  width: 18px; height: 13px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--lp-line-soft);
}
body:has(.lp) .sp-security {
  font-size: 12.5px;
  color: var(--lp-fg-3);
}
body:has(.lp) .security-badge {
  display: inline-block;
  font-family: var(--lp-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--lp-up-soft);
  color: var(--lp-up);
  padding: 3px 9px;
  border-radius: 5px;
  white-space: nowrap;
  text-transform: uppercase;
}
body:has(.lp) .security-badge.neutral {
  background: var(--lp-line-soft);
  color: var(--lp-fg-3);
}
body:has(.lp) .notice-box {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-left: 2px solid var(--lp-up);
  border-radius: 0 var(--lp-r-md) var(--lp-r-md) 0;
  padding: 18px 22px;
  margin-top: 32px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
body:has(.lp) .notice-icon { width: 18px; height: 18px; min-width: 18px; margin-top: 1px; }
body:has(.lp) .notice-icon svg { width: 18px; height: 18px; stroke: var(--lp-up); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body:has(.lp) .notice-text {
  font-family: var(--lp-sans);
  font-size: 14px;
  color: var(--lp-fg-2);
  line-height: 1.6;
  letter-spacing: -0.005em;
}
body:has(.lp) .notice-text strong { color: var(--lp-fg); font-weight: 600; }
body:has(.lp) .meta-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--lp-line-soft);
  font-family: var(--lp-mono);
}
body:has(.lp) .meta-item {
  font-size: 12px;
  color: var(--lp-fg-3);
}
body:has(.lp) .meta-item strong { color: var(--lp-fg-2); font-weight: 500; }
body:has(.lp) .meta-item a { color: var(--lp-up); text-decoration: none; }
body:has(.lp) .meta-item a:hover { text-decoration: underline; }

/* Vulnerability disclosure box */
body:has(.lp) .vd-contact-box {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-left: 2px solid var(--lp-up);
  border-radius: 0 var(--lp-r-md) var(--lp-r-md) 0;
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--lp-fg-2);
}
body:has(.lp) .vd-contact-box > svg {
  flex-shrink: 0; margin-top: 2px;
  stroke: var(--lp-up);
  width: 20px; height: 20px;
}
body:has(.lp) .vd-contact-box strong { color: var(--lp-fg); display: block; margin-bottom: 4px; font-weight: 600; }
body:has(.lp) .vd-contact-box a { color: var(--lp-up); }
body:has(.lp) .vd-badge {
  display: inline-block;
  font-family: var(--lp-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-up);
  background: var(--lp-up-soft);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* CTA URL form (kept compact) */
.lp__cta-form {
  margin: 24px auto 0;
  max-width: 480px;
  display: flex;
  gap: 8px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 6px;
}
.lp__cta-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--lp-fg);
  font-family: var(--lp-mono);
  font-size: 14px;
  padding: 0 12px;
  min-width: 0;
}
.lp__cta-form input::placeholder { color: var(--lp-fg-4); }
.lp__cta-form button {
  height: 38px;
  padding: 0 18px;
  border: none;
  border-radius: 8px;
  background: var(--lp-up);
  color: #002819;
  font-family: var(--lp-sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.lp__cta-form button:hover { background: #00E68A; }

/* ═══ MODAL overrides — blend with landing aesthetic ═══════
   Modals are defined in style.css with the old design system
   (purple glow, 24px radius, Jakarta font). These overrides
   restyle every element to match the flat, monochrome dev-tool
   look of the landing page.
   ═══════════════════════════════════════════════════════════ */

/* --- Overlay ------------------------------------------------ */
body:has(.lp) .modal-overlay {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- Card --------------------------------------------------- */
body:has(.lp) .modal {
  font-family: var(--lp-sans);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.55);
  padding: 36px;
  max-width: 440px;
}

/* --- Close button ------------------------------------------- */
body:has(.lp) .modal-close {
  color: var(--lp-fg-3);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  transition: color 120ms ease, background 120ms ease;
}
body:has(.lp) .modal-close:hover {
  color: var(--lp-fg);
  background: var(--lp-surface-2);
}

/* --- Headings ----------------------------------------------- */
body:has(.lp) .modal h2 {
  font-family: var(--lp-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lp-fg);
  margin-bottom: 6px;
}

body:has(.lp) .modal .subtitle {
  font-family: var(--lp-sans);
  font-size: 14px;
  color: var(--lp-fg-3);
  margin-bottom: 24px;
}

/* --- Form labels -------------------------------------------- */
body:has(.lp) .modal .form-group label {
  font-family: var(--lp-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--lp-fg-2);
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}

/* --- Form inputs -------------------------------------------- */
body:has(.lp) .modal .form-input {
  font-family: var(--lp-sans);
  background: var(--lp-bg);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  color: var(--lp-fg);
  font-size: 14px;
  padding: 10px 14px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
body:has(.lp) .modal .form-input::placeholder {
  color: var(--lp-fg-4);
}
body:has(.lp) .modal .form-input:focus {
  border-color: var(--lp-up);
  box-shadow: 0 0 0 3px rgba(0, 209, 127, 0.10);
}

/* --- Primary button ----------------------------------------- */
body:has(.lp) .modal .btn.btn-primary {
  font-family: var(--lp-sans);
  background: var(--lp-fg) !important;
  color: var(--lp-bg) !important;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  height: 44px;
  padding: 0 18px;
  box-shadow: none !important;
  transform: none !important;
  transition: background 120ms ease, box-shadow 120ms ease !important;
}
body:has(.lp) .modal .btn.btn-primary:hover {
  background: #ffffff !important;
  color: var(--lp-bg) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  transform: none !important;
}
body:has(.lp) .modal .btn.btn-primary:active {
  background: #EDEDF0 !important;
  transform: none !important;
}
body:has(.lp) .modal .btn.btn-primary:disabled,
body:has(.lp) .modal .btn.btn-primary[disabled] {
  opacity: 0.4 !important;
  cursor: not-allowed;
}

/* --- SSO buttons -------------------------------------------- */
body:has(.lp) .modal .sso-btn {
  font-family: var(--lp-sans);
  background: transparent;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  color: var(--lp-fg);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  margin-bottom: 10px;
  transition: background 120ms ease, border-color 120ms ease;
}
body:has(.lp) .modal .sso-btn:hover {
  background: var(--lp-surface-2);
  border-color: var(--lp-line-strong);
  transform: none;
}

/* --- "or with email" divider -------------------------------- */
body:has(.lp) .modal [style*="height: 1px"][style*="background"],
body:has(.lp) .modal [style*="height:1px"][style*="background"] {
  background: var(--lp-line) !important;
}

/* --- Passkey divider ---------------------------------------- */
body:has(.lp) .modal .passkey-divider {
  color: var(--lp-fg-4);
  font-size: 13px;
}
body:has(.lp) .modal .passkey-divider::before,
body:has(.lp) .modal .passkey-divider::after {
  background: var(--lp-line);
}

/* --- Passkey button ----------------------------------------- */
body:has(.lp) .modal .btn-passkey {
  font-family: var(--lp-sans);
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-line);
  color: var(--lp-fg);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  height: 44px;
  transition: background 120ms ease, border-color 120ms ease;
}
body:has(.lp) .modal .btn-passkey:hover {
  background: var(--lp-surface);
  border-color: var(--lp-line-strong);
  transform: none;
  box-shadow: none;
}

/* --- Form switch (bottom links) ----------------------------- */
body:has(.lp) .modal .form-switch {
  font-family: var(--lp-sans);
  color: var(--lp-fg-3);
  font-size: 13.5px;
}
body:has(.lp) .modal .form-switch a {
  color: var(--lp-up);
  font-weight: 500;
  transition: color 120ms ease;
}
body:has(.lp) .modal .form-switch a:hover {
  color: #00E68A;
}

/* --- Agree checkbox (registration) -------------------------- */
body:has(.lp) .modal .agree-label {
  font-family: var(--lp-sans);
  color: var(--lp-fg-3);
  font-size: 13px;
}
body:has(.lp) .modal .agree-label a {
  color: var(--lp-up);
}
body:has(.lp) .modal .agree-label a:hover {
  text-decoration-color: var(--lp-up);
}
body:has(.lp) .modal .agree-check {
  border-color: var(--lp-line-strong);
  background: var(--lp-bg);
  border-radius: 4px;
}
body:has(.lp) .modal .agree-checkbox:checked + .agree-check {
  background: var(--lp-up);
  border-color: var(--lp-up);
  box-shadow: 0 0 0 3px rgba(0, 209, 127, 0.12);
}
body:has(.lp) .modal .agree-label:hover .agree-check {
  border-color: var(--lp-up);
}

/* --- Password strength bar ---------------------------------- */
body:has(.lp) .modal .pwd-bar {
  background: var(--lp-line);
}
body:has(.lp) .modal .pwd-label {
  font-family: var(--lp-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
body:has(.lp) .modal .pwd-breach {
  font-family: var(--lp-sans);
  font-size: 12.5px;
}

/* --- Error / success messages ------------------------------- */
body:has(.lp) .modal .form-error {
  font-family: var(--lp-sans);
  color: var(--lp-down);
  font-size: 13px;
}
body:has(.lp) .modal .form-success {
  font-family: var(--lp-sans);
  color: var(--lp-up) !important;
  font-size: 13px;
}

/* --- Icon wrappers (checkEmail, emailVerified) -------------- */
body:has(.lp) .modal .modal-icon-wrapper {
  background: var(--lp-surface-2);
  border-color: var(--lp-line);
  box-shadow: none;
}
body:has(.lp) .modal .modal-icon-wrapper.success {
  background: rgba(0, 209, 127, 0.06);
  border-color: rgba(0, 209, 127, 0.2);
  box-shadow: none;
}
body:has(.lp) .modal .modal-icon-wrapper svg {
  filter: none;
}

/* --- Info box inside checkEmail modal ----------------------- */
body:has(.lp) .modal [style*="rgba(255,255,255,0.03)"] {
  background: var(--lp-bg) !important;
  border-color: var(--lp-line) !important;
}

/* --- Mobile bottom-sheet: keep the rounding but update colours */
@media (max-width: 480px) {
  body:has(.lp) .modal {
    border-radius: var(--lp-r-lg) var(--lp-r-lg) 0 0;
    padding: 28px 22px;
  }
  body:has(.lp) .modal .form-input,
  body:has(.lp) .modal select.form-input {
    font-size: 16px;
  }

  /* Hero CTA: stack buttons full width */
  .lp__hero-cta { flex-direction: column; align-items: stretch; }
  .lp__hero-cta .lp__btn-primary,
  .lp__hero-cta .lp__btn-secondary,
  .lp__hero-cta .lp__btn-ghost { width: 100%; justify-content: center; }

  /* Pricing cards: reduce padding */
  .lp__price-card { padding: 22px 18px; gap: 16px; }
  .lp__price-fig .lp__price-amount { font-size: 36px; }

  /* Comparison table: horizontal scroll instead of cramping */
  .lp__compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lp__compare-row { min-width: 520px; }

  /* FAQ: tighter chevron gap */
  .lp__faq-q { gap: 12px; padding: 18px 0; font-size: 14.5px; }

  /* Hero subtitle: slightly smaller for narrow screens */
  .lp__hero-sub { font-size: 15.5px; margin-top: 18px; }

  /* Terminal: prevent overflow + smaller code */
  .lp__terminal { max-width: 100%; }
  .lp__terminal-body { font-size: 11.5px; }
}

/* ─── Hide map pin labels on mobile (would clip off-screen) ── */
@media (max-width: 640px) {
  .lp__map-pin-label { display: none; }
  .lp__map-pin-dot { width: 7px; height: 7px; }
}
