/* =============================================================
   PROCESS BUILDER — Landing page styles
   Layered on top of the app's design tokens (styles.css).
   ============================================================= */

.lp {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: var(--letter-tight);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================================
   Nav
   ============================================================ */
.lp-nav {
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 85%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
}
.lp-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: var(--letter-display);
  color: var(--text-strong);
}
.lp-nav__mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-fg);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.04em;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1);
}
.lp-nav__links {
  display: flex;
  gap: 4px;
  margin-left: 16px;
}
.lp-nav__links a {
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color .12s, background .12s;
}
.lp-nav__links a:hover { color: var(--text); background: var(--surface-hover); }
.lp-nav__spacer { flex: 1; }
.lp-nav__login {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.lp-nav__login:hover { color: var(--text); background: var(--surface-hover); }

/* ============================================================
   Buttons (landing — slightly bigger than app buttons)
   ============================================================ */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s, transform .08s, box-shadow .12s;
  white-space: nowrap;
}
.lp-btn:active { transform: translateY(0.5px); }
.lp-btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), inset 0 -1px 0 rgba(0,0,0,0.1);
}
.lp-btn--primary:hover { background: var(--accent-hover); box-shadow: 0 4px 12px var(--accent-ring), inset 0 -1px 0 rgba(0,0,0,0.1); }
.lp-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.lp-btn--ghost:hover { background: var(--surface); border-color: var(--text-muted); }
.lp-btn--sm { height: 36px; padding: 0 16px; font-size: 13.5px; }

/* ============================================================
   Section scaffold
   ============================================================ */
.lp-section {
  padding: 96px 40px;
  position: relative;
}
.lp-section--tight { padding: 64px 40px; }
.lp-section--alt { background: var(--surface-2); }
.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.lp-container--narrow { max-width: 760px; }

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-hover);
  font-weight: 700;
  margin-bottom: 18px;
}
.lp-eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
}

.lp-section__head {
  text-align: center;
  margin-bottom: 56px;
}
.lp-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 16px;
  text-wrap: balance;
}
.lp-section__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ============================================================
   HERO A — Split layout
   ============================================================ */
.lp-heroA {
  padding: 88px 40px 64px;
  position: relative;
  overflow: hidden;
}
.lp-heroA__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 88% -10%, var(--accent-soft) 0%, transparent 55%),
    radial-gradient(700px 400px at 10% 100%, color-mix(in oklab, var(--phase-1) 8%, transparent) 0%, transparent 60%);
}
.lp-heroA__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.lp-heroA__copy { max-width: 600px; }
.lp-heroA__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--text-strong);
  margin: 0 0 22px;
  text-wrap: balance;
}
.lp-heroA__title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.lp-heroA__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 14px;
  background: var(--accent-soft-2);
  z-index: -1;
  border-radius: 4px;
}
.lp-heroA__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.lp-heroA__cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.lp-heroA__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.lp-heroA__trust-dots {
  display: flex;
  align-items: center;
}
.lp-heroA__trust-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--surface);
  margin-left: -6px;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}
.lp-heroA__trust-dot:first-child { margin-left: 0; }

/* Hero A — product visual */
.lp-heroA__visual {
  position: relative;
  perspective: 2400px;
}
.lp-heroA__frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 1px rgba(33,51,67,0.04),
    0 30px 60px -20px rgba(33,51,67,0.22),
    0 12px 28px -12px rgba(33,51,67,0.15);
  transform: rotate3d(1, -0.4, 0.05, 6deg) translateZ(0);
  transform-origin: center center;
}
.lp-heroA__frame--small {
  position: absolute;
  width: 280px;
  bottom: -28px;
  left: -36px;
  transform: rotate3d(1, -0.4, 0.05, 6deg) translateZ(0) rotate(-3deg);
  box-shadow:
    0 24px 48px -16px rgba(33,51,67,0.28),
    0 8px 16px -8px rgba(33,51,67,0.16);
}

/* ============================================================
   HERO B — Editorial centered + full-bleed product
   ============================================================ */
.lp-heroB {
  padding: 96px 40px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-heroB__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1000px 600px at 50% 0%, var(--accent-soft) 0%, transparent 55%);
}
.lp-heroB__inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.lp-heroB__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.lp-heroB__pill-tag {
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-heroB__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -0.038em;
  color: var(--text-strong);
  margin: 0 0 28px;
  text-wrap: balance;
}
.lp-heroB__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-family: 'Newsreader', Georgia, serif;
  letter-spacing: -0.025em;
}
.lp-heroB__lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 58ch;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.lp-heroB__cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-heroB__caption {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-faint);
}

