/* ==========================================================================
   Democracy Ops home page
   Loads after style.css and reuses its colors (--bg, --surface, --text,
   --primary, --brand ...). No third-party fonts, images or scripts.
   Every rule here works under the site's strict Content Security Policy:
   no inline styles, and no external requests.
   ========================================================================== */

.landing {
  /* Always light. These are the base colors from style.css, repeated here so the
     home page stays light even when a visitor's device is set to dark mode. The
     Privacy, Terms and Help pages still follow the visitor's setting. */
  color-scheme: light;
  --bg: #eef1f9;
  --surface: #fbfcff;
  --surface-border: #d6dcf0;
  --text: #0e1633;
  --text-dim: #48547a;
  --primary: #2447d6;
  --primary-strong: #1a35ad;
  --brand: #2ea2db;
  --note-bg: rgba(36, 71, 214, 0.08);
  --note-border: rgba(36, 71, 214, 0.28);
  --focus: rgba(36, 71, 214, 0.45);
  --shadow: 0 10px 40px rgba(14, 22, 51, 0.08);
  --aurora-1: rgba(76, 110, 245, 0.28);
  --aurora-2: rgba(168, 85, 247, 0.16);
  --aurora-3: rgba(46, 162, 219, 0.2);
  --lp-glass: rgba(255, 255, 255, 0.66);
  --lp-glass-strong: rgba(255, 255, 255, 0.9);
  --lp-line: rgba(36, 71, 214, 0.14);
  --lp-grad: linear-gradient(135deg, #1a35ad 0%, #2447d6 48%, #3a62ea 100%);
  --lp-ring: 0 0 0 4px rgba(36, 71, 214, 0.18);
  --lp-danger: #b4233d;
  --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --lp-shadow-lg: 0 30px 80px -20px rgba(36, 71, 214, 0.28), 0 12px 30px -12px rgba(14, 22, 51, 0.18);
  overflow-x: clip;
}

html:has(body.landing) {
  color-scheme: light;
  scroll-padding-top: 96px;
}

/* style.css turns this hover text dark for dark mode; on the always-light home page it must stay white. */
.landing .email-reveal:hover {
  color: #fff;
}

.landing main {
  display: block;
  flex: none;
  width: 100%;
  padding: 0;
  place-items: initial;
}

.landing svg:not(.lp-sprite) {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.lp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

:where(.landing) :is(ul, ol) {
  margin: 0;
  padding: 0;
}

:where(.landing) :is(h1, h2, h3) {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ---- Background and grain -------------------------------------------------- */

.lp-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.lp-blob {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}

.lp-blob-1 {
  left: -14vmax;
  top: -10vmax;
  background: radial-gradient(circle, rgba(76, 110, 245, 0.55), transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}

.lp-blob-2 {
  right: -16vmax;
  top: 8vmax;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.38), transparent 65%);
  animation: drift2 32s ease-in-out infinite alternate;
}

.lp-blob-3 {
  left: 24vw;
  bottom: -26vmax;
  background: radial-gradient(circle, rgba(46, 162, 219, 0.42), transparent 65%);
  animation: drift3 30s ease-in-out infinite alternate;
}

@keyframes drift1 { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(-9vmax, 5vmax, 0) scale(1.12); } }
@keyframes drift3 { to { transform: translate3d(7vmax, -6vmax, 0) scale(1.06); } }

.landing::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout helpers ---------------------------------------------------------- */

.lp-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.lp-section {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 0;
}

.lp-section-tint {
  background: linear-gradient(180deg, transparent, rgba(36, 71, 214, 0.045) 18%, rgba(36, 71, 214, 0.045) 82%, transparent);
}

.lp-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.lp-head h2,
.lp-start-copy h2 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lp-head p:not(.lp-kicker) {
  margin: 16px auto 0;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem);
  color: var(--text-dim);
}

.lp-head-left {
  margin-left: 0;
  text-align: left;
}

.lp-head-left p:not(.lp-kicker) {
  margin-left: 0;
}

.lp-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: 999px;
}

.lp-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.lp-small {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---- Buttons ------------------------------------------------------------------- */

.lp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  background: var(--lp-grad);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 24px -8px rgba(36, 71, 214, 0.55);
  transition: transform 0.25s var(--lp-ease), box-shadow 0.25s var(--lp-ease);
}

.lp-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(36, 71, 214, 0.6);
}

.lp-btn:active {
  transform: translateY(0);
}

.lp-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--lp-ease);
}

.lp-btn:hover::after {
  transform: translateX(120%);
}

.lp-btn svg {
  transition: transform 0.25s var(--lp-ease);
}

.lp-btn:hover svg {
  transform: translateX(3px);
}

