/* Service landing pages (meridian-presence, ai-seo, google-business-profile). SEO task 03, 2026-10-08.
   Started from the reviewed draft's styles; black, white and greys only, max weight 500. */
.lp { position: relative; z-index: 1; background: #fff; color: #000; padding-bottom: clamp(72px, 9vw, 140px); }  /* above the pinned footer curtain */
.lp-hero { padding: clamp(140px, 14vw, 200px) 0 clamp(48px, 6vw, 90px); }
.lp-crumb { margin: 0 0 28px; padding: 0; list-style: none; display: flex; gap: 8px; font-size: 14px; color: #6e6e73; }
.lp-crumb li + li::before { content: "/"; margin-right: 8px; }
.lp-crumb a { color: #6e6e73; }
.lp-kick { margin: 0 0 18px; font-size: 16px; color: #6e6e73; }
.lp-hero h1 { margin: 0; max-width: 1050px; font-size: clamp(48px, 7vw, 112px); line-height: .95; letter-spacing: -.05em; font-weight: 500; }
.lp-sub { margin: 28px 0 0; max-width: 720px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: #48484a; }
.lp-hero .buttons-flex-container { margin-top: 36px; gap: 12px; flex-wrap: wrap; }
.lp-blk { padding: clamp(56px, 7vw, 110px) 0 0; }
.lp-blk h2 { margin: 0 0 clamp(24px, 3vw, 40px); max-width: 1000px; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.lp-lede { margin: -12px 0 32px; max-width: 680px; font-size: 19px; line-height: 1.5; color: #48484a; }
.lp-t, .lp-list li { max-width: 760px; font-size: 18px; line-height: 1.6; color: #2c2c2e; }
.lp-list { margin: 0; padding-left: 20px; }
.lp-more { margin: 28px 0; font-size: 18px; }
.lp-more a { color: #000; }
.lp-blk .buttons-flex-container { gap: 12px; flex-wrap: wrap; }

.lp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-card { display: flex; flex-direction: column; padding: 28px 26px 30px; border-radius: 28px; background: #f5f5f7; }
.lp-card h3 { margin: 0 0 auto; padding-bottom: 28px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -.05em; font-weight: 500; color: #000; }
.lp-card h3 a { color: inherit; text-decoration: none; }
.lp-card h3 a:hover { text-decoration: underline; }
.lp-card p { margin: 0; font-size: 16px; line-height: 1.45; color: #48484a; }
.lp-card ul { margin: 14px 0 0; padding-left: 18px; }
.lp-card li { font-size: 15px; line-height: 1.5; color: #48484a; }

.lp-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-step { padding: 28px; border-radius: 26px; background: #f5f5f7; }
.lp-step small { display: block; margin-bottom: 28px; font-size: 14px; color: #6e6e73; }
.lp-step h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.02em; font-weight: 500; }
.lp-step p { margin: 0; font-size: 16px; line-height: 1.5; color: #48484a; }

.lp-prom { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-prom > div { padding: 32px; border-radius: 28px; }
.lp-prom .y { background: #000; color: #fff; }
.lp-prom .n { background: #f5f5f7; }
.lp-prom h3 { margin: 0 0 18px; font-size: 24px; font-weight: 500; color: inherit; }
.lp-prom ul { margin: 0; padding-left: 20px; }
.lp-prom li { font-size: 17px; line-height: 1.7; }
.lp-prom .n li { text-decoration: line-through; color: #6e6e73; }
.lp-prom .n p { margin: 18px 0 0; font-size: 15px; color: #48484a; }

.lp-work { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.lp-work a { display: block; color: #000; text-decoration: none; }
.lp-work img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin-bottom: 12px; border: 1px solid #e5e5ea; border-radius: 14px; }
.lp-work .nm { font-size: 17px; font-weight: 500; }
.lp-work .yr { margin: 2px 0 6px; font-size: 14px; color: #6e6e73; }
.lp-work .ds { font-size: 15px; line-height: 1.5; color: #48484a; }

.lp-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-faq > div { padding: 26px; border-radius: 24px; background: #f5f5f7; }
.lp-faq h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; font-weight: 500; }
.lp-faq p { margin: 0; font-size: 16px; line-height: 1.55; color: #48484a; }

.lp-cta { margin-top: clamp(72px, 9vw, 140px); padding: clamp(56px, 7vw, 100px) 0; background: #000; color: #fff; }
.lp-cta h2 { margin: 0 0 14px; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 500; color: #fff; }
.lp-cta p { max-width: 640px; margin: 0 0 28px; font-size: 19px; color: #c7c7cc; }
.lp-cta .buttons-flex-container { gap: 12px; flex-wrap: wrap; }
.lp:has(.lp-cta) { padding-bottom: 0; }

@media (max-width: 991px) {
  .lp-cards, .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cards.c3 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .lp-hero { padding-top: 120px; }
  .lp-cards, .lp-steps, .lp-prom, .lp-faq { grid-template-columns: 1fr; }
  .lp-card h3 { padding-bottom: 20px; }
}

/* Fact tiles (mortgage page, task 04; three tiles since 2026-10-08, the 13 programs count was dropped) */
.lp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; }
.lp-facts > div { padding: 24px; border-radius: 22px; background: #f5f5f7; }
.lp-facts .n { display: block; font-size: 44px; line-height: 1.1; letter-spacing: -.04em; font-weight: 500; color: #000; }
.lp-facts .l { font-size: 15px; line-height: 1.45; color: #48484a; }
@media (max-width: 767px) { .lp-facts { grid-template-columns: 1fr; } }

/* Blog posts and index (task 05). Emphasis stays plain text: no bold anywhere. */
.lp-post-wrap { padding: clamp(140px, 14vw, 200px) 0 clamp(72px, 9vw, 140px); }
.lp-post { max-width: 760px; }
.lp-post h1 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.lp-post .lp-byline { margin: 18px 0 40px; font-size: 15px; line-height: 1.45; color: #6e6e73; }   /* .lp-post scope: .lp-post p overrode it to 19px dark (mobile plan #6) */
.lp-post h2 { margin: 48px 0 14px; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.lp-post h3 { margin: 28px 0 8px; font-size: 22px; line-height: 1.3; font-weight: 500; }
.lp-post p, .lp-post li { font-size: 19px; line-height: 1.65; color: #2c2c2e; }
.lp-post p { margin: 0 0 16px; }
.lp-post ul, .lp-post ol { margin: 0 0 16px; padding-left: 22px; }
.lp-post a { color: #000; }
.lp-table { overflow-x: auto; margin: 20px 0; }
.lp-table table { width: 100%; border-collapse: collapse; }
.lp-table th, .lp-table td { padding: 10px 12px; border-bottom: 1px solid #e5e5ea; text-align: left; vertical-align: top; font-size: 17px; font-weight: 400; line-height: 1.45; }
.lp-table thead th, .lp-table tbody th { font-weight: 500; }
.lp-blk-tight { padding-top: 0; }
.lp-bloglist { margin: 0; padding: 0; list-style: none; max-width: 860px; border-top: 1px solid #e5e5ea; }
.lp-bloglist li { padding: 28px 0; border-bottom: 1px solid #e5e5ea; }
.lp-bloglist h2 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.lp-bloglist h2 a { color: #000; text-decoration: none; }
.lp-bloglist h2 a:hover { text-decoration: underline; }
.lp-bloglist p { margin: 0; max-width: 700px; font-size: 17px; line-height: 1.5; color: #48484a; }
.lp-bloglist .lp-date { margin-top: 10px; font-size: 14px; color: #6e6e73; }
@media (max-width: 767px) { .lp-post-wrap { padding-top: 120px; } }

/* Mobile fix (Evan picked it in the mobile review, 2026-10-12), #4: clip the hero mockups' entrance offsets so the page is never wider than the phone (it scrolled sideways
   on Meridian Presence, Google Business Profile and Fort Lauderdale). */
.lp-hero { overflow-x: clip; }

/* UX review 2 (Evan picked it, 2026-10-12). #26: every post ends with two related posts and the two site buttons
   (outside .lp-post, so its link colour does not turn the black button's text black). */
.lp-next { max-width: 760px; margin-top: 64px; }
.lp-next > h2 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.lp-next .lp-bloglist li { padding: 22px 0; }
.lp-next .lp-bloglist h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.lp-next .lp-bloglist h3 a { color: #000; text-decoration: none; }
.lp-next .lp-bloglist p { font-size: 16px; }
.lp-next .buttons-flex-container { margin-top: 32px; gap: 12px; flex-wrap: wrap; }
/* #34: the whole blog row is the link, not only the title line. */
.lp-bloglist li { position: relative; }
.lp-bloglist :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.lp-bloglist li:hover :is(h2, h3) a { text-decoration: underline; }
/* #35: on phones the breadcrumb stays on one line; the page title (the heading right below) shortens with "...". */
@media (max-width: 767px) {
  .lp-crumb { flex-wrap: nowrap; white-space: nowrap; }
  .lp-crumb li[aria-current] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
/* #36: Recent work runs 2 by 2 on tablets (was 3 plus 1), and each live site shows it opens in a new tab. */
@media (min-width: 768px) and (max-width: 1199px) { .lp-work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-work a[target="_blank"] .nm::after { content: "\2009\2197"; color: #6e6e73; }

/* ---- Mobile plan (Evan picked, 2026-10-12). Phones only unless noted. ---- */
.lp-inc > summary { display: none; }   /* Presence "What's included": desktop shows the bullets as before */
@media (max-width: 767px) {
  /* Presence (#36): Recent work in 2 columns; descriptions hidden on screen, still in the page for Google. */
  .lp-mp .lp-work { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .lp-mp .lp-work img { border-radius: 10px; margin-bottom: 8px; }
  .lp-mp .lp-work .nm { font-size: 15px; line-height: 1.3; }
  .lp-mp .lp-work .yr { font-size: 13px; margin: 2px 0 0; }
  .lp-mp .lp-work .ds { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* Presence (#37): each card's bullets open under "What's included". */
  .lp-mp .lp-card { padding: 22px 22px 18px; border-radius: 22px; }
  .lp-mp .lp-card h3 { padding-bottom: 12px; }
  .lp-inc { margin-top: 12px; }
  .lp-inc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 16px; font-weight: 500; color: #000; cursor: pointer; }
  .lp-inc > summary::-webkit-details-marker { display: none; }
  .lp-inc > summary::after { content: "+"; font-size: 22px; color: #6e6e73; font-weight: 400; }
  .lp-inc[open] > summary::after { content: "\2212"; }
  .lp-inc ul { margin: 4px 0 6px; }
  /* Presence (#38): tighter step cards. */
  .lp-mp .lp-steps { gap: 10px; }
  .lp-mp .lp-step { padding: 18px 20px; border-radius: 20px; }
  .lp-mp .lp-step small { margin-bottom: 4px; font-size: 13px; }
  .lp-mp .lp-step h3 { font-size: 21px; margin-bottom: 4px; }
  /* Fort Lauderdale (#46 B): Recent work keeps the stack, without the year and with 2-line descriptions. */
  .lp:not(.lp-mp) .lp-work { gap: 32px; }
  .lp:not(.lp-mp) .lp-work .yr { display: none; }
  .lp:not(.lp-mp) .lp-work .nm { margin-bottom: 4px; }
  .lp:not(.lp-mp) .lp-work .ds { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* Blog posts (#39 B): 18px text, about 42 letters a line. */
  .lp-post p, .lp-post li { font-size: 18px; line-height: 1.6; }
  .lp-post h2 { margin: 40px 0 12px; }
  .lp-post .lp-byline { margin: 14px 0 28px; }
  /* Blog questions open on tap (#13, js/faq-fold.js). */
  .lp-q { border-bottom: 1px solid #e5e5ea; }
  .lp-q:first-of-type { border-top: 1px solid #e5e5ea; }
  .lp-q summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; min-height: 44px; padding: 14px 0; cursor: pointer; list-style: none; }
  .lp-q summary::-webkit-details-marker { display: none; }
  .lp-q summary > h3 { margin: 0 !important; }
  .lp-q summary::after { content: "+"; flex: none; width: 24px; font-size: 26px; line-height: 1; text-align: center; color: #6e6e73; }
  .lp-q[open] summary::after { content: "\2212"; }
  .lp-q > p { margin: 0 0 18px !important; }
  .lp-q + p { margin-top: 24px; }
  /* Keep reading (#40 B): 2-line descriptions, less space. Both buttons stay. */
  .lp-next { margin-top: 48px; }
  .lp-next .lp-bloglist li { padding: 18px 0; }
  .lp-next .lp-bloglist p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
  .lp-next .buttons-flex-container { margin-top: 24px; }
  main.lp:has(.lp-next) { padding-bottom: 0; }
  /* Blog list (#41): every post says October 9, 2026; the date is hidden until posts differ. */
  .lp-bloglist .lp-date { display: none; }
  .lp-bloglist li { padding: 22px 0; }
}

/* Blog tables on phones (mobile plan #42, Evan picked E): same table, tighter type, row names on a grey band. */
@media (max-width: 767px) {
  .lp-table { margin-left: -8px; margin-right: -8px; }
  .lp-table table { table-layout: fixed; }
  .lp-table th, .lp-table td { font-size: 15px; line-height: 1.35; padding: 10px 8px; overflow-wrap: break-word; }
  .lp-table thead th { font-size: 13px; color: #6e6e73; padding-top: 4px; padding-bottom: 8px; }
  .lp-table tbody th { background: #f5f5f7; }
  .lp-table tr > :first-child { width: 31%; }
}
