/* Money pages (/generative-engine-optimization-agency/, /ai-visibility-audit/), loaded after k-over.css on those two pages only.
   Same language as the articles: everything on the brown ground, cream ink, cream hairlines, no white or tinted panels,
   gold only on what is ours. Her files (kenza/, public/k/) stay untouched. */

/* the ground: brown from the top, like the articles (k-over.css does the same for article.ar) */
body:has(.mp) .top-fond { display: none; }
body:has(.mp) .page-dark { -webkit-mask: none; mask: none; }
body:has(.mp) .top { --ink: 255, 250, 240 !important; --k: 0 !important; }

.mp { --c: 255, 250, 240; --hair: rgba(var(--c), .16); padding-bottom: 40px; }
.mp :is(h1, h2, h3, h4, th, strong, summary) { color: rgb(var(--c)); }
.mp :is(p, li, td, span) { color: rgba(var(--c), .86); }

/* breadcrumb: sentence case, quiet */
.mp .mp-crumbs { justify-content: center; margin: 0 auto 20px; font-size: 13px; line-height: 18px; letter-spacing: 0; text-transform: none; color: rgba(var(--c), .7); }
.mp .mp-crumbs a { color: rgb(var(--c)); text-decoration: underline; text-decoration-color: rgba(var(--c), .38); text-underline-offset: 3px; }
.mp .mp-crumbs span { color: rgba(var(--c), .7); }