.lp-btn-sm {
  padding: 9px 18px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.lp-btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.lp-btn-ghost {
  color: var(--text);
  background: var(--lp-glass);
  border: 1px solid var(--lp-line);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.lp-btn-ghost:hover {
  color: var(--text);
  box-shadow: 0 12px 28px -12px rgba(36, 71, 214, 0.35);
}

.lp-btn[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.8;
}

.lp-btn[aria-busy="true"] svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Navigation ------------------------------------------------------------------ */

.lp-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px 16px 0;
}

.lp-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 10px 9px 22px;
  background: var(--lp-glass);
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 8px 30px -12px rgba(14, 22, 51, 0.18);
  transition: box-shadow 0.3s var(--lp-ease);
}

.lp-nav-wrap[data-stuck] .lp-nav {
  box-shadow: 0 14px 40px -14px rgba(14, 22, 51, 0.32);
}

.lp-nav-logo {
  display: block;
  flex: none;
}

.lp-nav-logo img {
  display: block;
  width: auto;
  height: 30px;
}

.lp-nav-links {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  list-style: none;
}

.lp-nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.lp-nav-links a:hover,
.lp-nav-links a[aria-current="true"] {
  color: var(--primary);
  background: var(--note-bg);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lp-nav-links + .lp-nav-actions {
  margin-left: 0;
}

.lp-nav-signin {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
}

.lp-nav-signin:hover {
  color: var(--primary);
  background: var(--note-bg);
}

.lp-menu {
  display: none;
  position: relative;
}

.lp-menu summary {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  border: 1px solid var(--lp-line);
  border-radius: 50%;
}

.lp-menu summary::-webkit-details-marker {
  display: none;
}

.lp-burger,
.lp-burger::before,
.lp-burger::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--lp-ease), background 0.25s;
}

.lp-burger {
  position: relative;
}

.lp-burger::before,
.lp-burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.lp-burger::before { top: -5px; }
.lp-burger::after { top: 5px; }

.lp-menu[open] .lp-burger { background: transparent; }
.lp-menu[open] .lp-burger::before { transform: translateY(5px) rotate(45deg); }
.lp-menu[open] .lp-burger::after { transform: translateY(-5px) rotate(-45deg); }

.lp-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 16px);
  z-index: 5;
  display: grid;
  min-width: 230px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  box-shadow: var(--lp-shadow-lg);
  animation: menuIn 0.25s var(--lp-ease);
}

.lp-menu-panel a {
  padding: 12px 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 14px;
}

.lp-menu-panel a:hover {
  background: var(--note-bg);
  color: var(--primary);
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

@supports (animation-timeline: scroll()) {
  .lp-nav-wrap::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #2447d6, #a855f7, #2ea2db);
    transform: scaleX(0);
    transform-origin: 0 50%;
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes progress { to { transform: scaleX(1); } }

@media (max-width: 400px) {
  .lp-nav-wrap {
    padding: 10px 10px 0;
  }

  .lp-nav {
    gap: 8px;
    padding: 7px 7px 7px 14px;
  }

  .lp-nav-logo img {
    height: 25px;
  }

  .lp-nav-actions {
    gap: 6px;
  }

  .lp-btn-sm {
    padding: 9px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .lp-nav-links,
  .lp-nav-signin {
    display: none;
  }

  .lp-menu {
    display: block;
  }

  /* With the links hidden, push Get started and the menu button to the right edge.
     The selector matches the desktop rule above so it is not outranked by it. */
  .lp-nav-actions,
  .lp-nav-links + .lp-nav-actions {
    margin-left: auto;
  }
}

/* ---- Hero -------------------------------------------------------------------------- */

.lp-hero {
  padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 80px);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.lp-hero .lp-wrap {
  max-width: 1280px;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 14px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--primary);
  background: var(--lp-glass);
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.lp-h1 {
  font-size: clamp(2.5rem, 1.1rem + 4.2vw, 4rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lp-h1 .w {
  display: inline-block;
  animation: wordIn 0.95s var(--lp-ease) both;
  animation-delay: calc(0.12s + var(--i, 0) * 0.085s);
}

.lp-h1 .w:nth-child(2) { --i: 1; }
.lp-h1 .w:nth-child(3) { --i: 2; }
.lp-h1 .w:nth-child(4) { --i: 3; }
.lp-h1 .w:nth-child(5) { --i: 4; }

.lp-h1 .lp-grad {
  margin-right: 0;
  background: linear-gradient(100deg, #2447d6 0%, #7c3aed 38%, #2ea2db 72%, #2447d6 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
  animation: wordIn 0.95s var(--lp-ease) both, shimmer 7s linear 1.2s infinite;
  animation-delay: calc(0.12s + var(--i, 0) * 0.085s), 1.2s;
}

@keyframes wordIn {
  from { opacity: 0; transform: translateY(0.45em) rotate(2deg); filter: blur(10px); }
}

@keyframes shimmer { to { background-position: -250% 0; } }

.lp-lead {
  max-width: 34em;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-dim);
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
}

.lp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lp-trust svg {
  color: var(--primary);
}

.lp-in {
  animation: rise 0.9s var(--lp-ease) both;
  animation-delay: calc(0.1s + var(--i, 0) * 0.12s + 0.35s);
}

.lp-in-0 { --i: -2; }
.lp-in-1 { --i: 0; }
.lp-in-2 { --i: 1; }
.lp-in-3 { --i: 2; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
}

/* Stage: the layered product view */

.lp-stage {
  position: relative;
  aspect-ratio: 1.08 / 1;
  perspective: 1500px;
}

.lp-stage-glow {
  position: absolute;
  inset: 6% 2% 2% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(76, 110, 245, 0.35), rgba(168, 85, 247, 0.18) 60%, transparent 100%);
  filter: blur(40px);
  animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.7; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.06); }
}

.lp-layer {
  position: absolute;
  margin: 0;
  overflow: hidden;
  animation: layerIn 1.2s var(--lp-ease) both;
  will-change: transform;
}

@keyframes layerIn {
  from { opacity: 0; translate: 0 40px; scale: 0.95; }
}

.lp-win {
  left: 0;
  top: 10%;
  width: 80%;
  background: var(--surface);
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  box-shadow: var(--lp-shadow-lg);
  transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -9px), 0) rotateY(-5deg) rotateX(2deg);
  animation-delay: 0.45s;
  transition: transform 0.4s var(--lp-ease);
}

