/* ============================================================================
   Paradigm FinProm Check, site stylesheet.

   Release 15 gathered every page-local <style> block back into this one file. Those blocks
   existed because a change here needed a manual Cloudflare purge; the stylesheet is now served
   through MapStaticAssets with a content fingerprint in its URL, so a change here is live on the
   next deploy and nothing needs purging. Page styles belong here, grouped by page, at the end.

   Colours are the Paradigm Consulting palette. Do not add new colours without a token.
   ============================================================================ */

:root {
    --pc-consult: #406088;
    --pc-consult-dark: #355074;
    --pc-consult-tint: #eaeef5;
    --pc-consult-line: #c8d2e3;
    --pc-group: #A090A8;
    --pc-mortgages: #9070A0;
    --pc-protect: #289088;
    --pc-body: #1A1A1A;
    --pc-sub: #6b6b6b;
    --pc-soft-sub: #888888;
    --pc-paper: #FAFAF7;
    --pc-bg: #f4f3ee;
    --pc-rule: #D8D4CC;
    --pc-red: #b8332e;
    --pc-red-tint: #fbe9e8;
    --pc-red-line: #f0c0bc;
    --pc-amber: #b8761f;
    --pc-amber-tint: #fbf1de;
    --pc-amber-line: #e8d2a4;
    --pc-green: #2d6a4f;
    --pc-green-tint: #e3f1ea;
    --pc-green-line: #b8d8c4;
    --pc-disabled: #b5bbc6;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    --radius: 8px;
    --radius-sm: 6px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: var(--pc-bg);
    color: var(--pc-body);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--pc-consult); }

/* ── Site header ─────────────────────────────────────────────────────────── */
.site-header {
    background: white;
    border-bottom: 1px solid var(--pc-rule);
}
.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}
.site-brand {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0; text-decoration: none; color: var(--pc-body);
}
.site-logo-img { display: block; height: 26px; width: auto; }
.site-brand-divider { width: 1px; height: 22px; background: var(--pc-rule); }
.site-brand-app { font-size: 15px; font-weight: 500; color: var(--pc-consult); white-space: nowrap; letter-spacing: 0.1px; }

.site-nav { display: flex; gap: 22px; font-size: 14px; flex-wrap: nowrap; }
.site-nav a {
    color: var(--pc-sub); text-decoration: none; white-space: nowrap;
    padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--pc-consult); }
.site-nav a.active { color: var(--pc-consult); font-weight: 500; border-bottom-color: var(--pc-consult); }

.site-meta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.site-user { font-size: 13px; color: var(--pc-sub); display: flex; align-items: center; gap: 8px; }
.site-user span { white-space: nowrap; }
.site-user-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--pc-consult-tint); color: var(--pc-consult);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 500; flex-shrink: 0;
}
.signout-link {
    color: var(--pc-sub); text-decoration: none; font-size: 12px; white-space: nowrap;
    margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--pc-rule);
}
.signout-link:hover { color: var(--pc-consult); }

/* Division pills, matching the paradigm.co.uk header. Hidden first when the bar gets tight. */
.site-pills { display: flex; gap: 4px; }
.pill {
    width: 28px; height: 28px; border-radius: 5px;
    display: inline-flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: 12px; text-decoration: none; line-height: 1;
    transition: transform 120ms ease, filter 120ms ease;
}
.pill:hover { transform: translateY(-1px); filter: brightness(1.08); }
.pill-group { background: var(--pc-group); }
.pill-consult { background: var(--pc-consult); }
.pill-mortgages { background: var(--pc-mortgages); }
.pill-protect { background: var(--pc-protect); }

/* Small-screen menu. A details element, so it needs no script and passes the CSP. */
.site-menu { display: none; position: relative; }
.site-menu > summary {
    list-style: none; cursor: pointer; user-select: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 10px; border: 1px solid var(--pc-consult-line); border-radius: var(--radius-sm);
    font-size: 13px; color: var(--pc-consult); background: white;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu-bars { display: inline-block; width: 16px; height: 2px; background: var(--pc-consult); position: relative; }
.site-menu-bars::before, .site-menu-bars::after {
    content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--pc-consult);
}
.site-menu-bars::before { top: -5px; }
.site-menu-bars::after { top: 5px; }
.site-menu-panel {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px;
    background: white; border: 1px solid var(--pc-rule); border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12); padding: 8px;
    display: flex; flex-direction: column;
}
.site-menu-panel a {
    display: block; padding: 10px 12px; border-radius: var(--radius-sm);
    color: var(--pc-body); text-decoration: none; font-size: 14px;
}
.site-menu-panel a:hover { background: var(--pc-paper); }
.site-menu-panel a.active { color: var(--pc-consult); font-weight: 500; background: var(--pc-consult-tint); }
.site-menu-panel .site-menu-user {
    margin-top: 6px; padding: 10px 12px 4px; border-top: 1px solid var(--pc-rule);
    font-size: 12px; color: var(--pc-sub);
}

@media (max-width: 1180px) {
    .site-nav { gap: 16px; font-size: 13px; }
    .site-pills { display: none; }
}
@media (max-width: 980px) {
    .site-user > span { display: none; }
    .signout-link { margin-left: 6px; padding-left: 8px; }
}
@media (max-width: 760px) {
    .site-header-inner { padding: 10px 16px; }
    .site-nav { display: none; }
    .site-user { display: none; }
    .site-menu { display: block; }
    .site-brand-app { font-size: 14px; }
}