/* ---- hero: title, the answer in 2-3 sentences, the offer and its form ---- */
.mp-hero { display: flex; flex-direction: column; align-items: center; width: min(880px, 100%); margin: 0 auto; text-align: center; }
.mp-hero h1 { margin: 0; font: 500 56px/62px var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.mp-answer { max-width: 760px; margin: 24px 0 0; font-size: 19px; line-height: 30px; letter-spacing: -.005em; text-wrap: pretty; }
.mp-offer { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; margin-top: 32px; }
.mp-offer-lead { margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; color: rgb(var(--c)) !important; }
.mp-offer .audit-bar .glass-btn { color: #FFFAF0; background: radial-gradient(120% 90% at 25% 0%, rgba(255, 250, 240, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 55%, rgba(0, 0, 0, .08)), rgba(58, 38, 32, .92); box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .22), 0 6px 14px -8px rgba(43, 38, 37, .6); }
.mp-offer .audit-bar .glass-btn:hover { background: radial-gradient(120% 90% at 25% 0%, rgba(255, 250, 240, .2), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 55%, rgba(0, 0, 0, .06)), rgba(74, 51, 43, .92); }
.mp-offer .note { max-width: 560px; font-size: 14px; line-height: 21px; color: rgba(var(--c), .78) !important; }
.mp-alt { margin: 0; font-size: 14px; line-height: 21px; color: rgba(var(--c), .78) !important; }

/* two fields in one bar (audit page): website | email | button */
.mp-bar2 { width: min(640px, 100%); }
.mp-bar2 input + input { padding-left: 14px; box-shadow: inset 1px 0 0 rgba(43, 38, 37, .14); }
.mp-done { display: none; flex-direction: column; align-items: center; gap: 8px; outline: 0; }
.mp-done p { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: 15px; line-height: 22px; }
.mp-done p:first-child { font-weight: 500; color: rgb(var(--c)) !important; }
.mp-done svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mp-audit.is-sent .mp-done { display: flex; animation: line-in .5s var(--ease-spring); }
.mp-audit.is-sent > :is(form, .note, .mp-alt) { display: none; }

/* text link with the arrow (Book a strategy call, reading list) */
.mp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: rgb(var(--c)); text-decoration: underline; text-decoration-color: rgba(var(--c), .38); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.mp-link:hover { text-decoration-color: rgb(var(--c)); }
.mp-link .arrow-45 { width: 10px; height: 10px; }

/* buttons: primary = cream fill, charcoal text */
.mp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: var(--btn-r); font: 500 15px/18px var(--font-body); color: #2B2625; background: #FFFAF0; transition: background-color .15s, transform .1s ease-out; }
.mp-btn:hover { background: #F3ECDD; }
.mp-btn:active { transform: scale(.97); }

/* ---- sections: 112px apart, a centred title, then the content on the ground ---- */
.mp-sec { width: min(1040px, 100%); margin: 112px auto 0; }
.mp-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.mp-head h2 { margin: 0; font: 500 40px/44px var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.mp-head p { margin: 14px auto 0; font-size: 17px; line-height: 27px; color: rgba(var(--c), .78); text-wrap: pretty; }
.mp-aside { max-width: 760px; margin: 28px auto 0; font-size: 15px; line-height: 24px; text-align: center; color: rgba(var(--c), .78) !important; }

/* proof: four totals between two hairlines */
.mp-proof { margin-top: 88px; }
.mp-proof-t { margin: 0 0 18px; font-size: 14px; line-height: 20px; text-align: center; color: rgba(var(--c), .78) !important; }
.mp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); }
.mp-kpis li { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; }
.mp-kpis li + li { box-shadow: inset 1px 0 0 var(--hair); }
.mp-kpis strong { font: 500 44px/48px var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mp-kpis span { font-size: 15px; line-height: 22px; color: rgba(var(--c), .86); }

/* grids of short items (services, needs, report): hairline above each, no boxes */
.mp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin: 0; padding: 0; list-style: none; }
.mp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.mp-grid li { padding-top: 20px; box-shadow: inset 0 1px 0 var(--hair); }
.mp-grid h3, .mp-steps h3, .mp-fit h3, .mp-read h3 { margin: 0 0 8px; font: 500 18px/24px var(--font-display); letter-spacing: -.015em; }
.mp-grid p, .mp-steps p, .mp-fit p, .mp-read p { margin: 0; font-size: 15px; line-height: 23px; color: rgba(var(--c), .78) !important; }

/* tables: rows on the ground, hairlines */
.mp-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mp-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.mp-table th, .mp-table td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; }
.mp-table thead th { font-weight: 500; font-size: 14px; color: rgba(var(--c), .78); box-shadow: inset 0 -1px 0 rgba(var(--c), .3); }
.mp-table tbody th { font-weight: 500; }
.mp-table tbody :is(th, td) { box-shadow: inset 0 -1px 0 rgba(var(--c), .12); }
.mp-table td { color: rgba(var(--c), .86); }
.mp-table tbody th { width: 22%; }
.mp-table-wide thead th:nth-child(2), .mp-table-wide td:nth-child(2) { color: rgb(var(--c)); }
.mp-table-wide thead th:nth-child(2) { box-shadow: inset 0 -2px 0 var(--gold); }   /* gold: the column that is ours */
.mp-table-qa tbody th { width: 38%; }

/* for / not for */
.mp-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.mp-fit > div { padding-top: 20px; box-shadow: inset 0 1px 0 var(--hair); }

/* pricing signal */
.mp-price { max-width: 760px; margin: 0 auto; }
.mp-price ol { margin: 0; padding-left: 22px; font-size: 17px; line-height: 28px; }
.mp-price li { margin-bottom: 8px; padding-left: 4px; }
.mp-price li::marker { color: rgba(var(--c), .55); font-weight: 500; }
.mp-price p { margin: 20px 0 0; font-size: 17px; line-height: 27px; }
.mp-price-cta { display: flex; flex-wrap: wrap; gap: 24px; }

/* how it works: three numbered steps */
.mp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.mp-steps li { padding-top: 20px; box-shadow: inset 0 1px 0 var(--hair); counter-increment: s; }
.mp-steps li::before { content: counter(s); display: block; margin-bottom: 12px; font: 500 15px/20px var(--font-display); color: rgba(var(--c), .55); font-variant-numeric: tabular-nums; }

/* ---- interactive: pick your situation ---- */
.mp-pick-ui { padding: 28px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hair); }
.mp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mp-chip { padding: 10px 16px; border-radius: var(--btn-r); font: 400 15px/20px var(--font-body); color: rgb(var(--c)); box-shadow: inset 0 0 0 1px rgba(var(--c), .24); transition: background-color .2s, color .2s, transform .1s ease-out; }
.mp-chip:hover { background: rgba(var(--c), .08); }
.mp-chip:active { transform: scale(.97); }
.mp-chip[aria-pressed="true"] { color: #2B2625; background: #FFFAF0; box-shadow: none; }
.mp-chip:focus-visible, .mp-copy:focus-visible, .mp-btn:focus-visible { outline: 2px solid rgba(var(--c), .8); outline-offset: 2px; }
.mp-panels { margin-top: 28px; padding-top: 28px; box-shadow: inset 0 1px 0 var(--hair); }
.mp-panel-t { margin: 0 0 20px; font: 500 22px/28px var(--font-display); letter-spacing: -.02em; }
.mp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mp-cols h4 { margin: 0 0 12px; font: 500 15px/20px var(--font-body); color: rgba(var(--c), .78); }
.mp-cols :is(ol, ul) { margin: 0; padding-left: 20px; font-size: 16px; line-height: 25px; }
.mp-cols li { margin-bottom: 10px; padding-left: 4px; }
.mp-cols li::marker { color: rgba(var(--c), .55); }
.mp-cols ul li::marker { color: var(--gold); }   /* gold: what you get from us */
.mp-panel:not([hidden]) { animation: line-in .45s var(--ease-spring); }
.mp-pick-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; margin-top: 28px; }
.mp-fine { margin: 20px auto 0; max-width: 620px; font-size: 13px; line-height: 19px; text-align: center; color: rgba(var(--c), .78) !important; }