.lp-win-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--lp-line);
}

.lp-win-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-border);
}

.lp-win img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-stage .lp-dev {
  position: absolute;
  right: 1%;
  top: -4%;
  z-index: 2;
  width: 37%;
  transform: translate3d(calc(var(--px, 0) * 20px), calc(var(--py, 0) * 14px), 0) rotate(3deg);
  animation: layerIn 1.2s var(--lp-ease) 0.7s both;
  transition: transform 0.4s var(--lp-ease);
  will-change: transform;
}

.lp-card-float {
  left: -3%;
  bottom: 4%;
  z-index: 3;
  width: 34%;
  background: var(--surface);
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  box-shadow: var(--lp-shadow-lg);
  transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 18px), 0) rotate(-3deg);
  animation-delay: 0.95s;
  transition: transform 0.4s var(--lp-ease);
}

.lp-card-float img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  background: var(--lp-glass-strong);
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  box-shadow: 0 14px 34px -14px rgba(14, 22, 51, 0.4);
  backdrop-filter: blur(12px);
  animation: chipIn 0.8s var(--lp-ease) 1.3s both, bob 6s ease-in-out 2.1s infinite;
}

.lp-float svg {
  color: var(--primary);
}

.lp-float-1 { left: 3%; top: 1%; }
.lp-float-2 { right: 2%; bottom: 1%; animation-delay: 1.5s, 2.6s; }

@keyframes chipIn {
  from { opacity: 0; scale: 0.8; }
}

@keyframes bob {
  50% { transform: translateY(-8px); }
}

.lp-badge {
  position: absolute;
  left: 38%;
  bottom: -2%;
  z-index: 4;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--lp-glass-strong);
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
  }

  .lp-hero-copy {
    text-align: center;
  }

  .lp-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-cta-row,
  .lp-trust {
    justify-content: center;
  }

  .lp-stage {
    width: min(100%, 640px);
    margin: 14px auto 0;
  }
}

@media (max-width: 520px) {
  .lp-float-2 {
    display: none;
  }

  .lp-float {
    font-size: 0.78rem;
    padding: 7px 11px;
  }

  .lp-wrap {
    padding: 0 16px;
  }
}

/* ---- Phone ------------------------------------------------------------------------------------
   A device built from CSS. Everything inside is sized in container units (cqw),
   so the whole phone scales from its own width. Give the figure a width and it
   works out its own height. The screenshot sits under a drawn status bar, the
   way an installed web app sits under the phone's own status bar. */

.dev {
  container-type: inline-size;
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 2.23;
}

