/* LP2 — /lp2/ai-spend-management/ (paid landing page).
   Self-contained: V4 palette and type, square corners throughout per design direction. */

@import './tokens.css';

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-gray-950);
  background: var(--color-footer-bg);
  -webkit-font-smoothing: antialiased;
}

main { background: var(--color-white); }

img, svg { display: block; }

.lp2-container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--page-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* -- Shared type ------------------------------------------------------------ */

.lp2-eyebrow {
  margin: 0;
  color: var(--color-purple-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.96px;
}

.lp2-h2 {
  margin: 0;
  color: var(--color-gray-950);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.48px;
}

.lp2-h2 em { color: var(--color-purple-600); font-style: normal; }

.lp2-body { margin: 0; color: var(--color-gray-700); font-size: 16px; line-height: 1.5; }
.lp2-body--sm { font-size: 15px; }

.lp2-sectionhead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.lp2-sectionhead .lp2-h2 { font-size: 40px; line-height: 1.18; }
.lp2-sectionhead__sub { max-width: 620px; }

.lp2-textlink { color: var(--color-purple-600); font-size: 14px; font-weight: 600; text-decoration: none; }
.lp2-textlink:hover { text-decoration: underline; text-underline-offset: 3px; }

.lp2-btn--frosted {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.lp2-btn--frosted:hover { background: rgba(255, 255, 255, 0.2); }

/* -- Checklists -------------------------------------------------------------- */

.lp2-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp2-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-gray-700);
  font-size: 15px;
  line-height: 1.4;
}

.lp2-checklist svg { flex-shrink: 0; margin-top: 2px; }
.lp2-checklist--ondark li { color: rgba(255, 255, 255, 0.75); font-size: 14px; }

.lp2-iconlist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 4px 0 0 0;
  list-style: none;
}

.lp2-iconlist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-gray-950);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.lp2-iconchip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #eeedfe;
}

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

.lp2-hero {
  position: relative;
  padding-bottom: 96px;
  background-color: #241e7a;
  background-image: linear-gradient(180deg, #1a1560 0%, #241e7a 50%, #4038b8 100%);
}

.lp2-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70%;
  background-image: radial-gradient(ellipse 130% 100% at 50% 110%, rgba(142, 135, 254, 0.34) 0%, rgba(142, 135, 254, 0) 100%);
  pointer-events: none;
}

.lp2-band-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.lp2-hero__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.lp2-hero__split {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 64px;
}

.lp2-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  flex: 1 1 0;
  min-width: 0;
}

.lp2-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
}

.lp2-hero__eyebrow-dot { width: 6px; height: 6px; background: var(--color-purple-400); }

.lp2-hero__title {
  margin: 0;
  color: var(--color-white);
  font-size: 54px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -1.08px;
}

