/* ═══════════════════════════════════════════════════════════
   clero.is landing — stylesheet for the static apex page.

   1. Globals lifted from the legacy dashboard's src/App.css that
      the landing depends on (font imports, reset, body colours,
      reduced-motion guard, the splash screen).
   2. src/Landing.css copied VERBATIM (every rule is scoped under
      .lp / .lp-*), starting at the "Landing page" banner below.
   3. A short block of static-port additions at the very end.

   The GT Planar @font-face lives in index.html (as in the legacy
   public/index.html) so the font URL resolves from the page.
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. Globals (from src/App.css) ───────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Geist+Mono:wght@300;400&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--font-ui), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-secondary); color: var(--text-primary); }

/* Honor user motion preferences globally. Specific surfaces (splash) can
   still opt-in to richer alternatives in their own reduced-motion blocks. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  /* Type stacks (App.css :root) and the dark-theme surface tokens the body
     rule above resolves. The landing forces data-theme="dark" on <html>
     (Landing.js did the same on mount), so only the dark values are needed. */
  --font-ui:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg-secondary:   #151619;   /* [data-theme="dark"] --bg-secondary */
  --text-primary:   #FFFFFF;   /* [data-theme="dark"] --text-primary */
}

/* ─── 1b. Splash screen (from src/App.css, verbatim) ──────── */
/* ──────────────────────────────────────────────────────────
   Splash screen
   ──────────────────────────────────────────────────────────
   A short cinematic intro before the login page.
   Layers:
     1. .splash-aurora — slow drifting colored auras that hint
        at the brand palette (orange / amber / cyan).
     2. .splash-glow   — a soft ambient halo behind the logo.
     3. .splash-logo-svg — the Clero mark; the C reveals via
        clip-path while the wordmark letters cascade in.
*/
.splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(ellipse at 50% 50%, #16181d 0%, #0c0d10 60%, #08090b 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.splash-screen.exit { opacity: 0; }

/* Aurora — three slow drifting blobs in brand colors. They sit
   behind everything and add subtle movement to the void. */
.splash-aurora {
  position: absolute; inset: -10%;
  opacity: 0;
  background:
    radial-gradient(40% 35% at 22% 35%, rgba(255, 110, 0, 0.18) 0%, transparent 65%),
    radial-gradient(35% 30% at 70% 60%, rgba(255, 186, 49, 0.16) 0%, transparent 65%),
    radial-gradient(30% 25% at 50% 80%, rgba(121, 248, 235, 0.14) 0%, transparent 65%);
  filter: blur(40px) saturate(1.05);
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.splash-screen.hold .splash-aurora,
.splash-screen.exit .splash-aurora {
  opacity: 1;
  animation: splash-aurora-drift 14s ease-in-out infinite alternate;
}
@keyframes splash-aurora-drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d( 2%,  1%, 0) scale(1.06); }
}

/* Soft halo behind the logo */
.splash-glow {
  position: absolute;
  width: min(80vw, 760px);
  height: min(80vw, 760px);
  border-radius: 50%;
  background: radial-gradient(closest-side,
              rgba(255, 110, 0, 0.18) 0%,
              rgba(255, 186, 49, 0.12) 30%,
              rgba(121, 248, 235, 0.08) 55%,
              transparent 75%);
  filter: blur(50px);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    transform 1.6s cubic-bezier(0.34, 1.2, 0.64, 1) 0.1s;
  pointer-events: none;
}
.splash-screen.hold .splash-glow,
.splash-screen.exit .splash-glow {
  opacity: 1;
  transform: scale(1);
  animation: splash-glow-breathe 4.5s ease-in-out 1.6s infinite alternate;
}
@keyframes splash-glow-breathe {
  /* Transform-only — animating filter:blur() on a 760px element was
     paint-heavy. Scale alone produces the same visual breathe. */
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Logo wrapper sits above the glow */
.splash-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.splash-logo-svg {
  display: block;
  width: clamp(280px, 38vw, 480px);
  height: auto;
  /* Slightly sub-pixel scale-in so the lockup feels weighty rather than poppy */
  opacity: 0;
  transform: translateY(6px) scale(0.985);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
    transform 1.0s cubic-bezier(0.34, 1.2, 0.64, 1) 0.05s;
}
.splash-screen.hold .splash-logo-svg,
.splash-screen.exit .splash-logo-svg {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* C-mark — fades up with a soft scale, then breathes gently while held.
   The gradient itself is the visual interest; we don't tint it further. */
.splash-logo-svg .splash-c-icon {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
    transform 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) 0.2s;
}
.splash-screen.hold .splash-logo-svg .splash-c-icon,
.splash-screen.exit .splash-logo-svg .splash-c-icon {
  opacity: 1;
  transform: scale(1);
  /* After the entry settles, breathe slowly so the lockup feels alive */
  animation: splash-c-breathe 4.5s ease-in-out 1.4s infinite alternate;
}
@keyframes splash-c-breathe {
  /* Transform-only — drop-shadow filter on the gradient C was barely
     visible against the void and paint-expensive every frame. */
  from { transform: scale(1); }
  to   { transform: scale(1.025); }
}

/* Wordmark letters — fade up, staggered in visual reading order
   (c, l, e, r, o). Path order in the SVG is c, l, r, e, o, so the
   delays below are arranged accordingly. */
.splash-logo-svg .splash-letter {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.55s cubic-bezier(0.34, 1.2, 0.64, 1),
    transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.splash-screen.hold .splash-logo-svg .splash-letter,
.splash-screen.exit .splash-logo-svg .splash-letter {
  opacity: 1;
  transform: translateY(0);
}
.splash-logo-svg .splash-letter--c { transition-delay: 0.55s; }
.splash-logo-svg .splash-letter--l { transition-delay: 0.65s; }
.splash-logo-svg .splash-letter--e { transition-delay: 0.75s; }
.splash-logo-svg .splash-letter--r { transition-delay: 0.85s; }
.splash-logo-svg .splash-letter--o { transition-delay: 0.95s; }

/* Honor reduced-motion preferences — keep the logo visible but skip
   the cinematic motion. */
@media (prefers-reduced-motion: reduce) {
  .splash-aurora,
  .splash-glow,
  .splash-logo-svg,
  .splash-logo-svg .splash-c-icon,
  .splash-logo-svg .splash-letter {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ─── 2. src/Landing.css (verbatim) ────────────────────────── */
/* ───────────────────────────────────────────────────────────
   Landing page (public marketing site).
   All rules scoped under .lp / .lp-* so they can never bleed
   into the authenticated app surface.
   Visual language follows the Webflow brand site:
     • dark #151619 base, cream #F1EEE5 type
     • GT Planar Light for display, Inter Light for body
     • floating pill nav, pill buttons, pill form inputs
     • generous vertical rhythm
     • subtle orange→amber→teal heatmap as accent only
   ─────────────────────────────────────────────────────────── */

/* GT Planar @font-face is declared in public/index.html so the URL is
   resolved against PUBLIC_URL at runtime — webpack's css-loader treats
   absolute /clero/... URLs as module imports and fails the build. */

/* Smooth anchor scrolling for the floating-nav links. Only affects
   programmatic scrolls (anchor jumps); manual scrolling is untouched.
   Honors prefers-reduced-motion. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Each anchored section sits below the floating nav pill; offset so
   the section's eyebrow doesn't tuck under it. */
.lp section[id] { scroll-margin-top: 6rem; }

/* Reveal-on-scroll utility. Add `lp-reveal` to any element you want
   to fade + lift in when it enters the viewport. Optional inline
   style `--lp-reveal-delay: 0.12s` adds a per-card stagger. */
.lp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--lp-ease, cubic-bezier(0.4, 0, 0.2, 1)),
              transform 0.7s var(--lp-ease, cubic-bezier(0.4, 0, 0.2, 1));
  transition-delay: var(--lp-reveal-delay, 0s);
  will-change: opacity, transform;
}
.lp-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1; transform: none; transition: none; }
}

