/*
 * Pinpraise public pages: index.html, the legal and about pages, /grader, /compare, /status, /trust.
 * Same palette as the app (assets/css/pinpraise.css): teal, ink, amber, the cool neutrals of
 * design-system.md "Visual refresh", Manrope. No frameworks, no icon fonts; icons are inline SVG.
 */

:root {
    --brand: #0F7B6C;
    --brand-hover: #0C6659;
    --brand-soft: #E3F3EF;
    --brand-soft-text: #0A5A4F;
    --brand-shadow: rgba(15, 123, 108, .28);
    --cta-a: #2BC4AE;
    --cta-b: #1FA896;
    --cta-ink: #06221E;
    --ink: #121A22;
    --amber: #F2B01E;
    --paper: #F5F6F8;
    --surface: #FFFFFF;
    --surface-2: #F2F4F7;
    --text: #101828;
    --muted: #475467;
    --line: #E4E7EC;
    --line-strong: #D0D5DD;
    --success: #1E8E5A; --success-ink: #167A4C; /* small text on white: 4.5:1 */
    --danger: #D3452F;
    --on-brand: #FFFFFF;
    --header-bg: rgba(245, 246, 248, .88);
    --shadow-sm: 0 1px 2px rgba(18, 26, 34, .05), 0 1px 3px rgba(18, 26, 34, .06);
    --shadow-md: 0 14px 40px rgba(18, 26, 34, .12);
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --brand: #3FBBA6;
        --brand-hover: #5ACBB8;
        --brand-soft: #143B35;
        --brand-soft-text: #9EE3D5;
        --paper: #0B0E14;
        --surface: #141A23;
        --surface-2: #1A212C;
        --text: #EEF1F3;
        --muted: #A6AEB7;
        --line: #252D38;
        --line-strong: #344049;
        --success: #4FC48A; --success-ink: #4FC48A;
        --danger: #F07A68;
        --on-brand: #06221E;
        --header-bg: rgba(11, 14, 20, .86);
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
        --shadow-md: 0 18px 44px rgba(0, 0, 0, .5);
        color-scheme: dark;
    }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }
p a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; color: var(--text); text-wrap: balance; }
p { margin: 0; }
.ld-skip {
    position: absolute; left: 8px; top: -60px;
    background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 100;
}
.ld-skip:focus { top: 8px; }
.ld-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ld-icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld-icon-sm { width: 16px; height: 16px; }

/* Buttons */
.ld-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2;
    border: 1.5px solid var(--line-strong); color: var(--text); background: var(--surface);
    cursor: pointer; white-space: nowrap; text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.ld-btn:hover { text-decoration: none; border-color: var(--brand); color: var(--brand-hover); }
