/**
 * landing.css — Nable design system
 * Clean, minimal full-page experience for the Nable website.
 * Teal accent (#0099b8), Inter typeface, cool-dark palette.
 */

/* ──────────────────────────────────────────────────────────────────────────
   BASE OVERRIDES — give main full bleed so every lp-section can fill the screen
   ────────────────────────────────────────────────────────────────────────── */
body.lp-page,
body.nb-page {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
    'Helvetica Neue', sans-serif;
}

body.lp-page > main,
body.nb-page > main {
  max-width: none !important;
  padding: 0 !important;
  gap: 0 !important;
  display: block !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
   ────────────────────────────────────────────────────────────────────────── */
.lp-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.lp-container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION EYEBROW / LABELS
   ────────────────────────────────────────────────────────────────────────── */
.lp-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(122, 111, 240, 0.9);
  margin-bottom: 14px;
  display: block;
}

.lp-eyebrow--light {
  color: #7a6ff0;
}

/* On light sections (numbers, tech) the eyebrow is slightly darker purple */
.lp-numbers .lp-eyebrow,
.lp-tech .lp-eyebrow,
.lp-cta .lp-eyebrow {
  color: #5a4fd0;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION TITLES
   ────────────────────────────────────────────────────────────────────────── */
.lp-section-title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
  color: #f5f5f7;
}

.lp-section-title--dark {
  color: #0f172a;
}

/* ──────────────────────────────────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.lp-btn--primary {
  background: #007a93; /* darkened from #0099b8 for WCAG AA contrast 5:1 with white text */
  color: #ffffff;
}

.lp-btn--primary:hover {
  background: #006a80;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 122, 147, 0.38);
}

.lp-btn--ghost {
  background: transparent;
  color: #0099b8;
  border: 1px solid rgba(0, 153, 184, 0.45);
}

.lp-btn--ghost:hover {
  background: rgba(0, 153, 184, 0.06);
  transform: translateY(-2px);
}

.lp-btn--white {
  background: #ffffff;
  color: #0f172a;
}

.lp-btn--white:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
}

.lp-btn--white-ghost {
  background: transparent;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.lp-btn--white-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Inline link arrow style */
.lp-link {
  color: #0099b8;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.lp-link:hover {
  gap: 8px;
}

.lp-link--light {
  color: rgba(255, 255, 255, 0.75);
}

.lp-link--light:hover {
  color: #ffffff;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 1 — HERO
   Full viewport, dark, 3D canvas background.
   "Nanobubbles." in enormous type, Apple-style.
   ────────────────────────────────────────────────────────────────────────── */
.lp-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
  position: relative;
  overflow: hidden;
}

/* Canvas is absolutely positioned to fill the hero — does not affect flex flow */
#nb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* All other hero children stack above the canvas */
.lp-hero > *:not(canvas) {
  position: relative;
  z-index: 1;
}

.lp-hero-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(122, 111, 240, 0.9);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
  animation: lpFadeUp 0.9s ease 0.2s forwards;
}

.lp-hero-title {
  font-size: clamp(48px, 12vw, 128px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: #f5f5f7;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: lpFadeUp 1.0s ease 0.35s forwards;
}

.lp-hero-sub {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.60);
  max-width: 560px;
  margin: 0 auto 44px;
  opacity: 0;
  transform: translateY(14px);
  animation: lpFadeUp 0.9s ease 0.55s forwards;
}

.lp-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  animation: lpFadeUp 0.9s ease 0.7s forwards;
}

.lp-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 245, 247, 0.28);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  animation: lpFadeUp 1s ease 1.1s both;
}

.lp-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes lpFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 2 — STATEMENT
   Word-by-word animated reveal on dark background.
   ────────────────────────────────────────────────────────────────────────── */
.lp-statement {
  background: #000000;
  padding: 120px 24px;
  overflow: hidden;
}

.lp-statement-inner {
  max-width: 860px;
  margin: 0 auto;
}

.lp-statement-text {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: rgba(245, 245, 247, 0.22); /* start dim */
  transition: color 0.4s ease;
}