.breadcrumb {
    max-width: 1100px; margin: 0 auto; padding: 14px 28px 0;
    font-size: 12px; color: var(--pc-sub);
}
.breadcrumb a { color: var(--pc-sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--pc-consult); }
.breadcrumb-sep { margin: 0 6px; color: var(--pc-rule); }

/* ── Main container ──────────────────────────────────────────────────────── */
.container { max-width: 880px; margin: 0 auto; padding: 22px 28px 60px; }
.container-wide { max-width: 1100px; }

.page-intro { margin-bottom: 22px; }
.page-title {
    font-size: 26px; font-weight: 500; color: var(--pc-consult);
    margin: 0 0 6px; line-height: 1.25;
}
.page-subtitle {
    font-size: 15px; color: var(--pc-sub); margin: 0;
    max-width: 640px; line-height: 1.6;
}
.page-subtitle a { color: var(--pc-consult); }

/* ── Notices ─────────────────────────────────────────────────────────────── */
.disclaimer-banner {
    background: var(--pc-consult-tint);
    border-left: 3px solid var(--pc-consult);
    padding: 12px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--pc-body);
    line-height: 1.5;
}
.disclaimer-banner strong { color: var(--pc-consult); font-weight: 500; }

.notice-ok {
    background: var(--pc-green-tint);
    border-left: 3px solid var(--pc-green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 10px 14px;
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--pc-body);
}
.notice-ok strong { color: var(--pc-green); font-weight: 500; }

.error {
    background: var(--pc-red-tint); color: var(--pc-red);
    padding: 14px 18px; border-radius: var(--radius-sm); font-size: 13px;
}
.error p { margin: 6px 0 0; color: var(--pc-body); }
.error strong { font-weight: 500; }

/* ── Panels ──────────────────────────────────────────────────────────────── */
.panel {
    background: white;
    border: 1px solid var(--pc-rule);
    border-radius: var(--radius);
    padding: 24px 26px;
    margin-bottom: 18px;
}
.panel-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--pc-consult);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-label {
    font-size: 11px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
    color: var(--pc-consult); margin: 14px 0 8px;
}

/* Numbered groups inside a form panel: "1. The post", "2. About the post". */
.form-section { padding-top: 6px; }
.form-section + .form-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--pc-rule); }
.form-section-title {
    display: flex; align-items: baseline; gap: 10px;
    margin: 0 0 14px; font-size: 15px; font-weight: 500; color: var(--pc-body);
}
.form-section-title .step-num {
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; align-self: center;
    background: var(--pc-consult-tint); color: var(--pc-consult);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 500;
}
.form-section-title .section-name { white-space: nowrap; }
.form-section-title .section-note { font-size: 13px; font-weight: 400; color: var(--pc-sub); }
@media (max-width: 700px) {
    .form-section-title { flex-wrap: wrap; }
    .form-section-title .section-note { flex-basis: 100%; margin-left: 34px; margin-top: -4px; }
}

/* ── Form ────────────────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.grid-full { grid-column: 1 / -1; }
.field label {
    display: block; font-size: 13px; color: var(--pc-body);
    margin-bottom: 6px; font-weight: 500;
}
.field label .label-opt { color: var(--pc-soft-sub); font-weight: 400; }
.field-help { font-size: 12px; color: var(--pc-sub); margin: 6px 0 0; line-height: 1.5; }
.field-help a { color: var(--pc-consult); }
.field-help.before { margin: 0 0 6px; }
.field input,
.field select,
.field textarea {
    width: 100%; font-family: var(--font-sans); font-size: 14px; color: var(--pc-body);
    border: 1px solid var(--pc-consult-line); border-radius: var(--radius-sm);
    padding: 10px 12px; background: white;
}
.field textarea { resize: vertical; min-height: 200px; line-height: 1.55; }
.field textarea.notes { min-height: 70px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none; border-color: var(--pc-consult);
    box-shadow: 0 0 0 2px var(--pc-consult-tint);
}
.field input::placeholder, .field textarea::placeholder { color: #9a9a9a; }
.char-counter { font-size: 11px; color: var(--pc-sub); text-align: right; margin-top: 4px; }
.char-counter .char-hint { margin-left: 10px; color: var(--pc-soft-sub); }
.char-counter .char-hint::before { content: "\00b7"; margin-right: 10px; }
@media (max-width: 700px) { .char-counter .char-hint { display: none; } }

.field-required { color: #B91C1C; }
.field-error { color: #B91C1C; font-size: 12px; margin: 6px 0 0; }
.field-ok { color: #065F46; font-size: 12px; margin: 6px 0 0; }
.field-value { font-size: 14px; color: var(--pc-body); padding: 4px 0; }

/* A field the user has been asked to complete. Set only after the first attempt to run. */
.field.needs-attention input,
.field.needs-attention select,
.field.needs-attention textarea,
.field.needs-attention .drop-zone { border-color: var(--pc-amber); box-shadow: 0 0 0 2px var(--pc-amber-tint); }
.field.needs-attention > label { color: var(--pc-amber); }

/* "Why we ask" and similar short expanders inside a field. */
details.field-more { margin-top: 6px; font-size: 12px; color: var(--pc-sub); }
details.field-more > summary { cursor: pointer; color: var(--pc-consult); list-style: none; display: inline; }
details.field-more > summary::-webkit-details-marker { display: none; }
details.field-more > summary::after { content: " \25BE"; font-size: 10px; }
details.field-more[open] > summary::after { content: " \25B4"; }
details.field-more > p { margin: 6px 0 0; line-height: 1.5; }