.ld-btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ld-btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); box-shadow: 0 8px 20px var(--brand-shadow); }
.ld-btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.ld-btn-ink:hover { background: #000; border-color: #000; color: #fff; }
/* Dark: an ink button on the ink-coloured page would vanish, so it becomes a light button (the CTA band keeps ink on teal). */
@media (prefers-color-scheme: dark) {
    .ld-btn-ink:not(.ld-cta-band .ld-btn-ink) { background: var(--text); border-color: var(--text); color: var(--paper); }
    .ld-btn-ink:not(.ld-cta-band .ld-btn-ink):hover { background: #fff; border-color: #fff; color: var(--ink); }
}
.ld-btn-lg { padding: 15px 28px; font-size: 16px; }

/* Header */
.ld-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.ld-header .ld-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.ld-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.ld-brand:hover { color: var(--text); text-decoration: none; }
.ld-brand-mark { width: 32px; height: 32px; display: inline-block; border-radius: 9px; flex: none; }
.ld-nav { display: flex; align-items: center; gap: 6px; flex: none; }
.ld-nav a { font-weight: 700; color: var(--text); padding: 8px 12px; border-radius: 999px; }
.ld-nav a:hover { color: var(--brand-hover); text-decoration: none; }
.ld-nav .ld-btn { padding: 9px 18px; }
.ld-nav .ld-btn-primary { color: var(--on-brand); }
.ld-nav .ld-btn-primary:hover { color: var(--on-brand); }

/* Hero */
.ld-hero { padding: 72px 0 64px; overflow-x: clip; position: relative; }
.ld-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(720px 360px at 80% 0%, var(--brand-soft) 0%, transparent 65%);
}
.ld-hero .ld-container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.ld-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: var(--brand-soft-text); background: var(--brand-soft); border-radius: 999px; padding: 6px 12px 6px 8px; margin-bottom: 22px;
}
.ld-eyebrow .ld-icon, .ld-eyebrow-g { width: 16px; height: 16px; flex: none; }
.ld-hero h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; margin-bottom: 20px; }
.ld-hero h1 em { font-style: normal; color: var(--brand); }
.ld-hero .ld-sub { font-size: 18px; color: var(--muted); margin-bottom: 30px; max-width: 32em; text-wrap: pretty; }
.ld-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ld-hero-note { font-size: 14px; color: var(--muted); margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ld-hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.ld-hero-note .ld-icon { width: 16px; height: 16px; color: var(--success); }

/* Product mock */
.ld-mock { position: relative; display: grid; gap: 14px; }
.ld-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ld-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.ld-kpi-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ld-kpi-value { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ld-kpi-value small { font-size: 13px; font-weight: 700; color: var(--muted); }
.ld-kpi-trend { font-size: 12px; font-weight: 700; color: var(--success-ink); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.ld-kpi-trend .ld-icon { width: 14px; height: 14px; }
.ld-review {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 20px; box-shadow: var(--shadow-md);
}
.ld-review-head { display: flex; align-items: center; gap: 12px; }
.ld-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex: none;
    background: var(--ink); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.ld-review-name { font-weight: 800; }
.ld-review-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ld-stars { display: inline-flex; gap: 1px; color: var(--amber); }
.ld-stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.ld-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-soft-text);
}
.ld-badge-new { background: rgba(242, 176, 30, .22); color: #6B4B00; }
@media (prefers-color-scheme: dark) { .ld-badge-new { color: #F7D27A; } }
.ld-review-text { font-size: 15px; margin: 14px 0; color: var(--text); }
.ld-reply { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; }
.ld-reply-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 800; color: var(--muted); }
.ld-reply-label .ld-badge .ld-icon { width: 12px; height: 12px; }
.ld-review-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ld-review-actions .ld-btn { padding: 8px 14px; font-size: 13px; }
.ld-mock-pill {
    position: absolute; right: 16px; bottom: -14px; z-index: 2;
    background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-md);
}
.ld-mock-pill .ld-icon { width: 16px; height: 16px; color: var(--amber); }

/* Sections */
.ld-section { padding: 88px 0; }
.ld-section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ld-section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.ld-section-head h2 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; margin-bottom: 12px; }
.ld-section-head p { color: var(--muted); font-size: 17px; text-wrap: pretty; }
.ld-kicker { display: block; color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }

/* Google data notice */
.ld-notice { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-top: 56px; color: var(--muted); font-size: 15px; }
.ld-notice .ld-icon { color: var(--brand); margin-top: 2px; width: 22px; height: 22px; }
.ld-notice strong { color: var(--text); }

/* How it works */
.ld-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.ld-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 26px; position: relative; }
.ld-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; margin-bottom: 18px; }
.ld-step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.ld-step p { font-size: 15px; color: var(--muted); }
.ld-step-arrow { position: absolute; right: -22px; top: 36px; color: var(--line-strong); width: 24px; height: 24px; }
@media (prefers-color-scheme: dark) { .ld-step-num { background: var(--brand); color: var(--on-brand); } }

/* Features */
.ld-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ld-feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; transition: border-color .15s, transform .15s; }
.ld-feature:hover { border-color: var(--brand); }
.ld-feature-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-soft-text); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ld-feature-icon .ld-icon { width: 22px; height: 22px; }
.ld-feature h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.ld-feature p { font-size: 15px; color: var(--muted); }

