/* ══════════════════════════════════════════════════════════
   NIVARIA — Marketing Landing Page
   ══════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --lp-bg:        #000000;
  --lp-bg-2:      #0A0A0A;
  --lp-bg-card:   rgba(255,255,255,0.04);
  --lp-border:    rgba(255,255,255,0.08);
  --lp-txt:       #F0F0F8;
  --lp-txt-2:     #888899;
  --lp-txt-3:     #555566;
  --lp-accent:    #4338CA;
  --lp-accent-2:  #818CF8;
  --lp-nav-h:     68px;
  --lp-font:      'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --lp-radius:    14px;
  --lp-radius-lg: 24px;
}

[data-lp-theme="light"] {
  --lp-bg:        #FFFFFF;
  --lp-bg-2:      #F4F4F8;
  --lp-bg-card:   rgba(0,0,0,0.03);
  --lp-border:    rgba(0,0,0,0.08);
  --lp-txt:       #0C0C14;
  --lp-txt-2:     #666677;
  --lp-txt-3:     #AAAACC;
  --lp-accent:    #4338CA;
  --lp-accent-2:  #6366F1;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--lp-font);
  background: var(--lp-bg);
  color: var(--lp-txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--lp-font); cursor: pointer; border: none; background: none; }
img, svg { display: block; }

/* ── Container ───────────────────────────────────────────── */
.lp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .lp-container { padding: 0 24px; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  height: 42px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
}
.lp-btn-primary {
  background: var(--lp-accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(99,102,241,0.4);
}
.lp-btn-primary:hover {
  background: var(--lp-accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99,102,241,0.35);
}
.lp-btn-ghost {
  color: var(--lp-txt-2);
  background: transparent;
}
.lp-btn-ghost:hover {
  color: var(--lp-txt);
}
.lp-btn-lg {
  height: 56px;
  padding: 0 36px;
  font-size: 1rem;
  border-radius: 14px;
}
.lp-btn-outline {
  background: transparent;
  color: var(--lp-txt);
  border: 1.5px solid var(--lp-border);
}
.lp-btn-outline:hover {
  border-color: var(--lp-accent);
  color: var(--lp-accent);
}

/* ── Navbar ──────────────────────────────────────────────── */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--lp-nav-h);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  border-bottom: 1px solid transparent;
}
.lp-nav.scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--lp-border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
[data-lp-theme="light"] .lp-nav.scrolled {
  background: rgba(255,255,255,0.9);
}
.lp-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 768px) {
  .lp-nav-inner { padding: 0 24px; }
}
.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lp-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--lp-accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-logo-name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lp-txt);
}
.lp-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-txt-2);
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.lp-theme-btn:hover {
  background: var(--lp-bg-card);
  color: var(--lp-txt);
}
.lp-mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--lp-txt);
  border-radius: 9px;
}
.lp-mobile-menu-btn:hover { background: var(--lp-bg-card); }
@media (max-width: 600px) {
  .lp-mobile-menu-btn { display: flex; }
  .lp-nav-right .lp-btn-ghost { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.lp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.lp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.72) 0%,
    rgba(6,4,20,0.82) 50%,
    rgba(0,0,0,0.9) 100%
  );
}
[data-lp-theme="light"] .lp-hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.55) 0%,
    rgba(240,240,255,0.65) 50%,
    rgba(255,255,255,0.75) 100%
  );
}
.lp-hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  padding: 0 40px;
  padding-top: var(--lp-nav-h);
}
.lp-hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}
[data-lp-theme="light"] .lp-hero-headline { color: #0A0A14; }
.lp-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}
[data-lp-theme="light"] .lp-hero-sub { color: rgba(12,12,20,0.65); }
.lp-hero-trust {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
[data-lp-theme="light"] .lp-hero-trust { color: rgba(12,12,20,0.4); }

/* ── Scroll Animations ───────────────────────────────────── */
.lp-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.lp-animate.lp-visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-animate[data-delay="1"] { transition-delay: 0.08s; }
.lp-animate[data-delay="2"] { transition-delay: 0.16s; }
.lp-animate[data-delay="3"] { transition-delay: 0.24s; }
.lp-animate[data-delay="4"] { transition-delay: 0.32s; }
.lp-animate[data-delay="5"] { transition-delay: 0.40s; }

/* ── Section shared ──────────────────────────────────────── */
.lp-section {
  padding: clamp(80px, 12vw, 140px) 0;
}
.lp-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 16px;
}
.lp-section-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--lp-txt);
  margin-bottom: 16px;
}
.lp-section-sub {
  font-size: 1.0625rem;
  color: var(--lp-txt-2);
  line-height: 1.65;
  max-width: 540px;
}

/* ── Features Section ────────────────────────────────────── */
.lp-features {
  background: var(--lp-bg-2);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}