/* Channel and radio chips */
.channel-checkboxes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.channel-check {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--pc-rule); border-radius: 20px;
    background: var(--pc-paper); cursor: pointer;
    font-size: 13px; user-select: none;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.channel-check input { margin: 0; width: auto; accent-color: var(--pc-consult); }
.field .channel-check { display: inline-flex; margin-bottom: 0; font-weight: 400; }
.channel-check.is-selected { background: var(--pc-consult); border-color: var(--pc-consult); color: #FFFFFF; }
.channel-check:hover:not(.is-selected) { border-color: var(--pc-consult-line); background: white; }
.channel-check:focus-within { outline: 2px solid var(--pc-consult); outline-offset: 2px; }

/* Attachment drop zone. The file input is stretched across the whole zone at zero opacity,
   so a click anywhere opens the chooser and a file dropped anywhere lands in the input. */
.drop-zone {
    position: relative;
    border: 1.5px dashed var(--pc-consult-line);
    border-radius: var(--radius);
    background: white;
    padding: 18px 16px;
    text-align: center;
    font-size: 13px;
    color: var(--pc-sub);
    transition: background 0.12s ease, border-color 0.12s ease;
}
.drop-zone strong { color: var(--pc-consult); font-weight: 500; }
.drop-zone small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--pc-soft-sub); }
.drop-zone.is-dragging { border-color: var(--pc-consult); border-style: solid; background: var(--pc-consult-tint); }
.drop-zone.has-file { border-style: solid; background: var(--pc-paper); }
.drop-zone:focus-within { outline: 2px solid var(--pc-consult); outline-offset: 2px; }
.drop-zone .drop-input {
    position: absolute; inset: 0; width: 100%; height: 100%;
    margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer;
}
.drop-text { pointer-events: none; }
.image-preview {
    margin-top: 10px; max-width: 220px; max-height: 220px;
    border: 1px solid var(--pc-rule); border-radius: 4px; display: block;
}

/* Media link row under the drop zone */
.video-link-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.video-link-input {
    flex: 1 1 auto; min-width: 0; font-family: var(--font-sans); font-size: 13px; color: var(--pc-body);
    border: 1px solid var(--pc-consult-line); border-radius: var(--radius-sm); padding: 8px 10px; background: white;
}
.video-link-input:focus { outline: none; border-color: var(--pc-consult); box-shadow: 0 0 0 2px var(--pc-consult-tint); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.actions {
    display: flex; gap: 12px; align-items: center; margin-top: 22px;
    padding-top: 18px; border-top: 1px solid var(--pc-rule); flex-wrap: wrap;
}
.btn-primary {
    background: var(--pc-consult); color: white; border: none; border-radius: var(--radius-sm);
    padding: 11px 26px; font-size: 14px; font-weight: 500; cursor: pointer;
    font-family: var(--font-sans); text-decoration: none; display: inline-block; line-height: 1.3;
}
.btn-primary:hover { background: var(--pc-consult-dark); }
.btn-primary:disabled { background: var(--pc-disabled); cursor: not-allowed; }
.btn-secondary {
    background: white; color: var(--pc-consult); border: 1px solid var(--pc-consult-line); border-radius: var(--radius-sm);
    padding: 10px 18px; font-size: 14px; font-weight: 500; cursor: pointer;
    font-family: var(--font-sans); text-decoration: none; display: inline-block; line-height: 1.3;
}
.btn-secondary:hover { background: var(--pc-consult-tint); }
.btn-secondary:disabled { color: var(--pc-disabled); border-color: var(--pc-rule); cursor: not-allowed; background: white; }
.btn-ghost {
    background: transparent; color: var(--pc-sub); border: 1px solid var(--pc-consult-line);
    border-radius: var(--radius-sm); padding: 10px 18px; font-size: 14px; cursor: pointer;
    font-family: var(--font-sans); text-decoration: none; display: inline-block; line-height: 1.3;
}
.btn-ghost:hover { background: var(--pc-paper); }
.btn-ghost:disabled { color: var(--pc-disabled); cursor: not-allowed; }
.btn-link {
    background: none; border: none; padding: 0; font-family: var(--font-sans); font-size: 13px;
    color: var(--pc-consult); text-decoration: underline; cursor: pointer;
}
.btn-link:hover { color: var(--pc-consult-dark); }
.btn-link:disabled { color: var(--pc-disabled); cursor: not-allowed; }
.btn-link.escalate { color: var(--pc-amber); }
.link-btn {
    background: none; border: none; padding: 0; font-family: var(--font-sans); font-size: 12px;
    color: var(--pc-sub); text-decoration: underline; cursor: pointer;
}
.link-btn:hover { color: var(--pc-consult); }
.link-btn:disabled { color: var(--pc-disabled); cursor: not-allowed; }
.mini-btn {
    background: white; border: 1px solid var(--pc-consult-line); color: var(--pc-consult);
    border-radius: 5px; padding: 7px 13px; font-size: 12px; cursor: pointer;
    font-family: var(--font-sans); text-decoration: none; display: inline-block; line-height: 1.3;
}
.mini-btn:hover { background: var(--pc-consult-tint); }
.mini-btn:disabled { color: var(--pc-disabled); border-color: var(--pc-rule); cursor: not-allowed; background: white; }
.mini-btn.escalate { color: var(--pc-amber); border-color: var(--pc-amber-line); }
.mini-btn.escalate:hover { background: var(--pc-amber-tint); }
.actions-info { margin-left: auto; font-size: 12px; color: var(--pc-sub); font-style: italic; }

/* What is still needed before the form can run. Shown after the first attempt only. */
.needs-list { margin-left: auto; font-size: 13px; color: var(--pc-sub); text-align: right; }
.needs-list a { color: var(--pc-amber); font-weight: 500; text-decoration: underline; }
.needs-list a + a::before { content: ",\00a0"; color: var(--pc-sub); font-weight: 400; text-decoration: none; display: inline-block; }

/* ── Result panel ────────────────────────────────────────────────────────── */
.output {
    background: white; border: 1px solid var(--pc-rule); border-radius: var(--radius);
    padding: 0; margin-top: 24px; overflow: hidden;
}
.output.visible { display: block; }

.output-header { padding: 18px 26px; display: flex; align-items: flex-start; gap: 14px; }
.output-header.red { background: var(--pc-red-tint); border-bottom: 1px solid var(--pc-red-line); }
.output-header.amber { background: var(--pc-amber-tint); border-bottom: 1px solid var(--pc-amber-line); }
.output-header.green { background: var(--pc-green-tint); border-bottom: 1px solid var(--pc-green-line); }
.output-header.unrated { background: var(--pc-paper); border-bottom: 1px solid var(--pc-rule); }

.output-rating-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 500; color: white; flex-shrink: 0; margin-top: 2px;
}
.output-rating-icon.red { background: var(--pc-red); }
.output-rating-icon.amber { background: var(--pc-amber); }
.output-rating-icon.green { background: var(--pc-green); }
.output-rating-icon.unrated { background: var(--pc-sub); }

