/* Raspberry LLC — main stylesheet. Colors: theme.css only. Large type, high contrast, minimal motion. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --radius: 16px; --container: 1180px;
  --shadow: 0 6px 24px -10px rgba(0, 0, 0, .22);
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.1875rem; /* 19px */ line-height: 1.65; color: var(--text); background: var(--page-bg); }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); color: var(--brand-primary); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-accent-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--brand-primary); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--brand-primary); color: var(--brand-on-primary); padding: .7rem 1.1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; color: var(--brand-on-primary); }
main:focus { outline: none; }
.small { font-size: 1rem; }
.lead { font-size: clamp(1.25rem, 1.8vw, 1.4rem); color: var(--text); }
.eyebrow { font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-accent-strong); margin-bottom: .6rem; }
.center { text-align: center; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 860px; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tight { padding-top: 2rem; }
.section.alt { background: var(--brand-tint); }
.section-head { max-width: 780px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* Buttons: big targets (min 52px tall) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .8rem 1.5rem; border-radius: 12px; font: inherit; font-weight: 700; font-size: 1.125rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .15s ease, color .15s ease; }
.btn-lg { min-height: 60px; padding: 1rem 1.8rem; font-size: 1.25rem; }
.btn-primary { background: var(--brand-primary); color: var(--brand-on-primary); }
.btn-primary:hover { background: var(--brand-primary-dark); color: var(--brand-on-primary); }
.btn-secondary { background: var(--brand-surface); color: var(--brand-accent-strong); border-color: var(--brand-accent-strong); }
.btn-secondary:hover { background: var(--brand-accent-strong); color: var(--brand-surface); }
.btn-outline { background: transparent; color: var(--brand-primary); border-color: var(--brand-primary); }
.btn-outline:hover { background: var(--brand-primary); color: var(--brand-on-primary); }
.btn-light { background: var(--brand-accent); color: var(--brand-on-accent); }
.btn-light:hover { background: var(--brand-surface); color: var(--brand-on-accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0; }
.btn-row.center { justify-content: center; }

/* Preview ribbon + placeholders + review notes */
.preview-ribbon { background: var(--placeholder-bg); color: var(--placeholder-text); text-align: center; padding: .5rem 1rem; font-size: 1rem; border-bottom: 2px solid var(--placeholder-border); }
.placeholder { display: inline-block; background: var(--placeholder-bg); color: var(--placeholder-text); border: 2px dashed var(--placeholder-border); border-radius: 6px; padding: 0 .4rem; font-weight: 600; }
.internal-note { background: var(--placeholder-bg); color: var(--placeholder-text); border-left: 6px solid var(--placeholder-border); padding: .6rem .9rem; border-radius: 6px; font-size: 1rem; margin: 1rem 0; text-align: left; }
.draft-tag { display: inline-block; background: var(--placeholder-bg); color: var(--placeholder-text); border: 1px solid var(--placeholder-border); border-radius: 4px; padding: 0 .35rem; font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.status-pill { display: inline-block; background: var(--placeholder-bg); color: var(--placeholder-text); border-radius: 999px; padding: .1rem .8rem; font-size: .95rem; font-weight: 700; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brand-surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; }
.brand { text-decoration: none; color: inherit; }
.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--brand-primary); }
.logo-llc { font-size: .8em; letter-spacing: .08em; }
.logo-sub { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-accent-strong); font-weight: 700; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0; }
.nav-list a:not(.btn) { display: block; padding: .6rem .75rem; color: var(--brand-primary); font-weight: 600; text-decoration: none; border-radius: 8px; font-size: 1.1rem; }
.nav-list a:not(.btn):hover { background: var(--brand-tint); }
.nav-list a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--brand-accent-strong); }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; align-items: center; gap: .4rem; min-height: 52px; padding: .5rem 1rem; font: inherit; font-weight: 700; color: var(--brand-primary); background: var(--brand-surface); border: 2px solid var(--brand-primary); border-radius: 10px; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--brand-tint), var(--page-bg)); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.hero-points li, .hero-states { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.hero-points .icon, .hero-states .icon, .check-list .icon { color: var(--brand-accent-strong); flex: none; }
.hero-states { margin-top: 1rem; }
.page-hero { background: var(--brand-tint); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-hero .lead { max-width: 820px; }
.center-hero { padding: clamp(3rem, 8vw, 6rem) 0; }
.big-check { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--brand-primary); color: var(--brand-on-primary); margin-bottom: 1rem; }
.reviewed { font-size: 1rem; color: var(--text-muted); }

/* Cards */
.card { background: var(--brand-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-primary); margin-bottom: 1rem; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { position: relative; }
.step-num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--brand-accent-strong); }
.step-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand-primary); color: var(--brand-on-primary); margin-bottom: 1rem; }
.link-list { padding-left: 1.2rem; margin: 0 0 1.5rem; } .link-list li { margin: .4rem 0; }
.edu-visual svg { width: 100%; max-width: 480px; margin-inline: auto; }
.role { font-weight: 700; color: var(--brand-accent-strong); font-size: 1.2rem; margin-top: -.4rem; }
.photo-placeholder { margin: 0; max-width: 420px; margin-inline: auto; }
.photo-placeholder figcaption { margin-top: .6rem; font-size: 1rem; color: var(--text-muted); text-align: center; }
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.contact-cards .card .icon, .contact-list .icon { color: var(--brand-accent-strong); }
.contact-cards h3 { margin-top: .6rem; }