.dev-frame {
  position: absolute;
  inset: 0;
  padding: 0.9cqw;
  border-radius: 15cqw;
  background: linear-gradient(142deg, #f4f6fb 0%, #b4bccf 12%, #59627d 30%, #1d2234 48%, #1a1f30 56%, #66708f 76%, #e4e8f2 100%);
  box-shadow:
    0 0 0 0.25cqw rgba(8, 10, 20, 0.55),
    inset 0 0 0.5cqw 0.1cqw rgba(255, 255, 255, 0.7),
    0 5cqw 10cqw -3cqw rgba(14, 22, 51, 0.55),
    0 1.4cqw 3.2cqw rgba(14, 22, 51, 0.32);
}

.dev-btn {
  position: absolute;
  width: 1cqw;
  background: linear-gradient(90deg, #5b6482, #d3d8e6 45%, #6a7391);
  border-radius: 0.5cqw;
  box-shadow: 0 0 0.4cqw rgba(8, 10, 20, 0.5);
}

.dev-btn-silent { left: -0.65cqw; top: 19cqw; height: 6cqw; }
.dev-btn-up { left: -0.65cqw; top: 29cqw; height: 11.5cqw; }
.dev-btn-down { left: -0.65cqw; top: 43cqw; height: 11.5cqw; }
.dev-btn-power { right: -0.65cqw; top: 35cqw; height: 17cqw; }

.dev-bezel {
  position: relative;
  height: 100%;
  padding: 2.3cqw;
  border-radius: 14.1cqw;
  background: #04050a;
  box-shadow: inset 0 0 0 0.3cqw #151926, inset 0 0 1.4cqw rgba(0, 0, 0, 0.9);
}

.dev-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f4fe, #eef0fb);
  border-radius: 11.8cqw;
}

.dev-status {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7cqw;
  padding: 0 7cqw 0 8cqw;
  font-size: 3.1cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #0e1633;
  background: linear-gradient(90deg, #f0f2fe, #fafbff 50%, #f6f3fe);
}

.dev-cam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.7cqw;
  height: 3.7cqw;
  margin: -1.85cqw 0 0 -1.85cqw;
  background: radial-gradient(circle at 36% 34%, #2f3a66 0, #0b0e1c 42%, #000 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 0.55cqw #000, inset 0 0 0.4cqw rgba(130, 150, 255, 0.45);
}

.dev-cam::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 20%;
  width: 22%;
  height: 22%;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.dev-sys {
  display: flex;
  align-items: center;
  gap: 1.5cqw;
}

.dev-sys svg {
  width: auto;
  height: 2.7cqw;
  fill: currentColor;
}

.dev-sys svg:last-child {
  height: 2.9cqw;
}

.dev-img {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
}

.dev-home {
  position: absolute;
  left: 50%;
  bottom: 2cqw;
  z-index: 2;
  width: 31cqw;
  height: 1.2cqw;
  margin-left: -15.5cqw;
  background: rgba(14, 22, 51, 0.72);
  border-radius: 1cqw;
}

.dev-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.07) 20%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(298deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 26%);
  box-shadow: inset 0 0 0 0.25cqw rgba(255, 255, 255, 0.1), inset 0 0 2cqw rgba(0, 0, 0, 0.12);
}

/* ---- Audience strip ---------------------------------------------------------------- */

.lp-strip {
  padding: 8px 0 0;
}

.lp-strip-label {
  margin: 0 0 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.lp-marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.lp-marquee-track {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
  list-style: none;
  animation: marquee 48s linear infinite;
}

.lp-marquee:hover .lp-marquee-track {
  animation-play-state: paused;
}

.lp-marquee-track li {
  padding: 10px 20px;
  font-weight: 650;
  white-space: nowrap;
  color: var(--text);
  background: var(--lp-glass);
  border: 1px solid var(--lp-line);
  border-radius: 999px;
}

@keyframes marquee { to { transform: translateX(-100%); } }

/* ---- Reveal on scroll (only when script has marked the page) ------------------------ */

html.js-anim .rv:not(.in) {
  opacity: 0;
}

.rv.in {
  animation: rise 0.9s var(--lp-ease) backwards;
  animation-delay: var(--d, 0s);
}

.rv.d1 { --d: 0.05s; }
.rv.d2 { --d: 0.15s; }
.rv.d3 { --d: 0.25s; }

/* ---- How it works -------------------------------------------------------------------- */

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.lp-step {
  position: relative;
  padding: 14px 14px 26px;
  background: var(--lp-glass);
  border: 1px solid var(--lp-line);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease);
}

.lp-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--lp-shadow-lg);
}

.lp-step h3 {
  margin: 20px 12px 0;
  font-size: 1.3rem;
}

.lp-step p {
  margin: 10px 12px 0;
  color: var(--text-dim);
}

.lp-step-n {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 800;
  color: #fff;
  background: var(--lp-grad);
  border-radius: 50%;
  box-shadow: 0 8px 18px -6px rgba(36, 71, 214, 0.6);
}

