/* =====================================================================
   Landing pages (every page built from _content/*.md).
   Loaded after home-hero.css, home.css and theme.css, so the page looks
   like the homepage; this file only adds the blocks the markdown needs.
   ===================================================================== */

/* ---------- Hero ---------- */
.lp-hero h1 { max-width: 22ch; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.08; }
.lp-hero h1 .hl { margin-top: 0; padding: .02em .22em .08em; }
.lp-hero h1 .h1-rest { display: block; margin-top: .18em; }
.lp-hero .sub { max-width: 62ch; }
.lp-proof { list-style: none; padding: 0; margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.lp-proof li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500; }
@media (max-width: 600px) {
  .lp-hero h1 { font-size: clamp(28px, 7.6vw, 38px); }
  .lp-hero h1 .hl { white-space: normal !important; }
}

/* ---------- Section rhythm ---------- */
.lp-sec { padding: 88px 0; }
.lp-sec + .lp-sec { padding-top: 24px; }
.lp-sec .sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.lp-sec .sec-head h2, .lp-split-head h2, .lp-faq-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; color: var(--black); }
.lp-k { display: inline-block; margin-bottom: 16px; padding: 5px 11px; border: 1px solid currentColor; border-radius: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.lp-lead p, .lp-prose p, .lp-body > p, .lp-after p { font-size: 17px; line-height: 1.7; color: #4A504C; }
.lp-lead { margin-top: 16px; }
.lp-lead p + p, .lp-prose p + p, .lp-body > p + p { margin-top: 14px; }
.lp-sec a:not([class]) { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lp-sec strong { color: var(--black); font-weight: 650; }
.lp-sec h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--black); }

/* split: heading left, text right, in a white card */
.lp-split-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start;
  max-width: calc(var(--maxw) - 56px); background: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 64px); box-shadow: var(--card-shadow); }
