/* LandDU text pages (FAQ, Plans, Community Guidelines, Privacy, Terms, Cookie), design v3 (15 Oct).
   Look: projects/system/chatty-pages/2026-10-14-landdu-design-v3.html (FAQ: "a title, then plain rows that open"). The homepage's navy head with heavy
   white type, then one flat white panel of rows on the light page: no cards inside cards, 12px corners, hairlines, no shadows.
   Markup: includes/pages/text.php (ld_text_render). Scoped to body.ld-text-page. Phone first; the panel runs edge to edge on a phone. */

body.ld-text-page {
	--tp-page: #f5f6f9; --tp-navy: #0a0e24; --tp-ink: #0d1224; --tp-ink2: #3a4260; --tp-mut: #667089; --tp-hair: #e4e7ef; --tp-tint: #eef1f7;
	--tp-acc: #cfdcff; --tp-acc-ink: #0a1130; --tp-link: #3d63ff; --tp-r: 12px; --tp-col: 820px; --tp-pad: 16px;
	--tp-cover: linear-gradient(90deg, #0a0e24 0%, #141a66 62%, #1e2fa8 100%);
	background: var(--tp-page);
}
body.ld-text-page #content { background: var(--tp-page); overflow-x: clip; }
body.ld-text-page .site-content-grid { display: block; }
body.ld-text-page #primary { width: 100%; max-width: none; padding: 0; margin: 0; }
body.ld-text-page .site-main { padding: 0; margin: 0; }
body.ld-text-page article.page { margin: 0; padding: 0; background: transparent; box-shadow: none; border: 0; }

/* Head: full-bleed navy cover, heavy white title on the reading column's left edge. The intro (.ld-tp__lead) continues the same navy below it. */
body.ld-text-page .entry-header { position: relative; isolation: isolate; margin: 0; padding: 28px 0 0; text-align: left; }
body.ld-text-page .entry-header::before,
body.ld-text-page .ld-tp__lead::before {
	content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--tp-cover);
}
/* The head and the intro are two boxes: a left-to-right gradient only (no vertical change), so the seam between them never shows. */
body.ld-text-page .entry-header .entry-title {
	max-width: var(--tp-col); margin: 0 auto; padding: 0 var(--tp-pad) 22px; box-sizing: border-box;
	font: 800 30px/1.08 var(--ld-heading); letter-spacing: -.03em; color: #fff; text-shadow: none; overflow-wrap: anywhere;
}
body.ld-text-page .entry-header:has(+ .entry-content .ld-tp__lead) .entry-title { padding-bottom: 8px; }