.lp-shot {
  position: relative;
  display: flex;
  justify-content: center;
  height: 290px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(76, 110, 245, 0.28), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, rgba(168, 85, 247, 0.22), transparent 60%),
    var(--note-bg);
  border-radius: 18px;
}

.lp-shot img {
  display: block;
  height: auto;
}

.lp-shot-square {
  align-items: flex-start;
}

.lp-shot-square img {
  width: 86%;
  margin-top: 66px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 20px 50px -18px rgba(14, 22, 51, 0.5);
}

.lp-shot-phone {
  align-items: flex-start;
}

.lp-shot-phone .dev {
  width: 50%;
  margin-top: 26px;
}

@media (max-width: 980px) {
  .lp-steps {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* ---- Bento features ------------------------------------------------------------------ */

.lp-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.lp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  overflow: hidden;
  background: var(--lp-glass);
  border: 1px solid var(--lp-line);
  border-radius: 26px;
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease), border-color 0.35s;
}

.lp-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(76, 110, 245, 0.16), transparent 60%);
  transition: opacity 0.3s;
}

.lp-tile:hover {
  transform: translateY(-4px);
  border-color: var(--note-border);
  box-shadow: var(--lp-shadow-lg);
}

.lp-tile:hover::before {
  opacity: 1;
}

.lp-tile > * {
  position: relative;
  z-index: 1;
}

.lp-tile h3 {
  font-size: 1.28rem;
  font-weight: 750;
}

.lp-tile p {
  margin: 10px 0 0;
  color: var(--text-dim);
}

.t-pipeline { grid-column: span 4; }
.t-outcome { grid-column: span 2; }
.t-reports { grid-column: span 2; }
.t-follow { grid-column: span 4; }
.t-timeline { grid-column: span 2; }
.t-guard { grid-column: span 2; }
.t-data { grid-column: span 2; }

.lp-tile-media {
  height: 250px;
  margin: 24px -26px -26px 44px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--lp-line);
  border-right: 0;
  border-bottom: 0;
  border-radius: 18px 0 0 0;
  box-shadow: 0 -12px 40px -18px rgba(14, 22, 51, 0.35);
}

.lp-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
}

.t-follow .lp-tile-media {
  margin-left: 26px;
  margin-right: 0;
}

.t-follow .lp-tile-media img {
  object-position: 100% 0;
}

/* Result chips */

.lp-chips {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  list-style: none;
}

.lp-chips li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-weight: 650;
  background: var(--lp-glass-strong);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  animation: pick 10s ease-in-out infinite;
  animation-delay: calc(var(--k, 0) * 2s);
}

.lp-chips li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.55;
}

.lp-chips li:nth-child(2) { --k: 1; }
.lp-chips li:nth-child(3) { --k: 2; }
.lp-chips li:nth-child(4) { --k: 3; }
.lp-chips li:nth-child(5) { --k: 4; }

@keyframes pick {
  0%, 20%, 100% { transform: none; background: var(--lp-glass-strong); border-color: var(--lp-line); box-shadow: none; }
  4%, 16% { transform: translateX(8px); background: var(--note-bg); border-color: var(--primary); box-shadow: 0 10px 24px -12px rgba(36, 71, 214, 0.5); }
}

/* Bars */

.lp-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  margin-top: auto;
  padding-top: 24px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--lp-line);
}

.lp-bars i {
  flex: 1;
  height: var(--h, 50%);
  min-height: 0;
  background: var(--lp-grad);
  border-radius: 7px 7px 3px 3px;
  transform-origin: 50% 100%;
}

.lp-bars i:nth-child(1) { --h: 38%; --k: 0; }
.lp-bars i:nth-child(2) { --h: 60%; --k: 1; }
.lp-bars i:nth-child(3) { --h: 46%; --k: 2; }
.lp-bars i:nth-child(4) { --h: 78%; --k: 3; }
.lp-bars i:nth-child(5) { --h: 64%; --k: 4; }
.lp-bars i:nth-child(6) { --h: 92%; --k: 5; }
.lp-bars i:nth-child(7) { --h: 72%; --k: 6; }

html.js-anim .rv:not(.in) .lp-bars i {
  transform: scaleY(0.05);
}

.rv.in .lp-bars i {
  animation: grow 1s var(--lp-ease) backwards;
  animation-delay: calc(0.25s + var(--k, 0) * 0.07s);
}

@keyframes grow {
  from { transform: scaleY(0.05); }
}

.lp-illus {
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.8;
}

/* Timeline */

.lp-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-left: 26px;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.lp-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--brand));
  opacity: 0.4;
  border-radius: 2px;
}

.lp-timeline li {
  position: relative;
  animation: tl 8s ease-in-out infinite;
  animation-delay: calc(var(--k, 0) * 1s);
}