/* Each word is a span with staggered reveal */
.lp-statement-text .w {
  display: inline;
  transition: color 0.55s ease;
  color: rgba(245, 245, 247, 0.22);
  padding-right: 0.22em;
}

.lp-statement-text .w.lit {
  color: #f5f5f7;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 3 — STICKY PRODUCT SHOWCASE
   Parent is 400vh tall. Inner panel is sticky 100vh.
   Scroll progress drives which slide is active.
   ────────────────────────────────────────────────────────────────────────── */
.lp-track {
  height: 400vh;
  position: relative;
}

.lp-sticky-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

/* Background layers (one per slide, stacked) */
.lp-slide-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.lp-slide-bg.is-active { opacity: 1; }

.lp-slide-bg--ark {
  background:
    radial-gradient(ellipse at 60% 40%, rgba(34, 100, 34, 0.55), transparent 65%),
    linear-gradient(160deg, #000 0%, #071407 40%, #0d2010 100%);
}

.lp-slide-bg--fne {
  background:
    radial-gradient(ellipse at 40% 50%, rgba(120, 40, 140, 0.50), transparent 60%),
    linear-gradient(160deg, #000 0%, #160820 40%, #200c2e 100%);
}

.lp-slide-bg--medical {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0, 80, 180, 0.45), transparent 60%),
    linear-gradient(160deg, #000 0%, #060c24 40%, #0a1535 100%);
}

.lp-slide-bg--cleaning {
  background:
    radial-gradient(ellipse at 55% 45%, rgba(0, 110, 160, 0.45), transparent 60%),
    linear-gradient(160deg, #000 0%, #060f1a 40%, #0a1c2a 100%);
}

/* Each slide content */
.lp-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  opacity: 0;
  pointer-events: none;
  /* slide in from below */
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lp-slide.is-prev {
  opacity: 0;
  transform: translateY(-24px);
}

.lp-slide-content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-slide-cat {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.50);
}

.lp-slide-title {
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #f5f5f7;
}

.lp-slide-sub {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(245, 245, 247, 0.65);
  max-width: 440px;
}

.lp-slide-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-slide-feats li {
  font-size: 16px;
  color: rgba(245, 245, 247, 0.75);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.lp-slide-feats li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(122, 111, 240, 0.8);
  font-weight: 700;
}

/* Decorative accent orb (right side of each slide) */
.lp-slide-orb {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(60px);
  pointer-events: none;
  transition: opacity 0.9s ease, background 0.9s ease;
}

.lp-slide.is-active .lp-slide-orb { opacity: 0.18; }

.lp-slide-orb--ark     { background: radial-gradient(circle, #57ff70, #00c040); }
.lp-slide-orb--fne     { background: radial-gradient(circle, #e070ff, #a030d0); }
.lp-slide-orb--medical { background: radial-gradient(circle, #70b0ff, #0050e0); }
.lp-slide-orb--cleaning{ background: radial-gradient(circle, #70d8ff, #0090c0); }

/* Progress dots */
.lp-showcase-nav {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 10;
}

.lp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.35s ease;
}

.lp-dot.is-active {
  background: rgba(255, 255, 255, 0.88);
  width: 22px;
  border-radius: 3px;
}

/* Slide counter  */
.lp-slide-counter {
  position: absolute;
  top: 50%;
  right: 5vw;
  transform: translateY(-50%);
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.9s ease;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 4 — IMPACT NUMBERS
   Apple-style large stat cards on light background.
   ────────────────────────────────────────────────────────────────────────── */
.lp-numbers {
  background: #f0f4f8;
  padding: 120px 24px;
  text-align: center;
}

.lp-numbers-header {
  margin-bottom: 72px;
}

.lp-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(0, 153, 184, 0.12);
  border-radius: 20px;
  overflow: hidden;
}

.lp-number-card {
  background: #ffffff;
  padding: 56px 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: background 0.2s ease;
}

.lp-number-card:first-child { border-radius: 20px 0 0 20px; }
.lp-number-card:last-child  { border-radius: 0 20px 20px 0; }

.lp-number-card:hover {
  background: #fafcff;
  box-shadow: inset 0 2px 0 rgba(0, 153, 184, 0.18);
}

.lp-number-value {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #0099b8;
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

.lp-number-suffix {
  font-size: 0.55em;
  font-weight: 600;
  color: rgba(0, 153, 184, 0.60);
}

.lp-number-label {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.4;
  max-width: 180px;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 5 — TECH TILES (Bento Grid)
   Apple-style asymmetric feature grid.
   ────────────────────────────────────────────────────────────────────────── */
.lp-tech {
  background: #0d1117;
  padding: 0 24px 120px;
}

.lp-tech-header {
  text-align: center;
  padding-bottom: 56px;
}

.lp-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}

/* Base tile */
.lp-tile {
  border-radius: 20px;
  padding: 40px 36px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  cursor: default;
}

/* Ensure all tile content layers above the canvas animation */
.lp-tile > *:not(canvas) {
  position: relative;
  z-index: 2;
}

.lp-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.40);
}

/* Top-edge teal highlight on animated tiles */
.lp-tile[data-anim]::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(0, 153, 184, 0.45) 50%, transparent 95%);
  pointer-events: none;
  z-index: 3;
}

/* Grid placement */
.lp-tile:nth-child(1) { grid-column: span 4; grid-row: span 1; }
.lp-tile:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.lp-tile:nth-child(3) { grid-column: span 2; }
.lp-tile:nth-child(4) { grid-column: span 2; }
.lp-tile:nth-child(5) { grid-column: span 6; }
.lp-tile:nth-child(6) { grid-column: span 3; }
.lp-tile:nth-child(7) { grid-column: span 3; }

/* Tile colour themes */
.lp-tile--1 {
  /* Stability — indigo/purple: glow top-right */
  background:
    radial-gradient(ellipse at 78% 18%, rgba(100, 70, 240, 0.58) 0%, transparent 58%),
    linear-gradient(145deg, #18163a 0%, #261e72 100%);
}
.lp-tile--2 {
  /* Scale — ocean blue: glow upper-left */
  background:
    radial-gradient(ellipse at 26% 26%, rgba(30, 140, 240, 0.52) 0%, transparent 56%),
    linear-gradient(165deg, #142038 0%, #1e3470 100%);
}
.lp-tile--3 {
  /* Oxygen — teal-green: glow bottom-right */
  background:
    radial-gradient(ellipse at 68% 82%, rgba(20, 180, 90, 0.52) 0%, transparent 56%),
    linear-gradient(145deg, #112016 0%, #1e3c24 100%);
}
.lp-tile--4 {
  /* Charge — violet: glow centre-left */
  background:
    radial-gradient(ellipse at 30% 52%, rgba(160, 60, 250, 0.55) 0%, transparent 56%),
    linear-gradient(145deg, #1e1238 0%, #341c62 100%);
}
.lp-tile--5 {
  /* Wide — deep navy: diffuse centre glow */
  background:
    radial-gradient(ellipse at 50% 50%, rgba(60, 90, 210, 0.32) 0%, transparent 64%),
    linear-gradient(135deg, #141c30 0%, #1e2648 50%, #141c30 100%);
  min-height: 180px;
}
.lp-tile--6 {
  /* Flow — teal: glow rising from bottom */
  background:
    radial-gradient(ellipse at 50% 90%, rgba(0, 168, 210, 0.52) 0%, transparent 56%),
    linear-gradient(145deg, #102230 0%, #163048 100%);
}
.lp-tile--7 {
  /* Scale-up — amber/gold: glow top-right */
  background:
    radial-gradient(ellipse at 74% 20%, rgba(220, 155, 20, 0.50) 0%, transparent 54%),
    linear-gradient(145deg, #221c00 0%, #382e10 100%);
}

/* Tile number decoration */
.lp-tile-num {
  position: absolute;
  top: 32px;
  right: 36px;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.22;
  color: #ffffff;
  user-select: none;
  z-index: 2;
}

.lp-tile-heading {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f5f5f7;
  margin-bottom: 10px;
}

.lp-tile-body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.58;
  color: rgba(245, 245, 247, 0.65);
}

/* Wide tile text centred */
.lp-tile--5 .lp-tile-heading {
  font-size: clamp(24px, 3.5vw, 40px);
  text-align: center;
  color: #f5f5f7;
}

.lp-tile--5 .lp-tile-body {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}


/* ──────────────────────────────────────────────────────────────────────────
   SECTION 6 & 7 — FEATURE PARALLAX SECTIONS
   Full-width, full-height cinematic sections with floating text.
   Backgrounds use rich CSS gradients (image placeholders).
   ────────────────────────────────────────────────────────────────────────── */
.lp-feature {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Parallax bg layer — JS-controlled translateY */
.lp-feature-bg {
  position: absolute;
  inset: -15%;
  will-change: transform;
  pointer-events: none;
}

.lp-feature-bg--agri {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(60, 160, 60, 0.5), transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(20, 80, 20, 0.6), transparent 50%),
    linear-gradient(175deg, #030b03 0%, #071407 35%, #0d2010 65%, #040904 100%);
}

.lp-feature-bg--med {
  background:
    radial-gradient(ellipse at 60% 35%, rgba(40, 120, 220, 0.45), transparent 55%),
    radial-gradient(ellipse at 30% 65%, rgba(80, 40, 180, 0.35), transparent 50%),
    linear-gradient(175deg, #020508 0%, #060c24 35%, #0a1535 65%, #020407 100%);
}

/* Grain overlay for cinematic texture */
.lp-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.lp-feature-content {
  position: relative;
  z-index: 2;
  padding: 100px 8vw;
  max-width: 680px;
}

.lp-feature-content--right {
  margin-left: auto;
}

.lp-feature-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.50);
  margin-bottom: 18px;
  display: block;
}

.lp-feature-title {
  font-size: clamp(32px, 6.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.04;
  color: #f5f5f7;
  margin-bottom: 24px;
}

.lp-feature-body {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 245, 247, 0.60);
  margin-bottom: 36px;
}

.lp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-feature-list li {
  font-size: 16px;
  color: rgba(245, 245, 247, 0.68);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}

.lp-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: rgba(122, 111, 240, 0.85);
}

/* Large decorative stat overlay */
.lp-feature-stat {
  position: absolute;
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.lp-feature-stat--right {
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
}

.lp-feature-stat--left {
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 8 — CTA
   Clean white, Apple-minimalist closing section.
   ────────────────────────────────────────────────────────────────────────── */
.lp-cta {
  background: #ffffff;
  padding: 140px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.lp-cta-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #0f172a;
  margin-bottom: 18px;
}

.lp-cta-sub {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.lp-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-cta-links {
  margin-top: 32px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-cta-link {
  font-size: 15px;
  color: #0099b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.lp-cta-link:hover { gap: 8px; }

/* ──────────────────────────────────────────────────────────────────────────
   SCROLL ANIMATIONS — zoom / fade-up entrances
   Driven by IntersectionObserver in landing-scroll.js
   ────────────────────────────────────────────────────────────────────────── */
.lp-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-fade-up.is-visible {
  opacity: 1;
  transform: none;
}

.lp-zoom-in {
  opacity: 0;
  transform: scale(0.90);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-zoom-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children inside observed groups */
.lp-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.lp-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.lp-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.lp-stagger.is-visible > *:nth-child(3) { transition-delay: 0.20s; }
.lp-stagger.is-visible > *:nth-child(4) { transition-delay: 0.30s; }
.lp-stagger.is-visible > *:nth-child(5) { transition-delay: 0.40s; }
.lp-stagger.is-visible > *:nth-child(6) { transition-delay: 0.50s; }
.lp-stagger.is-visible > *:nth-child(7) { transition-delay: 0.60s; }

/* ──────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .lp-track { height: 500vh; } /* more height per slide on mobile */

  .lp-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-tile:nth-child(1) { grid-column: span 2; }
  .lp-tile:nth-child(2) { grid-column: span 1; grid-row: span 1; }
  .lp-tile:nth-child(3) { grid-column: span 1; }
  .lp-tile:nth-child(4) { grid-column: span 1; }
  .lp-tile:nth-child(5) { grid-column: span 2; min-height: 160px; }
  .lp-tile:nth-child(6) { grid-column: span 1; }
  .lp-tile:nth-child(7) { grid-column: span 1; }

  .lp-number-card:first-child { border-radius: 20px 20px 0 0; }
  .lp-number-card:last-child  { border-radius: 0 0 20px 20px; }

  .lp-numbers-grid { grid-template-columns: repeat(2, 1fr); }

  .lp-slide { padding: 0 6vw; }

  .lp-feature-content { padding: 80px 6vw; width: 100%; box-sizing: border-box; }
  .lp-feature-content--right { margin-left: 0; }
}

@media (max-width: 560px) {
  .lp-hero-actions { flex-direction: column; align-items: center; }
  .lp-hero-actions .lp-btn { width: 260px; }

  .lp-tiles { grid-template-columns: 1fr; }
  .lp-tile:nth-child(n) { grid-column: span 1; grid-row: span 1; }

  .lp-numbers-grid { grid-template-columns: 1fr; }
  .lp-number-card:first-child { border-radius: 20px 20px 0 0; }
  .lp-number-card:last-child  { border-radius: 0 0 20px 20px; }

  .lp-slide { padding: 0 5vw; }
  .lp-slide-orb { display: none; }
  .lp-slide-counter { display: none; }

  .lp-feature-stat { display: none; }

  .lp-cta-actions { flex-direction: column; align-items: center; }
  .lp-cta-actions .lp-btn { width: 260px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   WHITE THEME OVERRIDES — body.lp-page
   Replaces the dark nb-page theme with a clean white/light background.
   Dark sections (showcase, tech tiles, feature parallax) are kept for
   visual contrast rhythm, exactly as Apple alternates on product pages.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Hero: white bg, dark text ── */
body.lp-page .lp-hero {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(122, 111, 240, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse at 15% 20%, rgba(0, 153, 184, 0.06) 0%, transparent 55%),
    #ffffff;
}

body.lp-page .lp-hero-tag {
  color: #5a4fd0;
  text-shadow: none;
  animation: lpFadeUp 0.9s ease 0.2s forwards;
}

body.lp-page .lp-hero-title {
  color: #0f172a;
  text-shadow: none;
}

body.lp-page .lp-hero-sub {
  color: #6b7280;
}

body.lp-page .lp-scroll-cue {
  color: rgba(15, 23, 42, 0.30);
}

body.lp-page .lp-scroll-line {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.30), transparent);
}

/* ── Statement: white bg, dark text lit word-by-word ── */
body.lp-page .lp-statement {
  background: #ffffff;
  border-top: 1px solid #dde3ec;
}

body.lp-page .lp-statement-text .w {
  color: rgba(15, 23, 42, 0.15);
}

body.lp-page .lp-statement-text .w.lit {
  color: #0f172a;
}

/* ── Numbers section: slightly deeper gray for contrast against white ── */
body.lp-page .lp-numbers {
  background: #f0f4f8;
  border-top: 1px solid #dde3ec;
}

/* ── Tech section: dark bg so tiles glow from within ── */
body.lp-page .lp-tech {
  background: #0d1117;
}
/* Title and eyebrow need to be light on the dark section bg */
body.lp-page .lp-tech .lp-section-title--dark {
  color: #f0f4f8;
}
body.lp-page .lp-tech .lp-eyebrow {
  color: #7a6ff0;
}

/* ── CTA: white bg ── */
body.lp-page .lp-cta {
  background: #ffffff;
  border-top: 1px solid #dde3ec;
}

/* ── Feature parallax sections: keep cinematic dark — they work
      as strong visual contrast islands in the white page ── */
/* (no overrides needed — .lp-feature already has its own dark bg)  */

/* ── Showcase slides: keep dark — full-screen product cards work
      exactly like Apple's dark feature cards interspersed in white pages ── */
/* (no overrides needed) */

/* ══════════════════════════════════════════════════════════════════════════
   INTERIOR PAGE COMPONENTS
   Shared across about, product, careers, newsroom, and detail pages.
   ══════════════════════════════════════════════════════════════════════════ */

/* Compact hero for interior / detail pages */
.lp-hero--compact {
  min-height: 62vh;
  min-height: 62dvh;
}

/* ── Breadcrumb ── */
.lp-breadcrumb {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 0;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.lp-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease;
}
.lp-breadcrumb a:hover { color: #0f172a; }
.lp-breadcrumb-sep { color: #b8c0cc; }

/* ── 3-col feature card section ── */
.lp-feat-section {
  background: #f0f4f8;
  padding: 120px 24px;
  border-top: 1px solid #dde3ec;
}
.lp-feat-section-header {
  text-align: center;
  padding-bottom: 56px;
}
.lp-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}
.lp-feat-card {
  background: linear-gradient(145deg, #0a1220 0%, #0d1e38 100%);
  border-radius: 20px;
  padding: 40px 32px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.lp-feat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0, 153, 184, 0.45) 50%, transparent 90%);
  pointer-events: none;
}
.lp-feat-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 153, 184, 0.15);
}
.lp-feat-card:hover { transform: translateY(-5px); }
.lp-feat-card-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 4px;
}
.lp-feat-card-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: #f5f5f7;
  line-height: 1.2;
}
.lp-feat-card-body {
  font-size: 15px;
  color: rgba(245, 245, 247, 0.55);
  line-height: 1.55;
}

/* ── Post / job card grid ── */
.lp-post-section {
  background: #f0f4f8;
  padding: 120px 24px;
  border-top: 1px solid #dde3ec;
}
.lp-post-section-header {
  text-align: center;
  padding-bottom: 56px;
}
.lp-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.lp-post-card {
  background: #ffffff;
  border: 1px solid #dde3ec;
  border-radius: 18px;
  padding: 36px 30px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #0f172a;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.lp-post-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 153, 184, 0.20);
  transform: translateY(-3px);
}
.lp-post-card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7a6ff0;
}
.lp-post-card-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: #0f172a;
}
.lp-post-card-body {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.5;
}
.lp-post-card-arrow {
  font-size: 14px;
  color: #0099b8;
  margin-top: auto;
  padding-top: 12px;
}
.lp-post-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  color: #6b7280;
  font-size: 17px;
}

/* ── Pill badge ── */
.lp-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(0, 153, 184, 0.10);
  color: #0099b8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: 1px solid rgba(0, 153, 184, 0.20);
}
.lp-pill--green {
  background: rgba(28, 156, 74, 0.10);
  color: #1c9c4a;
  border-color: rgba(28, 156, 74, 0.20);
}

/* ── Article body (newsroom / job detail rich text) ── */
.lp-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}
.lp-article h1, .lp-article h2,
.lp-article h3, .lp-article h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
  margin: 1.8em 0 0.5em;
}
.lp-article h2 { font-size: clamp(22px, 2.8vw, 32px); }
.lp-article h3 { font-size: clamp(18px, 2.2vw, 24px); }
.lp-article p {
  font-size: 18px;
  line-height: 1.72;
  color: #374151;
  margin-bottom: 1.2em;
}
.lp-article ul, .lp-article ol {
  padding-left: 22px;
  margin-bottom: 1.2em;
}
.lp-article li {
  font-size: 17px;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 0.4em;
}
.lp-article a { color: #0099b8; text-decoration: none; }
.lp-article a:hover { text-decoration: underline; }

/* ── Apply / action box ── */
.lp-apply-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.lp-apply-box {
  background: #f0f4f8;
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.lp-apply-box h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 4px;
}
.lp-apply-box p {
  font-size: 15px;
  color: #6b7280;
}

/* ── Contact info block (About page) ── */
.lp-contact-section {
  background: #ffffff;
  padding: 120px 24px;
  border-top: 1px solid #dde3ec;
  text-align: center;
}
.lp-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  max-width: 860px;
  margin: 48px auto 0;
  background: rgba(0, 153, 184, 0.10);
  border-radius: 20px;
  overflow: hidden;
}
.lp-contact-item {
  background: #ffffff;
  padding: 40px 32px;
  text-align: left;
}
.lp-contact-item-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7a6ff0;
  margin-bottom: 10px;
  display: block;
}
.lp-contact-item-value {
  font-size: 16px;
  color: #0f172a;
  line-height: 1.5;
  text-decoration: none;
}
a.lp-contact-item-value:hover { color: #0099b8; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .lp-feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .lp-feat-grid { grid-template-columns: 1fr; }
  .lp-apply-box { flex-direction: column; align-items: flex-start; }
}