.lp {
  /* Surface */
  --lp-bg:        #151619;
  --lp-bg-2:      #1B1D21;
  --lp-bg-3:      #1F2126;
  /* Lines & borders */
  --lp-line:      rgba(237, 232, 219, 0.08);
  --lp-line-2:    #30333E;
  /* Type colors */
  --lp-cream:     #F1EEE5;
  --lp-mute:      #848DA8;
  --lp-mute-2:    #6E768D;
  /* Brand accents (used sparingly) */
  --lp-orange:    #FF6E00;
  --lp-amber:     #FFBA31;
  --lp-teal:      #79F8EB;
  --lp-blue:      #1D8BEA;
  --lp-grad:      linear-gradient(115deg, #FF6E00 0%, #FFBA31 45%, #79F8EB 100%);

  /* Typography stacks */
  --lp-font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lp-font-display: 'GT Planar', 'Inter', -apple-system, sans-serif;

  /* Easing — same curve the webflow site uses for all transitions */
  --lp-ease: cubic-bezier(.455, .03, .515, .955);

  position: relative;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-cream);
  font-family: var(--lp-font-ui);
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  isolation: isolate;
}

/* Make sure the landing page fills the viewport even when mounted
   under containers that fight for height. */
.lp ::selection { background: rgba(255,110,0,0.35); color: #fff; }

/* ─── Aurora background ─────────────────────────────────── */
/* Hidden by default — the brand site relies on the hero gradient.png
   only and keeps the rest of the page calm dark. */
.lp-aurora { display: none; }
.lp-aurora-on {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.lp-aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}
.lp-aurora__blob--a {
  width: 720px; height: 2000px;
  top: -240px; left: -120px;
  background: radial-gradient(circle, #FF6E00 0%, rgba(255,110,0,0) 65%);
  animation: lpDriftA 22s ease-in-out infinite;
}
.lp-aurora__blob--b {
  width: 620px; height: 620px;
  top: -120px; right: -180px;
  background: radial-gradient(circle, #FFBA31 0%, rgba(255,186,49,0) 65%);
  animation: lpDriftB 26s ease-in-out infinite;
  opacity: 0.4;
}
.lp-aurora__blob--c {
  width: 560px; height: 560px;
  top: 460px; left: 32%;
  background: radial-gradient(circle, #79F8EB 0%, rgba(121,248,235,0) 65%);
  animation: lpDriftC 30s ease-in-out infinite;
  opacity: 0.18;
}
.lp-aurora__noise {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 1px;
  opacity: 0.7;
  mix-blend-mode: overlay;
}
@keyframes lpDriftA {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(60px,40px,0) scale(1.08); }
}
@keyframes lpDriftB {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(-40px,30px,0) scale(1.05); }
}
@keyframes lpDriftC {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(30px,-50px,0) scale(1.1); }
}

/* ─── Top nav (floating pill) ───────────────────────────── */
.lp-nav {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 1rem;
  pointer-events: none; /* let content under empty space scroll */
}
.lp-nav__inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  border-radius: 1000px;
  border: 1px solid rgba(237, 232, 219, 0.12);
  background: rgba(36, 37, 39, 0.62);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  transition: background 0.2s var(--lp-ease), border-color 0.2s var(--lp-ease);
}
.lp-nav.is-scrolled .lp-nav__inner {
  background: rgba(27, 29, 33, 0.82);
}
.lp { padding-top: 96px; }
.lp-nav__brand { display: flex; align-items: center; }
.lp-nav__logo {
  height: 26px;
  width: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}