/* Pricing */
#pricing { scroll-margin-top: 80px; }
.ld-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.ld-plan { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 22px; }
.ld-plan-popular { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.ld-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; background: var(--brand); color: var(--on-brand); font-size: 12px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.ld-plan h3 { font-size: 20px; font-weight: 800; }
.ld-plan-price { font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ld-plan-price small { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.ld-plan-for { font-size: 14px; color: var(--muted); min-height: 2.9em; }
.ld-plan-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; flex: 1; align-content: start; }
.ld-plan-list li { display: flex; gap: 8px; align-items: flex-start; }
.ld-plan-list .ld-icon { width: 16px; height: 16px; color: var(--success); margin-top: 3px; }
.ld-plan-cta { margin-top: 14px; width: 100%; }
.ld-plans-note { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 15px; font-weight: 700; }
.ld-plans-note li { display: inline-flex; align-items: center; gap: 8px; }
.ld-plans-note .ld-icon { width: 18px; height: 18px; color: var(--success); }
.ld-plans-fine { text-align: center; color: var(--muted); font-size: 14px; margin: 12px auto 0; max-width: 620px; text-wrap: pretty; }

/* Built for busy owners */
.ld-owners .ld-container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ld-owners h2 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; margin-bottom: 14px; }
.ld-owners p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.ld-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ld-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ld-checks .ld-icon { color: var(--success); margin-top: 3px; }
.ld-checks strong { display: block; }
.ld-checks span { color: var(--muted); font-size: 15px; }
.ld-quote { margin: 0; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 36px 32px; position: relative; }
.ld-quote .ld-stars { margin-bottom: 14px; }
.ld-quote .ld-stars svg { width: 18px; height: 18px; }
.ld-quote blockquote { margin: 0 0 20px; font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.ld-quote figcaption { color: rgba(255, 255, 255, .72); font-size: 14px; }
.ld-quote figcaption strong { color: #fff; }

/* FAQ */
.ld-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.ld-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.ld-faq details[open] { border-color: var(--brand); }
.ld-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 800; font-size: 17px; }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary .ld-icon { color: var(--muted); transition: transform .2s; }
.ld-faq details[open] summary .ld-icon { transform: rotate(180deg); }
.ld-faq .ld-faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* CTA band */
.ld-cta { padding: 0 0 88px; }
.ld-section-alt + .ld-cta { padding-top: 88px; }
.ld-cta-band {
    background: linear-gradient(135deg, var(--cta-a) 0%, var(--cta-b) 100%);
    color: var(--cta-ink); border-radius: 24px; padding: 56px 32px; text-align: center;
    position: relative; overflow: hidden;
}
.ld-cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; color: var(--cta-ink); margin-bottom: 12px; }
.ld-cta-band p { color: var(--cta-ink); font-size: 17px; margin-bottom: 28px; text-wrap: balance; }
.ld-cta-band .ld-btn-ink:hover { background: #000; }

/* Footer */
.ld-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.ld-footer .ld-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.ld-footer-copy { width: 100%; }
.ld-footer nav { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.ld-footer a { color: var(--muted); font-weight: 600; }
.ld-footer nav a { display: inline-flex; align-items: center; min-height: 28px; white-space: nowrap; }
@media (max-width: 1099.98px) { .ld-footer nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 16px; } }
@media (max-width: 767.98px) { .ld-footer nav { grid-template-columns: repeat(3, 1fr); } }
.ld-footer a:hover { color: var(--brand); }

/* Legal pages (privacy.html, terms.html) */
.ld-legal { max-width: 780px; margin: 0 auto; padding: 56px 20px 88px; }
.ld-legal h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-bottom: 10px; }
.ld-legal .ld-legal-date { color: var(--muted); margin-bottom: 36px; font-weight: 600; }
.ld-legal h2 { font-size: 22px; font-weight: 800; margin: 40px 0 12px; padding-top: 32px; border-top: 1px solid var(--line); }
.ld-legal h3 { font-size: 17px; font-weight: 800; margin: 24px 0 8px; }
.ld-legal p, .ld-legal li { color: var(--text); font-size: 16px; }
.ld-legal p + p, .ld-legal ul + p, .ld-legal p + ul { margin-top: 12px; }
.ld-legal ul { padding-left: 22px; margin: 10px 0; }
.ld-legal li + li { margin-top: 8px; }
/* One in-text link look: a link in a list is underlined in its own colour, like a link in a paragraph (p a:not([class]) above). */
.ld-legal a { text-decoration: underline; text-underline-offset: 2px; }
.ld-legal code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }

