/* Grey Landing Page — Slate + Blue Accent */

:root {
  --lp-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lp-slate-950: #020617;
  --lp-slate-900: #0f172a;
  --lp-slate-800: #1e293b;
  --lp-slate-700: #334155;
  --lp-slate-600: #475569;
  --lp-slate-500: #64748b;
  --lp-slate-400: #94a3b8;
  --lp-slate-300: #cbd5e1;
  --lp-slate-200: #e2e8f0;
  --lp-slate-100: #f1f5f9;
  --lp-slate-50: #f8fafc;
  --lp-white: #ffffff;
  --lp-blue-600: #2563eb;
  --lp-blue-500: #3b82f6;
  --lp-blue-400: #60a5fa;
  --lp-blue-50: #eff6ff;
  --lp-radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--lp-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-slate-800);
  background: var(--lp-white);
  -webkit-font-smoothing: antialiased;
}

/* Container */
.lp-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.lp-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.lp-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-white);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-beta-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--lp-slate-300);
}
.lp-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-slate-400);
  text-decoration: none;
  transition: color 200ms;
}
.lp-nav-link:hover { color: var(--lp-white); }

/* Buttons */
.lp-btn {
  display: inline-block;
  background: var(--lp-slate-900);
  color: var(--lp-white);
  font-family: var(--lp-font);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--lp-radius);
  transition: background 200ms, transform 150ms;
}
.lp-btn:hover {
  background: var(--lp-slate-700);
}
.lp-btn:active {
  transform: scale(0.98);
}
.lp-btn-sm {
  font-size: 13px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--lp-white);
}
.lp-btn-sm:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lp-btn-lg {
  font-size: 16px;
  padding: 14px 32px;
  letter-spacing: -0.01em;
}
.lp-btn-blue {
  background: var(--lp-blue-600);
  color: var(--lp-white);
}
.lp-btn-blue:hover {
  background: #1d4ed8;
}

/* Hero */
.lp-hero {
  padding: 112px 0 48px;
  text-align: center;
  background: var(--lp-slate-900);
  color: var(--lp-white);
  overflow: visible;
}
.lp-hero-h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--lp-white);
  margin-bottom: 24px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.lp-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--lp-slate-400);
  max-width: 480px;
  margin: 0 auto 40px;
}
.lp-hero .lp-btn {
  background: var(--lp-white);
  color: var(--lp-slate-900);
}
.lp-hero .lp-btn:hover {
  background: var(--lp-slate-100);
}

/* ============================================
   INBOX MOCKUP
   ============================================ */
.lp-mockup {
  max-width: 720px;
  margin: 48px auto 0;
  background: var(--lp-white);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: translateY(120px);
  position: relative;
  z-index: 10;
  text-align: left;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-mockup.is-visible {
  opacity: 1;
  transform: translateY(60px);
}

.lp-mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--lp-slate-50);
  border-bottom: 1px solid var(--lp-slate-200);
}
.lp-mockup-tab {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  color: var(--lp-slate-500);
  background: transparent;
}
.lp-mockup-tab.active {
  background: var(--lp-slate-900);
  color: var(--lp-white);
}

.lp-mockup-rows {
  padding: 0;
}
.lp-mockup-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid #f3f4f6;
}
.lp-mockup-row:last-child {
  border-bottom: none;
}