.lp-nav__links {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
}
.lp-nav__links a {
  color: var(--lp-cream);
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.15s var(--lp-ease);
}
.lp-nav__links a:hover { color: #fff; }
.lp-nav__cta { display: flex; align-items: center; gap: 0.5rem; }

/* ─── Mobile hamburger toggle ────────────────────────────── */
.lp-nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.lp-nav__toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--lp-cream);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.22s var(--lp-ease), opacity 0.22s var(--lp-ease);
}
.lp-nav.is-menu-open .lp-nav__toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.lp-nav.is-menu-open .lp-nav__toggle span:nth-child(2) { opacity: 0; }
.lp-nav.is-menu-open .lp-nav__toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ─── Mobile drawer (hidden on desktop) ──────────────────── */
.lp-nav__menu {
  display: none;
}
.lp-nav__menu a,
.lp-nav__menu button {
  font-family: var(--lp-font-ui);
  font-size: 17px;
  font-weight: 400;
  color: var(--lp-cream);
  text-decoration: none;
  text-align: left;
  padding: 0.85rem 0.25rem;
  border: 0;
  border-bottom: 0.5px solid var(--lp-line-2);
  background: transparent;
  cursor: pointer;
}
.lp-nav__menu a:last-of-type,
.lp-nav__menu .lp-nav__menu-signin {
  border-bottom: 0;
}
.lp-nav__menu-signin {
  margin-top: 0.5rem;
  border: 0.5px solid var(--lp-line-2) !important;
  border-radius: 999px;
  text-align: center !important;
  padding: 0.7rem 1rem !important;
}

/* ─── Buttons (pill) ────────────────────────────────────── */
.lp-btn {
  --lp-btn-h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--lp-btn-h);
  padding: 0 1rem;
  border-radius: 1000px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s var(--lp-ease), color 0.15s var(--lp-ease), border-color 0.15s var(--lp-ease);
  white-space: nowrap;
}
.lp-btn--lg { --lp-btn-h: 52px; padding: 0 1.4rem; }
.lp-btn--sm { --lp-btn-h: 40px; padding: 0 0.9rem; font-size: 14px; }

.lp-btn--primary {
  background: var(--lp-cream);
  color: var(--lp-bg);
}
.lp-btn--primary:hover {
  background: var(--lp-line-2);
  color: var(--lp-cream);
}
.lp-btn--dark {
  background: var(--lp-bg-2);
  color: var(--lp-cream);
  border-color: var(--lp-line-2);
}
.lp-btn--dark:hover {
  background: var(--lp-cream);
  color: var(--lp-bg);
  border-color: var(--lp-cream);
}
.lp-btn--ghost {
  background: transparent;
  color: var(--lp-cream);
  border-color: var(--lp-line-2);
}
.lp-btn--ghost:hover {
  background: var(--lp-cream);
  color: var(--lp-bg);
  border-color: var(--lp-cream);
}

/* ─── Hero ──────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  z-index: 1;
  padding: 16rem 0.8rem 4rem;
  max-width: 88rem;
  margin: 0 auto;
  text-align: center;
}
/* Heatmap orb anchored to the lower-left of the hero — only the
   upper-right portion of the blob is visible, mirroring the brand site.
   Background image comes via inline style on .lp-hero__bg (resolved at
   runtime so webpack doesn't choke on the absolute /clero/... URL). */
.lp-hero__bg {
  position: absolute;
  z-index: -1;
  /* Anchor to the viewport's left edge instead of the centered hero
     container so the blob keeps tracking the screen as it widens past
     the hero's 88rem cap. */
  left: calc(50% - 50vw);
  bottom: 0;
  width: 70vw;
  max-width: 1100px;
  min-width: 600px;
  aspect-ratio: 1 / 1;
  transform: translate(-48%, 32%);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.95;
}
.lp-hero__eyebrow {
  display: inline-block;
  font-family: var(--lp-font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lp-mute);
  margin: 0 0 1.5rem;
}
.lp-dot { display: none; } /* webflow style — eyebrow without bullet */

.lp-hero__title {
  font-family: var(--lp-font-display);
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 300;
  line-height: 95%;
  letter-spacing: -0.5px;
  color: var(--lp-cream);
  margin: 0 auto 1.5rem;
  max-width: 45rem;
}
.lp-hero__title-grad {
  /* On the webflow site the second line is plain cream too — keep the
     full headline a single calm tone rather than a rainbow. */
  color: var(--lp-cream);
  background: none;
  -webkit-text-fill-color: var(--lp-cream);
}
.lp-hero__sub {
  font-size: 20px;
  line-height: 140%;
  color: var(--lp-cream);
  font-weight: 300;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}
.lp-hero__ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 9rem;
}
.lp-hero__shortcut {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lp-cream);
  margin: 0 0 0.4rem;
  display: block;
}
.lp-hero__shortcut::before,
.lp-hero__shortcut::after { content: none; }
.lp-hero__shortcut-sub {
  font-size: 18px;
  color: var(--lp-mute);
  margin: 0 0 2rem;
  display: block;
}