.lp2-hero__title em { color: #c9c4ff; font-style: normal; }

.lp2-hero__sub {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.18px;
}

/* -- Lead form ---------------------------------------------------------------- */

.lp2-formcard {
  width: 400px;
  flex-shrink: 0;
  padding: 32px;
  background: var(--color-white);
  box-shadow: 0 24px 60px rgba(10, 13, 40, 0.28);
}

.lp2-form { display: flex; flex-direction: column; gap: 16px; }

.lp2-form__head { display: flex; flex-direction: column; gap: 6px; }
.lp2-form__title { color: var(--color-gray-950); font-size: 20px; font-weight: 600; letter-spacing: -0.2px; }
.lp2-form__hint { color: #6b7585; font-size: 14px; line-height: 1.5; }

.lp2-form__field { display: flex; flex-direction: column; gap: 6px; }
.lp2-form__field label { color: var(--color-gray-700); font-size: 13px; font-weight: 500; }

.lp2-form__field input {
  height: 44px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid #e0e4ec;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-gray-950);
  background: var(--color-white);
}

.lp2-form__field input::placeholder { color: var(--color-gray-400); }
.lp2-form__field input:focus { outline: 2px solid var(--color-purple-600); outline-offset: 1px; border-color: transparent; }

.lp2-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 47px;
  border: 0;
  border-radius: 0;
  background: var(--color-purple-600);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lp2-form__submit:hover { background: var(--color-purple-700); }
.lp2-form__submit:disabled { background: var(--color-purple-300); cursor: default; }

.lp2-form__status { display: none; margin: 0; font-size: 13px; line-height: 1.4; color: #b3261e; }
.lp2-form__status.is-error { display: block; }

.lp2-form__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6b7585;
  font-size: 12px;
}

.lp2-form__success { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 8px; text-align: center; }
.lp2-form__success[hidden] { display: none; }
.lp2-form__success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #dcefe5;
}
.lp2-form__success-title { color: var(--color-gray-950); font-size: 18px; font-weight: 600; }
.lp2-form__success-body { margin: 0; color: #6b7585; font-size: 14px; }

/* Honeypot: visually removed for humans, present in the DOM for bots. */
.lp2-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -- Trust strip ---------------------------------------------------------------- */

.lp2-trust { padding: 64px 0 32px 0; background: var(--color-white); }
.lp2-trust__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.lp2-trust__label { margin: 0; color: var(--color-gray-950); font-size: 14px; font-weight: 500; letter-spacing: 0.5px; }
.lp2-trust__logos { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.lp2-trust__logos img { object-fit: contain; }

/* -- Story rows and dashboards ---------------------------------------------------- */

.lp2-story { padding: 56px 0 40px 0; background: var(--color-white); }
.lp2-story__row { display: flex; align-items: center; gap: 64px; }
.lp2-story--reverse .lp2-story__row { flex-direction: row-reverse; }

.lp2-story__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 0 1 520px;
}

.lp2-story__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 20px;
  background: linear-gradient(233deg, #fdf2f9 5.7%, #dbeafe 41%, #dfddff 68.4%, #fdf2f8 96.3%);
}

.lp2-story__panel > img { width: 100%; height: auto; box-shadow: 0 2px 16px rgba(10, 13, 18, 0.08); }

.lp2-dash {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 22px;
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(10, 13, 18, 0.08);
}

.lp2-dash__header { display: flex; align-items: center; justify-content: space-between; }
.lp2-dash__title { color: var(--color-gray-950); font-size: 14px; font-weight: 600; }
.lp2-dash__meta { color: #6b7585; font-size: 11px; }
.lp2-dash__kicker { color: #6b7585; font-size: 10px; font-weight: 500; letter-spacing: 0.6px; }

.lp2-ledgergrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp2-ledgercol { display: flex; flex-direction: column; gap: 10px; }

.lp2-bar { display: flex; flex-direction: column; gap: 4px; }
.lp2-bar__row { display: flex; align-items: center; justify-content: space-between; }
.lp2-bar__row span { color: var(--color-gray-700); font-size: 12px; }
.lp2-bar__row strong { color: var(--color-gray-950); font-size: 12px; font-weight: 600; }
.lp2-bar__track { width: 100%; height: 5px; background: var(--color-gray-50); }
.lp2-bar__fill { height: 5px; background: var(--color-purple-600); }
.lp2-bar__fill--soft { background: var(--color-purple-300); }

.lp2-dash__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--color-gray-50);
}

.lp2-dash__ok { color: #1b8a5a; font-size: 12px; font-weight: 600; }
.lp2-dash__warn { padding: 4px 10px; background: #fdf2e0; color: #b26a00; font-size: 11px; font-weight: 500; }

.lp2-kpis { display: flex; gap: 10px; }
.lp2-kpi { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; padding: 12px; background: var(--color-section-muted); }
.lp2-kpi__row { display: flex; align-items: baseline; gap: 6px; }
.lp2-kpi__value { color: var(--color-gray-950); font-size: 20px; font-weight: 600; letter-spacing: -0.2px; }
.lp2-kpi__delta { color: #1b8a5a; font-size: 11px; font-weight: 500; }

.lp2-workflows { display: flex; flex-direction: column; }
.lp2-workflows .lp2-dash__kicker { padding: 4px 0 8px 0; }
.lp2-workflow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--color-gray-50);
}
.lp2-workflow span { color: var(--color-gray-700); font-size: 13px; }
.lp2-workflow strong { color: var(--color-gray-950); font-size: 13px; font-weight: 600; text-align: right; }

.lp2-story--coverage { padding-bottom: 56px; }

/* -- Mid capture band --------------------------------------------------------------- */

.lp2-midband { padding: 72px 0; background: var(--color-section-muted); }
.lp2-midband__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.lp2-midband__title { max-width: 680px; font-size: 32px; text-align: center; }
.lp2-formcard--mid { width: 480px; padding: 28px; box-shadow: 0 8px 32px rgba(10, 13, 40, 0.08); }

/* -- First-scan alerts ---------------------------------------------------------------- */

.lp2-scan { padding: 96px 0 40px 0; background: var(--color-white); }
.lp2-scan__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.lp2-scan__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }

.lp2-scancard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  background: var(--color-section-muted);
}

.lp2-scancard__kicker { margin: 0; color: var(--color-purple-600); font-size: 11px; font-weight: 600; letter-spacing: 0.88px; }
.lp2-scancard__title { margin: 0; color: var(--color-gray-950); font-size: 16px; font-weight: 600; letter-spacing: -0.16px; }
.lp2-scancard__body { margin: 0; color: var(--color-gray-700); font-size: 13px; line-height: 1.5; }
.lp2-scancard img { width: 100%; height: auto; margin-top: 4px; box-shadow: 0 2px 12px rgba(10, 13, 18, 0.07); }

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

.lp2-faq { padding: 24px 0 112px 0; background: var(--color-white); }
.lp2-faq__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.lp2-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }

.lp2-faqcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--color-gray-100);
  background: var(--color-white);
}

.lp2-faqcard__q { margin: 0; color: var(--color-gray-950); font-size: 17px; font-weight: 600; letter-spacing: -0.17px; }
.lp2-faqcard__a { margin: 0; color: var(--color-gray-700); font-size: 14px; line-height: 1.6; }

/* -- Closing band ------------------------------------------------------------------------ */

.lp2-closer {
  position: relative;
  padding: 96px 0;
  background-color: #312aa0;
  background-image: linear-gradient(180deg, #312aa0 0%, #4038b8 100%);
}

.lp2-closer::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80%;
  background-image: radial-gradient(ellipse 120% 100% at 50% 115%, rgba(142, 135, 254, 0.32) 0%, rgba(142, 135, 254, 0) 100%);
  pointer-events: none;
}

.lp2-closer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.lp2-closer__kicker { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 12px; font-weight: 600; letter-spacing: 0.96px; }

.lp2-closer__title {
  margin: 0;
  color: var(--color-white);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.32px;
}

.lp2-closer__title em { color: #c9c4ff; font-style: normal; }

.lp2-formcard--closer { width: 480px; padding: 28px; box-shadow: 0 24px 60px rgba(10, 13, 40, 0.28); }
.lp2-closer__fineprint { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 12px; }

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

.lp2-footer { padding: 56px 0 72px 0; background: var(--color-footer-bg); }
.lp2-footer__inner { display: flex; align-items: center; justify-content: space-between; }
.lp2-footer__left { display: flex; align-items: center; gap: 20px; color: var(--color-footer-muted); font-size: 13px; }
.lp2-footer__right { display: flex; align-items: center; gap: 24px; }
.lp2-footer__right a { color: var(--color-footer-muted); font-size: 13px; text-decoration: none; }
.lp2-footer__right a:hover { color: var(--color-white); }

/* -- Responsive ------------------------------------------------------------------------------ */

@media (max-width: 1024px) {
  .lp2-hero__title { font-size: 44px; letter-spacing: -0.88px; }
  .lp2-scan__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp2-story__row { flex-direction: column; align-items: stretch; gap: 32px; }
  .lp2-story--reverse .lp2-story__row { flex-direction: column; }
  .lp2-story__copy { flex-basis: auto; }
}

@media (max-width: 768px) {
  .lp2-hero { padding-bottom: 48px; }
  .lp2-hero__split { flex-direction: column; align-items: stretch; gap: 32px; padding-top: 32px; }
  .lp2-hero__title { font-size: 34px; letter-spacing: -0.68px; }
  .lp2-hero__sub { font-size: 16px; }
  .lp2-formcard, .lp2-formcard--mid, .lp2-formcard--closer { width: 100%; padding: 24px; }

  .lp2-trust { padding-top: 40px; }
  .lp2-trust__label { font-size: 12px; }
  .lp2-trust__logos { justify-content: space-between; }
  .lp2-trust__logos img { height: 15px; width: auto; }

  /* Mobile reads ROI before the ledger. */
  .lp2-dashboards { display: flex; flex-direction: column-reverse; }

  .lp2-h2 { font-size: 26px; letter-spacing: -0.39px; }
  .lp2-sectionhead .lp2-h2 { font-size: 26px; }
  .lp2-story { padding: 40px 0 24px 0; }
  .lp2-kpis { flex-direction: column; }
  .lp2-kpi { flex-direction: row; align-items: center; justify-content: space-between; }
  .lp2-ledgergrid { grid-template-columns: 1fr; gap: 16px; }

  .lp2-midband { padding: 48px 0; }
  .lp2-midband__title { font-size: 24px; }

  .lp2-scan { padding: 48px 0 24px 0; }
  .lp2-scan__grid { grid-template-columns: 1fr; }

  .lp2-faq { padding-bottom: 56px; }
  .lp2-faq__grid { grid-template-columns: 1fr; }
  .lp2-faqcard { padding: 20px; }

  .lp2-closer { padding: 56px 0; }
  .lp2-closer__title { font-size: 26px; }

  .lp2-footer { padding: 44px 0 60px 0; }
  .lp2-footer__inner { flex-direction: column; gap: 14px; }
}

/* -- Anomaly panel (LLM cost page) --------------------------------------------------- */

.lp2-spark { display: flex; align-items: flex-end; gap: 5px; height: 120px; }
.lp2-spark__col { flex: 1 1 0; min-height: 6px; background: var(--color-purple-300); }
.lp2-spark__col--spike { background: #b26a00; }

.lp2-routes { display: flex; flex-direction: column; }
.lp2-routes .lp2-dash__kicker { padding: 4px 0 8px 0; }
.lp2-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--color-gray-50);
}
.lp2-route span { color: var(--color-gray-700); font-size: 13px; }
.lp2-route strong { color: #b26a00; font-size: 13px; font-weight: 600; text-align: right; }

/* -- Closer sub line (FinOps / LLM pages) -------------------------------------------- */

.lp2-closer__sub { margin: 0; max-width: 620px; color: rgba(255, 255, 255, 0.75); font-size: 15px; line-height: 1.5; }

/* -- Integration pages: problem trio + annotated product shot ------------------------ */

.lp2-problems { padding: 72px 0 24px 0; background: var(--color-white); }
.lp2-problems__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.lp2-problems__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
.lp2-problemcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--color-gray-100);
  background: var(--color-white);
}
.lp2-problemcard__kicker { margin: 0; color: var(--color-purple-600); font-size: 11px; font-weight: 600; letter-spacing: 0.88px; }
.lp2-problemcard__q { margin: 0; color: var(--color-gray-950); font-size: 17px; font-weight: 600; letter-spacing: -0.17px; line-height: 1.35; }
.lp2-problemcard__a { margin: 0; color: var(--color-gray-700); font-size: 14px; line-height: 1.55; }