/* Reading column */
body.ld-text-page .entry-content {
	box-sizing: border-box; width: 100%; max-width: var(--tp-col); margin: 0 auto; padding: 0 0 40px; background: transparent; box-shadow: none; border-radius: 0;
	font: 400 15px/1.6 var(--ld-text); color: var(--tp-ink); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
body.ld-text-page .entry-content > :first-child { margin-top: 0; }
.ld-tp { display: block; }
body.ld-text-page .ld-tp__lead { position: relative; isolation: isolate; padding: 0 var(--tp-pad) 26px; }
body.ld-text-page .ld-tp__lead p { margin: 0; max-width: 620px; font: 400 16px/1.5 var(--ld-text); color: rgba(255,255,255,.84); }
body.ld-text-page .ld-tp__lead p + p { margin-top: 8px; }
body.ld-text-page .entry-header:not(:has(+ .entry-content .ld-tp__lead)) { padding-bottom: 6px; }

/* "We're finishing this page" (text.php ld_text_note): one quiet info row above the panel, never repeated per row. */
body.ld-text-page .ld-tp .ld-text-note {
	display: flex; gap: 10px; align-items: flex-start; margin: 14px var(--tp-pad) 0; padding: 12px 14px; border-radius: var(--tp-r);
	background: var(--tp-tint); box-shadow: inset 0 0 0 1px var(--tp-hair); font: 500 14px/1.45 var(--ld-text); color: #2b3a73;
}
body.ld-text-page .ld-tp .ld-text-note::before {
	content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #2b3a73;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center / 18px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* The panel: one white surface, rows split by hairlines. Edge to edge on a phone (top and bottom hairline only). */
.ld-tp__panel { margin: 14px 0 0; background: #fff; border-top: 1px solid var(--tp-hair); border-bottom: 1px solid var(--tp-hair); }
.ld-tp__row { display: flex; gap: 12px; align-items: flex-start; padding: 15px var(--tp-pad); border-bottom: 1px solid var(--tp-hair); min-width: 0; scroll-margin-top: 80px; }
.ld-tp__row:last-child { border-bottom: 0; }
.ld-tp__rb { flex: 1; min-width: 0; }
body.ld-text-page .ld-tp h2 { margin: 0; padding: 0; border: 0; font: 700 16px/1.35 var(--ld-text); letter-spacing: -.01em; color: var(--tp-ink); text-shadow: none; }
body.ld-text-page .ld-tp h2::before, body.ld-text-page .ld-tp h2::after { display: none; }
.ld-tp__body { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--tp-ink2); }
body.ld-text-page .ld-tp__body p, body.ld-text-page .ld-tp__a p, body.ld-text-page .ld-tp__body li, body.ld-text-page .ld-tp__a li { margin: 0 0 .8em; font: inherit; color: inherit; }
body.ld-text-page .ld-tp__body ul, body.ld-text-page .ld-tp__body ol, body.ld-text-page .ld-tp__a ul, body.ld-text-page .ld-tp__a ol { margin: 0 0 .8em; padding-left: 1.25em; }
body.ld-text-page .ld-tp__body > :last-child, body.ld-text-page .ld-tp__a > :last-child { margin-bottom: 0; }
body.ld-text-page .ld-tp__body h3, body.ld-text-page .ld-tp__a h3 { margin: 1em 0 .3em; font: 700 15px/1.35 var(--ld-text); color: var(--tp-ink); }
body.ld-text-page .ld-tp a:not(.ld-tp__btn) { color: var(--tp-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.ld-text-page .ld-tp strong { color: var(--tp-ink); font-weight: 700; }

/* FAQ: rows that open (only those with an answer). */
.ld-tp__row--q { display: block; padding: 0; }
.ld-tp__q { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 14px var(--tp-pad); box-sizing: border-box; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ld-tp__q::-webkit-details-marker { display: none; }
.ld-tp__q:hover { background: #fafbfd; }
.ld-tp__q:focus-visible { outline: 2px solid var(--tp-link); outline-offset: -2px; }
.ld-tp__pm { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tp-tint); }
.ld-tp__pm::before, .ld-tp__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 1px; background: #2b3a73; transition: transform 200ms cubic-bezier(.2,0,0,1); }
.ld-tp__pm::after { transform: rotate(90deg); }
.ld-tp__row--q[open] .ld-tp__pm::after { transform: rotate(0deg); }
.ld-tp__a { padding: 0 var(--tp-pad) 16px; margin-top: -4px; font-size: 15px; line-height: 1.6; color: var(--tp-ink2); }

/* Guidelines: the rule's number in a small tint disc on the row's left. */
.ld-tp__num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tp-tint); color: #2b3a73; font: 700 13.5px/1 var(--ld-text); }
.ld-tp__panel--rules .ld-tp__rb { padding-top: 3px; }

/* Plans: one row, an icon tile, the offer and its button. */
.ld-tp__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--tp-tint); color: #2b3a73; }
.ld-plan-card { align-items: center; }
body.ld-text-page .ld-plan-card p { margin: 2px 0 0; font: 400 14px/1.4 var(--ld-text); color: var(--tp-mut); }
body.ld-text-page .ld-tp a.ld-tp__btn {
	flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--tp-acc); color: var(--tp-acc-ink);
	font: 700 14px/1 var(--ld-text); text-decoration: none; white-space: nowrap; transition: background-color 160ms, transform 120ms;
}
body.ld-text-page .ld-tp a.ld-tp__btn:hover { background: #bccfff; color: var(--tp-acc-ink); }
body.ld-text-page .ld-tp a.ld-tp__btn:active { transform: scale(.97); }

/* Phone: the theme grid sits 6px in from each edge; the article spans the full screen so the panel truly runs edge to edge. */
@media (max-width: 767px) {
	body.ld-text-page article.page { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
}

/* Desktop: the head grows, the panel becomes a rounded block in the column. */
@media (min-width: 768px) {
	body.ld-text-page { --tp-pad: 24px; }
	body.ld-text-page .entry-header { padding-top: 44px; }
	body.ld-text-page .entry-header .entry-title { font-size: 40px; padding-bottom: 28px; }
	body.ld-text-page .ld-tp__lead { padding-bottom: 36px; }
	body.ld-text-page .ld-tp__lead p { font-size: 17px; }
	body.ld-text-page .entry-content { padding-bottom: 72px; }
	body.ld-text-page .ld-tp .ld-text-note { margin: 24px 0 0; }
	.ld-tp__panel { margin-top: 16px; border: 1px solid var(--tp-hair); border-radius: var(--tp-r); overflow: hidden; }
	.ld-tp__lead + .ld-tp__panel { margin-top: 24px; }
	.ld-tp__row { padding: 18px var(--tp-pad); }
	.ld-tp__q { padding: 16px var(--tp-pad); min-height: 58px; }
	body.ld-text-page .ld-tp h2 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	.ld-tp__pm::before, .ld-tp__pm::after, body.ld-text-page .ld-tp a.ld-tp__btn { transition: none; }
}

/* The note in the sign-up's Terms and Privacy pop-ups (ld_text_clean). */
.registration-popup .ld-text-note { margin: 16px 0; padding: 12px 14px; border-radius: 12px; background: #eef1f7; font: 500 14px/1.45 var(--ld-text); color: #2b3a73; }

/* ---- finish (31 Oct, audit): the Plans page. The job packages as the shop's cards, then How posting works as three steps across. ---- */
.ld-plans { display: grid; gap: 40px; max-width: 1080px; margin: 0 auto; }
.ld-plans__h { margin: 0 0 16px; font: 800 22px/1.2 var(--ld-heading, "Inter Tight", system-ui, sans-serif); letter-spacing: -.015em; color: var(--ld-ink, #0a0e24); }
.ld-plans__p, .ld-plans__foot { margin: 12px 0 0; color: var(--ld-muted, #5b6478); font: 500 14px/1.45 var(--ld-text); }
.ld-plans__steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ld-plans__steps li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(13,18,36,.08); }
.ld-plans__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eef2ff; color: var(--ld-midnight, #141a66); }
.ld-plans__steps b { font: 700 16px/1.3 var(--ld-text); color: var(--ld-ink, #0a0e24); }
.ld-plans__steps span:not(.ld-plans__ic) { color: var(--ld-muted, #5b6478); font: 400 14.5px/1.45 var(--ld-text); }
.ld-plans__go { display: inline-flex; align-items: center; justify-content: center; height: 48px; margin-top: 18px; padding: 0 24px; border-radius: 999px; background: #3D6BFF; color: #fff !important; font: 700 15px/1 var(--ld-text); text-decoration: none; }
@media (min-width: 900px) {
	.ld-plans__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.ld-plans__steps li { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 6px; padding: 20px; }
	.ld-plans__ic { grid-row: auto; margin-bottom: 8px; }
}
.ld-plans { margin-top: 28px; }
.ld-plans .ldpk-cards { margin-top: 14px; }
@media (min-width: 700px) { .ld-plans .ldpk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ld-plans .ldpk-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 699px) { .ld-plans { padding: 0 16px; } }

/* ---- 31 Oct (goal g_2904850f2c): the five go-live pages drawn from text-copy.php. "Last updated" in the head, marked placeholders for
   business details we don't have yet, a # link on each heading, and a contents list: a fold-out on a phone, sticky beside the text at 1200+. ---- */
body.ld-text-page .ld-tp__lead p.ld-tp__date { margin-top: 14px; font: 500 13px/1.4 var(--ld-text); color: rgba(255,255,255,.62); }
.ld-tp mark.ld-ph { padding: 0 5px; border-radius: 5px; background: #fff1bf; color: #4a3a00; font-weight: 600; box-shadow: inset 0 0 0 1px #f0d77a; }
body.ld-text-page .ld-tp h2 .ld-tp__hash { margin-left: 8px; color: #9aa3ba !important; text-decoration: none !important; font-weight: 600; opacity: 0; transition: opacity 160ms; }
body.ld-text-page .ld-tp .ld-tp__row:hover .ld-tp__hash, body.ld-text-page .ld-tp .ld-tp__hash:focus-visible { opacity: 1; }
.ld-tp__row { scroll-margin-top: 96px; }

.ld-tp__toc { display: none; }
.ld-tp__tocm { margin: 14px 0 0; background: #fff; border-top: 1px solid var(--tp-hair); border-bottom: 1px solid var(--tp-hair); }
.ld-tp__tocm > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 var(--tp-pad); list-style: none; cursor: pointer; font: 700 15px/1 var(--ld-text); color: var(--tp-ink); }
.ld-tp__tocm > summary::-webkit-details-marker { display: none; }
.ld-tp__tocm > summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid #2b3a73; border-bottom: 2px solid #2b3a73; transform: rotate(45deg) translateY(-2px); transition: transform 200ms; }
.ld-tp__tocm[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.ld-tp__toc-l { margin: 0; padding: 0 var(--tp-pad) 12px; list-style: none; counter-reset: none; }
.ld-tp__toc-l li { margin: 0; }
body.ld-text-page .ld-tp .ld-tp__toc-l a { display: block; padding: 7px 0; color: var(--tp-ink2); text-decoration: none; font: 500 14.5px/1.35 var(--ld-text); }
body.ld-text-page .ld-tp .ld-tp__toc-l a:hover { color: var(--tp-link); }
.ld-tp__tocm + .ld-tp__panel { margin-top: 10px; }
@media (min-width: 768px) {
	.ld-tp__tocm { margin-top: 24px; border: 1px solid var(--tp-hair); border-radius: var(--tp-r); }
	.ld-tp__tocm + .ld-tp__panel { margin-top: 12px; }
}
@media (min-width: 1200px) {
	body.ld-text-page:has(.ld-tp--toc) { --tp-col: 1120px; }
	.ld-tp--toc .ld-tp__lead p { max-width: 680px; }
	.ld-tp__wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 28px; }
	.ld-tp__wrap > .ld-tp__panel { margin-top: 0; }
	.ld-tp__tocm { display: none; }
	.ld-tp__toc { display: block; position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
	.ld-tp__toc-h { margin: 0 0 8px; font: 700 12.5px/1 var(--ld-text); letter-spacing: .04em; text-transform: uppercase; color: var(--tp-mut); }
	.ld-tp__toc .ld-tp__toc-l { padding: 0; border-left: 1px solid var(--tp-hair); }
	body.ld-text-page .ld-tp .ld-tp__toc .ld-tp__toc-l a { padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; }
	body.ld-text-page .ld-tp .ld-tp__toc .ld-tp__toc-l a:hover { border-left-color: var(--tp-link); }
	.ld-tp--toc .ld-tp__panel .ld-tp__row { padding: 22px 28px; }
}
@media (prefers-reduced-motion: reduce) { .ld-tp__tocm > summary::after, body.ld-text-page .ld-tp h2 .ld-tp__hash { transition: none; } }
body.ld-text-page .ld-tp .ld-tp__lead a:not(.ld-tp__btn) { color: #fff; text-decoration-color: rgba(255,255,255,.55); }

/* Cookie policy (2 Nov, goal g_202aca47f5): cookie tables and the "Change cookie choices" button. A table on a wide screen, a stack of labelled rows on a phone. */
body.ld-text-page .ld-tp__body table.ld-ck { width: 100%; margin: 0 0 1.2em; border-collapse: separate; border-spacing: 0; border: 0; border-radius: 0; box-shadow: none; background: none; font-size: 14.5px; line-height: 1.5; }
body.ld-text-page .ld-tp__body table.ld-ck th { padding: 0 12px 8px 0; text-align: left; font: 700 12.5px/1 var(--ld-text); letter-spacing: .04em; text-transform: uppercase; color: var(--tp-mut); border: 0; background: none; }
body.ld-text-page .ld-tp__body table.ld-ck td { padding: 11px 12px 11px 0; vertical-align: top; border: 0; border-top: 1px solid var(--tp-hair); background: none; }
body.ld-text-page .ld-tp__body table.ld-ck td:first-child { width: 36%; }
body.ld-text-page .ld-tp__body table.ld-ck td:last-child { width: 22%; padding-right: 0; }
body.ld-text-page .ld-tp__body code { padding: 1px 6px; border-radius: 6px; background: var(--tp-tint); color: var(--tp-ink); font: 500 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
body.ld-text-page .ld-tp__body table.ld-ck code { display: inline-block; margin: 1px 0; }
body.ld-text-page .ld-tp__body h3 { margin: 1.4em 0 .6em; }
body.ld-text-page .ld-tp__body h3:first-child { margin-top: .6em; }
body.ld-text-page .ld-tp .ld-ck-btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: #3d6bff; color: #fff; font: 600 16px/1 var(--ld-text); cursor: pointer; }
body.ld-text-page .ld-tp .ld-ck-btn:hover { background: #335be0; }
body.ld-text-page .ld-tp .ld-ck-btn:active { transform: scale(.98); }
body.ld-text-page .ld-tp .ld-ck-btn:focus-visible { outline: 2px solid var(--tp-link); outline-offset: 2px; }
@media (max-width: 640px) {
	body.ld-text-page .ld-tp__body table.ld-ck thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	body.ld-text-page .ld-tp__body table.ld-ck, body.ld-text-page .ld-tp__body table.ld-ck tbody, body.ld-text-page .ld-tp__body table.ld-ck tr, body.ld-text-page .ld-tp__body table.ld-ck td { display: block; width: auto; }
	body.ld-text-page .ld-tp__body table.ld-ck tr { padding: 12px 0; border: 0; border-top: 1px solid var(--tp-hair); background: none; }
	body.ld-text-page .ld-tp__body table.ld-ck td { padding: 0; border: 0; }
	body.ld-text-page .ld-tp__body table.ld-ck td:first-child, body.ld-text-page .ld-tp__body table.ld-ck td:last-child { width: auto; padding: 0; }
	body.ld-text-page .ld-tp__body table.ld-ck td + td { margin-top: 4px; }
	body.ld-text-page .ld-tp__body table.ld-ck td:last-child { color: var(--tp-mut); font-size: 13.5px; }
	body.ld-text-page .ld-tp__body table.ld-ck td:last-child::before { content: "Lasts: "; }
	body.ld-text-page .ld-tp .ld-ck-btn { width: 100%; }
}