/* ─── Hero scroll-driven 3D reveal wrapper ──────────────── */
.lp-hero__scroll {
  perspective: 1000px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.lp-hero__scroll-inner {
  width: 100%;
  display: flex;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero__scroll-inner { transform: none !important; }
}

/* ─── Hero dashboard image ──────────────────────────────── */
.lp-hero__image {
  display: block;
  width: 100%;
  max-width: 80rem;
  height: auto;
  margin: 0 auto;
  border-radius: 0.8rem;
  border: 0.5px solid var(--lp-line-2);
  box-shadow: 0 80px 120px -40px rgba(0, 0, 0, 0.6);
}

/* ─── Hero "screenshot" frame ───────────────────────────── */
.lp-hero__frame {
  position: relative;
  margin: 0 auto;
  max-width: 64rem;
  border-radius: 0.8rem;
  border: 0.5px solid var(--lp-line-2);
  background: var(--lp-bg-2);
  overflow: hidden;
  box-shadow: 0 80px 120px -40px rgba(0,0,0,0.6);
}
.lp-hero__frame::before { display: none; }
.lp-hero__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--lp-line);
  background: rgba(255,255,255,0.02);
}
.lp-hero__chrome span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.lp-hero__chrome span:nth-child(1) { background: #FF6E00; }
.lp-hero__chrome span:nth-child(2) { background: #FFBA31; }
.lp-hero__chrome span:nth-child(3) { background: #79F8EB; }
.lp-hero__path {
  margin-left: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lp-mute);
  letter-spacing: -0.01em;
}
.lp-hero__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 360px;
}
.lp-hero__side {
  padding: 16px 12px;
  border-right: 1px solid var(--lp-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(0,0,0,0.18);
}
.lp-hero__nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--lp-mute);
}
.lp-hero__nav-item.is-active {
  background: rgba(255,255,255,0.06);
  color: var(--lp-cream);
}
.lp-hero__nav-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lp-mute-2);
}
.lp-hero__nav-item.is-active .lp-hero__nav-dot { background: var(--lp-orange); }
.lp-hero__main {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-hero__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lp-hero__row--small { grid-template-columns: repeat(4, 1fr); }
.lp-hero__kpi {
  padding: 14px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}
.lp-hero__kpi-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lp-mute-2);
  margin-bottom: 8px;
}
.lp-hero__kpi-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lp-cream);
}
.lp-hero__kpi-trend {
  font-size: 11px;
  margin-top: 4px;
  color: #45EE6D;
  font-family: 'Geist Mono', monospace;
}
.lp-hero__kpi-trend--neutral { color: var(--lp-amber); }
.lp-hero__chart {
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: rgba(255,255,255,0.015);
  padding: 12px;
  height: 140px;
  position: relative;
  overflow: hidden;
}
.lp-spark { width: 100%; height: 100%; display: block; }
.lp-hero__pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  font-size: 12px;
  color: var(--lp-cream);
  overflow: hidden;
  position: relative;
}
.lp-hero__pill-bar {
  width: 4px; height: 16px; border-radius: 2px;
  flex-shrink: 0;
}
.lp-hero__pill-bar--0 { background: var(--lp-orange); }
.lp-hero__pill-bar--1 { background: var(--lp-amber);  }
.lp-hero__pill-bar--2 { background: var(--lp-teal);   }
.lp-hero__pill-bar--3 { background: var(--lp-blue);   }

/* ─── Eyebrow / section title primitives ────────────────── */
.lp-eyebrow {
  display: inline-block;
  font-family: var(--lp-font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lp-mute);
  margin-bottom: 1.5rem;
}
.lp-section {
  position: relative;
  z-index: 1;
  max-width: 88rem;
  margin: 0 auto;
  padding: 9.5rem 0.8rem;
  text-align: center;
}
.lp-section__title {
  font-family: var(--lp-font-display);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 300;
  line-height: 105%;
  letter-spacing: -0.5px;
  color: var(--lp-cream);
  margin: 0 auto 1.25rem;
  max-width: 48rem;
}
.lp-section__title-soft { color: var(--lp-mute); }
.lp-section__title-grad {
  /* Calm + monochrome on the webflow site — keep the second line muted
     instead of using a rainbow gradient. */
  color: var(--lp-mute);
  background: none;
  -webkit-text-fill-color: var(--lp-mute);
}
.lp-eyebrow--center {
  display: block;
  text-align: center;
  margin: 0 auto 1.5rem;
}

/* ─── Stats strip ──────────────────────────────────────── */
.lp-stats {
  position: relative;
  z-index: 1;
  max-width: 88rem;
  margin: 4rem auto 0;
  padding: 0 0.8rem;
}
.lp-stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5px solid var(--lp-line-2);
  border-bottom: 0.5px solid var(--lp-line-2);
}
.lp-stats__cell {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}
.lp-stats__sep {
  position: absolute;
  right: 0; top: 22%; bottom: 22%;
  width: 0.5px;
  background: var(--lp-line-2);
}
.lp-stats__value {
  font-family: var(--lp-font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--lp-cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.lp-stats__label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lp-mute);
  font-weight: 500;
}

/* ─── The platform — calm 4-card grid ───────────────────── */
.lp-platform {
  position: relative;
  z-index: 1;
  max-width: 110rem;
  margin: 0 auto;
  padding: 9.5rem 0.8rem 6rem;
  text-align: center;
}
.lp-platform__head { margin-bottom: 4rem; }
.lp-platform__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: left;
  max-width: 110rem;
  margin: 0 auto;
}
.lp-platform__card {
  position: relative;
  padding: 2rem 2rem 2.5rem;
  border-right: 0.5px solid var(--lp-line-2);
  background: transparent;
  transition: background 0.2s var(--lp-ease);
}
.lp-platform__card:last-child { border-right: 0; }
.lp-platform__card::before { display: none; }
.lp-platform__corner { display: none; }
.lp-platform__icon {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--lp-cream);
}
.lp-platform__icon svg { width: 100%; height: 100%; display: block; }
.lp-platform__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── Pillar illustration animations ───────────────────────
   All animations use transform-box: fill-box so SVG sub-elements
   transform around their own centre, not the whole viewBox.
   Animations are slow + low-amplitude on purpose — the brand site
   keeps its illustrations calm. */
