:root {
  color-scheme: light;
  --ink: #0F1B2D;
  --ink-2: #16263D;
  --paper: #F6F2EA;
  --surface: #FFFFFF;
  --line: #E3DCCD;
  --accent: #B08A4A;
  --accent-ink: #8C6B33;
  --muted: #5B6676;
  /* Exact requested brass token retained; slight darkening ensures AA on ivory. */
  --accent-text: color-mix(in srgb, var(--accent-ink) 94%, var(--ink));
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 102%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Playfair Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 98%; descent-override: 25%; line-gap-override: 0%; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h1, h2 { font-family: "Playfair Display", "Playfair Fallback", Georgia, serif; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: clamp(32px, 3.1vw, 44px); line-height: 1.18; letter-spacing: -.025em; }
h3 { font-weight: 600; line-height: 1.4; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
[data-pitch-only] { display: none !important; }
html.pitch-mode [data-pitch-only]:not(dialog):not([hidden]), html.pitch-mode dialog[data-pitch-only][open] { display: block !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; padding: 12px; background: var(--surface); }
.skip-link:focus { top: 10px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 88px; }
.section-head { display: block; max-width: 760px; margin-bottom: 36px; }
.section-head h2 { margin: 12px 0 16px; }
.section-head p { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow-light { color: #D5B579; }
.button { display: inline-flex; min-height: 48px; padding: 13px 22px; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; background: var(--ink); color: var(--surface); font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: border-color .2s, background .2s; }
.button:hover { border-color: var(--accent); background: var(--ink-2); }
.button-light { background: var(--surface); color: var(--ink); }
.button-light:hover { background: var(--paper); }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.button-quiet:hover { background: var(--paper); }
.text-link { display: inline-flex; gap: 12px; align-items: center; background: none; padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.button:disabled { opacity: .6; cursor: default; }
.topbar { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--ink); border-radius: 4px; color: #D5B579; font-family: "Playfair Display", Georgia, serif; font-size: 27px; }
.brand-copy { display: grid; }
.brand-copy b { font-size: 20px; letter-spacing: .13em; font-weight: 600; line-height: 1.3; }
.brand-copy span { font-size: 10px; color: var(--muted); letter-spacing: .045em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 12px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent-text); }
.nav .button { min-height: 42px; padding: 12px 18px; }
.menu-toggle { display: none; width: 42px; height: 42px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
.hero { background: var(--ink); color: var(--surface); padding: 64px 0 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0; font-size: 52px; line-height: 1.1; letter-spacing: -.035em; }
.hero-lede { max-width: 570px; color: #C2CBD8; font-size: 15px; line-height: 1.75; margin-bottom: 28px; }
.hero-visual { position: relative; margin: 0; padding-bottom: 80px; }
.hero-visual > img { width: 100%; height: 430px; object-fit: cover; object-position: 60% center; border-radius: 6px; }
.visual-caption { position: absolute; top: 18px; left: 18px; padding: 6px 10px; background: var(--ink); color: #EDE5D5; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
.report-card { position: absolute; left: -30px; right: 20px; bottom: 0; padding: 23px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; }
.report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.report-head svg { width: 26px; color: var(--accent-text); }
.report-card .report-title { font-family: "Playfair Display", Georgia, serif; margin: 3px 0 12px; font-size: 20px; }
.report-card table { border-collapse: collapse; width: 100%; font-size: 10px; }
.report-card th { color: var(--muted); font-weight: 500; text-align: left; }
.report-card td, .report-card th { padding: 6px 0; border-bottom: 1px solid var(--line); }
.report-card td:last-child, .report-card th:last-child { text-align: right; }
.report-card tfoot td { font-size: 12px; font-weight: 600; border: 0; padding-top: 10px; }
.report-card .placeholder-note { margin: 10px 0 0; font-size: 9px; }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; font-size: 11px; color: #C2CBD8; }
.hero-meta span { display: flex; gap: 6px; align-items: center; }
.hero-meta svg { width: 16px; height: 16px; color: #D5B579; }
.legal-visual { padding-bottom: 0; }
.legal-document { padding: 30px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; }
.legal-document-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.legal-document-head svg { flex-shrink: 0; color: var(--accent-text); }
.legal-document h2 { font-size: 30px; line-height: 1.2; margin: 24px 0 14px; }
.legal-document-lede { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.legal-route { list-style: none; margin: 0; padding: 0; }
.legal-route li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.legal-route li > span { padding-top: 2px; color: var(--accent-text); font-size: 11px; }
.legal-route h3 { font-size: 14px; margin: 0 0 5px; }
.legal-route p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.legal-document-foot { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-document-foot svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent-text); }
.legal-document-foot p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.legal-document-foot strong { color: var(--ink); font-weight: 600; }
.legal-visual-note { padding: 12px 0 0; color: #C2CBD8; font-size: 11px; text-align: center; }
.practice-title { margin: 0 0 22px; font-size: 14px; font-weight: 600; }
.legal-help { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-help-title { font-family: "Playfair Display", "Playfair Fallback", Georgia, serif; font-size: 30px; line-height: 1.2; letter-spacing: -.025em; margin: 12px 0 16px; }
.legal-service-grid .service-card { border-top: 3px solid var(--accent); }
.service-help { grid-column: 1 / -1; }
.case-photo { width: 100%; height: 170px; object-fit: cover; object-position: 60% center; border-radius: 4px; margin-bottom: 22px; }
.lead-form { max-width: 620px; }
.lead-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form label, .proposal-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 500; }
input, select { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--surface); font-size: 13px; }
.lead-form .button { margin-top: 12px; width: 100%; }
.hero .lead-form .button, .contacts .lead-form .button { border-color: var(--accent); }
.form-note { font-size: 11px; color: #C2CBD8; margin: 12px 0 0; }
.form-message { padding: 12px 0 0; font-size: 12px; color: inherit; }
.form-message:empty { display: none; }
.noscript-note { font-size: 12px; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.service-icon { color: var(--accent-text); margin-bottom: 20px; height: 32px; }
.service-category { color: var(--accent-text); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.service-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 23px; min-height: 2.8em; margin: 0 0 12px; }
.service-card p { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.service-price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 16px; }
.service-price a { color: var(--accent-text); font-size: 20px; text-decoration: none; }
.service-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.service-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.service-group h3 { margin-bottom: 8px; color: var(--accent-text); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.compact-service { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 8px 0; font-size: 13px; }
.compact-service b { font-weight: 500; white-space: nowrap; }
.price-note, .placeholder-note { color: var(--muted); font-size: 11px; }
.price-note { margin: 20px 0 0; }
.numbers { padding-block: 40px; border-block: 1px solid var(--line); }
.numbers-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.numbers-head h2 { font-family: "Manrope", Arial, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin: 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 30px; }
.stat strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 42px; font-weight: 600; line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.case-copy p { color: var(--muted); font-size: 14px; }
.case-paper { background: var(--surface); padding: 32px; border: 1px solid var(--line); border-radius: 6px; }
.case-paper h3 { font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.case-step { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 18px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.case-step span { color: var(--muted); font-size: 11px; }
.case-step strong { display: block; font-size: 28px; font-weight: 500; line-height: 1.4; }
.case-step small { color: var(--muted); font-size: 11px; }
.case-step.final { border-bottom: 0; color: var(--accent-text); }
.flow-section { background: var(--surface); }
.flow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; }
.flow-grid::before { content: ""; position: absolute; top: 24px; left: 0; right: 0; height: 1px; background: var(--line); }
.flow-card { position: relative; padding-right: 16px; }
.flow-index { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; color: var(--muted); font-size: 11px; }
.flow-index > b { background: var(--surface); position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; font-family: "Playfair Display", Georgia, serif; color: var(--accent-text); font-size: 20px; font-weight: 600; }
.flow-index span { background: var(--surface); padding-left: 12px; }
.flow-card h3 { font-size: 17px; margin-bottom: 10px; }
.flow-card p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.expert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.expert-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.expert-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; height: 220px; margin-bottom: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 10px; }
.expert-photo svg { width: 70px; height: 70px; color: var(--accent-text); stroke-width: .7; }
.expert-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; background: var(--paper); margin-bottom: 22px; }
.expert-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 22px; margin-bottom: 8px; }
.expert-card p { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.expert-card .tenure { font-size: 11px; color: var(--accent-text); }
.guarantees { margin-top: 44px; }
.guarantees h3 { font-size: 20px; margin-bottom: 24px; }
.guarantee-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.guarantee-grid article { border-top: 1px solid var(--line); padding-top: 20px; }
.guarantee-grid svg { color: var(--accent-text); margin-bottom: 10px; }
.guarantee-grid h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.guarantee-grid p { color: var(--muted); font-size: 12px; }
.demo-section { padding: 80px 0; background: var(--ink); color: var(--surface); }
.demo-copy { max-width: 760px; margin-bottom: 30px; }
.demo-copy h2 { margin: 14px 0; }
.demo-copy > p { color: #C2CBD8; font-size: 14px; }
.demo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.demo-toolbar p { margin: 0; color: #C2CBD8; font-size: 11px; }
.demo-toolbar .text-link { color: var(--surface); flex-shrink: 0; }
.agent-shell { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.agent-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.agent-id { display: flex; align-items: center; gap: 12px; }
.agent-avatar { display: grid; width: 36px; height: 36px; place-items: center; background: var(--ink); color: #D5B579; border-radius: 4px; font-family: Georgia,serif; }
.agent-id b { display: block; font-size: 13px; }
.agent-id small { display: block; font-size: 10px; color: var(--muted); }
.demo-badge { font-size: 10px; letter-spacing: .08em; color: var(--accent-text); }
.role-switch { display: none; }
.demo-panels { display: grid; grid-template-columns: 1fr 1fr; }
.role-panel { min-width: 0; }
.panel-label { margin: 0; padding: 14px 24px; font-size: 11px; font-weight: 600; border-bottom: 1px solid var(--line); }
#employee-view { border-left: 1px solid var(--line); background: var(--paper); }
.source-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.source-row > span { font-size: 10px; color: var(--muted); }
.source-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.source-tab, .role-tab { min-height: 36px; padding: 7px 12px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 500; }
.source-tab[aria-pressed="true"], .role-tab[aria-selected="true"] { background: var(--ink); color: var(--surface); }
.chat-body { display: flex; flex-direction: column; gap: 14px; height: 295px; overflow: auto; padding: 24px; }
.message { flex-shrink: 0; max-width: 90%; padding: 14px 16px; border-radius: 6px; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.message.client { align-self: flex-end; background: var(--ink); color: var(--surface); }
.message.agent { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.message time { display: block; margin-top: 7px; font-size: 9px; color: var(--muted); }
.message.client time { color: #C2CBD8; }
.quick-replies { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 24px 16px; }
.quick-reply { min-height: 36px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 10px; }
.chat-form { display: flex; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; font-size: 11px; }
.chat-form .button { padding: 12px 14px; font-size: 11px; }
.crm-view { padding: 20px 24px; }
.crm-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.crm-id small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.crm-id b { font-size: 11px; }
.crm-status { font-size: 10px; color: var(--accent-text); padding: 5px 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; }
.crm-status[data-state="confirmed"] { background: var(--ink); color: var(--surface); }
.crm-card h3 { font-size: 19px; margin: 6px 0 10px; }
.crm-request { font-size: 12px; color: var(--muted); }
.crm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.crm-field small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; }
.crm-field b { font-size: 11px; font-weight: 500; display: block; overflow-wrap: anywhere; }
.hitl-box { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--accent); }
.hitl-box b { font-size: 11px; }
.hitl-box p { color: var(--muted); font-size: 11px; margin: 4px 0 0; }
.crm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.crm-actions .button { min-height: 40px; padding: 10px 12px; font-size: 11px; }
.crm-footnote, .demo-disclaimer, #crm-empty { font-size: 10px; color: var(--muted); }
.crm-footnote { margin: 14px 0 0; }
.demo-disclaimer { padding: 15px 24px; border-top: 1px solid var(--line); margin: 0; }
.ticket-arrive { animation: appear .4s ease both; }
.demo-typing { border-right: 1px solid var(--accent); }
.demo-controls { padding: 18px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.scenario-options, .demo-mode-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.scenario-option { padding: 9px 12px; min-height: 40px; font-size: 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.scenario-option[aria-pressed="true"] { color: var(--surface); background: var(--ink); border-color: var(--ink); }
.demo-mode-actions { margin-top: 12px; }
.demo-mode-actions .button { min-height: 40px; padding: 9px 14px; font-size: 12px; }
.demo-progress { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 24px; border-top: 1px solid var(--line); background: var(--paper); font-size: 12px; }
.demo-progress span { max-width: 38ch; color: var(--muted); line-height: 1.5; }
.demo-progress .button { min-height: 40px; padding: 9px 14px; font-size: 12px; flex-shrink: 0; }
#client-view { display: flex; flex-direction: column; }
#client-view .chat-body { flex: 1; min-height: 350px; max-height: 600px; }
#client-view .chat-form { margin-top: auto; }
.message.manager { align-self: flex-start; border: 1px solid var(--accent); background: var(--paper); }
.crm-card h3 { font-size: 21px; }
.crm-grid { margin: 16px 0; gap: 12px 16px; }
#crm-missing { font-size: 10px; margin-top: 8px; }
.manager-history { margin-top: 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.manager-history summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer; padding: 10px 12px; font-size: 12px; font-weight: 600; }
.manager-history summary span { font-size: 10px; font-weight: 400; color: var(--muted); }
.manager-chat { max-height: 165px; overflow: auto; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.manager-chat .message { max-width: 100%; padding: 8px 10px; font-size: 11px; line-height: 1.5; }
.manager-chat .message time { margin: 0 0 3px; font-size: 10px; }
.crm-actions { align-items: center; margin-top: 14px; }
.crm-actions .text-link { font-size: 11px; }
.manager-form { margin-top: 14px; }
.manager-form label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; }
.manager-form > div { display: flex; gap: 8px; }
.manager-form input { flex: 1; width: 0; font-size: 12px; padding: 10px; }
.manager-form .button { padding: 10px 12px; font-size: 11px; }
.manager-tools { padding: 0 24px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.demo-outcome { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.demo-outcome b { font-size: 14px; }
.demo-outcome p { max-width: 710px; font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.demo-outcome .button { flex-shrink: 0; font-size: 12px; }
@media (min-width: 768px) and (min-height: 501px) {
 .demo-panels { height: 650px; }
 .role-panel { min-height: 0; overflow: hidden; }
 .panel-label, .source-row, .quick-replies, .chat-form, .manager-tools { flex-shrink: 0; }
 #client-view .chat-body { min-height: 0; max-height: none; }
 #employee-view { display: flex; flex-direction: column; }
 .crm-view { flex: 1; min-height: 0; overflow: auto; }
 .crm-top { position: sticky; top: -20px; z-index: 1; padding-block: 12px; margin-top: -12px; background: var(--paper); }
}
@media (min-width: 1200px) {
 .demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
 .demo-mode-actions { flex-shrink: 0; margin-top: 0; }
}
@media (max-width: 767px) {
 .demo-controls, .demo-outcome { padding: 16px; }
 .demo-progress { flex-wrap: wrap; align-items: start; padding: 12px 16px; font-size: 12px; }
 .manager-tools { padding-inline: 16px; }
 .scenario-options { display: grid; grid-template-columns: 1fr; }
 .scenario-option { text-align: left; min-height: 44px; }
 .demo-mode-actions .button { flex: 1; min-height: 44px; }
 .demo-progress .button { width: 100%; min-height: 44px; }
 #client-view .chat-body { flex: auto; min-height: 250px; height: 380px; }
 .manager-chat { max-height: 240px; }
 .manager-chat .message, #crm-missing, .manager-form label { font-size: 12px; }
 .manager-form input { font-size: 16px; }
 .manager-form .button { min-height: 44px; }
 .demo-outcome { flex-direction: column; align-items: stretch; gap: 14px; }
}
.faq-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 80px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent-text); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 600px; color: var(--muted); font-size: 13px; padding-right: 28px; }
.contacts { padding: 72px 0; background: var(--ink); color: var(--surface); border-top: 3px solid var(--accent); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; }
.contacts h2 { margin: 14px 0 20px; max-width: 570px; }
.contacts .contact-lede { color: #C2CBD8; font-size: 14px; }
.contact-list { display: flex; gap: 26px; flex-wrap: wrap; margin: 24px 0 18px; }
.contact-list a { font-size: 13px; }
.contact-phone { font-size: 23px !important; text-decoration: none; }
.contact-address { color: #C2CBD8; font-size: 12px; }
.contacts .placeholder-note { color: #C2CBD8; }
.contact-form-title { margin: 8px 0 20px; font-size: 18px; }
footer { padding: 36px 0; background: var(--ink); color: #C2CBD8; border-top: 1px solid #324056; }
.footer-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: start; }
footer .brand-copy span { color: #C2CBD8; }
.footer-note { font-size: 10px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; font-size: 11px; }
.mobile-contact-bar { display: none; }
.pitch-section { padding: 0; background: var(--ink); color: var(--surface); border-top: 4px solid var(--accent); }
.pitch-band { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 56px; border: 0; }
.pitch-copy { flex: 1; min-width: 0; }
.pitch-band h2 { font-size: 34px; margin: 12px 0 14px; }
.pitch-band p { color: #C2CBD8; font-size: 13px; max-width: 740px; margin-bottom: 0; }
.pitch-divider { display: flex; align-items: center; gap: 16px; margin: 28px 0 12px; color: #D5B579; font-size: 12px; font-weight: 600; }
.pitch-divider::before { content: ""; display: block; width: 54px; height: 1px; background: var(--accent); }
.pitch-band > .button { flex-shrink: 0; max-width: 260px; text-align: center; border-color: var(--accent); }
.offer-section { background: var(--paper); }
.offer-section .section-head { max-width: 780px; }
.offer-dialog { width: min(1200px, calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.offer-dialog::backdrop { background: rgba(15,27,45,.8); }
.offer-head { padding-right: 64px; }
.offer-close-form { position: sticky; top: 0; z-index: 2; float: right; margin: 0 0 -44px; }
.offer-head h2 { font-size: 36px; margin: 12px 0; }
.offer-head p { font-size: 13px; color: var(--muted); max-width: 720px; }
.offer-close { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font-size: 24px; }
.package-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.package { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.package-topline { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-height: 32px; }
.package h3 { font-family: "Playfair Display",Georgia,serif; font-size: 24px; min-height: 2.8em; margin: 10px 0 12px; }
.package-intro { font-size: 12px; color: var(--muted); min-height: 6.6em; margin-bottom: 16px; }
.package-price { font-size: 30px; font-weight: 600; line-height: 1.25; }
.package-price-note { font-size: 10px; color: var(--muted); margin: 6px 0 20px; }
.package-list { padding-left: 16px; font-size: 12px; margin: 0 0 20px; }
.package-list li { padding-left: 2px; margin-bottom: 10px; }
.package-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.package-actions > .button { width: 100%; }
.package-demo-link { width: max-content; font-size: 11px; }
.package details { font-size: 11px; margin-bottom: 22px; }
.package summary { cursor: pointer; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.cost-breakdown { display: grid; gap: 8px; margin: 14px 0; }
.cost-row { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; }
.cost-row b { text-align: right; }
.package-note { color: var(--muted); font-size: 10px; }
.recommended { background: var(--ink); color: var(--surface); border-color: var(--ink); border-top: 4px solid var(--accent); padding-top: 23px; }
.recommended .package-topline { color: #D5B579; }
.recommended .package-topline span { display: block; letter-spacing: .12em; }
.recommended .package-intro, .recommended .package-price-note, .recommended .package-note { color: #C2CBD8; }
.recommended .package-note strong { color: var(--surface); }
.recommended .package-demo-link { color: #E5D3AE; }
.recommended .button { background: var(--surface); color: var(--ink); }
.offer-footnote { color: var(--muted); font-size: 10px; margin: 18px 0 0; }
.proposal-form { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.proposal-form h3 { font-family: "Playfair Display", Georgia, serif; font-size: 26px; margin-bottom: 20px; }
.proposal-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proposal-fields label:last-child { grid-column: 1 / -1; }
.proposal-form .button { margin-top: 20px; }
.proposal-form .form-note { color: var(--muted); }
.proposal-form .text-link { margin-top: 24px; display: flex; width: max-content; }
.reveal-pending { opacity: 0; transform: translateY(12px); }
.reveal-visible { opacity: 1; transform: none; transition: opacity .4s, transform .4s; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) and (min-height: 501px) { #client-view[hidden], #employee-view[hidden] { display: block !important; } }
@media (max-width: 1100px) {
 .wrap { width: calc(100% - 64px); }
 .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 38px; }
 .hero h1 { font-size: 44px; }
 .nav-links { gap: 20px; }
 .service-card { padding: 24px; }
 .service-card h3 { font-size: 21px; }
 .contact-grid { gap: 60px; }
 .faq-layout { gap: 40px; }
 .agent-head, .source-row, .chat-body, .chat-form { padding-inline: 18px; }
 .source-row { flex-wrap: wrap; }
 .crm-view { padding: 18px; }
 .quick-replies { padding-inline: 18px; }
 .package { padding: 20px; }
 .package h3 { font-size: 22px; }
}
@media (max-width: 900px) {
 .nav-links { gap: 16px; }
 .nav-links a:last-child { display: none; }
 .hero-grid { grid-template-columns: 1fr; gap: 38px; }
 .hero h1 { max-width: 760px; font-size: 52px; }
 .hero-visual { max-width: 680px; padding-bottom: 20px; }
 .hero-visual > img { height: 360px; }
 .report-card { left: auto; right: 18px; bottom: 0; width: 340px; }
 .section { padding-block: 64px; }
 .service-grid { gap: 14px; }
 .service-card { padding: 22px 18px; }
 .service-card h3 { font-size: 20px; min-height: 4.2em; }
 .service-card p { font-size: 12px; }
 .service-price { font-size: 13px; }
 .case-grid { gap: 30px; }
 .expert-card { padding: 16px; }
 .expert-card img { height: 180px; }
 .expert-card h3 { font-size: 20px; }
 .guarantee-grid { grid-template-columns: 1fr 1fr; }
 .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
 .contact-grid .lead-form { max-width: none; margin-top: 20px; }
 .pitch-band { align-items: stretch; flex-direction: column; gap: 24px; }
 .package-grid { grid-template-columns: 1fr; }
 .package h3, .package-intro { min-height: 0; }
 .package-actions { margin-top: 20px; }
}
@media (max-width: 767px) {
 html { scroll-padding-top: 80px; }
 .wrap { width: auto; margin-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
 .nav { min-height: 72px; gap: 12px; }
 .brand-mark { width: 34px; height: 34px; font-size: 23px; }
 .brand-copy b { font-size: 16px; }
 .brand-copy span { font-size: 9px; }
 .nav > .button { margin-left: auto; padding: 10px 12px; font-size: 12px; min-height: 44px; }
 .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; font-size: 20px; }
 .nav-links { position: absolute; top: 72px; left: 0; right: 0; display: none; padding: 12px max(16px, env(safe-area-inset-left)); max-height: calc(100dvh - 160px); overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; font-size: 15px; }
 .nav-links a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
 .nav-links.open { display: flex; }
 .nav-links a:last-child { display: flex; border-bottom: 0; }
 .hero { padding: 28px 0 40px; }
 .hero h1 { font-size: clamp(32px, 8.7vw, 46px); margin: 16px 0 20px; line-height: 1.12; text-wrap: balance; }
 .hero-question { display: block; margin-bottom: 12px; font-family: "Manrope", Arial, sans-serif; font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: 0; color: #D5B579; }
 .hero .eyebrow { font-size: 10px; letter-spacing: .08em; }
 .legal-document { padding: 22px; border-radius: 10px; }
 .legal-document h2 { font-size: 28px; }
 .legal-document-lede, .legal-route p { font-size: 14px; }
 .legal-route h3 { font-size: 15px; }
 .legal-route li { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
 .legal-document-foot p, .legal-visual-note { font-size: 12px; }
 .practice-title { font-size: 13px; margin-bottom: 18px; }
 .legal-help { margin-top: 32px; padding-top: 28px; }
 .legal-help-title { font-size: 28px; }
 .hero-lede { font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
 .hero-grid { gap: 28px; }
 .hero-visual > img { height: clamp(200px, 60vw, 320px); border-radius: 10px; }
 .hero-visual { padding-bottom: 0; max-width: none; }
 .visual-caption { top: 12px; left: 12px; font-size: 10px; }
 .report-card { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -36px 12px 0; padding: 18px; border-radius: 8px; }
 .report-card table { font-size: 11px; }
 .report-card td, .report-card th { padding-block: 8px; }
 .report-card .report-title { font-size: 20px; }
 .report-card .eyebrow { font-size: 9px; }
 .report-card .placeholder-note { font-size: 10px; }
 .hero-meta { gap: 10px 16px; font-size: 11px; margin-top: 18px; }
 .form-fields { grid-template-columns: 1fr; gap: 14px; }
 .lead-form label, .proposal-form label { font-size: 13px; }
 input, select, .chat-form input { min-height: 52px; font-size: 16px; padding: 13px 14px; border-radius: 6px; }
 .button { min-height: 52px; font-size: 14px; border-radius: 8px; }
 .hero .lead-form .button, .contacts .lead-form .button { background: #D5B579; color: var(--ink); border-color: #D5B579; }
 .hero .lead-form .button:hover, .contacts .lead-form .button:hover { background: #E5D3AE; }
 .form-note, .form-message { font-size: 12px; line-height: 1.6; }
 .text-link { min-height: 44px; font-size: 13px; }
 .section { padding-block: 48px; }
 .section-head { margin-bottom: 24px; }
 h2 { font-size: clamp(28px, 7.8vw, 36px); text-wrap: balance; }
 .section-head p, .case-copy p, .flow-card p, .contacts .contact-lede { font-size: 15px; line-height: 1.65; }
 .service-grid { grid-template-columns: 1fr; gap: 12px; }
 .service-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 20px; border-radius: 10px; }
 .service-icon { display: grid; place-items: center; grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; border-radius: 8px; background: var(--paper); }
 .service-category { grid-column: 2; margin: 0; font-size: 10px; }
 .service-card h3 { grid-column: 2; font-size: 22px; min-height: 0; margin: 5px 0 0; line-height: 1.25; }
 .service-card p { grid-column: 1 / -1; font-size: 14px; line-height: 1.65; margin: 14px 0 18px; }
 .service-price { grid-column: 1 / -1; font-size: 16px; padding-top: 12px; }
 .service-price a { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 8px; background: var(--paper); }
 .service-list { grid-template-columns: 1fr; margin-top: 16px; }
 .compact-service { flex-wrap: wrap; align-items: center; font-size: 14px; gap: 4px 12px; padding-block: 10px; }
 .compact-service b { font-size: 13px; }
 .price-note, .placeholder-note { font-size: 12px; line-height: 1.6; }
 .service-help .price-note { margin-top: 12px; }
 .numbers { padding-block: 30px; }
 .numbers-head { display: block; }
 .numbers-head .placeholder-note { display: block; margin-top: 10px; }
 .numbers-grid { grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
 .stat { padding: 18px 0; border-bottom: 1px solid var(--line); }
 .stat + .stat { padding-left: 0; border: 0; border-bottom: 1px solid var(--line); }
 .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
 .stat:nth-child(n+3) { border-bottom: 0; }
 .stat strong { font-size: 34px; }
 .stat span { display: block; font-size: 12px; }
 .case-grid { grid-template-columns: 1fr; gap: 20px; }
 .case-paper { padding: 20px; border-radius: 10px; }
 .case-step { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
 .case-step small { font-size: 12px; }
 .flow-grid { grid-template-columns: 1fr; gap: 30px; }
 .flow-grid::before { top: 20px; bottom: 24px; left: 19px; right: auto; width: 1px; height: auto; }
 .flow-card { padding: 0 0 0 60px; }
 .flow-index { margin-bottom: 14px; }
 .flow-index > b { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
 .flow-index span { padding-left: 0; font-size: 12px; }
 .expert-grid { grid-template-columns: 1fr; gap: 16px; }
 .expert-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; padding: 20px; border-radius: 10px; align-content: start; }
 .expert-photo, .expert-card img { grid-row: 1 / 4; width: 72px; height: 88px; margin: 0; border-radius: 8px; }
 .expert-photo svg { width: 44px; height: 44px; }
 .expert-photo span { display: none; }
 .expert-card h3 { grid-column: 2; font-size: 21px; margin: 0 0 6px; line-height: 1.25; }
 .expert-card p { grid-column: 2; font-size: 13px; margin: 0; }
 .expert-card .tenure { grid-column: 2; font-size: 12px; margin-top: 8px; }
 .guarantee-grid { gap: 20px 16px; }
 .guarantee-grid p { font-size: 13px; }
 .demo-section { padding-block: 52px; }
 .demo-toolbar { align-items: start; flex-direction: column; }
 .demo-panels { grid-template-columns: 1fr; }
 .agent-head { padding: 16px; }
 .demo-badge { display: none; }
 .role-switch { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
 .role-tab { flex: 1; min-height: 44px; font-size: 13px; }
 .panel-label { display: none; }
 #employee-view { border-left: 0; }
 .source-row { padding: 14px 16px; }
 .source-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
 .source-tab { grid-column: span 2; min-height: 44px; font-size: 12px; padding-inline: 6px; }
 .source-tab:nth-last-child(-n+2) { grid-column: span 3; }
 .chat-body { height: clamp(220px, 42dvh, 360px); padding: 16px; }
 .message { max-width: 94%; padding: 12px 14px; font-size: 14px; }
 .message time { font-size: 10px; }
 .chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 12px; align-items: center; }
 .chat-form .button { min-height: 52px; font-size: 12px; padding-inline: 12px; }
 .quick-replies { padding-inline: 16px; }
 .quick-reply { min-height: 44px; font-size: 12px; padding: 10px 12px; }
 .agent-id small, .demo-toolbar p, .demo-disclaimer { font-size: 12px; }
 .crm-grid { gap: 16px; }
 .crm-field small, .crm-field b, .crm-request, .hitl-box b, .hitl-box p, .crm-footnote { font-size: 13px; }
 .crm-actions .button { width: 100%; min-height: 48px; font-size: 13px; }
 .faq-list summary { align-items: center; font-size: 15px; gap: 16px; padding-block: 20px; }
 .faq-list summary::after { flex-shrink: 0; }
 .faq-list details p { padding-right: 0; font-size: 14px; }
 .contacts { padding-block: 48px; }
 .contact-list { gap: 8px 20px; }
 .contact-list a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
 .contact-address, .footer-note { font-size: 12px; }
 .footer-row { grid-template-columns: 1fr; gap: 24px; }
 .footer-links { justify-content: flex-start; }
 html:not(.pitch-mode) { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
 html:not(.pitch-mode) body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
 html:not(.pitch-mode) .mobile-contact-bar { position: fixed; z-index: 25; bottom: 0; left: 0; right: 0; display: flex; gap: 10px; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
 .mobile-contact-bar a { flex: 1; min-height: 48px; font-size: 12px; padding: 10px 8px; }
 .mobile-contact-bar a:last-child { flex-grow: 1.4; }
 .offer-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 22px 16px; }
 .offer-head { padding-right: 0; }
 .offer-head .eyebrow { display: flex; align-items: center; min-height: 44px; padding-right: 56px; }
 .offer-head h2 { font-size: 28px; }
 .proposal-fields { grid-template-columns: 1fr; }
 .proposal-form { padding: 18px; }
 .proposal-form .button { width: 100%; }
 .package { padding: 22px; border-radius: 10px; }
 .package h3 { font-size: 26px; }
 .package-intro, .package-list { font-size: 14px; }
 .package-note, .package-price-note, .offer-footnote, .package details { font-size: 12px; }
 .cost-row { font-size: 12px; flex-wrap: wrap; gap: 4px 12px; }
 .cost-row b { white-space: nowrap; }
 .package-demo-link { width: fit-content; font-size: 12px; }
 .pitch-band { padding-block: 36px; }
 .pitch-band h2 { font-size: 29px; }
 .pitch-band > .button { max-width: none; width: 100%; }
}
@media (max-width: 359px) {
 .nav > .button { font-size: 11px; padding-inline: 10px; }
 .service-card { padding: 18px; column-gap: 12px; }
 .service-card h3 { font-size: 21px; }
 .expert-card { padding: 16px; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; }
 .expert-photo, .expert-card img { width: 56px; height: 72px; }
 .expert-card h3 { font-size: 19px; }
 .chat-form { grid-template-columns: minmax(0, 1fr); }
 .chat-form .button { width: 100%; }
 .package { padding: 18px; }
 .package h3 { font-size: 24px; }
 .offer-head h2 { font-size: 25px; }
}
@media (max-width: 430px) {
 .crm-grid { grid-template-columns: 1fr; }
}
@media (hover: none) and (pointer: coarse) {
 input, select, .chat-form input { font-size: 16px; }
}
@media (min-width: 768px) and (max-height: 500px) {
 .role-switch { display: flex; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
 .role-tab { flex: 1; min-height: 44px; font-size: 13px; }
 .demo-panels { grid-template-columns: 1fr; }
 .panel-label { display: none; }
 #employee-view { border-left: 0; }
}
@media (max-height: 500px) and (max-width: 1000px) {
 .topbar { position: relative; }
 .chat-body { height: 50dvh; }
 input, select, .chat-form input { font-size: 16px; }
 .source-tab, .quick-reply { min-height: 44px; font-size: 12px; }
 .offer-dialog { padding: 16px; max-height: calc(100dvh - 16px); }
 .offer-head h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
 .reveal-pending { opacity: 1; transform: none; }
}