.output-rating-text { flex: 1; min-width: 0; }
.output-rating-title { font-size: 17px; font-weight: 500; margin: 0; line-height: 1.3; }
.output-rating-title.red { color: var(--pc-red); }
.output-rating-title.amber { color: var(--pc-amber); }
.output-rating-title.green { color: var(--pc-green); }
.output-rating-next { font-size: 14px; margin: 4px 0 0; color: var(--pc-body); line-height: 1.5; max-width: 60ch; }
.output-rating-summary { font-size: 12.5px; margin: 6px 0 0; color: var(--pc-sub); }

/* The next steps, as real buttons directly under the rating. */
.output-actions {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
    padding: 14px 26px; border-bottom: 1px solid var(--pc-rule); background: white;
}
.output-actions .output-ref { margin-left: auto; font-size: 11.5px; color: var(--pc-soft-sub); white-space: nowrap; }
.escalated-confirm { font-size: 13px; color: var(--pc-amber); }

.output-body { padding: 22px 26px; }

.result-content { font-size: 13.5px; line-height: 1.65; color: var(--pc-body); }
.result-content h1 { font-size: 18px; font-weight: 500; color: var(--pc-consult); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--pc-consult-line); }
.result-content h2 { font-size: 16px; font-weight: 500; color: var(--pc-consult); margin: 20px 0 10px; padding-bottom: 5px; border-bottom: 1px solid var(--pc-consult-line); }
.result-content h2:first-child, .result-content h1:first-child { margin-top: 0; }
.result-content h3 { font-size: 14px; font-weight: 500; margin: 16px 0 8px; }
.result-content p { margin: 6px 0; }
.result-content ul, .result-content ol { margin: 6px 0 12px; padding-left: 22px; }
.result-content li { margin-bottom: 5px; }
.result-content strong { font-weight: 500; }
.result-content code { background: var(--pc-consult-tint); color: var(--pc-consult); padding: 1px 6px; border-radius: 3px; font-size: 12px; font-family: var(--font-mono); }
.result-content blockquote { border-left: 3px solid var(--pc-consult); background: var(--pc-paper); margin: 14px 0; padding: 10px 16px; font-size: 12px; color: var(--pc-sub); }
.result-content hr { border: none; border-top: 1px solid var(--pc-rule); margin: 16px 0; }
.result-content table { border-collapse: collapse; font-size: 13px; margin: 8px 0 12px; }
.result-content th, .result-content td { border: 1px solid var(--pc-rule); padding: 5px 8px; text-align: left; vertical-align: top; }
.result-content th { background: var(--pc-paper); font-weight: 500; }

.detail-toggle {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--pc-sub);
    margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--pc-rule);
    cursor: pointer; user-select: none;
}
.detail-toggle input { margin: 0; accent-color: var(--pc-consult); }

.approver-prompt {
    background: var(--pc-paper); border: 1px solid var(--pc-rule);
    border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 18px;
    font-size: 13px; color: var(--pc-body); line-height: 1.55;
}
.approver-prompt strong { color: var(--pc-consult); font-weight: 500; }

.recheck-badge {
    margin-top: 16px; padding: 10px 14px;
    background: var(--pc-consult-tint); border-left: 3px solid var(--pc-consult);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13px;
}
.recheck-badge strong { color: var(--pc-consult); font-weight: 500; }