.lp-anim {
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes lp-spin     { to { transform: rotate(360deg);  } }
@keyframes lp-spin-rev { to { transform: rotate(-360deg); } }
@keyframes lp-pulse {
  0%, 100% { transform: scale(1);    }
  50%      { transform: scale(1.18); }
}
@keyframes lp-pulse-ring {
  0%   { opacity: 0.55; transform: scale(0.7); }
  100% { opacity: 0;    transform: scale(2.2); }
}
@keyframes lp-bob {
  0%, 100% { transform: translateY(0);    }
  50%      { transform: translateY(-2.5px); }
}
@keyframes lp-shimmer {
  0%   { stroke-dashoffset: 220; }
  50%  { stroke-dashoffset: 0;   }
  100% { stroke-dashoffset: -220;}
}
.lp-anim--spin     { animation: lp-spin     60s linear infinite; }
.lp-anim--spin-rev { animation: lp-spin-rev 80s linear infinite; }
.lp-anim--pulse    { animation: lp-pulse     3.2s var(--lp-ease) infinite; }
.lp-anim--ring     { animation: lp-pulse-ring 2.4s ease-out infinite; }
.lp-anim--bob      { animation: lp-bob       3.0s ease-in-out infinite; }
.lp-anim--d1       { animation-delay: 0.0s; }
.lp-anim--d2       { animation-delay: 0.2s; }
.lp-anim--d3       { animation-delay: 0.4s; }
.lp-anim--shimmer  {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: lp-shimmer 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lp-anim, .lp-anim--shimmer {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}
.lp-platform__chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lp-mute);
  margin-bottom: 0.75rem;
}
.lp-platform__copy {
  font-family: var(--lp-font-ui);
  font-size: 16px;
  line-height: 140%;
  color: var(--lp-cream);
  margin: 0;
  font-weight: 300;
}
/* Drop the per-accent recolouring — the calm webflow look uses one tone. */
.lp-platform__card--orange .lp-platform__icon,
.lp-platform__card--amber  .lp-platform__icon,
.lp-platform__card--teal   .lp-platform__icon,
.lp-platform__card--blue   .lp-platform__icon { color: var(--lp-cream); }
.lp-platform__card--orange .lp-platform__chip,
.lp-platform__card--amber  .lp-platform__chip,
.lp-platform__card--teal   .lp-platform__chip,
.lp-platform__card--blue   .lp-platform__chip { color: var(--lp-mute); }

/* ─── Features — illustration cards (3 per row) ─────────── */
.lp-features {
  position: relative;
  z-index: 1;
  max-width: 110rem;
  margin: 0 auto;
  padding: 6rem 0.8rem 9.5rem;
  text-align: center;
}
.lp-features__head { margin-bottom: 4rem; }
.lp-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 110rem;
  margin: 0 auto;
}
.lp-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 26rem;
  padding: 1.25rem 1.5rem 1.75rem;
  border-radius: 0;
  border: 0.5px solid var(--lp-line-2);
  background: transparent;
  text-align: left;
}
/* Round only the four outer corners of the grid so the slab of cards
   reads as one shape. Selectors assume a 4-col layout (8 cards = 2 rows);
   the responsive blocks below re-target the corner cells when the column
   count changes. */
.lp-feature-card:first-child            { border-top-left-radius:     0.8rem; }
.lp-feature-card:nth-child(4)           { border-top-right-radius:    0.8rem; }
.lp-feature-card:nth-child(5)           { border-bottom-left-radius:  0.8rem; }
.lp-feature-card:last-child             { border-bottom-right-radius: 0.8rem; }
.lp-feature-card__label {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--lp-cream);
  margin-bottom: 0.25rem;
}
.lp-feature-card__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  margin: 1rem 0 1.5rem;
  color: var(--lp-cream);
}
.lp-feature-card__art svg,
.lp-feature-card__art img {
  width: 100%;
  height: auto;
  max-height: 220px;
  display: block;
}
.lp-feature-card__copy { margin-top: auto; }
.lp-feature-card__title {
  font-family: var(--lp-font-ui);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 130%;
  color: var(--lp-cream);
  margin: 0 0 0.5rem;
  max-width: 28rem;
}
.lp-feature-card__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
  color: var(--lp-mute);
  margin: 0;
  max-width: 32rem;
}

/* Decorative dither strip below the grid. The background image is set
   inline on the element (path resolved against PUBLIC_URL at runtime). */