/* Responsive */
@media (max-width: 960px) {
    .ld-hero { padding: 48px 0 56px; }
    .ld-hero .ld-container { grid-template-columns: 1fr; gap: 44px; }
    .ld-mock { max-width: 560px; margin: 0 auto; width: 100%; }
    .ld-plans { grid-template-columns: 1fr 1fr; }
    .ld-steps, .ld-features { gap: 14px; }
    .ld-step, .ld-feature { padding: 20px 18px; }
    .ld-step h3, .ld-feature h3 { font-size: 17px; }
    .ld-step-arrow { display: none; }
    .ld-owners .ld-container { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
    .ld-section { padding: 60px 0; }
    .ld-section-head { margin-bottom: 32px; }
    .ld-steps, .ld-features, .ld-plans, .ld-plans-3 { grid-template-columns: 1fr; }
    .ld-step, .ld-feature { padding: 26px 24px; }
    .ld-step h3, .ld-feature h3 { font-size: 19px; }
    .ld-plan-for { min-height: 0; }
    .ld-hero-ctas .ld-btn { width: 100%; }
    .ld-mock-kpis { gap: 8px; }
    .ld-kpi { padding: 10px 12px; }
    .ld-kpi-value { font-size: 20px; }
    .ld-mock-pill { display: none; }
    .ld-cta-band { padding: 44px 20px; border-radius: 18px; }
    .ld-hero-note { flex-direction: column; }
    .ld-footer .ld-container { text-align: left; }
    .ld-footer nav { grid-template-columns: repeat(2, 1fr); gap: 0 12px; }
    .ld-footer nav a { min-height: 36px; white-space: normal; }
    .ld-nav .ld-btn { padding: 8px 14px; font-size: 14px; }
}
@media (max-width: 519.98px) {
    /* Phones, on every public page: logo tile, Sign in and the one primary button. */
    .ld-header-cta .ld-brand-name, .ld-header-cta .ld-nav-features { display: none; }
    .ld-header .ld-container { gap: 8px; }
    /* One row that never overflows: when the words are too long for the screen (a narrow phone, a longer
       language) the last item to fit is dropped, Pricing first, then Sign in; the button always stays. */
    .ld-header-cta .ld-nav { flex: 1 1 0; min-width: 0; flex-flow: row-reverse wrap; justify-content: flex-start; gap: 12px 0; height: 50px; margin: -5px; padding: 5px; overflow: hidden; }
    .ld-header-cta .ld-nav-signin { order: 1; }
    .ld-header-cta .ld-nav-pricing { order: 2; }
    .ld-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 7px; font-size: 13.5px; }
    .ld-nav .ld-btn { margin-left: 4px; padding: 8px 12px; font-size: 13.5px; }
    .ld-kpi-label { font-size: 11px; }
    .ld-eyebrow { font-size: 12px; letter-spacing: .02em; }
    .ld-wide-only { display: none; }
}

@media (max-width: 374.98px) {
    .ld-nav a { padding: 8px 5px; font-size: 13px; }
    .ld-nav .ld-btn { padding: 8px 10px; font-size: 13px; }
}
/* Tablet: the hero is one column, so its words sit on the same centre line as the example under them. */
@media (min-width: 641px) and (max-width: 960px) {
    .ld-hero .ld-container > div:first-child { text-align: center; }
    .ld-hero .ld-sub { margin-left: auto; margin-right: auto; }
    .ld-hero-ctas, .ld-hero-note { justify-content: center; }
}
@media (max-width: 640px) { .ld-mock { max-width: none; } }
/* Between one column and full width the hero's copy column is too narrow for the three notes in a row. */
@media (min-width: 961px) and (max-width: 1119.98px) { .ld-hero-note { flex-direction: column; } }