.output-footer {
    background: var(--pc-paper); padding: 14px 26px;
    border-top: 1px solid var(--pc-rule);
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.output-footer-info { margin-left: auto; font-size: 11px; color: var(--pc-sub); }

.rewrite-panel { border-top: 1px solid var(--pc-rule); background: var(--pc-paper); }
.rewrite-meta { font-size: 11px; color: var(--pc-sub); margin-top: 12px; }

.email-sent-confirm {
    margin: 16px 26px; padding: 10px 14px;
    background: var(--pc-green-tint); border-left: 3px solid var(--pc-green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 13px; color: var(--pc-body);
}
.email-sent-confirm strong { color: var(--pc-green); font-weight: 500; }
.output .error.inset { margin: 16px 26px; }

/* Helpdesk referral banner */
.helpdesk-banner {
    background: var(--pc-amber-tint);
    border-left: 4px solid var(--pc-amber);
    padding: 14px 26px;
}
.helpdesk-banner-label {
    font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--pc-amber); margin-bottom: 6px;
}
.helpdesk-banner p { margin: 0; font-size: 13px; line-height: 1.5; }
.helpdesk-banner-action { display: inline-block; margin-top: 10px; }

/* Video stills and transcript */
.still-strip-label { margin-top: 22px; font-size: 11px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: var(--pc-consult); }
.still-strip { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 6px; scroll-snap-type: x proximity; }
.still-strip figure { flex: 0 0 auto; margin: 0; width: 120px; scroll-snap-align: start; }
.still-strip img { display: block; width: 120px; height: auto; border: 1px solid var(--pc-rule); border-radius: 4px; background: #000; }
.still-strip figcaption { font-size: 11px; color: var(--pc-sub); text-align: center; margin-top: 3px; font-family: var(--font-mono); }
details.transcript { margin-top: 14px; border: 1px solid var(--pc-rule); border-radius: var(--radius-sm); background: var(--pc-paper); }
details.transcript summary { cursor: pointer; padding: 8px 12px; font-size: 13px; color: var(--pc-consult); }
details.transcript pre { margin: 0; padding: 4px 12px 12px; font-size: 12px; line-height: 1.6; white-space: pre-wrap; font-family: var(--font-sans); color: var(--pc-body); }

/* ── Loading ─────────────────────────────────────────────────────────────── */
.loading { text-align: center; padding: 44px 24px; color: var(--pc-sub); font-size: 14px; }
.loading strong { color: var(--pc-body); font-weight: 500; }
.loading-dots span {
    display: inline-block; width: 8px; height: 8px; background: var(--pc-consult);
    border-radius: 50%; margin: 0 3px; animation: pulse 1.4s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

/* Indeterminate progress bar. Indeterminate because the assessment is a single call with
   nothing to measure. */
.progress { position: relative; height: 6px; border-radius: 3px; overflow: hidden; background: var(--pc-consult-tint); }
.progress-bar {
    position: absolute; top: 0; bottom: 0; width: 38%; border-radius: 3px;
    background: var(--pc-consult);
    animation: sweep 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes sweep { 0% { left: -38%; } 100% { left: 100%; } }
.actions-progress { flex: 1 1 160px; min-width: 140px; margin-left: auto; }
.loading-progress { max-width: 320px; margin: 0 auto; }

.btn-spinner {
    display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px;
    border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #FFFFFF; border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .progress-bar, .btn-spinner, .loading-dots span { animation-duration: 3s; }
}

/* Empty states: a sentence and a next step, not a grey "Nothing here yet." */
.empty-state { text-align: center; padding: 36px 24px; color: var(--pc-sub); font-size: 14px; }
.empty-state strong { display: block; color: var(--pc-body); font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.empty-state .btn-primary, .empty-state .btn-secondary { margin-top: 14px; }

/* ── Tables ──────────────────────────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
    text-align: left; padding: 10px 8px; font-weight: 500;
    color: var(--pc-consult); border-bottom: 2px solid var(--pc-consult-line);
}
.admin-table td { padding: 10px 8px; border-bottom: 1px solid var(--pc-rule); vertical-align: top; }
.admin-table tbody tr:hover { background: var(--pc-paper); }
.admin-table tbody tr.is-viewing { background: var(--pc-paper); box-shadow: inset 3px 0 0 var(--pc-consult); }

.rating-pill { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.rating-pill.red { background: var(--pc-red-tint); color: var(--pc-red); }
.rating-pill.amber { background: var(--pc-amber-tint); color: var(--pc-amber); }
.rating-pill.green { background: var(--pc-green-tint); color: var(--pc-green); }
.rating-pill.unrated { background: var(--pc-rule); color: var(--pc-sub); }

.code-block {
    background: var(--pc-paper); border: 1px solid var(--pc-rule);
    border-radius: var(--radius-sm); padding: 12px; font-family: var(--font-mono);
    font-size: 12px; white-space: pre-wrap; overflow-x: auto;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: white; border-top: 1px solid var(--pc-rule);
    padding: 18px 0; margin-top: 60px; font-size: 11px; color: var(--pc-soft-sub);
}
.site-footer-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 28px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-link { color: var(--pc-soft-sub); text-decoration: underline; }
.footer-link:hover { color: var(--pc-consult); }
.footer-sep { margin: 0 6px; color: var(--pc-rule); }

/* ── Dead circuit notice ─────────────────────────────────────────────────── */
#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    padding: 14px 22px; background: #b3261e; color: #fff; font-size: 14px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}
#blazor-error-ui a { color: #fff; text-decoration: underline; margin-left: 14px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
    .container { padding: 16px 16px 48px; }
    .panel { padding: 18px 16px; }
    .grid { grid-template-columns: 1fr; }
    .actions { flex-wrap: wrap; }
    .actions-info, .needs-list { width: 100%; margin-left: 0; margin-top: 8px; text-align: left; }
    .admin-table { font-size: 12px; }
    .admin-table th, .admin-table td { padding: 8px 4px; }
    .output-header, .output-actions, .output-body, .output-footer { padding-left: 16px; padding-right: 16px; }
    .email-sent-confirm, .output .error.inset { margin-left: 16px; margin-right: 16px; }
    .breadcrumb { padding: 12px 16px 0; }
    .site-footer-inner { padding: 0 16px; }
}

/* ============================================================================
   Page sections. Each group below belongs to one page and is named for it.
   ============================================================================ */

/* ── Admin ───────────────────────────────────────────────────────────────── */
.admin-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.admin-section {
    margin-top: 24px; margin-bottom: 10px; font-size: 13px; font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase; color: var(--pc-consult);
}
.admin-meta { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-meta th {
    text-align: left; vertical-align: top; width: 190px; padding: 5px 12px 5px 0;
    font-weight: 500; color: var(--pc-sub); white-space: nowrap;
}
.admin-meta td { padding: 5px 0; vertical-align: top; }
.admin-image { max-width: 340px; max-height: 340px; border: 1px solid var(--pc-rule); border-radius: 4px; display: block; }
.admin-flags { white-space: nowrap; }
.admin-flag {
    display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center;
    border-radius: 3px; font-size: 10px; font-weight: 700; margin-right: 3px; cursor: default;
}
.flag-referral { background: #FEF3C7; color: #B45309; }
.flag-image { background: #E0E7FF; color: #3730A3; }

.usage-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.usage-stat {
    flex: 1 1 130px; min-width: 120px;
    background: var(--pc-paper); border: 1px solid var(--pc-rule); border-radius: var(--radius-sm);
    padding: 10px 12px;
}
.usage-stat.usage-warn { background: var(--pc-amber-tint); border-color: var(--pc-amber-line); }
.usage-num { display: block; font-size: 22px; font-weight: 500; color: var(--pc-consult); line-height: 1.1; }
.usage-warn .usage-num { color: var(--pc-amber); }
.usage-lbl { display: block; font-size: 11px; color: var(--pc-sub); margin-top: 3px; }
.usage-table th.num, .usage-table td.num { text-align: right; }
.usage-firm {
    background: none; border: none; padding: 0; margin: 0; cursor: pointer;
    font-family: var(--font-sans); font-size: inherit; color: var(--pc-consult); text-align: left;
}
.usage-firm:hover { text-decoration: underline; }
.usage-tag {
    display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px;
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px;
    background: var(--pc-rule); color: var(--pc-sub);
}
.usage-ratings .rating-pill { margin-right: 3px; min-width: 22px; text-align: center; }
.usage-quiet td { background: var(--pc-amber-tint); }
.usage-never { color: var(--pc-amber); font-weight: 500; }
.usage-staff td { color: var(--pc-sub); font-style: italic; }

/* ── Access ──────────────────────────────────────────────────────────────── */
.access-status { position: sticky; top: 0; z-index: 20; padding: 8px 0; background: var(--pc-bg); }

/* ── Submission search (History and Admin) ───────────────────────────────── */
.sub-search { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.sub-search-text, .sub-search-rating {
    font-family: var(--font-sans); font-size: 13px; color: var(--pc-body);
    border: 1px solid var(--pc-consult-line); border-radius: var(--radius-sm);
    padding: 7px 10px; background: white;
}
.sub-search-text { flex: 1 1 260px; min-width: 200px; }
.sub-search-rating { flex: 0 0 auto; }
.sub-search-text:focus, .sub-search-rating:focus { outline: none; border-color: var(--pc-consult); box-shadow: 0 0 0 2px var(--pc-consult-tint); }
.sub-search-count { font-size: 12px; color: var(--pc-sub); white-space: nowrap; }

/* ── History ─────────────────────────────────────────────────────────────── */
.admin-table tbody tr.detail-row:hover { background: transparent; }
.admin-table td.detail-cell { padding: 0 0 18px; }
.output.detail-output { margin-top: 6px; }
.output.detail-output .output-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-table tbody tr.is-stale td { background: var(--pc-amber-tint); }
.admin-table tbody tr.is-stale:hover td { background: #f3e3bd; }
.admin-table tbody tr.is-stale.is-viewing td { box-shadow: inset 3px 0 0 var(--pc-amber); }
.campaign-badge {
    display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 3px;
    font-size: 10.5px; font-weight: 500; white-space: nowrap; text-decoration: none;
    border: 1px solid var(--pc-consult-line); color: var(--pc-consult); background: white;
}
.campaign-badge:hover { background: var(--pc-consult-tint); }
.stale-pill {
    display: inline-block; padding: 2px 8px; border-radius: 3px;
    font-size: 11px; font-weight: 500; white-space: nowrap;
    background: var(--pc-amber); color: white;
}
.history-table th:nth-child(2) { width: 46%; }
.history-when { white-space: nowrap; }
.history-when small, .history-post small { display: block; font-size: 12px; color: var(--pc-sub); margin-top: 2px; font-weight: 400; }
.history-post small { white-space: normal; }
.history-subject { color: var(--pc-body); text-decoration: none; font-weight: 500; }
.history-subject:hover { color: var(--pc-consult); text-decoration: underline; }
.history-recheck { white-space: nowrap; }
.history-actions { white-space: nowrap; text-align: right; }
.history-actions a + a { margin-left: 6px; }
.btn-small { padding: 7px 13px; font-size: 12px; border-radius: 5px; }
@media (max-width: 700px) {
    .history-table th:nth-child(4), .history-table td.history-recheck { display: none; }
    .history-actions { white-space: normal; }
    .history-actions a + a { margin-left: 0; margin-top: 4px; display: inline-block; }
}
.history-tools {
    display: flex; gap: 12px; align-items: center; justify-content: flex-end;
    margin: -4px 0 10px; font-size: 13px; color: var(--pc-sub); flex-wrap: wrap;
}
.history-tools label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.history-tools input[type="checkbox"] { width: auto; margin: 0; accent-color: var(--pc-consult); }

/* ── Campaign builder ────────────────────────────────────────────────────── */
.post-card { border: 1px solid var(--pc-rule); border-radius: 7px; padding: 14px 16px; margin-bottom: 12px; background: var(--pc-paper); }
.post-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.post-head strong { font-weight: 500; font-size: 14px; }
.post-head .channel-checkboxes { margin-top: 0; }
.post-side { margin-left: auto; display: inline-flex; gap: 14px; align-items: center; white-space: nowrap; }
.post-date { font-size: 12px; color: var(--pc-sub); display: inline-flex; gap: 6px; align-items: center; }
.post-date input { font-family: var(--font-sans); font-size: 12px; color: var(--pc-body); border: 1px solid var(--pc-consult-line); border-radius: 5px; padding: 4px 6px; background: white; }
.post-copy { width: 100%; font-family: var(--font-sans); font-size: 14px; color: var(--pc-body); border: 1px solid var(--pc-consult-line); border-radius: var(--radius-sm); padding: 10px 12px; background: white; min-height: 110px; resize: vertical; line-height: 1.55; }
.post-copy:focus { outline: none; border-color: var(--pc-consult); box-shadow: 0 0 0 2px var(--pc-consult-tint); }
.post-image { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; font-size: 12px; }
.post-image .field-ok, .post-image .field-help, .post-image .field-error { margin-top: 0; }
.post-link-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.post-link-input { flex: 1 1 auto; min-width: 0; font-family: var(--font-sans); font-size: 12.5px; color: var(--pc-body); border: 1px solid var(--pc-consult-line); border-radius: var(--radius-sm); padding: 7px 10px; background: white; }
.post-link-input:focus { outline: none; border-color: var(--pc-consult); box-shadow: 0 0 0 2px var(--pc-consult-tint); }
.image-pick { cursor: pointer; display: inline-block; }
.add-post { width: 100%; border: 1px dashed var(--pc-consult-line); border-radius: 7px; padding: 12px; text-align: center; color: var(--pc-consult); font-size: 14px; font-weight: 500; background: white; cursor: pointer; font-family: var(--font-sans); }
.add-post:hover { background: var(--pc-consult-tint); }
.add-post:disabled { color: var(--pc-disabled); cursor: not-allowed; }

/* ── Campaign view ───────────────────────────────────────────────────────── */
.post-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--pc-rule); }
.post-row:last-child { border-bottom: none; }
.post-row .num { width: 24px; height: 24px; border-radius: 50%; background: var(--pc-consult-tint); color: var(--pc-consult); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.post-row .what { font-size: 13.5px; }
.post-row .what strong { font-weight: 500; }
.post-row .what small { display: block; color: var(--pc-sub); font-size: 12px; margin-top: 2px; }
.post-row .side { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.post-detail { margin: 0 0 14px 38px; }
.post-detail .result-content { margin-top: 8px; }
.post-copy-block { margin-top: 12px; }
.post-copy-block pre { margin: 4px 0 0; padding: 10px 12px; font-family: var(--font-sans); font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; background: var(--pc-paper); border: 1px solid var(--pc-rule); border-radius: var(--radius-sm); }
.post-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.posts-body { border-top: 1px solid var(--pc-rule); }

/* ── Help ────────────────────────────────────────────────────────────────── */
.help-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.help-pdf { text-decoration: none; margin-top: 8px; white-space: nowrap; }
.help-topic { padding: 0; }
.help-topic > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 18px 26px; font-size: 16px; font-weight: 500; color: var(--pc-consult); user-select: none;
}
.help-topic > summary::-webkit-details-marker { display: none; }
.help-topic > summary:hover { background: var(--pc-paper); border-radius: var(--radius); }
.help-topic[open] > summary { border-bottom: 1px solid var(--pc-rule); border-radius: var(--radius) var(--radius) 0 0; }
.help-chevron {
    flex: 0 0 auto; width: 8px; height: 8px;
    border-right: 2px solid var(--pc-consult); border-bottom: 2px solid var(--pc-consult);
    transform: rotate(45deg); margin-right: 4px;
}
.help-topic[open] .help-chevron { transform: rotate(225deg); margin-top: 6px; }
.help-topic-body { padding: 18px 26px 22px; font-size: 14px; line-height: 1.6; color: var(--pc-body); }
.help-topic-body p { margin: 0 0 12px; }
.help-topic-body p strong { color: var(--pc-consult); font-weight: 500; }
.help-topic-body ul { margin: 0 0 4px; padding-left: 22px; }
.help-topic-body ul + ul { margin-top: -4px; }
.help-topic-body ul + p, .help-topic-body ul + .help-sub { margin-top: 12px; }
.help-sub { margin: 18px 0 8px; }
.help-topic-body p + .help-sub { margin-top: 6px; }
.help-table { margin: 4px 0 16px; }
.help-table td:first-child { width: 30%; font-weight: 500; }
.help-table td { line-height: 1.5; }
.help-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--pc-rule); font-size: 12px; color: var(--pc-soft-sub); }
.help-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: help-step; }
.help-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.55; }
.help-steps li::before {
    counter-increment: help-step; content: counter(help-step);
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
    background: var(--pc-consult-tint); color: var(--pc-consult);
    display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; margin-top: 1px;
}
.help-steps strong { font-weight: 500; }
@media (max-width: 620px) {
    .help-topic > summary { padding: 14px 18px; font-size: 15px; }
    .help-topic-body { padding: 14px 18px 18px; }
}

/* ── What's new ──────────────────────────────────────────────────────────── */
.wn-empty { margin: 0; color: var(--pc-body); }
.wn-release { padding-bottom: 20px; }
.wn-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.wn-title { margin: 0; font-size: 17px; font-weight: 500; color: var(--pc-consult); }
.wn-meta { font-size: 12px; color: var(--pc-sub); white-space: nowrap; }
.wn-version { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--pc-rule); font-family: var(--font-mono); font-size: 11px; color: var(--pc-soft-sub); }
.wn-summary { margin: 0 0 14px; color: var(--pc-sub); }
.wn-items { list-style: none; margin: 0; padding: 0; }
.wn-items li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; border-top: 1px solid var(--pc-rule); }
.wn-items li:first-child { border-top: none; }
.wn-pill {
    flex: 0 0 auto; display: inline-block; min-width: 66px; text-align: center;
    padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 500;
    letter-spacing: 0.5px; text-transform: uppercase; margin-top: 3px;
}
.wn-pill-new { background: var(--pc-green-tint); color: var(--pc-green); }
.wn-pill-improved { background: var(--pc-consult-tint); color: var(--pc-consult); }
.wn-pill-fixed { background: var(--pc-amber-tint); color: var(--pc-amber); }
.wn-pill-other { background: var(--pc-paper); color: var(--pc-sub); }
.wn-text { flex: 1 1 auto; font-size: 14px; }
.wn-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--pc-rule); font-size: 13px; color: var(--pc-sub); }
@media (max-width: 620px) {
    .wn-head { gap: 4px; }
    .wn-meta { white-space: normal; }
}