/* Full-bleed product showcase */
.lp-fullbleed {
  position: relative;
  padding: 24px 40px 64px;
  background: linear-gradient(to bottom, transparent 0%, var(--surface-2) 100%);
}
.lp-fullbleed__frame {
  max-width: 1320px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 1px rgba(33,51,67,0.04),
    0 40px 80px -30px rgba(33,51,67,0.28),
    0 16px 32px -16px rgba(33,51,67,0.18);
  position: relative;
}
.lp-fullbleed__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--surface-2));
  pointer-events: none;
  z-index: 2;
}
.lp-browser-chrome {
  height: 38px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.lp-browser-chrome__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.lp-browser-chrome__url {
  margin-left: 16px;
  flex: 1;
  max-width: 280px;
  height: 22px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  padding: 0 10px;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.lp-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.lp-problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.lp-problem-card__quote {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 14px;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.lp-problem-card__quote::before {
  content: '“';
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 60px;
  line-height: 0;
  position: relative;
  top: 12px;
  margin-right: 2px;
  color: var(--accent);
  opacity: 0.55;
}
.lp-problem-card__attrib {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-problem-card__attrib-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-size: 10px;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.lp-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.lp-benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 28px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color .14s, box-shadow .14s, transform .14s;
}
.lp-benefit:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.lp-benefit__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bm-bg, var(--accent-soft));
  color: var(--bm-fg, var(--accent-hover));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
}
.lp-benefit__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 8px;
  line-height: 1.2;
  text-wrap: balance;
}
.lp-benefit__body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}

/* ============================================================
   SHOWCASE (mid-page deep-dive)
   ============================================================ */
.lp-showcase {
  padding: 96px 40px;
}
.lp-showcase__row {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-showcase__row + .lp-showcase__row {
  margin-top: 96px;
}
.lp-showcase__row--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
}
.lp-showcase__row--reverse .lp-showcase__copy {
  order: 2;
}
.lp-showcase__row--reverse .lp-showcase__visual {
  order: 1;
}
.lp-showcase__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-hover);
  font-weight: 700;
  margin-bottom: 14px;
}
.lp-showcase__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 14px;
  text-wrap: balance;
}
.lp-showcase__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}
.lp-showcase__visual {
  position: relative;
}
.lp-showcase__frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -24px rgba(33,51,67,0.22),
    0 10px 24px -10px rgba(33,51,67,0.12);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.lp-finalcta {
  padding: 80px 40px 100px;
}
.lp-finalcta__card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--text-strong);
  color: var(--surface);
  border-radius: 22px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(33,51,67,0.4);
}
.lp-finalcta__card::after {
  content: '';
  position: absolute;
  top: -100px; right: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle at center, var(--accent) 0%, transparent 65%);
  opacity: 0.6;
  pointer-events: none;
}
.lp-finalcta__inner {
  position: relative;
  max-width: 620px;
}
.lp-finalcta__title {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: white;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lp-finalcta__lede {
  font-size: 17px;
  line-height: 1.55;
  color: color-mix(in oklab, white 75%, transparent);
  margin: 0 0 30px;
  text-wrap: pretty;
}
.lp-finalcta__row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.lp-finalcta__row .lp-btn--primary {
  background: white;
  color: var(--text-strong);
}
.lp-finalcta__row .lp-btn--primary:hover { background: color-mix(in oklab, white 90%, var(--accent-hover) 10%); }
.lp-finalcta__row .lp-btn--ghost {
  color: white;
  border-color: color-mix(in oklab, white 30%, transparent);
}
.lp-finalcta__row .lp-btn--ghost:hover {
  background: color-mix(in oklab, white 8%, transparent);
  border-color: color-mix(in oklab, white 50%, transparent);
}

/* ============================================================
   FAQ
   ============================================================ */
.lp-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.lp-faq__item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.lp-faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.018em;
  margin-bottom: 10px;
  cursor: pointer;
}
.lp-faq__q-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 16px;
  font-weight: 600;
}
.lp-faq__a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 78ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.lp-footer {
  padding: 36px 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.lp-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}
.lp-footer__spacer { flex: 1; }
.lp-footer a { color: var(--text-muted); }
.lp-footer a:hover { color: var(--text); }
.lp-footer__links { display: flex; gap: 18px; }

/* ============================================================
   MINI PRODUCT MOCK (used inside .lp-heroA__frame--small)
   ============================================================ */
.lp-mini-step {
  padding: 18px 18px 20px;
}
.lp-mini-step__crumbs {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.lp-mini-step__title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--text-strong);
  margin: 0 0 10px;
}
.lp-mini-step__meta {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.lp-mini-step__line {
  height: 7px;
  background: var(--surface-2);
  border-radius: 3px;
  margin-bottom: 8px;
}