.lp-dither {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  height: 80px;
  border-radius: 0.8rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.lp-dither__bar,
.lp-dither__dots { display: none; }

/* ─── Integrations — logo wall in a tight grid ─────────── */
.lp-integrations {
  position: relative;
  z-index: 1;
  max-width: 110rem;
  margin: 0 auto;
  padding: 2rem 0.8rem 6rem;
  text-align: center;
}
.lp-integrations__head { margin-bottom: 4rem; }
.lp-integrations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 110rem;
  margin: 0 auto;
}
.lp-integrations__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 12rem;
  padding: 2rem 1.5rem;
  border: 0.5px solid var(--lp-line-2);
  background: transparent;
}
.lp-integrations__tile:first-child  { border-top-left-radius:     0.8rem; }
.lp-integrations__tile:nth-child(4) { border-top-right-radius:    0.8rem; }
.lp-integrations__tile:nth-child(5) { border-bottom-left-radius:  0.8rem; }
.lp-integrations__tile:last-child   { border-bottom-right-radius: 0.8rem; }
.lp-integrations__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 16rem;
  height: 5rem;
  color: var(--lp-cream);
  opacity: 0.9;
}
.lp-integrations__mark svg { width: auto; max-width: 100%; height: 100%; display: block; }
.lp-integrations__img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ─── About / Visual language (cream split card) ────────── */
.lp-about {
  position: relative;
  z-index: 1;
  padding: 2rem 0.8rem;
}
.lp-about__card {
  max-width: 110rem;
  min-height: 60rem;
  margin: 0 auto;
  background: var(--lp-cream);
  border-radius: 0.8rem;
  padding: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: stretch;
}
.lp-about__image {
  border-radius: 0.6rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 30rem;
}
.lp-about__copy {
  padding: 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  color: var(--lp-bg);
}
.lp-about__eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-bg);
  letter-spacing: 0;
  text-transform: none;
}
.lp-about__title {
  font-family: var(--lp-font-display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 110%;
  letter-spacing: -0.5px;
  color: var(--lp-bg);
  margin: 0;
  max-width: 36rem;
}
.lp-about__body {
  font-family: var(--lp-font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 145%;
  color: var(--lp-bg);
  margin: 0;
  max-width: 36rem;
}

/* ─── Clients — marquee with edge fade ──────────────────── */
.lp-clients {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 6rem 0 9.5rem;
  text-align: center;
}
.lp-clients__head {
  margin-bottom: 6rem;
  padding: 0 0.8rem;
}
.lp-clients__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Soft fade to the page background on both edges. The mask is
     transparent at the very edges and fully opaque in the middle, so
     names dissolve in/out instead of clipping at a hard line. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.lp-clients__track {
  display: flex;
  gap: 4.5rem;
  width: max-content;
  padding: 0.5rem 0;
  animation: lp-marquee 36s linear infinite;
}
.lp-clients__track:hover { animation-play-state: paused; }
@keyframes lp-marquee {
  to { transform: translateX(-50%); }
}
.lp-clients__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--lp-font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.2s var(--lp-ease);
}
.lp-clients__logo:hover { opacity: 1; }
.lp-clients__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.6rem, 2.4vw, 2.1rem);
  height: clamp(1.6rem, 2.4vw, 2.1rem);
  color: inherit;
  opacity: 0.85;
}
.lp-clients__mark svg { width: 100%; height: 100%; display: block; }
.lp-clients__img {
  height: clamp(2.8rem, 4vw, 4rem);
  width: auto;
  object-fit: contain;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .lp-clients__track { animation: none; transform: none; }
}

/* ─── Book a meeting — pill form on dithered backdrop ───── */
.lp-meet-wrap {
  position: relative;
  z-index: 1;
  padding: 0 0.8rem 6rem;
}
.lp-meet {
  position: relative;
  max-width: 110rem;
  margin: 0 auto;
  padding: 7rem 2rem;
  border-radius: 0.8rem;
  background: var(--lp-bg-2);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.lp-meet__glow,
.lp-meet__noise {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
.lp-meet__glow {
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  /* background-image set inline on the element. */
}
.lp-meet__noise {
  background: linear-gradient(180deg, rgba(21,22,25,0.55) 0%, rgba(21,22,25,0.85) 100%);
}
.lp-meet__sub {
  font-size: 18px;
  line-height: 140%;
  color: var(--lp-mute);
  max-width: 36rem;
  margin: 0.5rem auto 2rem;
  font-weight: 300;
}
.lp-meet__form {
  display: flex;
  gap: 0;
  max-width: 32rem;
  margin: 0 auto;
  padding: 6px;
  border-radius: 1000px;
  border: 1px solid var(--lp-line-2);
  background: rgba(21,22,25,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lp-meet__input {
  flex: 1;
  padding: 0 1.2rem;
  border-radius: 1000px;
  border: 0;
  background: transparent;
  color: var(--lp-cream);
  font: inherit;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  text-align: left;
}
.lp-meet__input::placeholder { color: var(--lp-mute); }
.lp-meet__form .lp-btn { flex-shrink: 0; }
.lp-meet__small {
  margin-top: 1.2rem;
  font-size: 14px;
  color: var(--lp-mute);
  font-weight: 300;
}
.lp-meet__small a {
  color: var(--lp-cream);
  text-decoration: none;
  border-bottom: 0.5px solid var(--lp-line-2);
  transition: border-color 0.15s var(--lp-ease);
}
.lp-meet__small a:hover { border-bottom-color: var(--lp-cream); }

/* ─── Footer (dithered backdrop, inset card) ────────────── */
.lp-footer {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.8rem;
  max-width: none;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* background-image set inline on the element. */
}
.lp-footer__inner {
  background: var(--lp-bg);
  border-radius: 0.8rem;
  padding: 4rem 3rem 1.5rem;
  max-width: 110rem;
  margin: 0 auto;
  width: 100%;
}
.lp-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}
.lp-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.lp-footer__brandcol { padding-right: 24px; }
.lp-footer__logo {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  user-select: none;
  pointer-events: none;
}
.lp-footer__tag {
  font-size: 14px;
  color: var(--lp-mute);
  margin: 4px 0 22px;
  max-width: 280px;
}
.lp-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--lp-cream);
}
.lp-footer__contact a {
  color: var(--lp-cream);
  text-decoration: none;
}
.lp-footer__contact a:hover { color: var(--lp-orange); }
.lp-footer__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-mute-2);
  margin-bottom: 16px;
}
.lp-footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-footer__col li a {
  font-size: 13.5px;
  color: var(--lp-mute);
  text-decoration: none;
  transition: color 0.15s;
}
.lp-footer__col li a:hover { color: var(--lp-cream); }
.lp-footer__bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--lp-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--lp-mute-2);
}
.lp-footer__legal {
  display: flex;
  gap: 22px;
}
.lp-footer__legal a {
  color: var(--lp-mute-2);
  text-decoration: none;
}
.lp-footer__legal a:hover { color: var(--lp-cream); }

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