/* CTA band */
.cta-band { background: var(--brand-primary); color: var(--brand-on-primary); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band h2 { color: var(--brand-on-primary); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner p { margin: 0; max-width: 640px; font-size: 1.25rem; }

/* FAQ */
.faq { display: grid; gap: .9rem; }
.faq-item { background: var(--brand-surface); border: 1px solid var(--border); border-radius: 12px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 700; font-size: 1.2rem; color: var(--brand-primary); list-style: none; min-height: 60px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; color: var(--brand-accent-strong); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-body { padding: 0 1.3rem 1.1rem; }
.source { font-size: 1rem; color: var(--text-muted); }

/* Notices */
.notice { display: flex; gap: .9rem; align-items: flex-start; background: var(--brand-tint); border-left: 6px solid var(--brand-accent-strong); padding: 1rem 1.2rem; border-radius: 10px; margin: 1.2rem 0; }
.notice p { margin: 0; }
.notice .icon { flex: none; color: var(--brand-accent-strong); margin-top: .15rem; }
.notice-warn { background: var(--warn-bg); border-left-color: var(--warn-border); color: var(--warn-text); }
.notice-warn .icon { color: var(--warn-border); }
.notice-info { background: var(--brand-surface); border: 2px solid var(--brand-primary); border-left-width: 6px; }

/* Services */
.jump-links ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.jump-links a { display: inline-block; padding: .5rem .9rem; border: 2px solid var(--border); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.service-list { display: grid; gap: 1.5rem; }
.service-head { display: flex; align-items: center; gap: 1rem; }
.service-head .card-icon { margin: 0; flex: none; }
.service-head h2 { margin: 0; font-size: 1.7rem; }
.service-detail { scroll-margin-top: 110px; }

/* Education */
.edu-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.toc { position: sticky; top: 110px; padding: 1.3rem; }
.toc-title { font-size: 1.2rem; }
.toc ol { margin: 0; padding-left: 1.2rem; } .toc li { margin: .45rem 0; }
.edu-section { padding: 2rem 0; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.parts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.part { position: relative; padding-top: 1.4rem; scroll-margin-top: 110px; }
.part-letter { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--brand-primary); color: var(--brand-on-primary); font-family: var(--serif); font-size: 1.8rem; font-weight: 700; margin-bottom: .8rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; }
table.compare { width: 100%; border-collapse: collapse; background: var(--brand-surface); min-width: 640px; }
.compare th, .compare td { border: 1px solid var(--border); padding: .9rem 1rem; text-align: left; vertical-align: top; }
.compare thead th { background: var(--brand-primary); color: var(--brand-on-primary); }
.compare tbody th { background: var(--brand-tint); color: var(--brand-primary); width: 22%; }
.check-list { list-style: none; padding: 0; } .check-list li { display: flex; gap: .7rem; margin: .7rem 0; }
.periods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin: 1rem 0 1.4rem; }
.period h3 { margin-bottom: .4rem; }
.period-when { display: flex; gap: .5rem; font-weight: 700; color: var(--brand-primary); }
.period-when .icon { flex: none; margin-top: .2rem; color: var(--brand-accent-strong); }
.sources-list li { margin: .4rem 0; }

/* Forms */
.form { display: grid; gap: .4rem; padding: clamp(1.4rem, 4vw, 2.4rem); }
.form-title { font-size: 1.6rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
legend { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--brand-primary); margin-bottom: .6rem; padding: 0; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; }
.req, .opt { font-weight: 400; color: var(--text-muted); font-size: 1rem; }
.hint { margin: 0; font-size: 1rem; color: var(--text-muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { font: inherit; font-size: 1.15rem; color: var(--text); background: var(--brand-surface); border: 2px solid var(--text-muted); border-radius: 10px; padding: .75rem .9rem; min-height: 56px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error { color: var(--error); font-weight: 600; margin: 0; font-size: 1rem; min-height: 0; }
.error:empty { display: none; }
.radios { display: flex; flex-wrap: wrap; gap: .8rem; }
.radio { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; border: 2px solid var(--border); border-radius: 10px; min-height: 56px; cursor: pointer; font-weight: 600; }
.radio input, .field-check input { width: 26px; height: 26px; accent-color: var(--brand-primary); flex: none; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .8rem; }
.field-check label { font-weight: 400; }
.field-check .error { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .6rem; }
.form-status { margin: 0; font-weight: 700; }
.form-status.is-error { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list .card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; }
.contact-list h2 { font-size: 1.3rem; margin-bottom: .2rem; }
.contact-list p { margin: 0; }
.state-list { margin: .4rem 0; padding-left: 1.2rem; columns: 2; }
.quals { display: grid; gap: .8rem; margin: 0; }
.quals > div { display: grid; grid-template-columns: 260px 1fr; gap: 1rem; background: var(--brand-surface); border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1.1rem; }
.quals dt { font-weight: 700; color: var(--brand-primary); }
.quals dd { margin: 0; }
.license-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .35rem 1.5rem; }
.license-list li { display: flex; justify-content: space-between; gap: .75rem; border-bottom: 1px dashed var(--border); padding: .2rem 0; }
.license-list .lic-state { font-weight: 600; }
.license-list .lic-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.disclaimer-callout { border: 2px solid var(--brand-primary); padding: 1rem; border-radius: 10px; background: var(--brand-surface); }

/* Footer */
.site-footer { background: var(--brand-primary-dark); color: var(--brand-on-primary); padding-top: 3.5rem; margin-top: 0; }
.site-footer a { color: var(--brand-on-primary); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; } .footer-grid li { margin: .45rem 0; }
.footer-title { font-family: var(--font); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-on-primary); }
.brand-light .logo-name, .brand-light .logo-sub { color: var(--brand-on-primary); }
.brand-light .logo-mark { background: var(--brand-surface); border-radius: 12px; padding: 3px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.footer-contact li { display: flex; align-items: center; gap: .5rem; }
.footer-contact .placeholder { font-size: .95rem; }
.footer-disclaimers { margin-top: 2.5rem; }
.disclaimer-box { border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; padding: 1.3rem 1.5rem; font-size: 1.05rem; }
.disclaimer-box p { margin: .5rem 0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 7rem; font-size: 1rem; }
.footer-bottom p { margin: 0; }
.legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }

/* Chat assistant */
.chat { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; }
.chat-launcher { display: inline-flex; align-items: center; gap: .55rem; min-height: 60px; padding: .8rem 1.3rem; border-radius: 999px; border: 3px solid var(--brand-surface); background: var(--brand-primary); color: var(--brand-on-primary); font: inherit; font-weight: 700; font-size: 1.1rem; cursor: pointer; box-shadow: 0 8px 26px -6px rgba(0, 0, 0, .45); }
.chat.is-open .chat-launcher { display: none; }
.chat-panel { position: fixed; right: 1.2rem; bottom: 1.2rem; width: min(420px, calc(100vw - 2rem)); height: min(680px, calc(100vh - 2rem)); display: flex; flex-direction: column; background: var(--brand-surface); border: 2px solid var(--brand-primary); border-radius: 18px; box-shadow: 0 20px 60px -12px rgba(0, 0, 0, .45); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; gap: .6rem; align-items: flex-start; background: var(--brand-primary); color: var(--brand-on-primary); padding: 1rem 1.1rem; }
.chat-head h2 { color: var(--brand-on-primary); font-size: 1.3rem; margin: 0; }
.chat-status { margin: .2rem 0 0; font-size: .95rem; }
.badge { display: inline-block; background: var(--brand-accent); color: var(--brand-on-accent); border-radius: 6px; padding: 0 .4rem; font-weight: 700; font-size: .85rem; }
.chat-close { background: transparent; border: 2px solid var(--brand-on-primary); color: var(--brand-on-primary); border-radius: 10px; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .8rem; background: var(--page-bg); }
.msg { max-width: 92%; border-radius: 14px; padding: .75rem .95rem; font-size: 1.05rem; line-height: 1.5; }
.msg p { margin: 0 0 .4rem; } .msg p:last-child { margin-bottom: 0; }
.msg ul { margin: .2rem 0 .4rem; padding-left: 1.2rem; }
.msg.bot { background: var(--brand-tint); color: var(--text); align-self: flex-start; }
.msg.user { background: var(--brand-primary); color: var(--brand-on-primary); align-self: flex-end; }
.msg.warn { background: var(--warn-bg); color: var(--warn-text); border: 2px solid var(--warn-border); }
.msg.guard { border: 2px solid var(--brand-accent-strong); }
.msg-small { font-size: .92rem; color: var(--text-muted); }
.msg.warn .msg-small { color: var(--warn-text); }
.msg-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .5rem; }
.chat-btn { display: inline-block; padding: .4rem .75rem; border-radius: 8px; border: 2px solid var(--brand-accent-strong); background: var(--brand-surface); color: var(--brand-accent-strong); font-weight: 700; font-size: .98rem; text-decoration: none; }
.chat-btn-broker { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--brand-on-primary); }
.chat-btn-broker:hover { color: var(--brand-on-primary); background: var(--brand-primary-dark); }
.msg-source { font-size: .92rem; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .45rem; max-height: 9.6rem; overflow-y: auto; padding: .6rem .8rem; border-top: 1px solid var(--border); background: var(--brand-surface); }
.chip { flex: none; font: inherit; font-size: .98rem; font-weight: 600; padding: .5rem .8rem; border-radius: 999px; border: 2px solid var(--brand-primary); background: var(--brand-surface); color: var(--brand-primary); cursor: pointer; min-height: 44px; }
.chip-broker { background: var(--brand-primary); color: var(--brand-on-primary); }
.chat-input { display: flex; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid var(--border); }
.chat-input input { min-height: 52px; }
.chat-send { flex: none; width: 56px; border-radius: 10px; border: 0; background: var(--brand-primary); color: var(--brand-on-primary); display: grid; place-items: center; cursor: pointer; }
.chat-foot { margin: 0; padding: .4rem .9rem .7rem; font-size: .9rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav-list { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--brand-surface); border-bottom: 2px solid var(--border); padding: .8rem 1.25rem 1.2rem; gap: .2rem; }
  .nav-open .nav-list { display: flex; }
  .nav-list a:not(.btn) { padding: .9rem .6rem; font-size: 1.2rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-cta { margin: .8rem 0 0; } .nav-cta .btn { width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero-grid, .split, .contact-layout, .edu-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .toc { position: static; }
  .parts-grid, .periods { grid-template-columns: 1fr; }
  .quals > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 600px) {
  body { font-size: 1.125rem; }
  .header-inner { min-height: 76px; }
  .logo-name { font-size: 1.3rem; } .logo-sub { font-size: .75rem; } .logo-mark { width: 44px; height: 44px; }
  .steps, .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .chat { right: .8rem; bottom: .8rem; }
  .chat-panel { right: .5rem; bottom: .5rem; width: calc(100vw - 1rem); height: calc(100vh - 1rem); }
  .state-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .chat, .site-header .main-nav, .preview-ribbon { display: none !important; } }
.preview-ribbon a { color: var(--placeholder-text); font-weight: 700; }
.hero-visual { width: 100%; }
.hero-art { width: 100%; height: auto; }
@media (max-width: 880px) { .hero-visual { max-width: 340px; } }
@media (max-width: 600px) { .chat-launcher { min-height: 56px; padding: .6rem 1rem; font-size: 1rem; } }
@media (max-width: 600px) { .preview-ribbon { font-size: .9rem; padding: .35rem .8rem; } .hero-visual { max-width: 280px; } }
.broker-photo { margin: 0 auto; max-width: 460px; }
.broker-photo.is-small { max-width: 340px; }
.broker-photo img { width: 100%; height: auto; border-radius: var(--radius); border: 6px solid var(--brand-surface); box-shadow: 0 0 0 2px var(--brand-tint-2), var(--shadow); background: var(--brand-tint); }