.lp2-shot { padding: 72px 0 40px 0; background: var(--color-white); }
.lp2-shot__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.lp2-shot__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; width: 100%; }
.lp2-shot__panel {
  padding: 20px;
  background: linear-gradient(233deg, #fdf2f9 5.7%, #dbeafe 41%, #dfddff 68.4%, #fdf2f8 96.3%);
}
.lp2-notes { display: flex; flex-direction: column; gap: 12px; }
.lp2-note { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--color-gray-100); background: var(--color-white); }
.lp2-note__body { color: var(--color-gray-700); font-size: 13px; line-height: 1.5; }
.lp2-note__body strong { color: var(--color-gray-950); font-weight: 600; }
.lp2-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-purple-600);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.lp2-marker--inline { width: 16px; height: 16px; font-size: 10px; margin-left: 6px; }
.lp2-kpi__delta--warn { color: #b26a00; }

@media (max-width: 1024px) {
  .lp2-problems__grid { grid-template-columns: 1fr; }
  .lp2-shot__row { grid-template-columns: 1fr; }
}

/* -- Hero partner lockup + surface chips (integration pages) ------------------------- */

.lp2-hero__lockup { display: flex; align-items: center; gap: 14px; }
.lp2-hero__lockup-x { color: rgba(255, 255, 255, 0.55); font-size: 16px; line-height: 1; }

.lp2-chips { padding: 8px 0 48px 0; background: var(--color-white); }
.lp2-chips__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lp2-chips__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp2-chip {
  padding: 8px 14px;
  border: 1px solid var(--color-gray-100);
  background: var(--color-white);
  color: var(--color-gray-950);
  font-size: 13px;
  font-weight: 500;
}
.lp2-chips__note { margin: 0; max-width: 660px; color: var(--color-gray-700); font-size: 14px; line-height: 1.55; text-align: center; }

@media (max-width: 768px) {
  .lp2-hero__header { flex-wrap: wrap; gap: 10px 16px; }
  .lp2-hero__lockup { gap: 10px; }
  .lp2-hero__lockup img[width="139"] { width: 110px; height: 21px; }
  .lp2-hero__partner { width: auto; height: 16px; }
}

/* -- Integration pages: eyebrow icon, hero note, dash icon, steps -------------------- */

.lp2-hero__eyebrow-icon { display: block; }
.lp2-hero__note { margin: 0; color: var(--color-white); font-size: 16px; font-weight: 600; letter-spacing: -0.16px; }
.lp2-dash__icon { display: inline-block; vertical-align: -2px; margin-right: 7px; }

.lp2-steps { padding: 72px 0 40px 0; background: var(--color-white); }
.lp2-steps__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.lp2-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
.lp2-stepcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--color-gray-100);
  background: var(--color-white);
}
.lp2-stepnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-purple-600);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.lp2-stepcard__title { margin: 0; color: var(--color-gray-950); font-size: 16px; font-weight: 600; letter-spacing: -0.16px; }
.lp2-stepcard__body { margin: 0; color: var(--color-gray-700); font-size: 14px; line-height: 1.55; }