/* Narrow desktop — drop feature cards to 3-up before 4 gets cramped. */
@media (max-width: 1200px) {
  .lp-features__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet & narrow desktop ────────────────────────────────── */
@media (max-width: 992px) {
  /* Nav: tighten the pill so it fits without overflowing */
  .lp-nav__inner { gap: 1.25rem; padding: 0.4rem 0.4rem 0.4rem 0.8rem; }
  .lp-nav__logo  { height: 24px; }
  .lp-nav__links { gap: 1.25rem; }
  .lp-nav__links a { font-size: 14px; }
  .lp-btn--sm { --lp-btn-h: 36px; padding: 0 0.8rem; font-size: 13px; }

  /* Hero — calmer rhythm on tablet, smaller orb */
  .lp-hero { padding: 8rem 1rem 3rem; }
  .lp-hero__bg { min-width: 0; width: 100vw; transform: translate(-30%, 35%); }

  /* Stats — 2 columns, hide separator on every 2nd cell */
  .lp-stats__inner   { grid-template-columns: repeat(2, 1fr); }
  .lp-stats__cell:nth-child(2n) .lp-stats__sep { display: none; }

  /* Platform — 2×2; right border only on left column, bottom border on
     top row (otherwise we get double lines at the seam). */
  .lp-platform__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-platform__card {
    border-right: 0;
    border-bottom: 0.5px solid var(--lp-line-2);
  }
  .lp-platform__card:nth-child(2n+1) { border-right: 0.5px solid var(--lp-line-2); }
  .lp-platform__card:nth-last-child(-n+2) { border-bottom: 0; }

  /* Features — 2 cols, reset the 3rd-child no-border rule */
  .lp-features__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-feature-card { min-height: 24rem; }
  /* Re-target outer corners for the 2-col layout. */
  .lp-feature-card                        { border-radius: 0; }
  .lp-feature-card:first-child            { border-top-left-radius:     0.8rem; }
  .lp-feature-card:nth-child(2)           { border-top-right-radius:    0.8rem; }
  .lp-feature-card:nth-last-child(2)      { border-bottom-left-radius:  0.8rem; }
  .lp-feature-card:last-child             { border-bottom-right-radius: 0.8rem; }

  /* Integrations — drop to 2 cols and re-target corner rounding. */
  .lp-integrations__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-integrations__tile                  { border-radius: 0; }
  .lp-integrations__tile:first-child      { border-top-left-radius:     0.8rem; }
  .lp-integrations__tile:nth-child(2)     { border-top-right-radius:    0.8rem; }
  .lp-integrations__tile:nth-last-child(2){ border-bottom-left-radius:  0.8rem; }
  .lp-integrations__tile:last-child       { border-bottom-right-radius: 0.8rem; }

  /* Section vertical rhythm scales down */
  .lp-section,
  .lp-platform,
  .lp-features,
  .lp-clients { padding-top: 6rem; padding-bottom: 6rem; }
  .lp-platform { padding-top: 6.5rem; }

  /* Footer */
  .lp-footer__top    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .lp-footer__inner  { padding: 3rem 2rem 1.5rem; }
  .lp-footer__brandcol { padding-right: 0; }
  .lp-footer__logo   { height: 30px; }

  /* About card: stack image + copy on tablet */
  .lp-about__card    { grid-template-columns: 1fr; min-height: 0; }
  .lp-about__image   { min-height: 20rem; aspect-ratio: 1 / 1; }
  .lp-about__copy    { padding: 2rem; gap: 1.5rem; }
}

/* Phone ──────────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Nav: keep only logo + Book-a-meeting; Sign-in and links drop. */
  .lp-nav { top: 0.6rem; padding: 0 0.6rem; }
  .lp-nav__inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.35rem 0.4rem 0.35rem 0.6rem;
    width: 100%;
    max-width: 100%;
  }
  .lp-nav__links { display: none; }
  .lp-nav__cta .lp-btn--dark { display: none; }   /* Sign in */
  .lp-nav__logo  { height: 22px; }
  .lp { padding-top: 76px; }

  /* Hamburger replaces the hidden links; drawer hangs below the pill. */
  .lp-nav__inner { position: relative; }
  .lp-nav__toggle { display: inline-flex; }
  .lp-nav__menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    padding: 0.6rem 1rem 1rem;
    border: 1px solid rgba(237, 232, 219, 0.12);
    border-radius: 1.25rem;
    background: rgba(27, 29, 33, 0.92);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s var(--lp-ease), transform 0.22s var(--lp-ease);
    z-index: 49;
  }
  .lp-nav.is-menu-open .lp-nav__menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  /* Hero */
  .lp-hero { padding: 5rem 1rem 2rem; }
  .lp-hero__title { letter-spacing: -0.25px; }
  .lp-hero__sub { font-size: 16px; }
  .lp-hero__shortcut, .lp-hero__shortcut-sub { font-size: 16px; }
  .lp-hero__ctas { gap: 0.5rem; margin-bottom: 3rem; }
  .lp-hero__bg { transform: translate(-32%, 38%); opacity: 0.85; }

  /* Hero dashboard mock collapses to single column */
  .lp-hero__body { grid-template-columns: 1fr; }
  .lp-hero__side { display: none; }
  .lp-hero__row { grid-template-columns: 1fr 1fr; }
  .lp-hero__row--small { grid-template-columns: 1fr 1fr; }

  /* Section rhythm */
  .lp-section,
  .lp-platform,
  .lp-features,
  .lp-clients { padding: 4rem 1rem; }
  .lp-platform__head,
  .lp-features__head,
  .lp-clients__head { margin-bottom: 2.5rem; }

  /* Stats — 2 cols, smaller numbers */
  .lp-stats { padding: 0 1rem; margin-top: 2rem; }
  .lp-stats__cell { padding: 1.25rem 0.5rem; }
  .lp-stats__value { font-size: 2.2rem; }
  .lp-stats__label { font-size: 11px; }

  /* Platform — single column */
  .lp-platform__grid { grid-template-columns: 1fr; }
  .lp-platform__card {
    padding: 1.5rem 1.25rem;
    border-right: 0;
    border-bottom: 0.5px solid var(--lp-line-2);
  }
  .lp-platform__card:nth-child(2n+1) { border-right: 0; }
  .lp-platform__card:last-child { border-bottom: 0; }

  /* Features — single column */
  .lp-features__grid { grid-template-columns: 1fr; }
  .lp-feature-card { min-height: 24rem; padding: 1.25rem 1.25rem 1.5rem; }
  /* Single column: top corners on the first card, bottom corners on the
     last; everything in between sits flush. */
  .lp-feature-card                { border-radius: 0; }
  .lp-feature-card:first-child    { border-radius: 0.8rem 0.8rem 0 0; }
  .lp-feature-card:last-child     { border-radius: 0 0 0.8rem 0.8rem; }

  /* Integrations — single column on phone with proper corner rounding. */
  .lp-integrations__grid { grid-template-columns: 1fr; }
  .lp-integrations__tile                   { border-radius: 0; }
  .lp-integrations__tile:first-child       { border-radius: 0.8rem 0.8rem 0 0; }
  .lp-integrations__tile:nth-child(2),
  .lp-integrations__tile:nth-last-child(2) { border-radius: 0; }
  .lp-integrations__tile:last-child        { border-radius: 0 0 0.8rem 0.8rem; }

  /* Clients — pills wrap tightly */
  .lp-clients__row { gap: 0.4rem; }
  .lp-clients__name { font-size: 14px; padding: 0.55rem 1rem; }

  /* Meeting card + form */
  .lp-meet-wrap { padding: 0 1rem 4rem; }
  .lp-meet { padding: 4rem 1.25rem; border-radius: 0.6rem; }
  .lp-meet__sub { font-size: 16px; margin-bottom: 1.5rem; }
  .lp-meet__form {
    flex-direction: column;
    background: transparent;
    border: 0;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    gap: 0.5rem;
  }
  .lp-meet__input {
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
    border-radius: 1000px;
    border: 1px solid var(--lp-line-2);
    background: rgba(21, 22, 25, 0.7);
    padding: 0 1.2rem;
    box-sizing: border-box;
  }
  .lp-meet__form .lp-btn { width: 100%; }

  /* Footer */
  .lp-footer { padding: 0.4rem; min-height: 50vh; }
  .lp-footer__inner { padding: 2.5rem 1.25rem 1rem; }
  .lp-footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .lp-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .lp-footer__legal { gap: 1.25rem; }
  .lp-footer__logo  { height: 28px; }
}