/* Score badge in mockup */
.lp-mockup-score-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.lp-mockup-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}
.lp-score-urgent  { background: #fef2f2; color: #dc2626; }
.lp-score-high    { background: #fff7ed; color: #c2410c; }
.lp-score-mid     { background: #f0fdf4; color: #15803d; }
.lp-score-low     { background: #f9fafb; color: #d1d5db; }

.lp-mockup-deadline {
  font-size: 9px;
  font-weight: 600;
  color: #dc2626;
  letter-spacing: 0.02em;
}

/* Content column */
.lp-mockup-content {
  flex: 1;
  min-width: 0;
}
.lp-mockup-subject {
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-mockup-summary {
  font-size: 12px;
  color: var(--lp-slate-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Category pill in mockup */
.lp-mockup-cat {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  align-self: center;
}
.lp-cat-billing  { background: #fef3c7; color: #92400e; }
.lp-cat-inquiry  { background: #e8f0fe; color: #1a56db; }
.lp-cat-meeting  { background: #e0e7ff; color: #4338ca; }
.lp-cat-noise    { background: #f1f5f9; color: #94a3b8; }

/* Time in mockup */
.lp-mockup-time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--lp-slate-400);
  width: 42px;
  text-align: right;
  align-self: center;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.lp-proof {
  padding: 100px 0 40px;
  text-align: center;
}
.lp-proof-text {
  font-size: 14px;
  color: var(--lp-slate-400);
  letter-spacing: 0.01em;
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.lp-section {
  padding: 72px 0;
}
.lp-section-alt {
  background: var(--lp-slate-50);
  border-top: 1px solid var(--lp-slate-100);
  border-bottom: 1px solid var(--lp-slate-100);
}
.lp-section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lp-slate-900);
  margin-bottom: 16px;
  text-align: center;
}
.lp-section-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--lp-slate-500);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ============================================
   HOW IT WORKS — 3 Steps
   ============================================ */
.lp-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
.lp-step {
  flex: 0 1 240px;
  text-align: center;
}
.lp-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lp-blue-600);
  color: var(--lp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 16px;
}
.lp-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--lp-slate-900);
  margin-bottom: 8px;
}
.lp-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lp-slate-500);
}
.lp-step-arrow {
  color: var(--lp-slate-300);
  font-size: 24px;
  padding-top: 8px;
  flex-shrink: 0;
}

/* ============================================
   FEATURES — Hero Feature + 3 Secondary
   ============================================ */
.lp-feat-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
  margin-bottom: 48px;
}
.lp-feat-hero-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--lp-slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.lp-feat-hero-text > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--lp-slate-500);
  margin-bottom: 20px;
}
.lp-feat-bullets {
  list-style: none;
  padding: 0;
}
.lp-feat-bullets li {
  font-size: 14px;
  color: var(--lp-slate-700);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-feat-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-blue-600);
  flex-shrink: 0;
}

/* Score demo visual */
.lp-score-demo {
  background: var(--lp-white);
  border: 1px solid var(--lp-slate-200);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.lp-score-demo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--lp-slate-100);
}
.lp-score-demo-row:last-child {
  border-bottom: none;
}
.lp-demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.lp-demo-urgent { background: #fef2f2; color: #dc2626; }
.lp-demo-high   { background: #fff7ed; color: #c2410c; }
.lp-demo-mid    { background: #f0fdf4; color: #15803d; }
.lp-demo-low    { background: #f9fafb; color: #d1d5db; }
.lp-demo-label {
  font-size: 13px;
  color: var(--lp-slate-600);
}

/* Secondary features (3-col) */
.lp-features-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.lp-feature {
  padding: 28px;
  background: var(--lp-white);
  border: 1px solid var(--lp-slate-200);
  border-radius: var(--lp-radius);
  transition: border-color 200ms, box-shadow 200ms;
}
.lp-feature:hover {
  border-color: var(--lp-slate-300);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.lp-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-blue-50);
  color: var(--lp-blue-600);
  border-radius: var(--lp-radius);
  margin-bottom: 16px;
}
.lp-feature h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--lp-slate-900);
  margin-bottom: 8px;
}
.lp-feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lp-slate-500);
}

/* ============================================
   TRUST — 3 Cards
   ============================================ */
.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.lp-trust-card {
  text-align: center;
  padding: 32px 24px;
}
.lp-trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-blue-50);
  color: var(--lp-blue-600);
  border-radius: 50%;
  margin: 0 auto 16px;
}
.lp-trust-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--lp-slate-900);
  margin-bottom: 8px;
}
.lp-trust-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lp-slate-500);
}

/* ============================================
   OPT-IN DATA ANALYSIS
   ============================================ */
.lp-optin {
  text-align: center;
  max-width: 560px;
}
.lp-optin-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lp-blue-600);
  background: var(--lp-blue-50);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ============================================
   BETA / PRICING
   ============================================ */
