/* ─────────────────────────────────────────────────────────────
   The Living Passport — homepage section
   Institutional confidence, one moment of surprise. Dark stage so
   it reads as a different *register* from the compliance sections
   above it, without leaving the brand system.
   ───────────────────────────────────────────────────────────── */

.lp-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--teal-950);
  color: var(--teal-100);
  padding: clamp(72px, 9vw, 132px) 0;
}

/* ── atmosphere: depth without noise ── */
.lp-atmos { position: absolute; inset: 0; z-index: -1; }
.lp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.lp-orb-a {
  width: 520px; height: 520px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, oklch(0.54 0.052 165 / 0.55), transparent 70%);
}
.lp-orb-b {
  width: 420px; height: 420px;
  right: -100px; bottom: -160px;
  background: radial-gradient(circle, oklch(0.44 0.058 165 / 0.5), transparent 70%);
}
.lp-grain {
  position: absolute; inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ── head ── */
.lp-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-300);
  padding: 6px 12px 6px 10px;
  border: 1px solid oklch(0.68 0.042 165 / 0.28);
  border-radius: 999px;
  background: oklch(0.28 0.048 165 / 0.5);
  backdrop-filter: blur(6px);
}
.lp-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 oklch(0.75 0.18 150 / 0.7);
  animation: lpPulse 2.4s ease-out infinite;
}
@keyframes lpPulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.75 0.18 150 / 0.6); }
  70%  { box-shadow: 0 0 0 9px oklch(0.75 0.18 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.75 0.18 150 / 0); }
}

.lp-title {
  margin-top: 22px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: #fff;
  text-wrap: balance;
}
.lp-strike {
  color: var(--teal-400);
  position: relative;
  white-space: nowrap;
}
.lp-strike::after {
  content: ""; position: absolute;
  left: -2px; right: -2px; top: 54%;
  height: 2px;
  background: var(--accent-amber);
  transform: scaleX(0); transform-origin: left;
  animation: lpStrike 700ms cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: 450ms;
}
@keyframes lpStrike { to { transform: scaleX(1); } }
.lp-accent {
  background: linear-gradient(96deg, #fff 12%, var(--teal-300) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-lede {
  margin-top: 20px;
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.62;
  color: oklch(0.88 0.022 165 / 0.82);
  max-width: 66ch;
}

/* ── stage ── */
.lp-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}

/* ── the device: the split, made literal ── */
.lp-device { margin: 0; }
.lp-phone {
  position: relative;
  width: min(300px, 100%);
  margin-inline: auto;
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(165deg, oklch(0.36 0.055 165 / 0.9), oklch(0.18 0.042 165 / 0.95));
  border: 1px solid oklch(0.68 0.042 165 / 0.22);
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.75),
    0 0 0 1px oklch(0.54 0.052 165 / 0.14),
    inset 0 1px 0 oklch(0.88 0.022 165 / 0.14);
}
.lp-notch {
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 4px; border-radius: 3px;
  background: oklch(0.13 0.040 165 / 0.85);
  z-index: 2;
}
.lp-screen {
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  padding-top: 14px;
}

.lp-zone { padding: 14px 15px 16px; }
.lp-zone-compliance { background: #fff; }
.lp-zone-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  border: 1px solid var(--teal-200);
  padding: 4px 8px; border-radius: 6px;
  margin-bottom: 11px;
}
.lp-zone-tag-alt {
  color: var(--ink-500); background: var(--ink-50); border-color: var(--ink-200);
}
.lp-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--ink-100);
  font-size: 11px;
}
.lp-row span { color: var(--ink-500); }
.lp-row b { color: var(--ink-800); font-weight: 600; font-size: 11.5px; text-align: right; }
.lp-seal {
  display: flex; align-items: center; gap: 7px;
  margin-top: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.04em;
  color: oklch(0.45 0.13 155);
  background: oklch(0.95 0.04 155);
  border: 1px solid oklch(0.85 0.07 155);
  border-radius: 7px;
  padding: 7px 9px;
}
.lp-seal-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: oklch(0.62 0.16 155);
  flex: none;
}

/* the fold — the compliance boundary, labelled */
.lp-fold {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink-200) 0 5px, transparent 5px 10px);
  margin: 4px 0 10px;
}
.lp-fold span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; padding: 0 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 7.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-400);
}