/* Very small phones ─────────────────────────────────────── */
@media (max-width: 420px) {
  .lp-nav__inner { padding: 0.3rem 0.35rem 0.3rem 0.5rem; }
  .lp-nav__logo  { height: 20px; }
  .lp-btn--sm    { --lp-btn-h: 34px; padding: 0 0.7rem; font-size: 12.5px; }

  .lp-hero { padding: 4.5rem 0.9rem 1.5rem; }
  .lp-hero__title { font-size: 2.25rem; }
  .lp-hero__sub { font-size: 15px; }
  .lp-hero__ctas { flex-direction: column; align-items: stretch; }
  .lp-hero__ctas .lp-btn { width: 100%; }

  .lp-stats__inner { grid-template-columns: repeat(2, 1fr); }
  .lp-stats__value { font-size: 1.9rem; }
}

/* ─── 3. Static-port additions (not in the legacy Landing.css) ── */
/* Progressive enhancement. The inline <script> at the top of index.html
   adds .lp-js to <html> before first paint; landing.js then drives the
   reveal-on-scroll, the hero parallax and the splash. Without JS (disabled,
   blocked, or failed to load) nothing is hidden: reveal elements render in
   their resting state and the splash never appears. */
html:not(.lp-js) .lp-reveal { opacity: 1; transform: none; transition: none; }
html:not(.lp-js) .splash-screen { display: none; }

/* "Sign in" is a plain link to https://login.clero.is/ (the React page used
   <button>s that navigated to /login). In the mobile drawer that makes the
   sign-in pill the last <a>, so restore the border-less Contact link that
   `.lp-nav__menu a:last-of-type` used to target. */
.lp-nav__menu a:nth-last-of-type(2) { border-bottom: 0; }

/* Consent notice for the dogfood pixel (clero-app#13 / assets#16). Hidden
   unless the pixel block in <head> marks <html> lp-consent-pending (no answer
   remembered), so it never appears where the pixel is skipped or without JS.
   Fixed bottom sheet in the nav's glass style; z-index sits above the nav
   (50) and below the splash (9999), so it surfaces as the splash fades. */
.lp-consent { display: none; }
html.lp-consent-pending .lp-consent {
  display: flex;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin: 0 auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(237, 232, 219, 0.12);
  background: rgba(27, 29, 33, 0.9);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  font-family: var(--lp-font-ui);
}
.lp-consent__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--lp-cream);
}
.lp-consent__text a { color: var(--lp-cream); text-decoration: underline; }
.lp-consent__actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
/* The footer reopen control sits among the legal links and reads like one;
   only where the pixel block ran (html.lp-pixel) — elsewhere there is no
   choice to make, so a dead control would mislead. */
.lp-footer__consent { display: none; }
html.lp-pixel .lp-footer__consent {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--lp-mute-2);
  cursor: pointer;
  transition: color 0.15s;
}
.lp-footer__consent:hover { color: var(--lp-cream); }
/* Phone width: the text sits above one full-width row of the two buttons
   (short labels, 34px tall at ≤420px — side by side reads better than a
   stack). The rule keeps the desktop selector: a bare .lp-consent here is
   (0,1,0) and loses gap to the (0,2,0) rule above, so only part of it would
   apply — assets#18 review. */
@media (max-width: 720px) {
  html.lp-consent-pending .lp-consent {
    flex-direction: column;
    gap: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    align-items: stretch;
    padding: 0.9rem 1rem;
  }
  .lp-consent__actions { width: 100%; }
  .lp-consent__actions .lp-btn { flex: 1; }
}