@media (max-width: 1024px) {
  .lp2-steps__grid { grid-template-columns: 1fr; }
}

.lp2-hero__partner-name { color: var(--color-white); font-size: 17px; font-weight: 600; letter-spacing: -0.2px; }

.lp2-chips__note a { color: var(--color-purple-600); font-weight: 500; text-decoration: none; }
.lp2-chips__note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* -- Full site footer on integration pages ------------------------------------------- */

.site-footer a { color: inherit; text-decoration: none; }

.site-footer .container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--page-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* -- Workday page: org P&L table, why-now stats, build-vs-buy ------------------------ */

.lp2-orgtable { width: 100%; padding: 20px; background: linear-gradient(233deg, #fdf2f9 5.7%, #dbeafe 41%, #dfddff 68.4%, #fdf2f8 96.3%); }
.lp2-orgtable__card { background: var(--color-white); box-shadow: 0 2px 16px rgba(10, 13, 18, 0.08); padding: 22px; }
.lp2-orgtable__label { margin: 0 0 14px; color: #6b7585; font-size: 11px; font-weight: 600; letter-spacing: 0.88px; }
.lp2-orgtable__row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 0.8fr 0.9fr 1.4fr;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border-top: 1px solid var(--color-gray-50);
}
.lp2-orgtable__row--head { border-top: 0; padding-top: 0; color: #6b7585; font-size: 11px; font-weight: 500; }
.lp2-orgtable__row--flag { background: #fdf1f0; }
.lp2-orgtable__org { color: var(--color-gray-950); font-size: 13px; font-weight: 600; }
.lp2-orgtable__cell { color: var(--color-gray-700); font-size: 13px; }
.lp2-orgtable__cell--spend { color: var(--color-gray-950); font-weight: 600; }
.lp2-chippos, .lp2-chipneg { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 600; }
.lp2-chippos { background: #dcefe5; color: #1b8a5a; }
.lp2-chipneg { background: #fdf2e0; color: #b26a00; }

.lp2-stats { display: flex; flex-direction: column; }
.lp2-statrow { display: flex; align-items: baseline; gap: 20px; padding: 14px 0; border-top: 1px solid var(--color-gray-100); }
.lp2-statrow:first-child { border-top: 0; padding-top: 0; }
.lp2-statrow__num { flex-shrink: 0; width: 92px; color: #b3261e; font-size: 34px; font-weight: 600; letter-spacing: -0.5px; }
.lp2-statrow__num--good { color: #1b8a5a; }
.lp2-statrow__text { color: var(--color-gray-700); font-size: 14px; line-height: 1.5; }
.lp2-stats__source { margin-top: 12px; padding: 10px 12px; background: var(--color-section-muted); color: #6b7585; font-size: 12px; }

.lp2-vs { padding: 72px 0 40px 0; background: var(--color-white); }
.lp2-vs__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.lp2-vs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }
.lp2-vscard { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px; border: 1px solid var(--color-gray-100); background: var(--color-white); }
.lp2-vscard__title { margin: 0; color: var(--color-gray-950); font-size: 16px; font-weight: 600; letter-spacing: -0.16px; }
.lp2-vscard__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--color-gray-50); font-size: 13px; }
.lp2-vscard__key { color: #6b7585; }
.lp2-vscard__key--us { color: var(--color-purple-600); font-weight: 600; }
.lp2-vscard__val { color: var(--color-gray-700); text-align: right; }
.lp2-vscard__val--strong { color: var(--color-gray-950); font-weight: 600; }

@media (max-width: 1024px) {
  .lp2-vs__grid { grid-template-columns: 1fr; }
  .lp2-orgtable__row { grid-template-columns: 1.4fr 0.7fr 0.9fr 0.7fr 0.8fr 1.3fr; gap: 8px; }
}
@media (max-width: 768px) {
  .lp2-orgtable { overflow-x: auto; }
  .lp2-orgtable__card { min-width: 640px; }
  .lp2-statrow__num { width: 72px; font-size: 28px; }
}

/* -- Workday ledger composite: spend + org = impact (faithful to Figma card) --------- */

.lp2-tl { display: flex; flex-direction: column; gap: 22px; padding: 28px; background: var(--color-white); box-shadow: 0 2px 16px rgba(10, 13, 18, 0.08); }
.lp2-tl__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lp2-tl__title { color: var(--color-gray-950); font-size: 20px; font-weight: 600; letter-spacing: -0.2px; }
.lp2-tl__formula { color: #6b7585; font-family: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace; font-size: 13px; letter-spacing: 0.8px; }
.lp2-tl__grid { display: grid; grid-template-columns: 1fr 56px 1.15fr; align-items: stretch; }
.lp2-tl__col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lp2-tl__connector { align-self: center; width: 100%; height: 320px; }
.lp2-tl__panel { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px; border: 1px solid #e4e7ec; }
.lp2-tl__panelhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp2-tl__panellabel { color: var(--color-gray-950); font-size: 18px; font-weight: 600; }
.lp2-tl__panelnote { color: #6b7585; font-size: 13px; }
.lp2-tl__mono { color: #475467; font-family: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.4px; }
.lp2-tl__dims { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.lp2-tl__bars { display: flex; flex-direction: column; gap: 13px; }
.lp2-tl__bar { display: grid; grid-template-columns: 148px 1fr 62px; align-items: center; gap: 14px; }
.lp2-tl__barlabel { color: #344054; font-family: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace; font-size: 11.5px; letter-spacing: 0.3px; white-space: nowrap; }
.lp2-tl__track { height: 12px; background: #e4e7ec; overflow: hidden; }
.lp2-tl__seg { display: block; height: 100%; }
.lp2-tl__barvalue { color: var(--color-gray-950); font-family: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace; font-size: 13px; font-weight: 600; text-align: right; }
.lp2-tl__metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e4e7ec; }
.lp2-tl__metric { padding: 16px 18px; }
.lp2-tl__metric + .lp2-tl__metric { border-left: 1px solid #e4e7ec; }
.lp2-tl__metricname { margin: 0 0 8px; color: var(--color-gray-950); font-size: 14px; font-weight: 600; }
.lp2-tl__metricvalue { margin: 0; color: #1b8a5a; font-size: 32px; font-weight: 600; letter-spacing: -0.5px; }
.lp2-tl__metricsub { margin: 4px 0 0; color: #6b7585; font-size: 12px; }
.lp2-tl__teams { display: flex; flex-direction: column; gap: 0; padding: 18px 22px; border: 1px solid #e4e7ec; }
.lp2-tl__teamstitle { margin: 0 0 6px; color: var(--color-gray-950); font-size: 16px; font-weight: 600; }
.lp2-tl__teamrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #eef1f5; }
.lp2-tl__teamname { color: var(--color-gray-700); font-size: 15px; }
.lp2-tl__teamchip { padding: 6px 12px; background: #dcefe5; color: #1b8a5a; font-family: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace; font-size: 12px; font-weight: 600; }

@media (max-width: 1024px) {
  .lp2-tl__grid { grid-template-columns: 1fr; gap: 18px; }
  .lp2-tl__connector { display: none; }
  .lp2-tl__bar { grid-template-columns: 130px 1fr 58px; gap: 10px; }
  .lp2-tl__metricvalue { font-size: 26px; }
}

/* -- Rippling comparison table (Workday page) ---------------------------------------- */

.lp2-cmp { width: 100%; border: 1px solid var(--color-gray-100); background: var(--color-white); }
.lp2-cmp__row { display: grid; grid-template-columns: 0.8fr 1fr 1.2fr; border-top: 1px solid var(--color-gray-50); }
.lp2-cmp__row:first-child { border-top: 0; }
.lp2-cmp__cell { padding: 14px 18px; color: var(--color-gray-700); font-size: 14px; line-height: 1.5; }
.lp2-cmp__cell--label { color: #6b7585; font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; }
.lp2-cmp__cell--us { background: #f4f3ff; color: var(--color-gray-950); font-weight: 500; }
.lp2-cmp__row--head .lp2-cmp__cell { color: var(--color-gray-950); font-size: 14px; font-weight: 600; }
.lp2-cmp__source { margin: 12px 0 0; color: #6b7585; font-size: 12px; }

@media (max-width: 768px) {
  .lp2-cmp__row { grid-template-columns: 1fr; }
  .lp2-cmp__cell--label { padding-bottom: 0; }
  .lp2-cmp__row { padding-bottom: 6px; }
}