.lp-timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.lp-timeline li:nth-child(2) { --k: 1; }
.lp-timeline li:nth-child(3) { --k: 2; }
.lp-timeline li:nth-child(4) { --k: 3; }

.lp-timeline span {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--note-bg);
  border-radius: 999px;
}

@keyframes tl {
  0%, 30%, 100% { opacity: 1; }
  10%, 20% { opacity: 1; }
  45%, 85% { opacity: 0.55; }
}

/* Guardrails and data */

.lp-checks {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  list-style: none;
  font-weight: 600;
}

.lp-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-checks svg {
  width: 1.45em !important;
  height: 1.45em !important;
  padding: 0.28em;
  color: #fff;
  background: var(--lp-grad);
  border-radius: 50%;
}

.lp-tile-icon {
  position: absolute !important;
  right: -10px;
  bottom: -14px;
  z-index: 0 !important;
  color: var(--primary);
  opacity: 0.12;
}

.lp-tile-icon svg {
  display: block;
  width: 130px !important;
  height: 130px !important;
}

@media (max-width: 980px) {
  .lp-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t-pipeline,
  .t-follow {
    grid-column: 1 / -1;
  }

  .t-outcome,
  .t-reports,
  .t-timeline,
  .t-guard,
  .t-data {
    grid-column: span 1;
  }

  .t-data {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .lp-bento {
    grid-template-columns: 1fr;
  }

  .t-outcome,
  .t-reports,
  .t-timeline,
  .t-guard,
  .t-data {
    grid-column: 1 / -1;
  }

  .lp-tile-media,
  .t-follow .lp-tile-media {
    height: 190px;
  }
}

/* ---- Who it is for -------------------------------------------------------------------- */

.lp-who {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-who-card {
  padding: 12px 12px 26px;
  background: var(--lp-glass);
  border: 1px solid var(--lp-line);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease);
}

.lp-who-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--lp-shadow-lg);
}

.lp-who-card h3 {
  margin: 20px 14px 0;
  font-size: 1.3rem;
}

.lp-who-card p {
  margin: 10px 14px 0;
  color: var(--text-dim);
}

.lp-who-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 210px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
}

.lp-who-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.3) 1.2px, transparent 1.4px) 0 0 / 20px 20px;
  opacity: 0.6;
}

.lp-who-media svg {
  position: relative;
  width: 68px !important;
  height: 68px !important;
  filter: drop-shadow(0 8px 18px rgba(14, 22, 51, 0.35));
  transition: transform 0.5s var(--lp-ease);
}

.lp-who-card:hover .lp-who-media svg {
  transform: scale(1.12) rotate(-4deg);
}