.lp-split-head { position: sticky; top: 100px; }
.lp-split-body > * + * { margin-top: 16px; }
.lp-split-body p { font-size: 17px; line-height: 1.7; color: #4A504C; }
.lp-split-body h3 { margin-top: 26px; }
.lp-flip .lp-split-grid { background: var(--forest); color: #fff; }
.lp-flip .lp-split-head h2, .lp-flip h3, .lp-flip strong { color: #fff; }
.lp-flip .lp-split-body p, .lp-flip .lp-checks li { color: rgba(255,255,255,.78); }
.lp-flip a:not([class]) { color: var(--lime); }
.lp-flip .lp-checks li::before { background-color: var(--lime); }
@media (max-width: 900px) { .lp-split-grid { grid-template-columns: 1fr; width: calc(100% - 32px); border-radius: 22px; } .lp-split-head { position: static; } }

/* check list */
.lp-checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.lp-checks li { position: relative; padding-left: 38px; font-size: 16.5px; line-height: 1.6; color: #3E4440; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314341F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.lp-body .lp-checks { max-width: 760px; margin: 0 auto; }

/* cards from "**Title:** text" lists */
.lp-body { max-width: calc(var(--maxw) - 56px); margin: 0 auto; }
.lp-body > p, .lp-body > blockquote { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.lp-body > * + * { margin-top: 28px; }
.lpc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.lpc-card { background: #fff; border-radius: var(--r-card); padding: 28px 26px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 10px; }
.lpc-card p { font-size: 15.5px; line-height: 1.6; color: #4A504C; }
.lpc-card:nth-child(4n+1) { background: var(--forest); }
.lpc-card:nth-child(4n+1) h3 { color: #fff; }
.lpc-card:nth-child(4n+1) p { color: rgba(255,255,255,.76); }
.lpc-card:nth-child(4n+1) .lp-num { color: var(--lime); }
.lp-num { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--forest); }

/* numbered steps */
.lpc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; max-width: calc(var(--maxw) - 56px); margin: 0 auto; counter-reset: s; }
.lp-olist { list-style: none; padding: 0; display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.lp-olist li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--card-shadow); }
.lp-olist li span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 14px; }
.lp-olist li p { font-size: 16px; line-height: 1.6; color: #3E4440; padding-top: 4px; }

/* comparison table */
.lp-cmp .sec-head { margin-bottom: 32px; }
.lp-table { max-width: calc(var(--maxw) - 56px); margin: 0 auto; overflow-x: auto; background: #fff; border-radius: 24px; box-shadow: var(--card-shadow); padding: 10px; }
.lp-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; min-width: 620px; }
.lp-table th, .lp-table td { text-align: left; padding: 15px 18px; vertical-align: top; line-height: 1.5; border-bottom: 1px solid #EDEEEB; color: #3E4440; }
.lp-table th { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--black); border-bottom-color: #E1E3DF; }
.lp-table td:first-child { font-weight: 600; color: var(--black); }
.lp-table tr:last-child td { border-bottom: 0; }
.lp-table .gm { background: var(--forest); color: #fff; font-weight: 600; }
.lp-table th.gm { color: var(--lime); border-radius: 14px 14px 0 0; }
.lp-table tr:last-child td.gm { border-radius: 0 0 14px 14px; }
.lp-table td.gm { border-bottom-color: rgba(255,255,255,.1); }
.lp-table .gm strong { color: #fff; }
.lp-after { max-width: 760px; margin: 28px auto 0; text-align: center; }
.lp-after > * + * { margin-top: 16px; }

/* quotes */
.lp-quote { margin: 0 auto; max-width: 820px; text-align: center; }
.lp-quote p { font-size: clamp(24px, 2.8vw, 36px) !important; line-height: 1.3 !important; font-weight: 600; letter-spacing: -0.03em; color: var(--black) !important; }
.lp-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 15px; color: var(--gray); }
.lp-quote-sec .wrap { max-width: calc(var(--maxw) - 56px); background: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 64px); box-shadow: var(--card-shadow); }
.lp-quote-sec h2 { display: none; }
.lp-split-body .lp-quote { text-align: left; }
.lp-split-body .lp-quote p { font-size: 22px !important; }

/* FAQ */
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; max-width: calc(var(--maxw) - 56px); }
.lp-faq-head { position: sticky; top: 100px; }
.lp-faq-list details { background: #fff; border-radius: 16px; box-shadow: var(--card-shadow); padding: 0 22px; }
.lp-faq-list details + details { margin-top: 10px; }
.lp-faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 650; color: var(--black); }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F0F1EE; color: var(--forest); font-weight: 700; transition: transform .2s; }
.lp-faq-list details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.lp-faq-list details p { padding: 0 0 20px; font-size: 16px; line-height: 1.65; color: #4A504C; }
@media (max-width: 900px) { .lp-faq-grid { grid-template-columns: 1fr; } .lp-faq-head { position: static; } }

/* inline + mid-page CTA */
.lp-inline-cta { text-align: center; }
.lp-inline-cta .btn-lime, .lp-inline-cta .btn-ghost { display: inline-block; padding: 14px 26px; border-radius: 12px; background: var(--forest); color: #fff; font-weight: 650; text-decoration: none; }
.lp-flip .lp-inline-cta .btn-lime { background: var(--lime); color: var(--lime-ink); }
.lp-mid { padding: 40px 0; }
.lp-mid .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; max-width: calc(var(--maxw) - 56px); width: calc(100% - 32px);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); border-radius: 24px; color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(198,242,90,.16), transparent 70%), var(--deep); box-shadow: 0 30px 60px -36px rgba(13,29,21,.55); }
.lp-mid h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.035em; }
.lp-mid p { margin-top: 8px; color: rgba(255,255,255,.72); font-size: 16px; max-width: 52ch; line-height: 1.55; }
.lp-mid .btn-hero { flex: none; text-decoration: none; }

/* closing: heading from the markdown + website field */
.lp-close { padding: 40px 0 72px; }
.lp-close .wrap { text-align: center; max-width: calc(var(--maxw) - 56px); width: calc(100% - 32px); padding: clamp(40px, 6vw, 80px) 24px; border-radius: 28px; color: #fff;
  background: radial-gradient(700px 360px at 50% 0%, rgba(82,183,136,.28), transparent 70%), var(--forest); box-shadow: 0 40px 80px -40px rgba(13,29,21,.55); }
.lp-close h2 { color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.06; max-width: 20ch; margin: 0 auto; }
.lp-close p { color: rgba(255,255,255,.75); font-size: 18px; margin: 16px auto 30px; }

/* homepage sections that follow the page content: a little tighter */
.lp .ba-section { padding-top: 72px; }
.lpc-card, .lpc-step, .lp-olist li, .lp-faq-list, .lp-split-grid { text-align: left; }
@media (min-width: 1000px) { .lpc-steps { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.lp-split-head h2 { font-size: clamp(26px, 2.7vw, 38px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.lp-sec .sec-head h2, .lp-faq-head h2 { hyphens: auto; -webkit-hyphens: auto; }
.lp-defs { display: grid; gap: 10px; }
.lp-def { padding: 16px 18px; border-radius: 14px; background: #F5F6F3; }
.lp-def b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 9px; vertical-align: 2px; }
.lp-def b { display: block; font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.lp-def p { font-size: 15.5px !important; line-height: 1.6 !important; margin: 0 !important; }
.lp-flip .lp-def { background: rgba(255,255,255,.06); }
.lp-flip .lp-def b { color: #fff; }
.lp-body .lp-defs { max-width: 760px; margin-left: auto; margin-right: auto; text-align: left; }

/* steps: same card language as the homepage "how it works" */
.lpc-step { position: relative; background: #fff; border-radius: 24px; padding: 30px 28px 32px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; text-align: left; }
.lpc-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #6B706C; }
.lpc-step h3 { margin-top: 18px; font-weight: 500; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; line-height: 1.1; color: #111; hyphens: auto; -webkit-hyphens: auto; }
.lpc-step p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: #555; }
.lpc-steps { gap: 20px; }
.lpc-cards { align-items: start; }

/* plan generator: market scan demo */
.mkt-demo { max-width: 1040px; margin: 56px auto 0; background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(13,29,21,.45), 0 0 0 1px rgba(27,67,50,.06); padding: 20px; text-align: left; color: #1B2B22; }
.mk-top { display: flex; align-items: center; gap: 12px; padding: 4px 4px 18px; border-bottom: 1px solid #ECEDEA; }
.mk-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.mk-search { flex: 1; display: flex; align-items: center; gap: 8px; background: #F4F5F2; border-radius: 999px; padding: 9px 16px; font-size: 14px; color: #3E4440; min-width: 0; }
.mk-search svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.mk-ex { font-size: 11.5px; font-weight: 600; color: #6B706C; border: 1px solid #E2E4DF; border-radius: 999px; padding: 4px 10px; }
.mk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; padding-top: 18px; }
.mk-col { min-width: 0; }
.mk-panel { background: #F6F8F4; border-radius: 18px; padding: 18px; }
.mk-h { font-size: 13px; font-weight: 700; color: #111; margin: 0 0 12px; }
.mk-h2 { margin-top: 22px; }
.mk-prog { height: 6px; border-radius: 6px; background: #ECEDEA; overflow: hidden; margin-bottom: 14px; }
.mk-prog i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--forest), #52B788); transform-origin: left; animation: mkFill 1.6s ease-out both; }
.mk-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mk-steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13.5px; padding: 9px 12px; border-radius: 12px; background: #F6F8F4; }
.mk-steps b { font-weight: 600; font-size: 12.5px; color: var(--forest); white-space: nowrap; }
.mk-ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-size: 12px; font-weight: 800; }
.mk-bar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 38px; align-items: center; gap: 10px; font-size: 13px; margin-top: 8px; }
.mk-bar i { height: 8px; border-radius: 8px; background: #ECEDEA; overflow: hidden; }
.mk-bar em { display: block; height: 100%; width: var(--w); background: #9AA39D; border-radius: 8px; transform-origin: left; animation: mkFill 1s ease-out both; animation-delay: var(--d); }
.mk-bar b { font-weight: 600; font-size: 12.5px; text-align: right; }
.mk-you span, .mk-you b { color: var(--forest); font-weight: 700; }
.mk-you em { background: var(--lime); }
.mk-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mk-table th { text-align: left; font-size: 11.5px; font-weight: 600; color: #6B706C; padding: 0 8px 8px; }
.mk-table td { padding: 11px 8px; border-top: 1px solid #E4E7E1; }
.mk-table td:nth-child(2), .mk-table th:nth-child(2) { text-align: right; white-space: nowrap; }
.mk-table td:nth-child(3), .mk-table th:nth-child(3) { text-align: right; }
.mk-lvl { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.mk-lo { background: #E3F4E8; color: #1E6B43; }
.mk-mid { background: #FFF1D6; color: #8A5A00; }
.mk-done { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--forest); color: #fff; font-size: 14px; font-weight: 600; }
.mk-in { animation: mkIn .5s ease-out both; animation-delay: var(--d); }
@keyframes mkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes mkFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .mk-in, .mk-prog i, .mk-bar em { animation: none; } }
@media (max-width: 760px) {
  .mkt-demo { padding: 14px; margin-top: 36px; }
  .mk-grid { grid-template-columns: 1fr; }
  .mk-ex { display: none; }
  .mk-steps li { grid-template-columns: 22px minmax(0, 1fr); }
  .mk-steps b { grid-column: 2; white-space: normal; }
  .mk-bar { grid-template-columns: 92px minmax(0, 1fr) 34px; }
}
@media (max-width: 760px) {
  .mk-panel { padding: 14px 12px; }
  .mk-table { font-size: 12.5px; }
  .mk-table th, .mk-table td { padding-left: 4px; padding-right: 4px; }
  .mk-table th { font-size: 10.5px; }
  .mk-bar { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 34px; }
  .mk-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
}
