/* Migrated from leads/templates/leads/landing.html: Landing page inline styles. */
:root {
  --lf-blue: #2563eb;
  --lf-purple: #7c3aed;
  --lf-ink: #0f172a;
  --lf-muted: #52637a;
  --lf-line: rgba(148, 163, 184, 0.24);
  --lf-card: rgba(255, 255, 255, 0.72);
  --lf-green: #16a34a;
  --lf-amber: #f59e0b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--lf-ink);
  background: #ffffff;
}

a { color: inherit; text-decoration: none; }

.landing-shell {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.public-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--lf-line);
  border-radius: 24px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background 0.24s ease, box-shadow 0.24s ease, backdrop-filter 0.24s ease;
}

.public-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.public-brand,
.public-links,
.public-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-brand-copy {
  display: grid;
  align-items: start;
  justify-items: start;
  gap: 3px;
  line-height: 1;
  text-align: left;
}

.public-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 50px;
  border-radius: 16px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.public-logo img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

.public-brand-name {
  display: block;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.public-brand-leads {
  display: inline;
  color: #2563eb;
}

.public-brand-flows {
  display: inline;
  color: #7c3aed;
}

.public-brand .public-brand-tagline {
  display: block;
  color: var(--lf-blue) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  text-align: left;
}

.public-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.public-links a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--lf-blue);
}

.public-button,
.landing-button {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  background: var(--lf-blue);
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.public-button.is-ghost,
.landing-button.is-ghost {
  background: transparent;
  color: var(--lf-blue);
}

.public-button.is-purple {
  border-color: rgba(124, 58, 237, 0.26);
  background: rgba(124, 58, 237, 0.1);
  color: var(--lf-purple);
}

.public-button.is-purple:hover {
  background: var(--lf-purple);
  color: #ffffff;
}

.landing-button.is-purple {
  border-color: rgba(124, 58, 237, 0.26);
  background: rgba(124, 58, 237, 0.1);
  color: var(--lf-purple);
}

.landing-button.is-purple:hover {
  background: var(--lf-purple);
  color: #ffffff;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: center;
  padding: 84px 0 56px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-kicker,
.section-kicker {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--lf-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  color: transparent;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
  padding-bottom: 0.08em;
  background: linear-gradient(105deg, var(--lf-blue) 0%, #1d4ed8 36%, var(--lf-purple) 72%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-copy h1.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.hero-copy p {
  margin: 0;
  max-width: 640px;
  color: var(--lf-muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metric,
.service-card,
.workflow-card,
.landing-plan-card {
  border: 1px solid var(--lf-line);
  border-radius: 22px;
  background: var(--lf-card);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.055);
}

.hero-metric {
  padding: 16px;
}

.hero-metric strong {
  display: block;
  font-size: 24px;
  font-weight: 950;
}

.hero-metric span {
  color: var(--lf-muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-product {
  position: relative;
  min-height: 560px;
}

.crm-stage {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--lf-line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(18px);
  animation: floatPanel 6s ease-in-out infinite;
}

.crm-slide {
  display: none;
  animation: slideIn 0.75s ease both;
}

.crm-slide.is-active {
  display: grid;
  gap: 16px;
}

.mock-header,
.mock-row,
.mock-card-grid {
  display: grid;
  gap: 12px;
}

.mock-header {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.mock-title strong {
  display: block;
  font-size: 22px;
  font-weight: 950;
}

.mock-title span {
  color: var(--lf-muted);
  font-size: 13px;
  font-weight: 800;
}

.mock-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--lf-green);
  font-size: 12px;
  font-weight: 950;
}

.mock-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mock-card,
.mock-row {
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.mock-card span,
.mock-row span {
  color: var(--lf-muted);
  font-size: 12px;
  font-weight: 850;
}

.mock-card strong,
.mock-row strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 950;
}

.mock-timeline {
  display: grid;
  gap: 10px;
}

.mock-row {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--lf-blue);
  box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.1);
}

.mock-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--lf-blue);
}

.landing-section {
  padding: 48px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  max-width: 760px;
  color: var(--lf-muted);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.workflow-card,
.landing-plan-card {
  padding: 22px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--lf-blue);
}

.service-card h3,
.workflow-card h3,
.landing-plan-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 950;
}