.lp-who-art-1 { background: linear-gradient(135deg, #2447d6, #2ea2db); }
.lp-who-art-2 { background: linear-gradient(135deg, #5b3fd6, #2447d6); }
.lp-who-art-3 { background: linear-gradient(135deg, #1b8fb8, #7c3aed); }

.lp-who-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--lp-ease);
}

.lp-who-card:hover .lp-who-media img {
  transform: scale(1.05);
}

.lp-who-media.has-photo::before {
  z-index: 1;
  opacity: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 22, 51, 0.45));
}

.lp-who-media.has-photo svg {
  display: none;
}

@media (max-width: 980px) {
  .lp-who {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* ---- Principles band ------------------------------------------------------------------- */

.lp-band {
  position: relative;
  margin: clamp(24px, 4vw, 48px) clamp(10px, 2vw, 28px);
  padding: clamp(64px, 9vw, 112px) 0;
  overflow: hidden;
  color: #eef1f9;
  background: linear-gradient(160deg, #0a1230 0%, #101c4a 55%, #1b1f66 100%);
  border: 1px solid rgba(125, 155, 255, 0.2);
  border-radius: clamp(24px, 4vw, 44px);
}

.lp-band::before,
.lp-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.lp-band::before {
  left: -10%;
  top: -30%;
  width: 50%;
  height: 80%;
  background: rgba(76, 110, 245, 0.45);
}

.lp-band::after {
  right: -10%;
  bottom: -40%;
  width: 50%;
  height: 90%;
  background: rgba(168, 85, 247, 0.32);
}

.lp-band .lp-wrap {
  position: relative;
  z-index: 1;
}

.lp-band-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}

.lp-head-light h2 {
  color: #fff;
}

.lp-head-light p:not(.lp-kicker) {
  color: #b9c4ea;
}

.lp-head-light .lp-kicker {
  color: #b8c8ff;
  background: rgba(125, 155, 255, 0.12);
  border-color: rgba(125, 155, 255, 0.35);
}

.lp-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-principle {
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(125, 155, 255, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.lp-principle-n {
  display: block;
  margin-bottom: 14px;
  font-size: 2.6rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #7d9bff, #c084fc 60%, #5cc8f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-principle h3 {
  font-size: 1.25rem;
  color: #fff;
}

.lp-principle p {
  margin: 10px 0 0;
  color: #b9c4ea;
}

@media (max-width: 980px) {
  .lp-principles {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* ---- Guides teaser --------------------------------------------------------------------------- */

.lp-guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.lp-guide {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: clamp(22px, 3vw, 32px);
  color: var(--text);
  text-decoration: none;
  background: var(--lp-glass-strong);
  border: 1px solid var(--lp-line);
  border-radius: 24px;
  transition: transform 0.28s var(--lp-ease), box-shadow 0.28s var(--lp-ease), border-color 0.28s var(--lp-ease);
}

.lp-guide:hover,
.lp-guide:focus-visible {
  transform: translateY(-4px);
  border-color: var(--note-border);
  box-shadow: var(--lp-shadow-lg);
}

.lp-guide h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.lp-guide p {
  margin: 0;
  line-height: 1.55;
  color: var(--text-dim);
}

.lp-guide-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 720px) {
  .lp-guides {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-guide {
    transition: none;
  }

  .lp-guide:hover,
  .lp-guide:focus-visible {
    transform: none;
  }
}

/* ---- FAQ ------------------------------------------------------------------------------------ */

.lp-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.lp-faq-wrap .lp-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.lp-faq details {
  border-bottom: 1px solid var(--lp-line);
}

.lp-faq details:first-child {
  border-top: 1px solid var(--lp-line);
}

.lp-faq summary {
  position: relative;
  padding: 22px 48px 22px 4px;
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary:hover {
  color: var(--primary);
}

.lp-faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  border: 1px solid var(--lp-line);
  border-radius: 50%;
  transition: transform 0.3s var(--lp-ease), background-color 0.3s;
}

.lp-faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--note-bg);
}

.lp-faq details p {
  margin: 0;
  padding: 0 48px 24px 4px;
  color: var(--text-dim);
  animation: faqIn 0.35s var(--lp-ease);
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
}

@media (max-width: 900px) {
  .lp-faq-wrap {
    grid-template-columns: 1fr;
  }

  .lp-faq-wrap .lp-head {
    position: static;
  }
}

/* ---- Sign-up and contact ----------------------------------------------------------------- */

.lp-start {
  padding-bottom: clamp(56px, 7vw, 96px);
}

.lp-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.lp-start-copy {
  position: sticky;
  top: 110px;
}

.lp-lead-sm {
  margin: 16px 0 0;
  font-size: 1.12rem;
  color: var(--text-dim);
}

.lp-next {
  display: grid;
  gap: 18px;
  margin: 30px 0 26px;
  list-style: none;
}

.lp-next li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.lp-next li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  font-weight: 800;
  color: var(--primary);
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: 50%;
}

.lp-next strong {
  display: block;
}

.lp-next p {
  margin: 2px 0 0;
  color: var(--text-dim);
}

.lp-form-card {
  position: relative;
  padding: clamp(22px, 3.5vw, 40px);
  background: var(--lp-glass-strong);
  border: 1px solid var(--lp-line);
  border-radius: 32px;
  box-shadow: var(--lp-shadow-lg);
  backdrop-filter: blur(18px);
}

.lp-form-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(36, 71, 214, 0.5), rgba(168, 85, 247, 0.35), rgba(46, 162, 219, 0.5));
  opacity: 0.45;
  filter: blur(18px);
}

.lp-intent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.lp-intent legend {
  margin-bottom: 10px;
  padding: 0;
  font-weight: 750;
}

.lp-seg {
  position: relative;
  display: block;
}

.lp-seg input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.lp-seg span {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: 16px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--lp-ease), box-shadow 0.25s;
}

.lp-seg:hover span {
  border-color: var(--primary);
}

.lp-seg input:checked + span {
  color: #fff;
  background: var(--lp-grad);
  border-color: transparent;
  box-shadow: 0 12px 24px -10px rgba(36, 71, 214, 0.6);
  transform: translateY(-1px);
}

.lp-seg input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.lp-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lp-field {
  min-width: 0;
}

.lp-field label,
.lp-field > .lp-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.lp-field.opt label::after,
.lp-opt {
  font-weight: 500;
  color: var(--text-dim);
}

.lp-field.opt label::after {
  content: " (optional)";
}

.lp-field input,
.lp-field select,
.lp-field textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-field textarea {
  min-height: 112px;
  resize: vertical;
}

.lp-field input::placeholder,
.lp-field textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.7;
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--lp-ring);
}