.lp-features-header {
  text-align: center;
  margin-bottom: 72px;
}
.lp-features-header .lp-section-sub {
  margin: 0 auto;
}
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 860px) {
  .lp-features-grid { grid-template-columns: 1fr; gap: 0; }
}
.lp-feature-col {
  padding: 48px 40px;
  border-right: 1px solid var(--lp-border);
  transition: background 0.2s ease;
}
.lp-feature-col:last-child { border-right: none; }
@media (max-width: 860px) {
  .lp-feature-col {
    border-right: none;
    border-bottom: 1px solid var(--lp-border);
  }
  .lp-feature-col:last-child { border-bottom: none; }
}
.lp-feature-col:hover {
  background: rgba(99,102,241,0.04);
}
.lp-feature-img {
  width: 100%;
  max-width: 220px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 32px;
}
.lp-feature-title {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lp-txt);
  margin-bottom: 12px;
}
.lp-feature-desc {
  font-size: 0.9375rem;
  color: var(--lp-txt-2);
  line-height: 1.65;
}

/* ── Benefits Section ────────────────────────────────────── */
.lp-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 860px) {
  .lp-benefits-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.lp-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.lp-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--lp-txt);
  font-weight: 500;
}
.lp-benefit-check {
  width: 22px;
  height: 22px;
  background: rgba(99,102,241,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.lp-benefit-check svg { color: var(--lp-accent); }

/* ── App Mockup ──────────────────────────────────────────── */
.lp-mockup {
  background: var(--lp-bg-2);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.lp-mockup-bar {
  height: 36px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--lp-border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}
[data-lp-theme="light"] .lp-mockup-bar { background: rgba(0,0,0,0.04); }
.lp-mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.lp-mock-dot:nth-child(1) { background: #FF5F57; }
.lp-mock-dot:nth-child(2) { background: #FFBD2E; }
.lp-mock-dot:nth-child(3) { background: #28C840; }
.lp-mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lp-mock-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 14px;
}
[data-lp-theme="light"] .lp-mock-stat { background: rgba(0,0,0,0.03); }
.lp-mock-stat-label {
  font-size: 10px;
  color: var(--lp-txt-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.lp-mock-stat-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lp-txt);
  letter-spacing: -0.02em;
}
.lp-mock-stat-val.green { color: #10B981; }
.lp-mock-stat-val.yellow { color: #F59E0B; }
.lp-mock-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-mock-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
[data-lp-theme="light"] .lp-mock-card { background: rgba(0,0,0,0.025); }
.lp-mock-avatar {
  width: 28px; height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}
.lp-mock-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--lp-txt);
  flex: 1;
}
.lp-mock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.lp-mock-badge.high { background: rgba(239,68,68,0.15); color: #EF4444; }
.lp-mock-badge.medium { background: rgba(245,158,11,0.15); color: #F59E0B; }
.lp-mock-badge.low { background: rgba(16,185,129,0.15); color: #10B981; }
.lp-mock-time {
  font-size: 10px;
  color: var(--lp-txt-3);
}

/* ── Pricing Section ─────────────────────────────────────── */
.lp-pricing {
  background: var(--lp-bg-2);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}
.lp-pricing-header {
  text-align: center;
  margin-bottom: 64px;
}
.lp-pricing-header .lp-section-sub {
  margin: 0 auto;
}
.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .lp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}
.lp-plan-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.lp-plan-card.featured {
  background: var(--lp-accent);
  border-color: var(--lp-accent);
  box-shadow: 0 8px 40px rgba(99,102,241,0.3);
}
.lp-plan-card.featured:hover {
  box-shadow: 0 20px 60px rgba(99,102,241,0.4);
}
.lp-plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--lp-accent);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.lp-plan-name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-txt-2);
  margin-bottom: 12px;
}
.lp-plan-card.featured .lp-plan-name { color: rgba(255,255,255,0.75); }
.lp-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.lp-plan-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--lp-txt);
  line-height: 1;
}
.lp-plan-card.featured .lp-plan-amount { color: #fff; }
.lp-plan-period {
  font-size: 0.875rem;
  color: var(--lp-txt-2);
}
.lp-plan-card.featured .lp-plan-period { color: rgba(255,255,255,0.65); }
.lp-plan-desc {
  font-size: 0.875rem;
  color: var(--lp-txt-2);
  margin-bottom: 28px;
  line-height: 1.5;
}
.lp-plan-card.featured .lp-plan-desc { color: rgba(255,255,255,0.7); }
.lp-plan-divider {
  height: 1px;
  background: var(--lp-border);
  margin-bottom: 24px;
}
.lp-plan-card.featured .lp-plan-divider { background: rgba(255,255,255,0.15); }
.lp-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}
.lp-plan-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--lp-txt);
}
.lp-plan-card.featured .lp-plan-feat { color: rgba(255,255,255,0.9); }
.lp-plan-feat-icon {
  width: 16px; height: 16px;
  color: var(--lp-accent);
  flex-shrink: 0;
}
.lp-plan-card.featured .lp-plan-feat-icon { color: rgba(255,255,255,0.8); }
.lp-plan-cta {
  width: 100%;
  height: 44px;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--lp-accent);
  color: #fff;
  transition: all 0.18s ease;
  cursor: pointer;
  border: none;
  font-family: var(--lp-font);
}
.lp-plan-cta:hover {
  background: var(--lp-accent-2);
  transform: translateY(-1px);
}
.lp-plan-card.featured .lp-plan-cta {
  background: #fff;
  color: var(--lp-accent);
}
.lp-plan-card.featured .lp-plan-cta:hover {
  background: rgba(255,255,255,0.9);
}

