:root {
  --ink: #1a1718;
  --ink-2: #30292b;
  --forest: #1b1718;
  --forest-deep: #080808;
  --mint: #f0d2d5;
  --mint-bright: #c91624;
  --coral: #d31e2c;
  --cream: #f5f1ee;
  --paper: #fffdfb;
  --white: #fff;
  --line: #ded5d3;
  --muted: #746b6d;
  --soft: #eee8e6;
  --danger: #a41621;
  --shadow: 0 24px 70px rgba(31, 6, 10, .16);
  --radius: 22px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.soft-section { background: var(--soft); }
.dark-section { color: var(--white); background: var(--forest); }
.eyebrow { display: inline-block; color: #47706c; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: var(--mint); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 9px; font-weight: 750; letter-spacing: -.01em; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--mint-bright); box-shadow: 0 10px 30px rgba(177, 14, 28, .24); }
.button-primary:hover { background: #e12635; box-shadow: 0 14px 35px rgba(177, 14, 28, .34); }
.button-dark { color: var(--white); background: var(--coral); }
.button-light { color: var(--forest); background: var(--white); }
.button-outline { color: var(--forest); border-color: #afbbb5; background: transparent; }
.button-small { min-height: 42px; padding: 0 16px; font-size: 14px; }
.button-wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); font-weight: 750; }
.text-link .icon, .button .icon, article > a .icon { transition: transform .2s; }
.text-link:hover .icon, .button:hover .icon, article > a:hover .icon { transform: translateX(4px); }
.icon-button { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.icon-button:hover { background: rgba(17, 59, 57, .08); }

/* Header */
.announcement { display: flex; height: 34px; align-items: center; justify-content: center; gap: 48px; color: #eadfe0; background: #b3111e; font-size: 11px; font-weight: 700; letter-spacing: .045em; }
.announcement a { display: flex; align-items: center; gap: 7px; color: var(--white); }
.site-header { position: relative; z-index: 20; color: var(--white); background: rgba(8, 8, 8, .96); border-bottom: 1px solid rgba(255, 255, 255, .11); backdrop-filter: blur(14px); }
.nav-wrap { display: flex; min-height: 86px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-emblem { position: relative; display: block; width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; border: 1px solid rgba(211, 30, 44, .55); border-radius: 8px; background: #0d0d0d; box-shadow: 0 7px 18px rgba(0, 0, 0, .28); }
.brand-logo { position: absolute; width: 96px; height: 96px; max-width: none; left: -24px; top: -10px; object-fit: cover; }
.brand-mark { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border: 1.5px solid var(--forest); transform: rotate(45deg); }
.brand-mark::after { position: absolute; inset: 5px; border: 1px solid rgba(17, 59, 57, .35); content: ""; }
.brand-mark span { position: absolute; z-index: 1; font-family: var(--serif); font-size: 17px; font-weight: 700; transform: rotate(-45deg); }
.brand-mark span:first-child { left: 8px; top: 4px; }
.brand-mark span:last-child { right: 7px; bottom: 3px; color: var(--coral); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { color: var(--white); font-size: 18px; letter-spacing: -.04em; }
.brand-copy small { margin-top: 5px; color: #b9adaf; font-size: 9px; font-weight: 800; letter-spacing: .23em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 31px; font-size: 14px; font-weight: 700; }
.site-nav > a:not(.button) { position: relative; padding: 9px 0; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1.5px; background: var(--coral); content: ""; transform: scaleX(0); transition: transform .2s; }
.site-nav > a:not(.button):hover::after { transform: scaleX(1); }
.site-header .nav-toggle { color: var(--white); }
.nav-toggle { display: none; }

/* Home */
.hero { position: relative; min-height: 720px; overflow: hidden; color: var(--white); border-bottom: 1px solid #2d2022; background: linear-gradient(135deg, #080808 0%, #130f10 58%, #29090e 100%); }
.hero::before { position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(211,30,44,.07) 1px, transparent 1px); background-size: 40px 40px; content: ""; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero-grid { position: relative; display: grid; min-height: 720px; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; }
.hero-copy { padding: 70px 0 82px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; color: #e6c9cc; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.kicker .icon { color: var(--coral); }
.hero h1 { max-width: 700px; margin: 0 0 27px; font-size: clamp(51px, 5.6vw, 78px); font-weight: 760; letter-spacing: -.067em; line-height: .98; }
.hero h1 em, .page-hero h1 em { color: var(--coral); font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }
.hero-copy > p { max-width: 620px; margin: 0 0 34px; color: #c7bbbd; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero .text-link { color: #f3edef; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; color: #c8babc; font-size: 12px; font-weight: 700; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row .icon { color: var(--forest); }
.hero-visual { position: relative; height: 550px; }
.hero-visual::before { position: absolute; top: 8%; left: 2%; width: 470px; height: 470px; border-radius: 50%; background: #2d1216; box-shadow: inset 0 0 0 1px rgba(211,30,44,.18); content: ""; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { right: -100px; bottom: -170px; width: 370px; height: 370px; background: rgba(211, 30, 44, .18); }
.hero-orb-two { top: 90px; right: 26%; width: 90px; height: 90px; border: 20px solid rgba(211, 30, 44, .22); }
.report-card { position: absolute; z-index: 2; padding: 25px; color: var(--ink); border: 1px solid rgba(211,30,44,.14); border-radius: 21px; background: rgba(255,253,251,.97); box-shadow: var(--shadow); }
.report-main { top: 45px; left: 35px; width: 405px; transform: rotate(-1.5deg); }
.report-head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mini-brand { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 8px; color: var(--white); background: var(--forest); font-family: var(--serif); }
.report-head div { display: grid; flex: 1; }
.report-head small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.report-head strong { font-size: 13px; }
.pill, .status-pill { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border-radius: 999px; color: #9e111d; background: #f5dcde; font-size: 10px; font-weight: 800; white-space: nowrap; }
.report-score { display: flex; align-items: center; justify-content: space-between; padding: 27px 10px 22px; }
.report-score > div:first-child { display: grid; }
.report-score span { font-family: var(--serif); font-size: 58px; line-height: .9; }
.report-score small { margin-top: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.score-ring { display: grid; width: 80px; height: 80px; place-items: center; border: 9px solid #eee3e4; border-top-color: var(--coral); border-radius: 50%; transform: rotate(20deg); }
.score-ring span { color: var(--forest); font: 800 23px var(--sans); transform: rotate(-20deg); }
.report-bars { display: grid; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.report-bars > div { display: grid; grid-template-columns: 126px 1fr 56px; align-items: center; gap: 10px; font-size: 9px; }
.report-bars i { height: 5px; overflow: hidden; border-radius: 6px; background: #ece6e6; }
.report-bars b { display: block; height: 100%; border-radius: inherit; background: var(--forest); }
.report-bars em { color: var(--muted); font-style: normal; text-align: right; }
.report-foot { display: flex; align-items: center; gap: 10px; padding-top: 18px; color: var(--forest); }
.report-foot span { display: grid; }
.report-foot strong { font-size: 10px; }
.report-foot small { color: var(--muted); font-size: 8px; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 14px 17px; color: var(--ink); border: 1px solid rgba(211,30,44,.12); border-radius: 13px; background: var(--white); box-shadow: 0 15px 40px rgba(0,0,0,.2); }
.floating-note > .icon { width: 27px; height: 27px; padding: 6px; border-radius: 7px; color: var(--forest); background: var(--mint); }
.floating-note span { display: grid; }
.floating-note strong { font-size: 11px; }
.floating-note small { color: var(--muted); font-size: 8px; }
.note-one { top: 125px; right: -18px; }
.note-two { bottom: 75px; left: -5px; }
.proof-strip { padding: 25px 0; color: var(--white); background: #111; border-bottom: 1px solid #2c2526; }
.proof-strip .container { display: flex; align-items: center; justify-content: space-between; }
.proof-strip span { color: #e45761; font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.proof-strip div div { display: flex; align-items: center; gap: 58px; }
.proof-strip strong { color: #d1c7c8; font-family: var(--serif); font-size: 16px; font-style: italic; font-weight: 500; }
.section-heading h2, .feature-grid h2 { margin: 12px 0 0; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.055em; line-height: 1.03; }
.split-heading { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 80px; }
.split-heading p { margin: 0 0 7px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.process-grid { display: grid; margin-top: 65px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cfd4cd; border-bottom: 1px solid #cfd4cd; }
.process-grid article { position: relative; padding: 45px 42px 45px 0; }
.process-grid article + article { padding-left: 42px; border-left: 1px solid #cfd4cd; }
.process-grid .step-number { color: #8a9794; font-family: var(--serif); font-size: 13px; }
.step-icon { display: grid; width: 64px; height: 64px; margin: 35px 0 28px; place-items: center; border-radius: 50%; color: #a80e1b; background: #f1d9db; }
.step-icon .icon { width: 25px; height: 25px; }
.process-grid h3 { margin: 0 0 13px; font-size: 24px; letter-spacing: -.035em; }
.process-grid p { max-width: 300px; min-height: 72px; margin: 0 0 27px; color: var(--muted); }
.process-grid a { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.feature-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 130px; align-items: start; }
.feature-grid > div:first-child { position: sticky; top: 30px; }
.feature-grid > div:first-child p { max-width: 440px; margin: 24px 0 32px; color: #bbcdca; font-size: 17px; }
.detail-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 25px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.16); }
.detail-list > div:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.detail-list > div > span { color: var(--mint); font-family: var(--serif); font-size: 13px; }
.detail-list h3 { margin: 0 0 7px; font-size: 22px; }
.detail-list p { margin: 0; color: #a9bfbc; }
.testimonial-section { text-align: center; }
.quote-mark { color: var(--coral); font-family: var(--serif); font-size: 100px; line-height: .6; }
.testimonial-section blockquote { max-width: 900px; margin: 20px auto 35px; font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-style: italic; line-height: 1.25; letter-spacing: -.025em; }
.testimonial-person { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.testimonial-person > span, .avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--white); background: var(--forest); font-size: 12px; font-weight: 800; }
.testimonial-person div { display: grid; }
.testimonial-person small { color: var(--muted); font-size: 10px; }
.education-section { background: var(--paper); }
.article-grid { display: grid; margin-top: 52px; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-grid > a { display: flex; min-height: 285px; padding: 30px; flex-direction: column; border: 1px solid var(--line); background: var(--cream); transition: transform .2s, box-shadow .2s; }
.article-grid > a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-grid span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.article-grid h3 { margin: 42px 0 auto; font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1.25; }
.article-grid em { display: flex; align-items: center; gap: 8px; color: var(--forest); font-size: 12px; font-style: normal; font-weight: 800; }

/* Inner public pages */
.page-hero { padding: 108px 0 98px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--cream); }
.page-hero .container { position: relative; }
.page-hero .container::after { position: absolute; top: -70px; right: 20px; width: 260px; height: 260px; border: 40px solid rgba(211,30,44,.12); border-radius: 50%; content: ""; }
.page-hero h1 { position: relative; z-index: 1; max-width: 900px; margin: 15px 0 22px; font-size: clamp(54px, 7vw, 86px); letter-spacing: -.068em; line-height: .98; }
.page-hero p { position: relative; z-index: 1; max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.story-grid h2 { margin: 14px 0; font-size: 48px; line-height: 1.1; letter-spacing: -.05em; }
.story-grid p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.story-grid .lead { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1.5; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #ccd3ca; }
.values-grid article { padding: 48px; background: #edf0e8; }
.values-grid span { color: var(--coral); font-family: var(--serif); }
.values-grid h3 { margin: 35px 0 14px; font-size: 26px; }
.values-grid p { color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 75px 1fr 40px; align-items: center; gap: 30px; padding: 38px 10px; border-bottom: 1px solid var(--line); }
.service-list article > span { color: var(--coral); font-family: var(--serif); }
.service-list h2 { margin: 0 0 5px; font-size: 28px; letter-spacing: -.035em; }
.service-list p { max-width: 740px; margin: 0; color: var(--muted); }
.service-list article > .icon { justify-self: end; }
.review-box { display: grid; padding: 65px; grid-template-columns: 1fr 1fr; gap: 90px; color: var(--white); background: var(--forest); border-radius: 20px; }
.review-box > div:first-child > .icon { width: 35px; height: 35px; margin-bottom: 30px; color: var(--mint-bright); }
.review-box h2 { margin: 13px 0; font-size: 46px; letter-spacing: -.05em; line-height: 1.08; }
.review-box p { color: #bed0cd; font-size: 17px; line-height: 1.75; }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list .icon { color: var(--mint-bright); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.pricing-card { position: relative; display: flex; padding: 40px 34px; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.pricing-card.featured { color: var(--white); background: var(--forest); transform: translateY(-15px); }
.pricing-card.featured .eyebrow, .pricing-card.featured p, .pricing-card.featured small { color: #bfd0cd; }
.popular { position: absolute; top: -13px; right: 24px; padding: 6px 12px; border-radius: 999px; color: var(--forest); background: var(--mint-bright); font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 12px; }
.price strong { font-family: var(--serif); font-size: 54px; font-weight: 500; }
.pricing-card > p { min-height: 52px; color: var(--muted); }
.pricing-card ul { display: grid; gap: 14px; margin: 20px 0 35px; padding: 24px 0 0; border-top: 1px solid rgba(128,145,141,.3); list-style: none; }
.pricing-card li { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.pricing-card li .icon { color: var(--coral); }
.pricing-card .button { margin-top: auto; }
.pricing-card.featured .button-outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.pricing-note { max-width: 800px; margin: 35px auto 0; color: var(--muted); font-size: 12px; text-align: center; }
.faq-wrap { max-width: 900px; }
.faq-wrap details { border-bottom: 1px solid var(--line); }
.faq-wrap summary { display: grid; padding: 28px 0; grid-template-columns: 50px 1fr 30px; align-items: center; gap: 15px; cursor: pointer; font-size: 20px; font-weight: 750; list-style: none; }
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary span { color: var(--coral); font: 14px var(--serif); }
.faq-wrap summary b { font-size: 25px; font-weight: 400; transition: transform .2s; }
.faq-wrap details[open] summary b { transform: rotate(45deg); }
.faq-wrap details p { max-width: 730px; margin: -4px 0 30px 65px; color: var(--muted); line-height: 1.8; }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin: 45px 0 12px; font-size: 28px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.legal-updated { margin-top: 50px; font-size: 12px !important; font-weight: 800; text-transform: uppercase; }
.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.contact-grid h2 { font-size: 35px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 18px 60px rgba(17,59,57,.07); }
.simple-form { display: grid; gap: 19px; padding: 40px; }
.simple-form .button { justify-self: start; }
.success-card { max-width: 730px; padding: 55px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); text-align: center; }
.success-card > .icon { width: 52px; height: 52px; margin: 0 auto 25px; padding: 13px; border-radius: 50%; background: var(--mint); }

/* Forms & auth */
label { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 750; }
label small { color: var(--muted); font-weight: 500; }
input, textarea, select { width: 100%; border: 1px solid #bdc7c1; border-radius: 8px; outline: 0; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s; }
input, select { height: 48px; padding: 0 14px; }
textarea { min-height: 90px; padding: 13px 14px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(211,30,44,.12); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-page { padding: 75px 0 110px; }
.form-layout { display: grid; grid-template-columns: 340px 1fr; align-items: start; gap: 70px; }
.form-layout > aside { position: sticky; top: 30px; }
.form-layout h1 { margin: 13px 0 17px; font-size: 51px; letter-spacing: -.055em; line-height: 1.04; }
.form-layout > aside > p { color: var(--muted); line-height: 1.75; }
.privacy-card { display: flex; gap: 14px; margin: 28px 0; padding: 18px; border: 1px solid #dfc3c6; border-radius: 12px; background: #f6e7e8; }
.privacy-card > .icon { margin-top: 3px; color: var(--forest); }
.privacy-card strong { font-size: 13px; }
.privacy-card p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.mini-steps { display: grid; gap: 11px; margin-top: 40px; padding: 0; list-style: none; }
.mini-steps li { display: flex; align-items: center; gap: 12px; color: #83918e; font-size: 12px; font-weight: 750; }
.mini-steps span { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid #aab6b0; border-radius: 50%; font-size: 10px; }
.mini-steps .active { color: var(--forest); }
.mini-steps .active span { color: var(--white); background: var(--forest); }
.intake-form { overflow: hidden; }
.form-section { padding: 42px 46px; }
.form-section + .form-section { border-top: 1px solid var(--line); }
.form-section-head { display: flex; gap: 16px; margin-bottom: 30px; }
.form-section-head > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font: 13px var(--serif); }
.form-section-head h2 { margin: 0; font-size: 24px; }
.form-section-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.field-grid .wide { grid-column: 1 / -1; }
.check-field { display: flex; grid-template-columns: 20px 1fr; align-items: start; gap: 12px; margin-bottom: 27px; font-weight: 500; line-height: 1.65; }
.check-field input { width: 18px; height: 18px; margin-top: 3px; }
.check-field a { text-decoration: underline; }
.form-fineprint { color: var(--muted); font-size: 10px; text-align: center; }
.login-page { display: grid; min-height: 100vh; grid-template-columns: 1fr .9fr; background: var(--cream); }
.login-panel { display: flex; padding: 45px max(50px, 8vw); flex-direction: column; }
.login-panel > a { align-self: flex-start; }
.login-card { width: min(440px, 100%); margin: auto; }
.register-card { padding: 55px 0; }
.register-card h1 { font-size: 43px; }
.login-card h1 { margin: 8px 0; font-size: 52px; letter-spacing: -.055em; }
.login-card > p { margin: 0 0 28px; color: var(--muted); }
.login-card form { display: grid; gap: 19px; }
.form-meta { margin-top: -8px; text-align: right; }
.form-meta a { color: var(--coral); font-size: 11px; font-weight: 800; }
.password-wrap { position: relative; }
.password-wrap button { position: absolute; top: 50%; right: 11px; border: 0; color: var(--forest); background: transparent; font-size: 11px; font-weight: 800; transform: translateY(-50%); cursor: pointer; }
.demo-box { display: grid; gap: 5px; margin-top: 25px; padding: 16px; border: 1px dashed #aab8b0; border-radius: 9px; background: #ecefe7; font-size: 11px; }
.demo-box code { overflow-wrap: anywhere; }
.login-help { font-size: 12px; text-align: center; }
.login-help a { font-weight: 800; text-decoration: underline; }
.login-art { position: relative; display: grid; place-items: center; overflow: hidden; color: var(--white); background: var(--forest); }
.login-art::before, .login-art::after { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.login-art::before { width: 520px; height: 520px; }
.login-art::after { width: 340px; height: 340px; }
.login-art > div { position: relative; z-index: 1; max-width: 490px; padding: 50px; }
.login-art blockquote { margin: 15px 0 28px; font-family: var(--serif); font-size: 43px; font-style: italic; line-height: 1.2; }
.login-art p { color: #b8ceca; }

/* Footer */
.cta-band { padding: 75px 0; color: var(--white); background: var(--coral); }
.cta-band-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.cta-band h2 { margin: 12px 0 0; font-size: 56px; letter-spacing: -.055em; line-height: 1; }
.cta-band p { margin: 0 0 20px; color: #fff0e9; }
.site-footer { padding: 72px 0 28px; color: #d5e2df; background: var(--forest-deep); }
.site-footer .brand-emblem, .portal-sidebar .brand-emblem { border-color: rgba(255,255,255,.18); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.site-footer .brand-mark { border-color: var(--white); }
.site-footer .brand-mark::after { border-color: rgba(255,255,255,.35); }
.site-footer .brand-copy strong { color: var(--white); }
.site-footer .brand-copy small { color: #a9bfbb; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 65px; }
.footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.footer-grid > div:first-child > p { max-width: 280px; color: #8eaaa5; font-size: 13px; }
.footer-grid strong { color: var(--white); font-size: 13px; }
.footer-grid a { color: #9eb5b1; font-size: 12px; }
.footer-grid a:hover { color: var(--white); }
.secure-line { display: flex; align-items: center; gap: 7px; color: var(--mint); font-size: 11px; }
.footer-contact { margin-top: 12px; color: #9eb5b1; font-size: 11px; }
.footer-legal { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-top: 55px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-legal p { max-width: 800px; margin: 0; color: #77948f; font-size: 10px; }
.footer-legal span { flex: 0 0 auto; color: #77948f; font-size: 10px; }
.toast { position: fixed; z-index: 100; top: 24px; left: 50%; display: flex; max-width: min(520px, calc(100% - 30px)); padding: 14px 15px 14px 20px; align-items: center; gap: 18px; border-radius: 9px; color: var(--white); background: var(--forest); box-shadow: var(--shadow); font-size: 13px; transform: translateX(-50%); }
.toast-error { background: var(--danger); }
.toast button { margin-left: auto; border: 0; color: inherit; background: none; font-size: 20px; cursor: pointer; }

/* Portal */
.portal-body { min-height: 100vh; padding-left: 255px; background: #f1f2ec; }
.portal-sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; display: flex; width: 255px; padding: 28px 20px; flex-direction: column; overflow-y: auto; color: #d6cbcc; background: var(--forest-deep); }
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; margin: 0 10px 47px; }
.portal-sidebar .brand-mark { width: 36px; height: 36px; border-color: var(--white); }
.portal-sidebar .brand-emblem { width: 40px; height: 40px; flex-basis: 40px; }
.portal-sidebar .brand-logo { width: 80px; height: 80px; left: -20px; top: -8px; }
.portal-sidebar .brand-mark::after { border-color: rgba(255,255,255,.3); }
.portal-sidebar .brand-mark span { font-size: 14px; }
.portal-sidebar .brand-copy strong { color: var(--white); font-size: 15px; }
.portal-sidebar .brand-copy small { color: #8fa9a4; }
.portal-sidebar nav { display: grid; gap: 6px; }
.portal-sidebar nav a { display: flex; height: 47px; padding: 0 14px; align-items: center; gap: 13px; border-radius: 8px; color: #9eb5b1; font-size: 13px; font-weight: 700; }
.portal-sidebar nav a:hover, .portal-sidebar nav a.active { color: var(--white); background: rgba(255,255,255,.09); }
.portal-sidebar nav a.active { box-shadow: inset 3px 0 var(--mint-bright); }
.sidebar-help { margin-top: auto; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.04); }
.sidebar-help > span { display: grid; width: 31px; height: 31px; margin-bottom: 12px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); }
.sidebar-help strong { color: var(--white); font-size: 11px; }
.sidebar-help p { margin: 5px 0 0; color: #829e99; font-size: 9px; line-height: 1.5; }
.sidebar-logout { display: flex; width: 100%; margin-top: 17px; padding: 11px; align-items: center; gap: 10px; border: 0; color: #9eb5b1; background: transparent; font-size: 12px; cursor: pointer; }
.sidebar-close { display: none; color: var(--white); }
.portal-shell { min-height: 100vh; }
.portal-topbar { display: flex; height: 89px; padding: 0 4vw; align-items: center; justify-content: space-between; border-bottom: 1px solid #d7dcd4; background: rgba(255,255,255,.65); }
.portal-topbar > div:first-of-type { display: grid; }
.portal-topbar h1 { margin: 2px 0 0; font-size: 20px; letter-spacing: -.025em; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-chip > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--white); background: var(--forest); font-size: 12px; font-weight: 800; }
.user-chip > div { display: grid; }
.user-chip strong { font-size: 11px; }
.user-chip small { color: var(--muted); font-size: 9px; }
.sidebar-toggle { display: none; }
.portal-main { width: min(1400px, 100%); padding: 44px 4vw 70px; }
.portal-welcome, .section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.portal-welcome h2, .section-top h2 { margin: 4px 0 0; font-size: 35px; letter-spacing: -.05em; }
.portal-welcome p, .section-top p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.notice-banner { display: flex; margin-bottom: 20px; padding: 14px 18px; align-items: center; gap: 13px; border: 1px solid #d4d5aa; border-radius: 9px; background: #f2f1d2; }
.notice-banner > .icon { color: #7a6932; }
.notice-banner div { flex: 1; }
.notice-banner strong { font-size: 12px; }
.notice-banner p { margin: 1px 0 0; color: #756e51; font-size: 10px; }
.notice-banner button { border: 0; color: #756e51; background: none; font-size: 18px; }
.notice-banner form { margin: 0; }
.stats-grid { display: grid; margin-bottom: 22px; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { display: flex; padding: 20px; align-items: flex-start; gap: 15px; border: 1px solid #daddd6; border-radius: 12px; background: rgba(255,255,255,.8); }
.stat-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--forest); background: #e1ebe0; }
.stat-card div { display: grid; }
.stat-card small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stat-card strong { margin-top: 5px; font-size: 19px; }
.stat-card p { margin: 1px 0 0; color: #8a9693; font-size: 9px; }
.portal-grid { display: grid; margin-bottom: 22px; gap: 22px; }
.monitoring-card { display: flex; margin: -5px 0 22px; padding: 16px 19px; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #d4ddd4; border-radius: 11px; background: #e7eee5; }
.monitoring-card > div { display: flex; align-items: center; gap: 12px; }
.monitoring-card > div:first-child > span { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 9px; color: var(--forest); background: var(--mint); }
.monitoring-card section { display: grid; }
.monitoring-card small { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.monitoring-card strong { font-size: 11px; }
.monitoring-card p { margin: 2px 0 0; color: var(--muted); font-size: 8px; }
.monitoring-card form { margin: 0; }
.portal-grid.two-thirds { grid-template-columns: 1.65fr .85fr; }
.portal-grid.half { grid-template-columns: 1fr 1fr; }
.panel { border: 1px solid #daddd6; border-radius: 13px; background: rgba(255,255,255,.83); }
.panel-head { display: flex; padding: 22px 24px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e2e4df; }
.panel-head h3 { margin: 3px 0 0; font-size: 18px; letter-spacing: -.03em; }
.panel-head > a { color: var(--forest); font-size: 10px; font-weight: 800; }
.timeline { padding: 16px 25px 19px; }
.timeline-item { position: relative; display: flex; gap: 14px; padding: 12px 0; }
.timeline-item:not(:last-child)::after { position: absolute; top: 40px; bottom: -8px; left: 13px; width: 1px; background: #ccd5cf; content: ""; }
.timeline-item > span { position: relative; z-index: 1; display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border: 2px solid #aebcb7; border-radius: 50%; color: #7f918d; background: var(--white); }
.timeline-item.complete > span { border-color: var(--forest); color: var(--white); background: var(--forest); }
.timeline-item > span .icon { width: 12px; }
.timeline-item > div { flex: 1; }
.timeline-item strong { font-size: 12px; }
.timeline-item p { margin: 2px 0; color: var(--muted); font-size: 10px; }
.timeline-item small { color: #8c9996; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.analysis-teaser { padding-bottom: 22px; }
.analysis-count { display: flex; margin: 23px 24px 12px; align-items: center; gap: 13px; }
.analysis-count strong { font: 48px var(--serif); line-height: 1; }
.analysis-count span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.analysis-teaser > p { margin: 0 24px 18px; color: var(--muted); font-size: 10px; }
.analysis-teaser > .text-link { margin: 18px 24px 0; font-size: 10px; }
.finding-mini { display: grid; gap: 8px; padding: 0 24px; }
.finding-mini > div { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; padding: 10px; border-radius: 7px; background: #f1f3ed; }
.finding-mini strong { font-size: 9px; }
.priority { display: inline-flex; padding: 4px 7px; justify-self: start; border-radius: 99px; color: #7e4a24; background: #f6dfc6; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.priority.high { color: #8a3c35; background: #f6d7d2; }
.priority.low { color: #37634d; background: #d9eadd; }
.document-list { padding: 10px 24px; }
.document-list > div, .table-row { display: grid; min-height: 69px; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 13px; border-bottom: 1px solid #e5e6e2; }
.document-list > div:last-child, .table-row:last-child { border-bottom: 0; }
.doc-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 8px; color: var(--forest); background: #e3ebe1; }
.document-list section, .table-row section { display: grid; }
.document-list strong, .table-row strong { font-size: 11px; }
.document-list small, .table-row small { color: var(--muted); font-size: 8px; }
.message-preview { padding: 10px 24px; }
.message-preview > div { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid #e5e6e2; }
.message-preview > div > span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); background: var(--coral); font-size: 9px; font-weight: 800; }
.message-preview section { display: grid; }
.message-preview strong { font-size: 10px; }
.message-preview p { max-width: 390px; margin: 3px 0; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.message-preview small { color: #95a09e; font-size: 7px; }
.portal-disclaimer { display: flex; padding: 16px 19px; align-items: center; gap: 13px; border: 1px solid #daddd6; border-radius: 9px; color: var(--muted); background: #e9ede6; }
.portal-disclaimer .icon { color: var(--forest); }
.portal-disclaimer p { margin: 0; font-size: 9px; }
.empty-state { display: grid; min-height: 220px; padding: 40px; place-items: center; align-content: center; text-align: center; }
.empty-state > .icon { width: 35px; height: 35px; margin-bottom: 10px; color: #82938f; }
.empty-state h3, .empty-state h4 { margin: 0; }
.empty-state p { margin: 5px 0 17px; color: var(--muted); font-size: 11px; }
.empty-state.compact { min-height: 80px; padding: 15px; }
.upload-zone { display: grid; margin-bottom: 23px; padding: 27px; grid-template-columns: 1fr 210px 165px; align-items: end; gap: 15px; border: 1px solid #ccd4cd; border-radius: 13px; background: rgba(255,255,255,.75); }
.upload-zone > label { position: relative; min-height: 150px; grid-row: span 1; border: 1.5px dashed #9faea7; border-radius: 10px; cursor: pointer; }
.upload-zone > label input { position: absolute; opacity: 0; }
.upload-zone > label > span { display: grid; height: 100%; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.upload-zone > label .icon { width: 30px; height: 30px; margin-bottom: 9px; color: var(--forest); }
.upload-zone > label strong { color: var(--ink); font-size: 12px; }
.upload-zone > label small { font-size: 9px; }
.data-table { padding: 0 23px; }
.table-row { padding: 11px 0; }
.letter-row { grid-template-columns: auto 1fr auto auto; }
.analysis-summary { display: flex; margin-bottom: 20px; padding: 28px; gap: 18px; }
.analysis-summary > span { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--forest); background: var(--mint); }
.analysis-summary h3 { margin: 0; }
.analysis-summary p { margin: 6px 0; color: var(--muted); font-size: 12px; }
.analysis-summary small { color: #8d9997; font-size: 9px; }
.findings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.finding-card { padding: 25px; border: 1px solid #daddd6; border-radius: 12px; background: rgba(255,255,255,.8); }
.finding-card h3 { margin: 17px 0 8px; font-size: 16px; }
.finding-card p { min-height: 65px; color: var(--muted); font-size: 11px; }
.finding-card > div { display: flex; margin-top: 18px; padding-top: 14px; align-items: center; gap: 7px; border-top: 1px solid #e2e5df; color: #73827f; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.chat-panel { overflow: hidden; }
.chat-stream { display: grid; min-height: 370px; max-height: 520px; padding: 28px; align-content: start; gap: 18px; overflow: auto; }
.chat-message { display: flex; max-width: 75%; gap: 10px; }
.chat-message.mine { margin-left: auto; flex-direction: row-reverse; }
.chat-message > span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); background: var(--coral); font-size: 9px; font-weight: 800; }
.chat-message > div { padding: 12px 15px; border-radius: 4px 12px 12px; background: #edf0e9; }
.chat-message.mine > div { border-radius: 12px 4px 12px 12px; color: var(--white); background: var(--forest); }
.chat-message strong { font-size: 9px; }
.chat-message p { margin: 4px 0; font-size: 11px; }
.chat-message small { color: #899692; font-size: 7px; }
.chat-message.mine small { color: #a9bfbb; }
.chat-form { display: grid; padding: 18px; grid-template-columns: 1fr auto; align-items: end; gap: 12px; border-top: 1px solid #e0e3dd; background: #f6f7f3; }
.chat-form textarea { min-height: 70px; }
.msg-switcher { display: flex; align-items: center; gap: 8px; }
.msg-switcher select { min-width: 180px; height: 42px; }
.quick-replies { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; }
.quick-reply { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); font-size: 11px; font-weight: 650; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.quick-reply:hover { border-color: var(--mint-bright); color: var(--mint-bright); background: var(--mint); }
.msg-receipt { font-weight: 800; letter-spacing: .02em; }
.chat-empty { display: grid; justify-items: center; gap: 8px; padding: 46px 24px; text-align: center; }
.chat-empty .icon { width: 30px; height: 30px; color: var(--coral); }
.chat-empty h4 { margin: 0; }
.chat-empty p { margin: 0; max-width: 380px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.chat-empty .button { margin-top: 6px; }
.activity-list { padding: 13px 24px; }
.activity-list > div { display: flex; gap: 11px; padding: 11px 0; }
.activity-list > div > span { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--coral); }
.activity-list section { display: grid; }
.activity-list strong { font-size: 10px; }
.activity-list small { color: var(--muted); font-size: 8px; }
.client-row { grid-template-columns: minmax(180px, 1.4fr) 1fr .7fr .7fr; }
.client-row > .avatar { width: 34px; height: 34px; }
.inline-status { display: flex; gap: 5px; }
.inline-status select { height: 34px; font-size: 9px; }
.inline-status button { border: 0; border-radius: 5px; color: var(--white); background: var(--forest); font-size: 8px; }
.table-header > .table-row:first-child { min-height: 36px; }
.letter-admin-grid { display: grid; gap: 20px; }
.leads-panel { margin-top: 20px; }
.analysis-review-grid { display: grid; gap: 20px; }
.analysis-review { padding-bottom: 24px; }
.analysis-review > label { padding: 22px 24px 0; }
.admin-findings { display: grid; padding: 20px 24px; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.admin-findings article { padding: 15px; border: 1px solid #dfe3dc; border-radius: 8px; background: #f6f7f3; }
.admin-findings strong { display: block; margin-top: 10px; font-size: 11px; }
.admin-findings p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.letter-editor { padding-bottom: 25px; }
.letter-editor .field-grid { padding: 24px; }
.editor-actions { display: flex; gap: 10px; padding: 0 24px; }
.admin-create-form { padding-bottom: 24px; }
.admin-create-form > label { margin: 18px 24px 0; }
.admin-create-form > .button { margin: 20px 24px 0; justify-self: start; }
.admin-form-grid { display: grid; padding: 24px; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.intake-row { grid-template-columns: minmax(190px, 1.3fr) 1fr .65fr .65fr .45fr; }
.payment-row { grid-template-columns: 1fr .35fr .4fr .5fr; }
.row-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.row-actions a, .back-link { color: var(--coral); font-size: 10px; font-weight: 800; }
.back-link { display: block; margin-bottom: 12px; }
.detail-list-admin { margin: 0; padding: 8px 24px 24px; }
.detail-list-admin > div { display: grid; padding: 15px 0; grid-template-columns: 150px 1fr; gap: 20px; border-bottom: 1px solid #e6dfde; }
.detail-list-admin > div:last-child { border-bottom: 0; }
.detail-list-admin dt { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.detail-list-admin dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; white-space: pre-line; }
.admin-side-form { padding-bottom: 24px; }
.admin-side-form form { display: grid; padding: 22px 24px 0; gap: 17px; }
.admin-side-form > .button, .admin-side-form > p { margin: 14px 24px 0; }
.client-detail-grid { display: grid; margin-bottom: 22px; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.client-operations .admin-create-form { display: grid; align-content: start; gap: 16px; }
.client-operations .admin-create-form > label { margin: 0 24px; }
.client-operations .admin-create-form > .check-field { display: flex; }

@media (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .hero-grid { gap: 15px; }
  .hero-visual { transform: scale(.88); transform-origin: center left; }
  .report-main { left: 0; }
  .feature-grid { gap: 70px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .portal-grid.two-thirds { grid-template-columns: 1.35fr .85fr; }
  .finding-card p { min-height: 85px; }
}

@media (max-width: 860px) {
  .announcement { justify-content: space-between; padding: 0 20px; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 86px; right: 0; left: 0; display: none; padding: 25px; align-items: stretch; flex-direction: column; gap: 7px; color: var(--white); border-bottom: 1px solid #31292a; background: #101011; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav .button { margin-top: 7px; }
  .hero-grid { min-height: auto; grid-template-columns: minmax(0, 1fr); }
  .hero-grid > * { min-width: 0; }
  .hero-copy { padding-bottom: 10px; }
  .hero-visual { width: 520px; max-width: 100%; margin: 0 auto; transform: none; }
  .proof-strip .container { flex-direction: column; gap: 16px; }
  .proof-strip div div { flex-wrap: wrap; justify-content: center; gap: 18px 35px; }
  .split-heading, .feature-grid, .story-grid, .review-box, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid, .article-grid, .values-grid, .pricing-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article + article { padding: 38px 0; border-left: 0; border-top: 1px solid #cfd4cd; }
  .process-grid article:first-child { border-top: 0; }
  .process-grid p { min-height: auto; }
  .feature-grid > div:first-child { position: static; }
  .pricing-card.featured { transform: none; }
  .form-layout { grid-template-columns: 1fr; }
  .form-layout > aside { position: static; }
  .mini-steps { display: none; }
  .login-page { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .portal-body { padding-left: 0; }
  .portal-sidebar { transform: translateX(-100%); transition: transform .25s; }
  .portal-sidebar.open { transform: translateX(0); }
  .sidebar-close, .sidebar-toggle { display: inline-flex; }
  .portal-topbar { justify-content: flex-start; gap: 18px; }
  .portal-topbar .user-chip { margin-left: auto; }
  .portal-grid.two-thirds { grid-template-columns: 1fr; }
  .admin-findings { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr 1fr; }
  .client-detail-grid { grid-template-columns: 1fr; }
  .upload-zone { grid-template-columns: 1fr 1fr; }
  .upload-zone > label { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 30px, 1180px); }
  .section { padding: 75px 0; }
  .announcement span { display: none; }
  .announcement { justify-content: center; }
  .nav-wrap { min-height: 74px; }
  .site-nav { top: 74px; }
  .brand-copy { display: none; }
  .hero h1 { font-size: 51px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { justify-content: center; }
  .hero-visual { height: 465px; transform: scale(.82); transform-origin: top left; }
  .hero-visual::before { width: 430px; height: 430px; }
  .report-main { width: 390px; }
  .note-one { right: -20px; }
  .page-hero { padding: 75px 0; }
  .page-hero h1 { font-size: 55px; }
  .page-hero .container::after { display: none; }
  .service-list article { grid-template-columns: 38px 1fr; gap: 15px; }
  .service-list article > .icon { display: none; }
  .review-box, .values-grid article { padding: 35px 25px; }
  .form-page { padding-top: 45px; }
  .form-layout h1 { font-size: 43px; }
  .form-section { padding: 30px 22px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .wide { grid-column: auto; }
  .login-panel { min-height: 100vh; padding: 30px 25px; }
  .login-card h1 { font-size: 45px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 30px; }
  .cta-band h2 { font-size: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-legal { align-items: flex-start; flex-direction: column; }
  .portal-topbar { height: 75px; padding: 0 15px; }
  .portal-topbar > div:first-of-type .eyebrow { display: none; }
  .portal-topbar h1 { font-size: 16px; }
  .user-chip > div { display: none; }
  .portal-main { padding: 28px 15px 50px; }
  .portal-welcome, .section-top { align-items: stretch; flex-direction: column; }
  .monitoring-card { align-items: stretch; flex-direction: column; }
  .monitoring-card > div:last-child { flex-wrap: wrap; }
  .portal-welcome .button, .section-top .button { width: 100%; }
  .stats-grid, .portal-grid.half, .findings-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 17px; }
  .portal-grid { gap: 14px; }
  .upload-zone { padding: 17px; grid-template-columns: 1fr; }
  .upload-zone > label { grid-column: auto; }
  .data-table { padding: 0 15px; overflow-x: auto; }
  .table-row { min-width: 560px; }
  .chat-form { grid-template-columns: 1fr; }
  .chat-form .button { width: 100%; }
  .chat-message { max-width: 92%; }
  .client-row { grid-template-columns: minmax(170px, 1.4fr) 150px 80px 80px; }
  .intake-row { min-width: 760px; grid-template-columns: 220px 170px 100px 100px 80px; }
  .payment-row { min-width: 620px; grid-template-columns: 260px 100px 100px 110px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .detail-list-admin > div { grid-template-columns: 1fr; gap: 5px; }
  .letter-editor .field-grid { padding: 18px; }
  .editor-actions { padding: 0 18px; flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-visual { width: 520px; margin-bottom: -120px; transform: scale(.69); transform-origin: top left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.portal-sidebar nav a .nav-badge { margin-left: auto; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral); color: var(--white); font-size: 10px; line-height: 18px; text-align: center; font-weight: 700; }
.portal-sidebar nav a.active .nav-badge { background: var(--white); color: var(--forest); }

.notification-list { padding: 8px 0; }
.notification-item { display: flex; align-items: flex-start; gap: 13px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.notification-item:last-child { border-bottom: 0; }
.notification-item.unread { background: #fdf6f6; }
.notification-dot { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--soft); color: var(--muted); }
.notification-item.unread .notification-dot { background: var(--mint); color: var(--mint-bright); }
.notification-dot .icon { width: 16px; height: 16px; }
.notification-item section { flex: 1; display: grid; gap: 2px; }
.notification-item strong { font-size: 13px; }
.notification-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.notification-item small { color: var(--muted); font-size: 10px; }
.notification-item form { margin: 0; }

.dispute-generator .panel-head h3 { display: flex; align-items: center; gap: 8px; }
.dispute-generator .panel-head h3 .icon { width: 18px; height: 18px; color: var(--coral); }
.generator-intro { margin: 0; padding: 14px 24px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.generator-intro a { color: var(--coral); font-weight: 700; }
.generator-hint { margin: 0 24px 8px; padding: 11px 14px; border-left: 3px solid var(--coral); border-radius: 0 9px 9px 0; background: var(--mint); color: var(--ink-2); font-size: 12px; line-height: 1.55; }
.generator-hint:empty { display: none; }

/* Modern dropdowns + generator polish */
.admin-form-grid select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2383918e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.admin-form-grid input[list]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.dispute-generator { border-radius: 16px; box-shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 10px 30px rgba(20, 20, 30, .05); }
.dispute-generator .admin-form-grid input:hover,
.dispute-generator .admin-form-grid select:hover,
.dispute-generator .admin-form-grid textarea:hover { border-color: #9aa7a1; }
.dispute-generator .editor-actions { padding: 4px 24px 24px; }
.generator-empty { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; text-align: center; }
.generator-empty .icon { width: 34px; height: 34px; color: var(--coral); }
.generator-empty h3 { margin: 0; }
.generator-empty p { margin: 0; max-width: 420px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.generator-empty .button { margin-top: 6px; }
.report-items-panel .report-item-form { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.report-item-row { display: grid; grid-template-columns: 1fr 110px 120px 170px; align-items: center; gap: 12px; }
.report-item-row .row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.report-item-row .row-actions form { margin: 0; }
.report-item-row .row-actions .icon-button { color: var(--muted); }
.report-item-row .text-link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
@media (max-width: 720px) { .report-item-row { min-width: 560px; } }
.report-item-row .strong-link { color: var(--coral); font-weight: 700; white-space: nowrap; }
.round-row { display: grid; grid-template-columns: 1.4fr 90px 1.2fr 170px; align-items: center; gap: 12px; }
.round-row .row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.round-row .row-actions form { margin: 0; }
.round-row .text-link { white-space: nowrap; }
.overdue-pill { background: #fde9ea !important; color: var(--coral) !important; }
.overdue-text { color: var(--coral); font-style: normal; font-weight: 700; }
.muted-text { color: var(--muted); font-style: normal; }
@media (max-width: 720px) { .round-row { min-width: 560px; } }
.attention-badge { display: inline-block; margin-left: 7px; padding: 1px 8px; border-radius: 20px; background: var(--coral); color: var(--white); font-size: 10px; font-weight: 700; vertical-align: middle; }
.attention-badge:hover { opacity: .85; }
.record-portfolio { margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.rp-stats { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rp-alert { display: inline-flex; align-items: center; gap: 8px; color: var(--coral); font-size: 13px; font-weight: 700; }
.rp-alert .icon, .rp-ok .icon { width: 17px; height: 17px; }
.rp-alert strong { font-size: 15px; }
.rp-ok { display: inline-flex; align-items: center; gap: 8px; color: #1d9e75; font-size: 13px; font-weight: 700; }
.rp-prog { color: var(--muted); font-size: 12px; }
.rp-prog b { color: var(--ink); }
.rp-bar { width: 100%; height: 8px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.rp-bar i { display: block; height: 100%; border-radius: 5px; background: #1d9e75; transition: width .3s; }
.pri-summary { display: flex; flex-wrap: wrap; gap: 9px; padding: 4px 24px 2px; }
.pri-summary span { padding: 5px 12px; border-radius: 20px; background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 700; }
.pri-summary b { color: var(--ink); }
.pri-bulk { margin: 0; }
.pri-note { margin: 4px 24px 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.pri-row { display: grid; grid-template-columns: 1.5fr 1.1fr 1.2fr; align-items: center; gap: 12px; }
.pri-meter { display: flex; align-items: center; gap: 9px; }
.pri-pill { flex: 0 0 auto; padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.pri-high { background: #fde9ea; color: var(--coral); }
.pri-medium { background: #faeeda; color: #854f0b; }
.pri-low { background: var(--soft); color: var(--muted); }
.pri-bar { flex: 1; height: 6px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.pri-bar b { display: block; height: 100%; border-radius: 4px; background: var(--coral); }
.pri-action { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--coral); }
.pri-action .icon { width: 14px; height: 14px; }
.pri-action:hover { text-decoration: underline; }
.m2-row { display: grid; grid-template-columns: 1fr 100px 130px; align-items: center; gap: 12px; }
.m2-row section small { line-height: 1.45; }
.m2-row .text-link { white-space: nowrap; justify-self: end; }
@media (max-width: 720px) { .m2-row { min-width: 560px; } }
@media (max-width: 720px) { .pri-row { min-width: 540px; } }

.twofa-panel .panel-head h3 { display: flex; align-items: center; gap: 8px; }
.twofa-panel .panel-head h3 .icon { width: 18px; height: 18px; color: var(--coral); }
.twofa-secret { display: grid; gap: 14px; padding: 16px 24px; }
.twofa-secret small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.twofa-secret code { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--cream); font-size: 15px; letter-spacing: 2px; word-break: break-all; }
.twofa-secret code.otpauth { font-size: 11px; letter-spacing: 0; }
.twofa-actions { padding: 0; }
.backup-codes { margin: 14px 24px; padding: 16px 18px; border: 1px solid #cdebd9; border-radius: 11px; background: #effbf4; }
.backup-codes strong { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.backup-codes strong .icon { width: 16px; height: 16px; color: #1d9e75; }
.backup-codes p { margin: 4px 0 12px; color: #4d6a5d; font-size: 11px; }
.backup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.backup-grid code { padding: 9px 10px; border-radius: 7px; background: var(--white); border: 1px solid #cdebd9; text-align: center; font-size: 14px; letter-spacing: 1px; }

.verify-banner { border-color: #f1d3a8; background: #fdf3e3; }
.verify-banner > .icon { color: #a9701a; }
.verify-banner form { margin: 0; }
.verify-banner button { padding: 7px 13px; border: 1px solid #c98f33; border-radius: 8px; background: var(--white); color: #8a5d12; font-size: 11px; font-weight: 700; white-space: nowrap; }
.verify-banner.agreement-banner { border-color: #c7b3e6; background: #f3eefb; }
.agreement-banner > .icon { color: #6a4ba8; }
.agreement-cta { padding: 8px 15px; border-radius: 8px; background: var(--coral); color: var(--white); font-size: 12px; font-weight: 700; white-space: nowrap; }

.chart-wrap { padding: 16px 22px 8px; }
.score-chart { width: 100%; height: auto; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 0 22px 16px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.chart-legend span::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--c); }

.referral-card .referral-box { margin-top: 10px; }
.referral-box input { width: 100%; padding: 11px 13px; border: 1px dashed var(--coral); border-radius: 10px; background: var(--mint); color: var(--ink); font-size: 12px; font-weight: 600; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.mini-stats a { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.mini-stats strong { font-size: 26px; }
.mini-stats small { color: var(--muted); font-size: 11px; }

.announcement-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: inline-flex; gap: 2px; }
.lang-toggle a { padding: 1px 6px; border-radius: 5px; opacity: .65; font-weight: 700; }
.lang-toggle a.active { opacity: 1; background: rgba(255,255,255,.18); }

.admin-upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 24px 14px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); }
.admin-upload-file { flex: 1; min-width: 220px; position: relative; cursor: pointer; }
.admin-upload-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.admin-upload-file span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--muted); font-size: 12px; font-weight: 600; }
.admin-upload-file span .icon { width: 16px; height: 16px; }
.admin-upload select { max-width: 180px; }

.account-access { border-top: 3px solid var(--coral); }
.account-access .panel-head h3 { display: flex; align-items: center; gap: 7px; }
.account-access .panel-head h3 .icon { width: 16px; height: 16px; color: var(--coral); }

/* Dispute generator — evidence / resolution checkbox groups */
.admin-form-grid .gen-checks { grid-column: 1 / -1; margin: 2px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.gen-checks legend { padding: 0 6px; font-size: 12px; font-weight: 750; color: var(--ink); }
.gen-checks legend small { color: var(--muted); font-weight: 500; }
.gen-checks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 16px; margin-top: 10px; }
.gen-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; font-weight: 600; cursor: pointer; }
.gen-check input { width: 17px; height: 17px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--mint-bright); }
.gen-check span { line-height: 1.35; }

/* Dispute strength meter */
.gen-strength { margin: 6px 24px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.gen-strength-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 750; color: var(--ink); }
.gen-strength-head strong { font-size: 13px; color: var(--muted); }
.gen-strength-bar { height: 8px; margin: 9px 0 8px; border-radius: 999px; background: #e3dcd9; overflow: hidden; }
.gen-strength-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: #b4b2a9; transition: width .25s ease, background .25s ease; }
.gen-strength-tip { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.gs-weak .js-gs-bar { background: #d31e2c; }
.gs-weak .js-gs-label { color: #d31e2c; }
.gs-medium .js-gs-bar { background: #d68a1e; }
.gs-medium .js-gs-label { color: #b8730f; }
.gs-strong .js-gs-bar { background: #1d9e75; }
.gs-strong .js-gs-label { color: #0f6e56; }

.analytics-head { margin: 32px 0 2px; }
.analytics-head h3 { margin: 4px 0 0; font-size: 20px; }

.assign-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding: 14px 20px; }
.assign-bar .eyebrow { display: block; }
.assign-bar strong { font-size: 14px; }
.assign-bar-control { display: flex; align-items: center; gap: 10px; }
.assign-bar-control select { min-width: 200px; height: 42px; }

.compliance-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.compliance-link strong { display: block; font-size: 15px; }
.compliance-link p { margin: 4px 0 0; max-width: 560px; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Flagship game feature card (client dashboard) */
.portal-game-card { display: grid; grid-template-columns: 300px 1fr; overflow: hidden; margin: 22px 0; border-radius: 18px; background: #0c141f; color: #dce2f3; box-shadow: 0 16px 40px rgba(8, 20, 35, .18); transition: transform .15s; }
.portal-game-card:hover { transform: translateY(-3px); }
.portal-game-img { min-height: 200px; background: url("/assets/academy-banner.png") center / cover no-repeat, linear-gradient(135deg, #102a43, #081a2f); }
.portal-game-body { padding: 28px; display: grid; align-content: center; gap: 9px; }
.portal-game-tag { color: #f5b942; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.portal-game-body h3 { margin: 0; font-size: 23px; font-weight: 800; color: #fff; line-height: 1.15; }
.portal-game-body p { margin: 0; color: #b9c2d3; font-size: 14px; line-height: 1.55; max-width: 560px; }
.portal-game-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; color: #4edf92; font-weight: 800; font-size: 14px; }
.portal-game-cta .icon { width: 15px; height: 15px; }
@media (max-width: 640px) { .portal-game-card { grid-template-columns: 1fr; } .portal-game-img { min-height: 150px; } }

/* ============================================================
   Dispute generator — "Executive Precision" visual refresh
   (scoped to .dispute-generator; sticky action bar + sections)
   ============================================================ */
.dispute-generator { background: var(--white); border: 1px solid var(--line); }
.dispute-generator .generator-intro { color: var(--muted); }
/* Section headers that organize the long form into clear groups */
.dispute-generator .gen-section { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--soft); }
.dispute-generator .gen-section:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.dispute-generator .gen-section > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--mint); color: var(--mint-bright); font-weight: 800; font-size: 14px; flex: 0 0 auto; }
.dispute-generator .gen-section strong { display: block; font-size: 15px; font-weight: 750; color: var(--ink); letter-spacing: -0.01em; }
.dispute-generator .gen-section small { color: var(--muted); font-size: 12px; }
/* Field polish */
.dispute-generator .admin-form-grid > label { font-size: 12px; font-weight: 700; color: var(--ink); }
.dispute-generator .admin-form-grid > label small { font-weight: 500; color: var(--muted); }
.dispute-generator .admin-form-grid input:focus,
.dispute-generator .admin-form-grid select:focus,
.dispute-generator .admin-form-grid textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(211, 30, 44, .12); outline: none; }
/* Prominent AI auto-fill banner */
.dispute-generator .generator-autofill { box-shadow: 0 1px 2px rgba(20, 20, 30, .04); }
/* Sticky action bar (strength meter left, engine + draft buttons right) */
.dispute-generator .gen-actionbar { position: sticky; bottom: 0; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 14px 0 0; padding: 14px 24px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 26px rgba(20, 20, 30, .07); border-radius: 0 0 16px 16px; }
.dispute-generator .gen-actionbar .gen-strength { flex: 1 1 260px; margin: 0; padding: 0; border: none; background: transparent; }
.dispute-generator .gen-actionbar-right { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 12px; margin-left: auto; }
.dispute-generator .gen-actionbar .js-gen-aiengine { margin: 0; }
.dispute-generator .gen-actionbar .editor-actions { padding: 0; margin: 0; flex-wrap: wrap; align-items: center; }
.dispute-generator .gen-actionbar .editor-actions .form-fineprint { flex-basis: 100%; margin: 4px 0 0; }
@media (max-width: 760px) {
  .dispute-generator .gen-actionbar { position: static; box-shadow: none; }
  .dispute-generator .gen-actionbar-right { margin-left: 0; width: 100%; }
}

/* ============================================================
   Letter Review — "Executive Precision" visual refresh
   (scoped to .letter-admin-grid / .letter-editor)
   ============================================================ */
/* Status count strip at the top of the queue */
.letter-review-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.lr-stat { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.lr-stat strong { font-size: 15px; color: var(--ink); }
/* Color-coded status badges (used on pills + the summary chips' left tint) */
.status-pill.status-draft { color: #5a5a5a; background: #e7e5e4; }
.status-pill.status-awaiting-approval { color: #8a5a08; background: #fdecc8; }
.status-pill.status-approved { color: #1c7a43; background: #d6f0de; }
.status-pill.status-rejected { color: #9e111d; background: #f5dcde; }
.status-pill.status-mailed { color: #1f5fa8; background: #d8e6f7; }
.lr-stat.status-awaiting-approval { border-color: #f0d49a; }
.lr-stat.status-approved { border-color: #aedcbd; }
.lr-stat.status-rejected { border-color: #e6b9bd; }
.lr-stat.status-mailed { border-color: #b7d0ee; }
/* Card polish — match the dispute generator */
.letter-editor { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 10px 30px rgba(20, 20, 30, .05); }
.letter-editor .panel-head { padding: 20px 24px 0; align-items: flex-start; }
.letter-editor .panel-head h3 { font-size: 18px; letter-spacing: -0.01em; }
.letter-editor .panel-head .eyebrow { color: var(--coral); }
/* Letter body reads like a document */
.letter-editor textarea[name="body"] { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.65; background: var(--paper); }
.letter-editor .field-grid > label { font-size: 12px; font-weight: 700; color: var(--ink); }
.letter-editor .field-grid input:focus,
.letter-editor .field-grid select:focus,
.letter-editor .field-grid textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(211, 30, 44, .12); outline: none; }
/* Strategy brief — readable card */
.letter-editor .strategy-brief { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 16px; }
.letter-editor .strategy-brief summary { color: var(--ink); }
.letter-editor .strategy-brief ul { color: #4b4b4b; }
/* Clean grouped action footer */
.letter-editor .editor-actions { margin-top: 18px; padding: 16px 24px 0; border-top: 1px solid var(--soft); flex-wrap: wrap; align-items: center; gap: 10px; }

/* ============================================================
   Letter Review — two-pane master/detail layout
   ============================================================ */
.lr-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.lr-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.lr-tab span { display: inline-flex; min-width: 20px; height: 19px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 11px; font-weight: 800; }
.lr-tab:hover { border-color: var(--coral); color: var(--ink); }
.lr-tab.active { background: var(--coral); border-color: var(--coral); color: #fff; }
.lr-tab.active span { background: rgba(255, 255, 255, .25); color: #fff; }
.lr-search { display: flex; gap: 8px; align-items: center; margin: 0 0 16px; }
.lr-search-wrap { position: relative; flex: 1 1 auto; display: flex; align-items: center; }
.lr-search-wrap .icon { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.lr-search-wrap input { width: 100%; padding: 10px 12px 10px 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: inherit; }
.lr-search-wrap input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(211, 30, 44, .12); outline: none; }
.letter-review-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; align-items: start; }
.lr-queue { display: flex; flex-direction: column; gap: 8px; max-height: 78vh; overflow-y: auto; padding-right: 2px; }
.lr-queue-item { display: block; padding: 13px 15px; border: 1px solid var(--line); border-left: 3px solid transparent; border-radius: 12px; background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.lr-queue-item:hover { border-color: #c9bfbd; box-shadow: 0 6px 18px rgba(20, 20, 30, .06); }
.lr-queue-item.active { border-left-color: var(--coral); border-color: var(--coral); background: #fff7f6; box-shadow: 0 6px 18px rgba(211, 30, 44, .08); }
.lr-qi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lr-qi-top strong { font-size: 14px; }
.lr-qi-type { display: block; margin-top: 4px; color: var(--ink); font-weight: 600; }
.lr-qi-meta { display: block; margin-top: 2px; color: var(--muted); }
.lr-detail { min-width: 0; }
.lr-detail .letter-editor { margin: 0; }
.lr-empty { padding: 56px 24px; text-align: center; }
@media (max-width: 980px) {
  .letter-review-layout { grid-template-columns: 1fr; }
  .lr-queue { max-height: 340px; }
}

/* ============================================================
   Homepage brand-audit sections (2026 conversion overhaul)
   ============================================================ */

/* Shared helpers */
.narrow-block { max-width: 760px; }
.center-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 36px; }

/* §2 — Founder / Meet Alexander Ross */
.founder-section { background: var(--cream); }
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.founder-media { display: grid; gap: 18px; }
.founder-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.founder-photo-ph { aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(150deg, var(--ink), #2c2626); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.founder-photo-ph span { font-family: var(--serif); font-size: clamp(56px, 9vw, 104px); color: var(--mint); letter-spacing: 2px; }
.founder-video .video-frame, .video-card .video-frame, .video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.founder-video.video-ph, .video-ph { aspect-ratio: 16 / 9; border-radius: 16px; border: 1.5px dashed var(--line); background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--muted); padding: 18px; }
.video-ph .icon { width: 30px; height: 30px; color: var(--mint-bright); }
.video-ph code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: .82em; }
.founder-copy .eyebrow { margin-bottom: 8px; }
.founder-role { color: var(--mint-bright); font-weight: 600; margin: 2px 0 18px; }
.founder-quote { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.5; color: var(--ink); border-left: 3px solid var(--mint-bright); padding-left: 22px; margin: 0 0 26px; }

/* §4 problem + §5 reason — centered statement blocks */
.problem-section .narrow-block { margin: 0 auto; text-align: center; }
.problem-section h2 { margin-top: 10px; }
.reason-section { background: var(--ink); color: var(--cream); }
.reason-box { max-width: 860px; margin: 0 auto; text-align: center; }
.reason-box .eyebrow { color: var(--mint); }
.reason-box h2 { color: var(--white); }
.reason-box p { color: rgba(245, 241, 238, .82); font-size: 18px; line-height: 1.7; }
.reason-close { margin-top: 22px; font-weight: 600; color: var(--white) !important; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }

/* §3 — AR Credit Profile Method */
.method-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.method-step { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px; position: relative; }
.method-step .step-number { display: block; font-family: var(--serif); font-size: 15px; color: var(--mint-bright); font-weight: 700; margin-bottom: 12px; }
.method-step .step-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--mint-bright); margin-bottom: 14px; }
.method-step .step-icon .icon { width: 22px; height: 22px; }
.method-step h3 { font-size: 17px; margin: 0 0 8px; }
.method-step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* §9 — Who we help */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.who-card { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.who-card .icon { width: 24px; height: 24px; color: var(--mint-bright); flex: 0 0 auto; margin-top: 2px; }
.who-card p { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* §8 — Technology-assisted, human-led */
.tech-section { background: var(--cream); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tech-points { display: grid; gap: 16px; }
.tech-points > div { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.tech-points .icon { width: 26px; height: 26px; color: var(--mint-bright); flex: 0 0 auto; margin-top: 2px; }
.tech-points strong { display: block; margin-bottom: 4px; }
.tech-points p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* §7 — What happens after you sign up */
.after-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: none; }
.after-steps li { display: grid; gap: 14px; }
.after-steps li > span { width: 44px; height: 44px; border-radius: 50%; background: var(--mint-bright); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.after-steps h3 { font-size: 16px; margin: 0 0 6px; }
.after-steps p { margin: 0; font-size: 14px; color: var(--muted); }

/* §11 — Case studies */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.case-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.case-card h3 { margin: 0 0 16px; font-size: 18px; }
.case-card dl { margin: 0; display: grid; gap: 10px; }
.case-card dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mint-bright); font-weight: 700; }
.case-card dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink); }

/* §4 — Authentic testimonials grid */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.testimonial-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin: 0; }
.testimonial-card .quote-mark { font-family: var(--serif); font-size: 46px; color: var(--mint); line-height: .6; display: block; }
.testimonial-card blockquote { margin: 10px 0 18px; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.testimonial-card figcaption strong { display: block; }
.testimonial-card figcaption small { color: var(--muted); }

/* §12 — Video breakdowns */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.video-card h3 { font-size: 16px; margin: 14px 0 0; }

/* Responsive */
@media (max-width: 960px) {
  .founder-grid, .tech-grid { grid-template-columns: 1fr; gap: 30px; }
  .method-steps, .after-steps { grid-template-columns: repeat(2, 1fr); }
  .who-grid, .case-grid, .testimonial-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .method-steps, .after-steps, .who-grid, .case-grid, .testimonial-grid, .video-grid { grid-template-columns: 1fr; }
  .founder-quote { font-size: 19px; padding-left: 16px; }
  .center-cta { flex-direction: column; align-items: stretch; }
  .center-cta .button { justify-content: center; }
}

/* §10 — Lead-capture CTA on educational content */
.lead-cta { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); padding: 28px; }
.lead-cta-head { display: flex; gap: 14px; align-items: flex-start; }
.lead-cta-head .icon { width: 26px; height: 26px; color: var(--mint-bright); flex: 0 0 auto; margin-top: 2px; }
.lead-cta-head strong { display: block; font-size: 18px; }
.lead-cta-head p { margin: 4px 0 0; color: var(--muted); }
.lead-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 22px; }
.lead-cta-form { border-top: 1px solid var(--line); padding-top: 20px; }
.lead-cta-form > label { display: block; font-weight: 600; margin-bottom: 10px; }
.lead-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-cta-row input { flex: 1 1 180px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: var(--paper); }
.lead-cta-row .button { flex: 0 0 auto; }
.lead-cta-fine { display: block; margin-top: 10px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 560px) { .lead-cta-row .button { width: 100%; justify-content: center; } }

/* ============================================================
   Lead-gen questionnaire — "Get your credit profile reviewed"
   ============================================================ */
.review-page { padding: clamp(28px, 6vw, 72px) 0; background: var(--cream); min-height: 70vh; }
.review-shell { max-width: 640px; }
.rv-head { text-align: center; margin-bottom: 26px; }
.rv-head h1 { margin: 8px 0 10px; }
.rv-head p { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.rv-form { padding: clamp(22px, 4vw, 34px); }
.rv-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.rv-step legend { font-family: var(--serif); font-size: clamp(20px, 3.4vw, 26px); line-height: 1.25; padding: 0; margin: 4px 0 6px; }
.rv-progress { height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; margin-bottom: 14px; }
.rv-progress span { display: block; height: 100%; background: var(--mint-bright); border-radius: 6px; transition: width .35s ease; }
.rv-count { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mint-bright); font-weight: 700; margin: 0 0 4px; }
.rv-help { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.rv-options { display: grid; gap: 10px; margin: 18px 0 22px; }
.rv-option { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); transition: border-color .15s, background .15s, transform .05s; font-size: 15.5px; }
.rv-option:hover { border-color: var(--mint-bright); }
.rv-option:active { transform: scale(.995); }
.rv-option input { accent-color: var(--mint-bright); width: 20px; height: 20px; flex: 0 0 auto; }
.rv-option:has(input:checked) { border-color: var(--mint-bright); background: var(--mint); }
.rv-option:has(input:focus-visible) { outline: 2px solid var(--mint-bright); outline-offset: 2px; }
.rv-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.rv-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rv-fields input { padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: var(--paper); }
.rv-fields input:focus { outline: 2px solid var(--mint-bright); outline-offset: 1px; border-color: var(--mint-bright); }
.rv-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.rv-nav .rv-back { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 10px 4px; }
.rv-nav .rv-back:hover { color: var(--ink); }
.rv-next { margin-left: auto; background: var(--mint-bright); color: #fff; border: 0; border-radius: 999px; padding: 13px 26px; font: inherit; font-weight: 600; cursor: pointer; }
.rv-next:hover { filter: brightness(1.05); }
.rv-step.rv-nudge .rv-options { animation: rvShake .3s; }
@keyframes rvShake { 25% { transform: translateX(-5px);} 75% { transform: translateX(5px);} }
.rv-error { color: var(--danger, #a41621); font-weight: 600; font-size: 13.5px; margin: 0 0 8px; min-height: 1em; }
.rv-fine { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted); font-size: 12.5px; margin-top: 18px; text-align: center; }
.rv-fine .icon { width: 15px; height: 15px; flex: 0 0 auto; }
/* Confirmation */
.rv-success { text-align: center; padding: clamp(30px, 5vw, 48px); }
.rv-success-mark { width: 62px; height: 62px; border-radius: 50%; background: var(--mint); color: var(--mint-bright); display: grid; place-items: center; margin: 0 auto 16px; }
.rv-success-mark .icon { width: 30px; height: 30px; }
.rv-success h1 { margin: 6px 0 10px; }
.rv-success > p { color: var(--muted); max-width: 44ch; margin: 0 auto; }
.rv-success-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 24px 0 6px; }
@media (max-width: 480px) { .rv-fields { grid-template-columns: 1fr; } }

/* ============================================================
   Admin sales pipeline board (Phase 2)
   ============================================================ */
.pipe-summary { display: flex; gap: 22px; }
.pipe-summary div { text-align: right; }
.pipe-summary strong { display: block; font-size: 26px; font-weight: 800; line-height: 1; color: var(--mint-bright); font-variant-numeric: tabular-nums; }
.pipe-summary small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pipeline-board { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x proximity; }
.pipe-col { flex: 0 0 232px; background: var(--soft, #eee8e6); border: 1px solid var(--line); border-radius: 14px; padding: 12px; scroll-snap-align: start; display: flex; flex-direction: column; }
.pipe-col-terminal { background: color-mix(in srgb, var(--mint) 40%, var(--soft, #eee8e6)); }
.pipe-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 2px; }
.pipe-col-head h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; margin: 0; color: var(--ink); }
.pipe-count { min-width: 24px; text-align: center; font-weight: 800; font-size: 13px; color: #fff; background: var(--mint-bright); border-radius: 20px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.pipe-cards { display: flex; flex-direction: column; gap: 8px; }
.pipe-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pipe-card-name { display: block; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; }
.pipe-card-name:hover { color: var(--mint-bright); }
.pipe-card-meta { display: flex; align-items: center; gap: 8px; margin: 5px 0 8px; font-size: 11.5px; color: var(--muted); }
.src-chip { text-transform: capitalize; background: var(--mint); color: var(--mint-bright); font-weight: 700; border-radius: 6px; padding: 1px 7px; }
.pipe-move select { width: 100%; font-size: 12px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white, #fff); color: var(--ink); cursor: pointer; }
.pipe-empty { color: var(--muted); text-align: center; padding: 8px 0; margin: 0; }
@media (max-width: 700px) { .pipe-summary { gap: 14px; } .pipe-col { flex-basis: 200px; } }

/* Automation editor (Phase 3) */
.automation-seq { margin-bottom: 18px; }
.automation-step { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 12px; background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.astep-head { display: flex; align-items: center; justify-content: space-between; }
.astep-head strong { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--mint-bright); }
.astep-active { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.astep-grid { display: grid; grid-template-columns: auto 1fr 2fr; gap: 12px; }
.astep-grid label, .astep-body { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.astep-delay { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.astep-delay input { width: 72px; }
.automation-step input, .automation-step select, .automation-step textarea { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; font: inherit; background: var(--white, #fff); color: var(--ink); }
.automation-step textarea { resize: vertical; font-size: 13.5px; }
.automation-step > button { align-self: flex-start; }
@media (max-width: 640px) { .astep-grid { grid-template-columns: 1fr; } }

/* Funnel report (Phase 4) */
.funnel-list { display: flex; flex-direction: column; gap: 12px; }
.funnel-row { display: grid; grid-template-columns: 180px 1fr 150px; gap: 14px; align-items: center; }
.funnel-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.funnel-label span { font-size: 13.5px; color: var(--ink); }
.funnel-label strong { font-size: 20px; font-variant-numeric: tabular-nums; color: var(--ink); }
.funnel-bar { height: 22px; background: var(--soft, #eee8e6); border-radius: 8px; overflow: hidden; }
.funnel-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint-bright), #e04653); border-radius: 8px; transition: width .5s ease; }
.funnel-conv { font-size: 12.5px; color: var(--muted); text-align: right; }
.funnel-conv em { color: var(--mint-bright); font-weight: 700; font-style: normal; }
.source-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.source-row span { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .funnel-row { grid-template-columns: 1fr; gap: 4px; } .funnel-conv { text-align: left; } }

/* ============================================================
   Accessibility (WCAG 2.1 AA)
   ============================================================ */
/* Skip link — hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--mint-bright); color: #fff; padding: 11px 20px; border-radius: 0 0 12px 12px; font-weight: 700; text-decoration: none; transition: top .15s ease; }
.skip-link:focus { top: 0; }

/* Global, high-visibility focus ring for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible, [role="button"]:focus-visible,
label.rv-option:focus-within {
  outline: 3px solid var(--mint-bright);
  outline-offset: 2px;
  border-radius: 5px;
}
/* Light ring on known dark surfaces so focus stays visible there too */
.dark-section a:focus-visible, .dark-section button:focus-visible,
.reason-section a:focus-visible, .reason-section button:focus-visible,
.site-header a:focus-visible, .site-header button:focus-visible,
.announcement a:focus-visible, .site-footer a:focus-visible,
.portal-sidebar a:focus-visible, .portal-sidebar button:focus-visible,
.login-art a:focus-visible { outline-color: #ffffff; }

/* Screen-reader-only content (visually hidden, still announced) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Honor the OS "reduce motion" setting site-wide */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Client "My disputes" status pills (Fable plan #3) */
.status-pill.pill-win { color: #1c6b40; background: #dff1e6; }
.status-pill.pill-progress { color: #7a5a12; background: #f6ecd2; }
.status-pill.pill-alert { color: #9e111d; background: #f5dcde; }
.status-pill.pill-wait { color: #5b5450; background: #eee8e6; }

/* Privacy report: clean print / save-as-PDF output */
@media print {
  .portal-sidebar, .portal-topbar, .site-header, .site-footer, .announcement,
  .toast, .skip-link, .no-print, .cta-band { display: none !important; }
  .portal-shell, .portal-main { margin: 0 !important; padding: 0 !important; }
  body { background: #fff !important; }
  .panel { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; }
  .stats-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

/* Privacy / data-use notice banner */
.privacy-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 14px clamp(16px, 4vw, 32px); background: var(--ink); color: var(--cream); box-shadow: 0 -8px 30px rgba(0,0,0,.22); }
.privacy-banner p { margin: 0; flex: 1 1 420px; font-size: 13.5px; line-height: 1.55; color: rgba(245,241,238,.9); }
.privacy-banner strong { color: #fff; }
.privacy-banner a { color: #fff; text-decoration: underline; }
.privacy-banner a:focus-visible, .privacy-banner button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 620px) { .privacy-banner { gap: 10px; padding: 12px 16px; } .privacy-banner p { font-size: 12.5px; } .privacy-banner .button { width: 100%; justify-content: center; } }
/* Legal page: callouts + processor table */
.legal-callout { border-left: 3px solid var(--mint-bright); background: var(--mint); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 22px; font-size: 14.5px; line-height: 1.6; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 6px 0 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