.lp-zone-channel { background: var(--ink-50); padding-bottom: 18px; }
.lp-mod {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-bottom: 7px;
  padding: 9px 11px;
  font: inherit; font-size: 11px; font-weight: 600;
  color: var(--ink-700);
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 9px;
  cursor: default;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.lp-mod span { color: var(--teal-500); }
.lp-phone:hover .lp-mod {
  border-color: var(--teal-300);
  box-shadow: 0 2px 10px oklch(0.54 0.052 165 / 0.12);
}
.lp-phone:hover .lp-mod:nth-child(2) { transform: translateX(2px); }
.lp-phone:hover .lp-mod:nth-child(3) { transform: translateX(3px); }
.lp-phone:hover .lp-mod:nth-child(4) { transform: translateX(4px); }

.lp-caption {
  margin-top: 18px;
  font-size: 12.5px; line-height: 1.55;
  color: oklch(0.88 0.022 165 / 0.6);
  text-align: center;
  max-width: 40ch; margin-inline: auto;
}

/* ── panel: the data asset ── */
.lp-panel-head h3 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 650; line-height: 1.24; letter-spacing: -0.02em;
  color: #fff;
}
.lp-panel-head p {
  margin-top: 12px; font-size: 15px; line-height: 1.6;
  color: oklch(0.88 0.022 165 / 0.76); max-width: 54ch;
}

.lp-map {
  margin: 24px 0 18px;
  border: 1px solid oklch(0.68 0.042 165 / 0.2);
  border-radius: var(--radius-md);
  background: oklch(0.18 0.042 165 / 0.55);
  padding: 10px;
}
.lp-map-svg { width: 100%; height: auto; display: block; }
.lp-dot {
  fill: var(--teal-300);
  opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: lpDot 3.6s cubic-bezier(.2,.7,.3,1) infinite;
  animation-delay: var(--d);
}
.lp-dot-out { fill: var(--accent-amber); }
@keyframes lpDot {
  0%   { opacity: 0; transform: scale(0.3); }
  12%  { opacity: 1; transform: scale(1.35); }
  26%  { opacity: 0.9; transform: scale(1); }
  72%  { opacity: 0.55; }
  100% { opacity: 0; transform: scale(0.9); }
}
.lp-flag-txt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px; letter-spacing: 0.09em; text-transform: uppercase;
  fill: var(--accent-amber);
}

.lp-readout {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.lp-stat {
  border: 1px solid oklch(0.68 0.042 165 / 0.18);
  border-radius: var(--radius);
  background: oklch(0.28 0.048 165 / 0.4);
  padding: 12px 13px;
}
.lp-stat b {
  display: block;
  font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: #fff;
  font-variant-numeric: tabular-nums;
}
.lp-stat span {
  display: block; margin-top: 3px;
  font-size: 11px; line-height: 1.35;
  color: oklch(0.88 0.022 165 / 0.62);
}
.lp-stat-alert {
  border-color: oklch(0.75 0.14 75 / 0.42);
  background: oklch(0.45 0.09 75 / 0.22);
}
.lp-stat-alert b { color: var(--accent-amber); }

.lp-punch {
  margin: 20px 0 24px;
  padding-left: 15px;
  border-left: 2px solid var(--accent-amber);
  font-size: 15.5px; line-height: 1.55;
  color: oklch(0.88 0.022 165 / 0.9);
}
.lp-punch em { font-style: normal; color: #fff; font-weight: 600; }

.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── responsive ── */
@media (max-width: 940px) {
  .lp-stage { grid-template-columns: 1fr; gap: 44px; }
  .lp-device { order: 2; }
  .lp-panel { order: 1; }
}
@media (max-width: 520px) {
  .lp-readout { grid-template-columns: 1fr; }
  .lp-strike { white-space: normal; }
}

/* ── motion respect ── */
@media (prefers-reduced-motion: reduce) {
  .lp-pulse, .lp-dot, .lp-strike::after { animation: none; }
  .lp-dot { opacity: 0.9; }
  .lp-strike::after { transform: scaleX(1); }
  .lp-mod { transition: none; }
}