/* ── Welcome (landing) and Terms ─────────────────────────────────────────── */
.hero { background: var(--pc-consult); color: #ffffff; padding: 56px 0 48px; }
.hero-inner { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.hero-eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.hero-title { margin: 0 0 14px; font-size: 34px; font-weight: 500; line-height: 1.2; color: #ffffff; }
.hero-lede { margin: 0 0 26px; max-width: 620px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-hero { display: inline-block; background: #ffffff; color: var(--pc-consult); border-radius: var(--radius-sm); padding: 12px 26px; font-size: 15px; font-weight: 500; text-decoration: none; }
.btn-hero:hover { background: var(--pc-consult-tint); }
.btn-hero-ghost { display: inline-block; background: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: var(--radius-sm); padding: 11px 22px; font-size: 15px; text-decoration: none; }
.btn-hero-ghost:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.1); }
.hero-note { margin: 22px 0 0; max-width: 620px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }

.landing-section { margin: 40px 0; }
.landing-heading { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: var(--pc-consult); }
.landing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { background: white; border: 1px solid var(--pc-rule); border-radius: var(--radius); padding: 20px 22px; }
.feature-rule { width: 32px; height: 3px; border-radius: 2px; background: var(--pc-consult); margin-bottom: 12px; }
.feature-title { margin: 0 0 6px; font-size: 15px; font-weight: 500; color: var(--pc-body); }
.feature p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--pc-sub); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: white; border: 1px solid var(--pc-rule); border-radius: var(--radius); padding: 18px 22px; }
.step-number {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    background: var(--pc-consult-tint); color: var(--pc-consult);
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500;
}
.step-title { margin: 0 0 4px; font-size: 15px; font-weight: 500; color: var(--pc-body); }
.step p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--pc-sub); }
.landing-fineprint { margin: 22px 0 0; font-size: 12px; color: var(--pc-sub); }
.landing-fineprint a { color: var(--pc-consult); }

.terms-meta { margin: 0; font-size: 13px; color: var(--pc-sub); }
.legal { line-height: 1.65; }
.legal h2 { margin: 26px 0 8px; font-size: 15px; font-weight: 500; color: var(--pc-consult); }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 10px; font-size: 14px; color: var(--pc-body); max-width: 68ch; }
.legal a { color: var(--pc-consult); }
.accept-bar {
    background: var(--pc-amber-tint); border-left: 3px solid var(--pc-amber);
    padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 18px; font-size: 13px; line-height: 1.55;
}
.accept-bar strong { color: var(--pc-amber); font-weight: 500; }

@media (max-width: 700px) {
    .hero { padding: 40px 0 34px; }
    .hero-inner { padding: 0 16px; }
    .hero-title { font-size: 27px; }
    .landing-grid { grid-template-columns: 1fr; }
}