/* ── Final CTA ───────────────────────────────────────────── */
.lp-cta-section {
  text-align: center;
  padding: clamp(100px, 14vw, 160px) 0;
}
.lp-cta-headline {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--lp-txt);
}
.lp-cta-accent { color: var(--lp-accent); }

/* ── Footer ──────────────────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 32px 0;
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-footer-copy {
  font-size: 0.8125rem;
  color: var(--lp-txt-3);
}
.lp-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .lp-footer-inner { flex-direction: column; align-items: flex-start; }
  .lp-footer-links { flex-direction: column; gap: 12px; }
}
.lp-footer-links a {
  font-size: 0.8125rem;
  color: var(--lp-txt-3);
  transition: color 0.15s ease;
}
.lp-footer-links a:hover { color: var(--lp-txt-2); }

/* ── Divider stripe ──────────────────────────────────────── */
.lp-stripe {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lp-accent), transparent);
  opacity: 0.3;
}

/* ── Pricing: 4-tier simplified grid (Phase 12) ──────────────── */
.lp-pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  gap: 20px;
}
/* Tablet: two-up. Phone: stacked. These come after the base .lp-pricing-grid
   media query in source order, so they win for the 4-tier grid. */
@media (max-width: 980px) {
  .lp-pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}
@media (max-width: 560px) {
  .lp-pricing-grid-4 { grid-template-columns: 1fr; max-width: 380px; }
}

/* Slim card: name + price + subtitle + CTA only (no feature list). Flex column
   keeps the CTA pinned to the bottom so all four cards align. */
.lp-plan-card-slim {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 32px 28px;
}
.lp-plan-card-slim .lp-plan-desc { margin-bottom: 28px; }
.lp-plan-card-slim .lp-plan-cta { margin-top: auto; }

/* Full card: name + price + subtitle + complete feature list + CTA. Flex column
   pins the CTA to the bottom so every card's button aligns across the row even
   though the tiers have different numbers of features. */
.lp-plan-card-full {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
}
.lp-plan-card-full .lp-plan-desc { margin-bottom: 20px; }
.lp-plan-card-full .lp-plan-cta { margin-top: auto; }
/* Feature rows can wrap to two lines on narrow cards; top-align the check so it
   sits with the first line instead of floating to the vertical centre. */
.lp-plan-card-full .lp-plan-feat { align-items: flex-start; line-height: 1.45; }
.lp-plan-card-full .lp-plan-feat-icon { margin-top: 2px; }

/* Render the CTA as a proper centered button for both <a> and <button>. */
.lp-plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
/* Secondary CTA for waitlist tiers — outline rather than solid fill. */
.lp-plan-cta-outline {
  background: transparent;
  color: var(--lp-accent);
  border: 1.5px solid var(--lp-border);
}
.lp-plan-cta-outline:hover {
  background: rgba(99,102,241,0.08);
  border-color: var(--lp-accent);
  color: var(--lp-accent);
  transform: translateY(-1px);
}

/* ── Waitlist modal (Phase 12) ───────────────────────────────── */
.lp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: lp-overlay-in 0.18s ease;
}
/* Beat the UA [hidden]{display:none} rule, which our display:flex would mask. */
.lp-modal-overlay[hidden] { display: none; }
.lp-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--lp-bg-2);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 32px 28px 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  animation: lp-modal-in 0.22s cubic-bezier(0.16,1,0.3,1);
}
.lp-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-txt-2);
  transition: background 0.15s ease, color 0.15s ease;
}
.lp-modal-close:hover { background: var(--lp-bg-card); color: var(--lp-txt); }
.lp-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-txt);
  margin-bottom: 8px;
  padding-right: 28px;
  line-height: 1.25;
}
.lp-modal-desc {
  font-size: 0.9rem;
  color: var(--lp-txt-2);
  line-height: 1.6;
  margin-bottom: 22px;
}
.lp-modal-form { display: flex; flex-direction: column; }
.lp-modal-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lp-txt-2);
  margin-bottom: 8px;
}
.lp-modal-input {
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--lp-bg-card);
  border: 1.5px solid var(--lp-border);
  color: var(--lp-txt);
  font-size: 0.9375rem;
  font-family: var(--lp-font);
  transition: border-color 0.15s ease;
}
.lp-modal-input::placeholder { color: var(--lp-txt-3); }
.lp-modal-input:focus { outline: none; border-color: var(--lp-accent); }
.lp-modal-msg {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 10px 0 0;
}
.lp-modal-msg:empty { margin: 0; }
.lp-modal-msg.error   { color: #F87171; }
.lp-modal-msg.success { color: #34D399; }
.lp-modal-submit { margin-top: 16px; }
.lp-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@keyframes lp-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-modal-overlay, .lp-modal { animation: none; }
}