.service-card p,
.workflow-card p,
.landing-plan-card p {
  margin: 0;
  color: var(--lf-muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

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

.workflow-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--lf-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.landing-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-plan-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: 0;
}

.landing-plan-card.is-featured {
  border-color: rgba(37, 99, 235, 0.34);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.09), rgba(255, 255, 255, 0.72));
}

.public-footer {
  width: min(1200px, calc(100% - 36px));
  margin: 64px auto 0;
  padding: 34px 0 42px;
  border-top: 1px solid var(--lf-line);
}

.public-footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(2, minmax(150px, 0.7fr)) minmax(240px, 1fr);
  gap: 28px;
}

.public-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.public-footer-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
}

.public-footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.public-footer-brand strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.public-footer-brand strong span:first-child {
  color: var(--lf-blue);
}

.public-footer-brand strong span:last-child {
  color: var(--lf-purple);
}

.public-footer p {
  margin: 8px 0 0;
  color: var(--lf-muted);
  font-weight: 400;
  line-height: 1.55;
}

.public-footer h3 {
  margin: 0 0 12px;
  color: var(--lf-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-footer-links,
.public-footer-legal {
  display: grid;
  align-content: start;
  gap: 9px;
}

.public-footer a {
  color: var(--lf-muted);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.public-footer a:hover {
  color: #475569;
}

.public-footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--lf-muted);
  font-size: 13px;
  font-weight: 400;
}

.public-footer-bottom a {
  color: inherit;
  font-size: inherit;
}

.public-footer-bottom a:hover {
  color: #475569;
}

.public-footer-bottom span:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.login-modal[hidden] { display: none; }

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(12px);
}

.login-panel {
  position: relative;
  width: min(430px, 100%);
  display: grid;
  gap: 15px;
  padding: 34px 30px 30px;
  border: 1px solid var(--lf-line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
}

.login-brand {
  display: grid;
  justify-items: center;
  gap: 0;
  margin: -12px 0 4px;
}

.login-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 82px;
  overflow: visible;
}

.login-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.14));
}

.login-brand-name {
  display: none;
}

.login-field {
  position: relative;
  display: block;
}

.login-field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #7c3aed;
  transform: translateY(-50%);
  pointer-events: none;
}

.login-field-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.login-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 48px;
  border: 1px solid var(--lf-line);
  border-radius: 14px;
  color: var(--lf-ink);
  font: inherit;
  font-weight: 800;
}

.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--lf-line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.login-error {
  padding: 12px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-size: 13px;
  font-weight: 850;
}

.login-success {
  padding: 12px;
  border-radius: 14px;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  font-size: 13px;
  font-weight: 850;
}

.login-helper {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: var(--lf-muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.login-helper button {
  border: 0;
  background: transparent;
  color: var(--lf-blue);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  padding: 0;
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 980px) {
  .landing-hero,
  .service-grid,
  .workflow-grid,
  .landing-plan-grid {
    grid-template-columns: 1fr;
  }

  .public-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-product {
    min-height: 520px;
  }

  .public-links {
    display: none;
  }
}

@media (max-width: 620px) {
  .landing-shell {
    width: min(100% - 22px, 1200px);
  }

  .public-nav,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-footer {
    width: min(100% - 22px, 1200px);
  }

  .public-footer-inner {
    grid-template-columns: 1fr;
  }

  .public-footer-bottom {
    flex-direction: column;
  }

  .hero-metrics,
  .mock-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 680px;
  }
}

/* Privacy policy page */

.privacy-hero {
  display: grid;
  gap: 14px;
  max-width: 820px;
  padding: 86px 0 34px;
}

.privacy-kicker {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--lf-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  margin: 0;
  color: transparent;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  background: linear-gradient(105deg, var(--lf-blue) 0%, #1d4ed8 38%, var(--lf-purple) 78%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.privacy-hero p {
  margin: 0;
  color: var(--lf-muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 600;
}

.privacy-content {
  display: grid;
  gap: 18px;
  max-width: 900px;
  padding: 10px 0 54px;
}

.privacy-section {
  padding: 24px 0;
  border-top: 1px solid var(--lf-line);
}

.privacy-section h2 {
  margin: 0 0 10px;
  color: var(--lf-ink);
  font-size: 22px;
  letter-spacing: 0;
}

.privacy-section p,
.privacy-section li {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.privacy-section p { margin: 0; }

.privacy-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 620px) {
  .privacy-hero {
    padding-top: 58px;
  }
}
