/* ===================================================================
   THE PAGES PEOPLE FIND FROM SEARCH (scripts/build_search_pages.js)
   Everything else on them comes from home.css, so they stay the same
   site as the homepage.
=================================================================== */
.lp .band { padding-top: 104px; }
.lp .band__head { margin-bottom: 30px; }
.lp .band__head--left p { max-width: 42rem; }

.lp-crumbs { margin-bottom: 18px; font-size: 14.5px; color: var(--muted); }
.lp-crumbs a { text-decoration: none; }
.lp-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the example call, where the homepage has its chat window ---------- */
.lp-call {
  max-width: 980px; margin: 0 auto;
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 0 0 1px rgba(20,50,120,.07), 0 50px 120px -30px rgba(24,74,210,.5);
  text-align: left;
}
.lp-call__bar { padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.lp-call__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.lp-call__talk { display: flex; flex-direction: column; gap: 14px; padding: 26px; font-size: 16px; color: var(--ink); }
.lp-call__line b { display: block; margin-bottom: 1px; font-size: 13px; font-weight: 500; color: var(--blue-deep); }
.lp-call__line.is-caller b { color: var(--muted); }
.lp-call__after { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 26px; background: var(--pale); }
.lp-call__label { font-size: 14px; font-weight: 500; color: var(--body); }
.lp-call__bubble { align-self: flex-start; padding: 11px 15px; border-radius: 18px 18px 18px 5px; background: #fff; border: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }

/* ---------- words ---------- */
.lp-prose { display: grid; gap: 18px; max-width: 42rem; font-size: 18px; color: var(--body); text-wrap: pretty; }
.lp-list + .lp-prose { margin-top: 22px; }
.lp-prose a, .lp-faq a { color: var(--blue-deep); text-underline-offset: 3px; }

.lp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; }
.lp-point { padding-top: 18px; border-top: 1px solid var(--line); }
.lp-point h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.012em; }
.lp-point p { margin-top: 6px; font-size: 15.5px; color: var(--body); text-wrap: pretty; }

.lp-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 30px; counter-reset: lp-step; }
.lp-steps li { position: relative; padding-top: 46px; font-size: 15.5px; color: var(--body); text-wrap: pretty; counter-increment: lp-step; }
.lp-steps li::before {
  content: counter(lp-step); position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-wash); color: var(--blue-deep); font-size: 15px; font-weight: 500;
}
.lp-steps b { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.012em; color: var(--ink); }

.lp-list { display: grid; gap: 12px; max-width: 42rem; font-size: 18px; color: var(--body); text-wrap: pretty; }
.lp-list li { position: relative; padding-left: 22px; }
.lp-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---------- comparison ---------- */
.lp-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.lp-table th, .lp-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; color: var(--body); }
.lp-table thead th { font-weight: 500; color: var(--ink); }
.lp-table tbody th { width: 31%; font-weight: 500; color: var(--ink); padding-left: 0; }
.lp-table .is-ours { background: var(--blue-wash); color: var(--ink); }
.lp-table thead .is-ours { border-radius: 14px 14px 0 0; color: var(--blue-deep); }
.lp-table tbody tr:last-child .is-ours { border-radius: 0 0 14px 14px; }
.lp-table tbody tr:last-child th, .lp-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- questions: opens without any script ---------- */
.lp-faq { border-bottom: 1px solid var(--line); }
.lp-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 44px; padding: 17px 2px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; flex: none; color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s; }
.lp-faq[open] summary::after { transform: rotate(45deg); }
.lp-faq p { padding: 0 2px 20px; color: var(--body); max-width: 40em; text-wrap: pretty; }

.lp-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-related a { padding: 18px; border: 1px solid var(--line); border-radius: 16px; font-size: 15px; color: var(--body); text-decoration: none; transition: border-color .15s, background-color .15s; }
.lp-related a:hover { border-color: #c9d6f5; background: var(--wash); }
.lp-related b { display: block; margin-bottom: 3px; font-size: 16.5px; font-weight: 500; color: var(--ink); }

/* The plan buttons here are links, so they need the look of the homepage's buttons. */
.lp .pricing__cta { display: flex; align-items: center; justify-content: center; text-decoration: none; }

@media (max-width: 1000px) {
  .lp-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lp .band { padding-top: 76px; }
  .lp-steps { grid-auto-flow: row; gap: 22px; }
}
@media (max-width: 720px) {
  .lp-call__body { grid-template-columns: minmax(0, 1fr); }
  .lp-call__talk, .lp-call__after { padding: 20px; }
  .lp-call__bar { padding: 12px 20px; }
  /* A table with three or four columns can't fit a phone: each row becomes its own block. */
  .lp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lp-table table, .lp-table tbody, .lp-table tr, .lp-table tbody th, .lp-table td { display: block; width: auto; }
  .lp-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .lp-table tbody tr:last-child { border-bottom: 0; }
  .lp-table tbody th { padding: 0 0 8px; border: 0; font-size: 16px; }
  .lp-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 7px 10px; border: 0; }
  .lp-table td::before { content: attr(data-label); color: var(--muted); font-size: 14.5px; }
  .lp-table td.is-ours, .lp-table tbody tr:last-child .is-ours { border-radius: 10px; }
  .lp-table td.is-ours::before { color: var(--blue-deep); font-weight: 500; }
}
@media (max-width: 520px) {
  .lp-points, .lp-related { grid-template-columns: minmax(0, 1fr); }
  .lp-prose, .lp-list { font-size: 17px; }
  .lp-call__talk { font-size: 15.5px; }
}