.lp-beta-card {
  max-width: 440px;
  margin: 32px auto 0;
  background: var(--lp-white);
  border: 2px solid var(--lp-blue-600);
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
}
.lp-beta-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.lp-beta-price {
  font-size: 42px;
  font-weight: 700;
  color: var(--lp-slate-900);
  letter-spacing: -0.03em;
}
.lp-beta-period {
  font-size: 16px;
  color: var(--lp-slate-400);
  font-weight: 500;
}
.lp-beta-desc {
  font-size: 15px;
  color: var(--lp-slate-500);
  margin-bottom: 24px;
}
.lp-beta-includes {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 28px;
}
.lp-beta-includes li {
  font-size: 14px;
  color: var(--lp-slate-700);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--lp-slate-100);
}
.lp-beta-includes li:last-child {
  border-bottom: none;
}
.lp-beta-includes li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--lp-blue-50);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ============================================
   BOTTOM CTA
   ============================================ */
.lp-section-cta {
  text-align: center;
  padding: 80px 0;
  background: var(--lp-slate-900);
}
.lp-cta-headline {
  font-size: 28px;
  font-weight: 700;
  color: var(--lp-white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.lp-section-cta .lp-btn {
  background: var(--lp-white);
  color: var(--lp-slate-900);
}
.lp-section-cta .lp-btn:hover {
  background: var(--lp-slate-100);
}

/* ============================================
   FOOTER
   ============================================ */
.lp-footer {
  padding: 32px 0;
  border-top: 1px solid var(--lp-slate-100);
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-logo-footer { color: var(--lp-slate-900); }
.lp-footer-loc {
  font-size: 13px;
  color: var(--lp-slate-400);
}
.lp-footer-links {
  display: flex;
  gap: 20px;
}
.lp-footer-links a {
  font-size: 13px;
  color: var(--lp-slate-500);
  text-decoration: none;
  transition: color 200ms;
}
.lp-footer-links a:hover { color: var(--lp-slate-700); }
.lp-footer-contact {
  font-size: 13px;
  color: var(--lp-slate-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .lp-hero { padding: 80px 0 32px; }
  .lp-hero-h1 { font-size: 34px; }
  .lp-hero-sub { font-size: 16px; }
  .lp-section { padding: 48px 0; }
  .lp-section-title { font-size: 24px; }

  /* Mockup mobile */
  .lp-mockup {
    margin: 32px -12px 0;
    border-radius: 8px;
    transform: translateY(80px);
  }
  .lp-mockup.is-visible {
    transform: translateY(40px);
  }
  .lp-mockup-time { display: none; }
  .lp-mockup-row { padding: 12px 16px; gap: 10px; }
  .lp-mockup-bar { padding: 10px 16px; }
  .lp-mockup-subject { font-size: 12px; }
  .lp-mockup-summary { font-size: 11px; }
  .lp-mockup-cat { font-size: 10px; padding: 2px 8px; }

  /* Social proof */
  .lp-proof { padding: 72px 0 32px; }

  /* Steps */
  .lp-steps { flex-direction: column; align-items: center; }
  .lp-step-arrow { display: none; }
  .lp-step { flex-basis: auto; max-width: 300px; }

  /* Features */
  .lp-feat-hero { grid-template-columns: 1fr; gap: 32px; }
  .lp-features-secondary { grid-template-columns: 1fr; gap: 16px; }

  /* Trust */
  .lp-trust-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Beta */
  .lp-beta-card { padding: 28px 20px; }
  .lp-beta-price { font-size: 36px; }

  /* Bottom CTA */
  .lp-cta-headline { font-size: 24px; }

  /* Footer */
  .lp-footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .lp-mockup-cat { display: none; }
  .lp-mockup-score { width: 32px; height: 32px; font-size: 12px; border-radius: 6px; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .lp-btn { transition: none; }
  .lp-feature { transition: none; }
  .lp-nav-link { transition: none; }
  .lp-mockup { transition: none; opacity: 1; transform: translateY(60px); }
}

/* ============================================
   FOCUS STATES
   ============================================ */
.lp-btn:focus-visible,
.lp-nav-link:focus-visible,
.lp-footer-links a:focus-visible {
  outline: 2px solid var(--lp-blue-500);
  outline-offset: 2px;
}