/* ---- interactive: the five questions to paste into an AI assistant ---- */
.mp-tool-ui { padding: 28px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hair); }
.mp-tool-in { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mp-tool-in label { display: flex; flex-direction: column; gap: 8px; }
.mp-tool-in label span { font-size: 14px; line-height: 20px; color: rgba(var(--c), .78); }
.mp-tool-in input { height: 48px; padding: 0 14px; border: 0; border-radius: var(--btn-r); outline: 0; font: 16px/22px var(--font-body); color: rgb(var(--c)); background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--c), .24); transition: box-shadow .2s; }
.mp-tool-in input::placeholder { color: rgba(var(--c), .5); }
.mp-tool-in input:focus { box-shadow: inset 0 0 0 1px rgba(var(--c), .7); }
.mp-qs { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: q; }
.mp-qs li { display: flex; align-items: center; gap: 16px; padding: 14px 0; box-shadow: inset 0 -1px 0 rgba(var(--c), .12); counter-increment: q; }
.mp-qs li::before { content: counter(q); flex-shrink: 0; width: 18px; font: 500 14px/20px var(--font-display); color: rgba(var(--c), .55); font-variant-numeric: tabular-nums; }
.mp-qs p { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 24px; color: rgb(var(--c)) !important; }
.mp-qs b { font-weight: 500; color: rgb(var(--c)) !important; }
.mp-qs b.empty { font-weight: 400; color: rgba(var(--c), .55) !important; }
.mp-copy { flex-shrink: 0; min-width: 76px; padding: 8px 14px; border-radius: 8px; font: 500 14px/18px var(--font-body); color: rgb(var(--c)); box-shadow: inset 0 0 0 1px rgba(var(--c), .24); transition: background-color .2s, transform .1s ease-out; }
.mp-copy:hover { background: rgba(var(--c), .08); }
.mp-copy:active { transform: scale(.97); }
.mp-copy.done { color: #2B2625; background: #FFFAF0; box-shadow: none; }
.mp-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.mp-read h3 { font-size: 16px; line-height: 22px; }
.mp-after { max-width: 640px; margin: 36px auto 0; font-size: 17px; line-height: 27px; text-align: center; color: rgb(var(--c)) !important; }
.mp-tool .mp-offer { margin-top: 20px; text-align: center; }

/* FAQ: her article FAQ (details), centred column */
.mp-faq { margin-top: 112px; }
.mp-faq-list { max-width: 760px; margin: 0 auto; }
.mp .ar-faq > .mp-head h2 { margin: 0; }

/* reading list */
.mp-reading ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.mp-reading .mp-head { margin-bottom: 20px; }
.mp-reading .mp-head h2 { font-size: 24px; line-height: 30px; letter-spacing: -.025em; }
.mp-reading a { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: rgb(var(--c)); text-decoration: underline; text-decoration-color: rgba(var(--c), .38); text-underline-offset: 3px; }
.mp-reading a:hover { text-decoration-color: rgb(var(--c)); }

/* audit window confirmation: the call, right after */
.mp-modal-next { margin: 14px 0 0 !important; font-size: 15px; line-height: 22px; color: rgba(255, 250, 240, .78); }

@media (max-width: 1024px) {
  .mp-grid, .mp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-kpis li:nth-child(3) { box-shadow: inset 0 1px 0 var(--hair); }
  .mp-kpis li:nth-child(4) { box-shadow: inset 1px 0 0 var(--hair), inset 0 1px 0 var(--hair); }
}
@media (max-width: 720px) {
  .mp-hero h1 { font-size: 36px; line-height: 42px; letter-spacing: -.035em; }
  .mp-answer { margin-top: 18px; font-size: 17px; line-height: 27px; }
  .mp-offer { margin-top: 24px; }
  .mp-bar2 { flex-wrap: wrap; padding: 6px; }
  .mp-bar2 input { flex: 1 1 100%; height: 44px; padding: 0 12px; }
  .mp-bar2 input + input { padding-left: 12px; box-shadow: inset 0 1px 0 rgba(43, 38, 37, .14); }
  .mp-bar2 .glass-btn { flex: 1 1 100%; }
  .mp-sec { margin-top: 80px; }
  .mp-proof { margin-top: 56px; }
  .mp-head { margin-bottom: 28px; }
  .mp-head h2 { font-size: 30px; line-height: 34px; letter-spacing: -.035em; }
  .mp-head p { font-size: 16px; line-height: 25px; }
  .mp-kpis li { padding: 20px 14px; }
  .mp-kpis strong { font-size: 32px; line-height: 36px; }
  .mp-kpis span { font-size: 14px; line-height: 20px; }
  .mp-grid, .mp-grid-4, .mp-steps, .mp-read, .mp-fit, .mp-cols, .mp-tool-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mp-pick-ui, .mp-tool-ui { padding: 18px; }
  .mp-chips { justify-content: flex-start; }
  .mp-chip { font-size: 14px; padding: 9px 13px; }
  .mp-qs li { align-items: flex-start; flex-wrap: wrap; gap: 10px 12px; }
  .mp-qs p { flex: 1 1 calc(100% - 34px); }
  .mp-copy { margin-left: 30px; }
  .mp-table table { min-width: 640px; }
  .mp-table-qa table { min-width: 0; }
  .mp-table-qa tbody th { width: 42%; }
  .mp-pick-cta { flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-panel:not([hidden]), .mp-audit.is-sent .mp-done { animation: none; }
  .mp-btn:active, .mp-chip:active, .mp-copy:active { transform: none; }
}

/* ---- rows: hairline rows for short lists (what we need, how it works), so the page is not a run of equal card grids ---- */
.mp-rows { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; counter-reset: r; }
.mp-rows li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 24px; padding: 18px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.mp-rows li:first-child { box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); }
.mp-rows h3 { margin: 0; font: 500 17px/24px var(--font-display); letter-spacing: -.01em; }
.mp-rows p { margin: 0; font-size: 15px; line-height: 24px; color: rgba(var(--c), .78) !important; }
ol.mp-rows li { counter-increment: r; }
ol.mp-rows h3::before { content: counter(r) "  "; color: rgba(var(--c), .55); font-variant-numeric: tabular-nums; white-space: pre; }
@media (max-width: 720px) { .mp-rows li { grid-template-columns: 1fr; gap: 6px; } }
/* pricing rows (Othmane, 2026-11-02): plan name and price on the left, what it is on the right */
.mp-plans { max-width: 760px; margin: 0 auto; }
.mp-plans .mp-plan-price { margin: 6px 0 0 !important; font-size: 15px; line-height: 22px; color: rgba(var(--c), .78) !important; }
.mp-plans .mp-plan-price strong { display: block; font: 500 26px/32px var(--font-display); letter-spacing: -.02em; color: rgb(var(--c)) !important; }
.mp-price .mp-price-within { margin: 32px 0 12px; font-size: 17px; line-height: 27px; font-weight: 500; }