.lp-field [aria-invalid="true"] {
  border-color: var(--lp-danger);
}

.lp-err {
  margin: 6px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lp-danger);
}

.lp-err[hidden] {
  display: none;
}

.f-message,
.f-multi {
  margin-top: 16px;
}

.lp-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.95rem;
  cursor: pointer;
}

.lp-check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: #2447d6;
  cursor: pointer;
}

/* Fields that are not needed for the chosen request (no script required) */

.lp-form:has(input[type="radio"][value="question"]:checked) :is(.f-orgtype, .f-area, .f-role, .f-volunteers, .f-timeline, .f-multi),
.lp-form:has(input[type="radio"][value="updates"]:checked) :is(.f-name, .f-org, .f-orgtype, .f-area, .f-role, .f-volunteers, .f-timeline, .f-multi, .f-message, .f-updates) {
  display: none;
}

.lp-form:has(input[type="radio"][value="updates"]:checked) .f-email {
  grid-column: 1 / -1;
}

.lp-form:has(input[type="radio"][value="question"]:checked) .f-org label::after {
  content: " (optional)";
  font-weight: 500;
  color: var(--text-dim);
}

.lp-form:has(input[type="radio"][value="question"]:checked) [data-optional] {
  display: none;
}

/* Honeypots: off screen, never display:none (some bots skip hidden fields). */

.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0;
  pointer-events: none;
}

.lp-status {
  margin: 18px 0 0;
  padding: 12px 14px;
  font-weight: 650;
  color: var(--lp-danger);
  background: rgba(180, 35, 61, 0.08);
  border: 1px solid rgba(180, 35, 61, 0.3);
  border-radius: 14px;
}

.lp-status[hidden] {
  display: none;
}

.lp-form-foot {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.lp-form-foot .lp-btn {
  justify-self: start;
}

.lp-success {
  padding: clamp(12px, 3vw, 28px) 0;
  text-align: center;
}

.lp-success[hidden] {
  display: none;
}

.lp-success:focus {
  outline: none;
}

.lp-success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  color: #fff;
  background: var(--lp-grad);
  border-radius: 50%;
  box-shadow: 0 18px 36px -12px rgba(36, 71, 214, 0.6);
  animation: pop 0.7s var(--lp-ease) both;
}

.lp-success-icon svg {
  width: 34px !important;
  height: 34px !important;
}

@keyframes pop {
  from { opacity: 0; scale: 0.4; }
}

.lp-success h3 {
  font-size: 1.6rem;
}

.lp-success p {
  max-width: 28em;
  margin: 12px auto 0;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .lp-start-grid {
    grid-template-columns: 1fr;
  }

  .lp-start-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .lp-grid2,
  .lp-intent {
    grid-template-columns: 1fr;
  }

  .lp-form-foot .lp-btn {
    justify-self: stretch;
  }

  .lp-seg span {
    min-height: 48px;
  }
}

/* ---- Footer ------------------------------------------------------------------------------------ */

.lp-foot {
  margin-top: clamp(20px, 3vw, 40px);
  padding: 40px 0 10px;
  border-top: 1px solid var(--lp-line);
}

.lp-foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.lp-foot-brand img {
  display: block;
  width: auto;
  height: 34px;
}

.lp-foot-brand p {
  max-width: 24em;
  margin: 14px 0 0;
  color: var(--text-dim);
}

.lp-foot nav {
  display: grid;
  gap: 4px;
  align-content: start;
}

.lp-foot h2 {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.lp-foot nav a {
  padding: 4px 0;
  font-weight: 600;
  text-decoration: none;
}

.lp-foot nav a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .lp-foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-foot-brand {
    grid-column: 1 / -1;
  }
}

/* ---- Motion preferences and print ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  html.js-anim .rv:not(.in) {
    opacity: 1;
  }

  html.js-anim .rv:not(.in) .lp-bars i {
    transform: none;
  }

  .lp-marquee {
    flex-wrap: wrap;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .lp-marquee-track {
    flex-wrap: wrap;
    justify-content: center;
  }

  .lp-marquee-track[aria-hidden="true"] {
    display: none;
  }

  .lp-win,
  .lp-dev,
  .lp-card-float {
    transform: none;
  }
}

@media print {
  .lp-bg,
  .lp-nav-wrap,
  .lp-strip,
  .lp-stage,
  .lp-form-card,
  .landing::after {
    display: none !important;
  }

  .landing {
    background: #fff;
  }

  .lp-band {
    color: #000;
    background: #fff;
    border-color: #ccc;
  }

  .lp-band h2,
  .lp-band h3,
  .lp-band p {
    color: #000 !important;
  }
}