@media (prefers-reduced-motion: reduce) {
    html, * { scroll-behavior: auto !important; }
    *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; }
}

/* Comparison pages (compare_birdeye.php): theme-aware table. The view's inline <style> block must go so these apply. */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--line); }
.cmp-table thead th { border-top: 0; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cmp-table th[scope="row"] { width: 22%; font-weight: 700; }
.cmp-table td.is-us { background: var(--brand-soft); }
.cmp-note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.cmp-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.cmp-fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.cmp-two { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 767px) {
    .cmp-two { grid-template-columns: 1fr; }
    .cmp-wrap { overflow: visible; }
    .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: auto; }
    .cmp-table thead { display: none; }
    .cmp-table tr { border-top: 1px solid var(--line); padding: 4px 0 10px; }
    .cmp-table tr:first-child { border-top: 0; }
    .cmp-table th[scope="row"] { width: auto; border-top: 0; padding: 14px 16px 4px; font-size: 16px; }
    .cmp-table td { border-top: 0; padding: 6px 16px; }
    .cmp-table td::before { content: attr(data-col); display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
    .cmp-table td.is-us { background: transparent; }
    .cmp-table td.is-us::before { color: var(--brand); }
}
.cmp-list { padding-left: 20px; } .cmp-list li { margin: 8px 0; }
/* Source markers on the fact-file comparison pages (public/compare_page) */
.cmp-src { font-size: 11px; line-height: 0; margin-left: 2px; }
.cmp-src a { color: var(--brand); text-decoration: none; font-weight: 700; padding: 0 2px; }
.cmp-src a:hover, .cmp-src a:focus-visible { text-decoration: underline; }
.cmp-sources { padding-left: 22px; } .cmp-sources li { margin: 10px 0; } .cmp-sources li:target { background: var(--brand-soft); border-radius: 6px; }
.cmp-strong { max-width: 760px; }
.cmp-index h3 a { color: inherit; text-decoration: none; } .cmp-index h3 a:hover { color: var(--brand); text-decoration: underline; }
.ld-eyebrow a { color: inherit; }

/* Footer trademark line and the API table on google-business-profile.html */
.ld-footer-note { width: 100%; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.ld-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ld-table th, .ld-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.ld-table thead th { border-top: 0; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.ld-table th[scope="row"] { font-weight: 700; width: 30%; }
/* A permission or API name stays in one piece while the table has columns. */
@media (min-width: 641px) { .ld-table th[scope="row"] code { white-space: nowrap; } .ld-table th[scope="row"] code wbr { display: none; } }
@media (max-width: 640px) { .ld-table { font-size: 14px; display: block; } .ld-table thead { display: none; } .ld-table tbody, .ld-table tr, .ld-table th, .ld-table td, .ld-table th[scope="row"] { display: block; width: auto; } .ld-table tr { border-top: 1px solid var(--line); padding: 6px 0; } .ld-table th, .ld-table td { border-top: 0; padding: 6px 14px; } }
.ld-address { font-style: normal; line-height: 1.55; margin: 12px 0; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: inline-block; }
/* Contact form (contact.html, POST /site-contact): 16px controls so phones do not zoom. */
.ld-form { margin: 8px 0 24px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.ld-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ld-field { margin: 0 0 14px; }
.ld-field label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--text); }
.ld-opt { font-weight: 500; color: var(--muted); }
.ld-input { display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
textarea.ld-input { resize: vertical; min-height: 140px; }
/* The drop-down is drawn like the fields beside it: same height, our own arrow. */
select.ld-input { height: 48px; padding-right: 40px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px 18px; cursor: pointer; }
@media (prefers-color-scheme: dark) { select.ld-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6AEB7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); } }
.ld-input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.ld-form .ld-btn[disabled] { opacity: .6; cursor: wait; }
.ld-form-fine { margin: 0; font-size: 13px; color: var(--muted); }
.ld-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ld-form-msg { display: none; margin: 8px 0 16px; padding: 12px 16px; border-radius: var(--r); border: 1px solid; }
.ld-form-msg:target, .ld-form-msg.is-on { display: block; }
.ld-form-ok { color: var(--brand-soft-text); background: var(--brand-soft); border-color: var(--brand); }
.ld-form-bad { color: var(--danger); background: var(--surface); border-color: var(--danger); }
@media (max-width: 640px) { .ld-form { padding: 16px; } .ld-form-row { grid-template-columns: 1fr; } }
@media (max-width: 479.98px) { .ld-form .ld-btn { width: 100%; } }
/* Hero with copy only (comparison and grader pages): one centred column instead of the two-column grid. */
.ld-hero-single .ld-container { grid-template-columns: minmax(0, 760px); justify-content: center; text-align: center; }
.ld-hero-single .ld-eyebrow { padding: 6px 12px; }
.ld-hero-single .g-hero { margin-left: auto; margin-right: auto; }
.ld-hero-single .ld-sub { margin-left: auto; margin-right: auto; }
.ld-hero-single .ld-hero-ctas, .ld-hero-single .ld-hero-note { justify-content: center; }
@media (max-width: 640px) { .ld-hero-single .ld-hero-note { align-items: flex-start; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; } }
/* Three price cards (comparison page): their own grid, so no empty fourth column. */
.ld-plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-left: auto; margin-right: auto; }
/* Below tablet width three cards cannot hold a price and a button: one column, as index pricing does. */
@media (max-width: 767.98px) { .ld-plans-3 { grid-template-columns: minmax(0, 1fr); max-width: 480px; } }
/* The notes under the home page prices: one list with its ticks in line, once they no longer fit in a row. */
@media (max-width: 960px) {
    .ld-plans-note { flex-direction: column; align-items: flex-start; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
    .ld-plans-note li { align-items: flex-start; }
    .ld-plans-note .ld-icon { margin-top: 3px; }
}
.ld-nowrap { white-space: nowrap; }

/* Feature groups on the home page (31 Oct 2026). */
.ld-group-title { font-size: 20px; font-weight: 800; margin: 40px 0 16px; }
.ld-section-head + .ld-group-title { margin-top: 8px; }
.ld-also { margin-top: 8px; }
.ld-checks-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
@media (max-width: 960px) { .ld-checks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ld-checks-grid { grid-template-columns: 1fr; } .ld-group-title { font-size: 18px; margin-top: 32px; } }
.ld-features-more { max-width: 720px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15px; text-wrap: balance; }

/* Site header menu (2 Dec 2026): Features, Pricing, Businesses and Blog in the bar on wide screens;
   below 900px they move into a "Menu" drop-down (plain <details>, no script) next to the logo, and the
   bar keeps Sign in and the one primary button. Every public header carries the same markup:
   application/views/public/_site_header.php, the static *.html pages and deploy/blog/build.py. */
.ld-header .ld-container { position: relative; }
.ld-menu { display: none; flex: none; }
.ld-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 10px; border-radius: 999px; font-weight: 700; color: var(--text); }
.ld-menu > summary::-webkit-details-marker { display: none; }
.ld-menu > summary:hover, .ld-menu[open] > summary { color: var(--brand-hover); background: var(--surface-2); }
.ld-menu > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ld-menu-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ld-menu-list { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-md); z-index: 60; }
.ld-menu-list a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 8px; font-weight: 700; color: var(--text); }
.ld-menu-list a:hover { background: var(--surface-2); color: var(--brand-hover); text-decoration: none; }
@media (max-width: 899.98px) {
    .ld-menu { display: block; }
    .ld-header .ld-nav .ld-nav-wide { display: none; }
    .ld-header .ld-brand { flex: none; }
    .ld-header .ld-nav { margin-left: auto; }
}
@media (max-width: 519.98px) {
    .ld-menu > summary { padding: 8px 6px; font-size: 13.5px; }
}
