@media (prefers-reduced-motion: no-preference){@view-transition{navigation:auto}}
:root {
  --ink: #07131f;
  --ink-2: #0c2130;
  --ink-3: #163446;
  --paper: #f7f8f4;
  --white: #ffffff;
  --muted: #71808a;
  --muted-light: #a8b7bd;
  --line: #dfe7e7;
  --cyan: #6fe7e3;
  --cyan-deep: #179b9e;
  --amber: #f4b65d;
  --green: #80d89f;
  --red: #ee857e;
  --shadow: 0 18px 50px rgba(11, 35, 47, .09);
  --radius: 12px;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--font-body); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hidden { display: none !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8em; letter-spacing: .02em; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 780; letter-spacing: -.04em; font-size: 20px; }
.brand > span:last-child > span { color: var(--cyan); }
.brand-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ink); background: var(--cyan); font: 800 18px/1 var(--font-body); letter-spacing: -.08em; }
.eyebrow { margin: 0 0 16px; color: var(--cyan-deep); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: var(--cyan); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(128, 216, 159, .13); vertical-align: 1px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 760; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--ink); background: var(--cyan); }
.button-primary:hover { background: #93f0ea; }
.button-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.button-outline:hover { border-color: var(--cyan-deep); background: #edf7f6; }
.button-quiet { color: var(--ink); border-color: transparent; background: transparent; }
.button-quiet:hover { background: rgba(23, 155, 158, .08); }
.button-small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.button-full { width: 100%; }
.text-link { color: var(--muted); font-size: 13px; font-weight: 700; }
.text-link:hover { color: var(--cyan-deep); }

/* Marketing */
.marketing-page, .legal-page { background: var(--paper); }
.site-header { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.marketing-page .site-header .brand, .legal-page .site-header .brand { color: var(--ink); }
.marketing-page .site-header .brand-mark, .legal-page .site-header .brand-mark { color: var(--ink); }
.marketing-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 38px; color: #5e6c73; font-size: 13px; font-weight: 650; }
.marketing-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 17px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr); align-items: center; gap: 70px; min-height: 670px; padding: 76px 0 100px; }
.hero-copy { max-width: 610px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; line-height: 1.02; }
h1 { margin-bottom: 26px; font: 500 clamp(48px, 6vw, 78px)/.97 var(--font-display); }
h1 em, h2 span { color: var(--cyan-deep); font-style: normal; }
.hero-lede { max-width: 560px; color: #617179; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.microcopy { margin: 24px 0 0; color: #92a0a5; font-size: 12px; }
.hero-console { padding: 20px; border-radius: 13px; color: #dce8e9; background: var(--ink-2); box-shadow: 0 28px 70px rgba(7, 19, 31, .22); transform: rotate(1.2deg); }
.console-top, .console-footer { display: flex; align-items: center; justify-content: space-between; color: #8fa9b0; font-size: 11px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 760; }
.console-docs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 28px 0 22px; }
.console-docs > div { display: grid; grid-template-columns: 31px 1fr; column-gap: 9px; align-items: center; }
.console-docs strong { font-size: 12px; }
.console-docs small { grid-column: 2; color: #81969e; font-size: 10px; }
.doc-icon { display: grid; place-items: center; width: 31px; height: 36px; border: 1px solid rgba(111, 231, 227, .4); border-radius: 5px; color: var(--cyan); font-size: 9px; font-weight: 800; }
.doc-icon-amber { color: var(--amber); border-color: rgba(244, 182, 93, .5); }
.match-arrow { color: var(--cyan); font-size: 20px; }
.risk-banner { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(238, 133, 126, .28); border-radius: 8px; background: rgba(238, 133, 126, .08); }
.risk-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); background: var(--red); font-weight: 850; }
.risk-banner strong, .risk-banner small { display: block; }
.risk-banner strong { color: #ffd4d1; font-size: 12px; }
.risk-banner small { margin-top: 2px; color: #a8b7bd; font-size: 10px; }
.risk-score { margin-left: auto; color: var(--red); font: 11px ui-monospace, monospace; }
.result-row { display: flex; align-items: center; gap: 11px; padding: 17px 4px; border-bottom: 1px solid rgba(170, 197, 202, .12); }
.result-row > div { min-width: 0; flex: 1; }
.result-row strong, .result-row small { display: block; }
.result-row strong { color: #edf6f6; font-size: 12px; }
.result-row small { color: #81969e; font-size: 10px; }
.result-badge { min-width: 56px; color: var(--red); font: 800 9px ui-monospace, monospace; }
.result-ok .result-badge, .checkmark { color: var(--green); }
.result-values { display: flex; align-items: center; gap: 7px; color: #91a7ad; font: 11px ui-monospace, monospace; }
.result-values b:first-child { color: var(--red); }
.result-values b:last-child { color: var(--amber); }
.checkmark { font-size: 20px; }
.console-footer { padding-top: 16px; }
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f1f5f2; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; min-height: 62px; color: #738287; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.trust-inner > span:first-child { color: var(--ink); }
.trust-separator { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.section { padding: 125px 0; }
.section-intro { max-width: 650px; }
.section-intro-wide { max-width: 720px; }
.section-intro h2, .promise-grid h2, .cta-card h2 { margin-bottom: 22px; font: 500 clamp(38px, 4.5vw, 58px)/1.04 var(--font-display); }
.section-intro > p:last-child { color: #708087; font-size: 17px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 62px; }
.feature-card { min-height: 315px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfa; box-shadow: 0 5px 20px rgba(20, 52, 59, .02); }
.feature-card-dark { color: #e7f5f3; border-color: var(--ink-2); background: var(--ink-2); }
.feature-number { display: block; color: #9aa8ac; font: 11px ui-monospace, monospace; }
.feature-card-dark .feature-number { color: #83a4a8; }
.feature-icon { display: block; margin: 32px 0 17px; color: var(--amber); font-size: 30px; line-height: 1; }
.feature-icon-cyan { color: var(--cyan-deep); }
.feature-icon-amber { color: var(--amber); }
.feature-card h3 { margin-bottom: 11px; font: 500 23px/1.15 var(--font-display); letter-spacing: -.03em; }
.feature-card p { min-height: 70px; margin-bottom: 18px; color: #748289; font-size: 14px; }
.feature-card-dark p { color: #a5b8bc; }
.feature-card a { color: var(--cyan-deep); font-size: 12px; font-weight: 800; }
.feature-card-dark a { color: var(--cyan); }
.section-tint { background: #edf3ef; }
.workflow-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.workflow-steps { border-top: 1px solid #cbd7d4; }
.workflow-step { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 19px 0; border-bottom: 1px solid #cbd7d4; }
.workflow-step > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink); background: var(--cyan); font-size: 12px; font-weight: 850; }
.workflow-step strong { font-size: 15px; }
.workflow-step p { margin: 3px 0 0; color: #75848a; font-size: 13px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 57px; }
.price-card { display: flex; flex-direction: column; min-height: 315px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfa; }
.price-card-featured { border-color: var(--cyan-deep); box-shadow: 0 14px 35px rgba(23, 155, 158, .11); transform: translateY(-10px); }
.price-label { color: #7c8b90; font: 800 10px ui-monospace, monospace; letter-spacing: .08em; }
.price-card-featured .price-label { color: var(--cyan-deep); }
.price-card h3 { margin: 24px 0 5px; font: 500 40px/1 var(--font-display); letter-spacing: -.05em; }
.price-card h3 span { color: #859398; font: 13px var(--font-body); letter-spacing: 0; }
.price-card p { margin: 0; min-height: 50px; color: #79888d; font-size: 13px; }
.price-rule { height: 1px; margin: 10px 0 18px; background: var(--line); }
.price-card strong { margin-bottom: 24px; font-size: 13px; }
.price-card .button { margin-top: auto; }
.section-dark { color: #e9f4f2; background: var(--ink); }
.promise-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: end; gap: 100px; }
.promise-grid h2 { margin-bottom: 0; }
.promise-grid h2 span { color: var(--cyan); }
.promise-copy > p { max-width: 530px; margin: 0 0 27px; color: #a7babe; font-size: 17px; line-height: 1.6; }
.promise-points { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; color: #d4e3e2; font-size: 13px; }
.promise-points span::first-letter { color: var(--cyan); }
.cta-section { padding: 75px 0; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 47px 52px; border-radius: 13px; background: #dff4ef; }
.cta-card h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.cta-card h2 span { color: var(--cyan-deep); }
.site-footer { color: #a4b4b9; background: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr 1fr 1fr; gap: 45px; padding: 60px 0 55px; }
.footer-grid .brand { margin-bottom: 16px; }
.footer-grid p { max-width: 220px; color: #81989e; font-size: 13px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.footer-grid strong { margin-bottom: 8px; color: var(--white); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 17px 0 20px; border-top: 1px solid rgba(177, 205, 207, .13); color: #759097; font-size: 11px; }
.footer-bottom span:last-child { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--white); }

/* Auth and app */
.app-page { min-height: 100vh; background: var(--paper); }
.auth-screen { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: 45px clamp(35px, 7vw, 100px); color: #dcebea; background: var(--ink); }
.auth-aside .brand { align-self: flex-start; }
.auth-aside h1 { margin-bottom: 23px; font-size: clamp(50px, 6vw, 74px); }
.auth-aside h1 span { color: var(--cyan); }
.auth-aside > div:nth-child(2) > p:last-child { max-width: 430px; margin: 0; color: #a9babe; font-size: 17px; }
.auth-aside-note { display: flex; flex-direction: column; gap: 5px; color: #7f9da1; font: 11px ui-monospace, monospace; }
.auth-panel { display: grid; place-items: center; padding: 35px; background: #f9faf7; }
.auth-panel-inner { width: min(390px, 100%); }
.auth-heading h2 { margin-bottom: 7px; font: 500 38px/1 var(--font-display); letter-spacing: -.05em; }
.auth-heading p { margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.stack-form { display: grid; gap: 16px; }
.stack-form label, .field-label { display: grid; gap: 7px; color: #4b5d63; font-size: 12px; font-weight: 750; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid #d6e0df; border-radius: 7px; color: var(--ink); outline: none; background: #fff; }
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan-deep); box-shadow: 0 0 0 3px rgba(23, 155, 158, .12); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 27px 0 16px; color: #9aa7ab; font-size: 11px; text-align: center; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.auth-switch { padding: 0; border: 0; color: var(--cyan-deep); background: transparent; font-size: 12px; font-weight: 750; text-align: left; }
.auth-switch:hover { text-decoration: underline; }
.consent-line { display: flex; align-items: flex-start; gap: 8px; color: #718085; font-size: 11px; line-height: 1.4; }
.consent-line input { width: 15px; height: 15px; margin-top: 1px; }
.consent-line a { color: var(--cyan-deep); text-decoration: underline; }
.demo-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.auth-footnote, .auth-legal { color: #8a989c; font-size: 11px; text-align: center; }
.auth-footnote { margin: 19px 0 8px; }
.auth-legal { line-height: 1.5; }
.auth-legal a { color: var(--cyan-deep); text-decoration: underline; }
.workspace { display: flex; min-height: 100vh; }
.sidebar { display: flex; flex: 0 0 244px; flex-direction: column; min-height: 100vh; padding: 28px 15px 18px; color: #a8b9bd; background: var(--ink); }
.sidebar .brand { margin: 0 13px 31px; }
.workspace-switcher { display: flex; align-items: center; gap: 9px; margin: 0 5px 26px; padding: 9px; border: 1px solid rgba(203, 231, 229, .13); border-radius: 8px; background: rgba(255, 255, 255, .04); }
.workspace-avatar, .avatar-button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--ink); background: var(--amber); font-size: 12px; font-weight: 850; }
.workspace-switcher > span:nth-child(2) { min-width: 0; flex: 1; }
.workspace-switcher b, .workspace-switcher small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher b { color: #e0eeed; font-size: 12px; }
.workspace-switcher small { margin-top: 1px; color: #799197; font-size: 10px; }
.chevron { color: #81989d; }
.nav-label { margin: 0 13px 8px; color: #66848a; font: 800 9px ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.nav-label-spaced { margin-top: 28px; }
.app-nav { flex: 1; }
.nav-item, .sidebar-bottom a, .sidebar-bottom button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 39px; padding: 0 13px; border: 0; border-radius: 7px; color: #93a9ad; background: transparent; font-size: 13px; text-align: left; }
.nav-item span, .sidebar-bottom span { width: 16px; color: #718e94; font-size: 16px; text-align: center; }
.nav-item:hover, .nav-item.active { color: #e6f4f2; background: rgba(111, 231, 227, .11); }
.nav-item.active span { color: var(--cyan); }
.sidebar-bottom { display: grid; gap: 4px; border-top: 1px solid rgba(194, 221, 222, .13); padding-top: 15px; }
.sidebar-bottom a:hover, .sidebar-bottom button:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.sidebar-bottom button { color: #93a9ad; }
.main-panel { min-width: 0; flex: 1; }
.app-header { display: flex; align-items: center; justify-content: space-between; min-height: 77px; padding: 0 39px; border-bottom: 1px solid var(--line); background: #fbfcfa; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #98a5a8; font-size: 12px; }
.breadcrumb b { color: var(--ink); font-weight: 780; }
.app-header-actions { display: flex; align-items: center; gap: 18px; }
.system-status { display: flex; align-items: center; gap: 8px; color: #76868b; font-size: 11px; }
.locale-toggle { border: 0; color: var(--cyan-deep); background: transparent; font-size: 12px; font-weight: 800; }
.avatar-button { border: 0; border-radius: 50%; background: var(--ink-2); color: var(--cyan); }
.mobile-menu, .mobile-close { display: none; border: 0; color: var(--ink); background: transparent; font-size: 20px; }
.main-content { width: min(1180px, calc(100% - 78px)); margin: 0 auto; padding: 48px 0 80px; }
.view-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.view-heading h1 { margin: 0; font-size: 48px; }
.view-heading p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.view-actions { display: flex; gap: 8px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 17px; }
.kpi-card { padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfa; }
.kpi-card > span:first-child { display: block; color: #7b8b8e; font: 10px ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.kpi-value { display: block; margin: 15px 0 4px; font: 500 31px/1 var(--font-display); letter-spacing: -.04em; }
.kpi-note { color: #8a989b; font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: 17px; }
.panel { border: 1px solid var(--line); border-radius: 9px; background: #fbfcfa; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 21px; border-bottom: 1px solid var(--line); }
.panel-heading h3 { margin: 0; font-size: 14px; letter-spacing: -.01em; }
.panel-heading a, .panel-heading button { color: var(--cyan-deep); border: 0; background: transparent; font-size: 11px; font-weight: 800; }
.check-list { display: grid; }
.check-list-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 17px 21px; border-bottom: 1px solid #edf0ee; }
.check-list-item:last-child { border-bottom: 0; }
.check-list-item strong, .check-list-item small { display: block; }
.check-list-item strong { font-size: 13px; }
.check-list-item small { color: #879599; font-size: 11px; }
.check-reference { color: #789096; font: 10px ui-monospace, monospace; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 0 8px; border-radius: 99px; font: 800 9px ui-monospace, monospace; letter-spacing: .02em; white-space: nowrap; }
.status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-needs_review { color: #b84a43; background: #fbe9e5; }
.status-review_recommended { color: #9a6b1d; background: #fff0d4; }
.status-approved, .status-clear { color: #367a4a; background: #e4f5e9; }
.usage-panel { padding-bottom: 21px; }
.usage-panel .panel-heading { margin-bottom: 4px; }
.usage-body { padding: 0 21px; }
.usage-big { display: flex; align-items: baseline; gap: 7px; margin: 19px 0 5px; }
.usage-big strong { font: 500 37px/1 var(--font-display); }
.usage-big span { color: #87969a; font-size: 12px; }
.progress-track { overflow: hidden; height: 7px; margin: 14px 0 9px; border-radius: 99px; background: #e2eaea; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--cyan-deep); }
.usage-caption { display: flex; justify-content: space-between; color: #87969a; font-size: 11px; }
.mini-callout { margin: 24px 21px 0; padding: 13px; border-left: 3px solid var(--amber); color: #6e7e82; background: #fff8e9; font-size: 11px; }
.empty-state { padding: 35px 20px; color: #839195; font-size: 13px; text-align: center; }
.form-panel { max-width: 840px; padding: 25px; }
.form-panel h3 { margin: 0 0 6px; font: 500 25px var(--font-display); }
.form-panel > p { margin-bottom: 24px; color: #7a898d; font-size: 13px; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.upload-zone { position: relative; display: flex; min-height: 168px; flex-direction: column; justify-content: center; align-items: center; padding: 18px; border: 1px dashed #a6c5c5; border-radius: 9px; color: #718286; background: #f5fbf8; text-align: center; transition: border-color .2s, background .2s; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--cyan-deep); background: #e8f7f3; }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone .upload-icon { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 10px; border-radius: 50%; color: var(--cyan-deep); background: #d7f1ec; font-size: 19px; }
.upload-zone strong { color: var(--ink); font-size: 13px; }
.upload-zone small { margin-top: 3px; font-size: 11px; }
.selected-file { width: 100%; margin-top: 9px; color: var(--cyan-deep); font-size: 11px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-options { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 19px; }
.text-fallback { margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.text-fallback summary { cursor: pointer; color: var(--cyan-deep); font-size: 12px; font-weight: 750; }
.text-fallback p { margin: 8px 0 11px; color: #88969a; font-size: 11px; }
.text-fallback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.text-fallback textarea { min-height: 85px; font-size: 12px; }
.analyze-row { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.analysis-note { color: #8a989c; font-size: 11px; }
.check-result { max-width: 1040px; }
.result-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 23px; }
.result-header h2 { margin: 0 0 6px; font: 500 34px/1.05 var(--font-display); }
.result-header p { margin: 0; color: #7d8b90; font-size: 12px; }
.result-header-actions { display: flex; gap: 8px; }
.result-summary { display: grid; grid-template-columns: 1fr .33fr; gap: 13px; margin-bottom: 13px; }
.result-callout { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #f0cbc7; border-radius: 9px; background: #fff4f1; }
.result-callout.ok { border-color: #c5e7d0; background: #f1fbf4; }
.result-callout .result-count { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: #fff; background: var(--red); font: 700 20px var(--font-display); }
.result-callout.ok .result-count { background: var(--green); }
.result-callout strong { display: block; font-size: 14px; }
.result-callout small { display: block; margin-top: 3px; color: #8c7d7b; font-size: 11px; }
.risk-card { padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfa; }
.risk-card span { color: #7e8e91; font: 10px ui-monospace, monospace; text-transform: uppercase; }
.risk-card strong { display: block; margin-top: 12px; font: 500 30px/1 var(--font-display); }
.risk-meter { display: flex; gap: 3px; margin-top: 13px; }
.risk-meter i { flex: 1; height: 5px; border-radius: 5px; background: #dfe8e7; }
.risk-meter i.on { background: var(--red); }
.result-table { overflow: hidden; }
.result-table-head, .result-table-row { display: grid; grid-template-columns: 105px 1.15fr .85fr .85fr 1.4fr; gap: 13px; align-items: center; padding: 13px 17px; }
.result-table-head { color: #819094; border-bottom: 1px solid var(--line); font: 800 9px ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase; }
.result-table-row { border-bottom: 1px solid #edf0ee; font-size: 12px; }
.result-table-row:last-child { border-bottom: 0; }
.result-table-row small { display: block; margin-top: 3px; color: #96a2a5; font-size: 10px; }
.severity-label { font: 800 9px ui-monospace, monospace; }
.severity-critical { color: #b84a43; }
.severity-warning { color: #a3701e; }
.severity-info { color: var(--cyan-deep); }
.result-footnote { margin-top: 15px; padding: 12px 14px; border-left: 3px solid var(--amber); color: #77868b; background: #fff8e9; font-size: 11px; }
.data-panel { padding: 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th, .data-table td { padding: 14px 18px; border-bottom: 1px solid #edf0ee; text-align: left; vertical-align: top; }
.data-table th { color: #7d8e91; font: 800 9px ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td small { display: block; color: #879599; font-size: 10px; }
.tag { display: inline-flex; padding: 4px 7px; border-radius: 5px; color: #4d696c; background: #e8f2ef; font: 800 9px ui-monospace, monospace; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.document-card { padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfa; }
.document-card .doc-card-icon { display: grid; place-items: center; width: 34px; height: 40px; margin-bottom: 17px; border: 1px solid #c8dfdc; border-radius: 5px; color: var(--cyan-deep); background: #eff9f6; font: 800 9px ui-monospace, monospace; }
.document-card h3 { margin-bottom: 6px; font: 500 20px var(--font-display); }
.document-card p { margin-bottom: 14px; color: #7f8e92; font-size: 12px; }
.document-meta { display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); color: #8a989b; font-size: 10px; }
.two-column { display: grid; grid-template-columns: 1.15fr .85fr; gap: 17px; align-items: start; }
.settings-form { display: grid; gap: 16px; padding: 22px; }
.settings-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { font-size: 12px; }
.toggle-row small { color: #89979a; font-size: 11px; }
.toggle { position: relative; width: 39px; height: 22px; flex: 0 0 auto; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 99px; background: #d4dfdd; transition: .2s; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.toggle input:checked + span { background: var(--cyan-deep); }
.toggle input:checked + span::after { left: 20px; }
.legal-card { padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfa; }
.legal-card h3 { margin-bottom: 8px; font: 500 23px var(--font-display); }
.legal-card p, .legal-card li { color: #718085; font-size: 12px; }
.legal-card ul { padding-left: 18px; }
.company-card { padding: 19px; border-radius: 9px; color: #dbeae9; background: var(--ink-2); }
.company-card h3 { margin: 0 0 13px; color: var(--cyan); font: 500 22px var(--font-display); }
.company-card p { margin: 3px 0; color: #a6b9bd; font-size: 11px; }
.company-card p strong { color: #eff8f6; }
.company-card a { color: var(--cyan); }
.toast-region { position: fixed; z-index: 10; top: 20px; right: 20px; display: grid; gap: 9px; width: min(350px, calc(100% - 40px)); }
.toast { padding: 13px 15px; border: 1px solid #c9e1da; border-radius: 8px; color: #315c57; background: #effbf6; box-shadow: var(--shadow); font-size: 12px; animation: toast-in .25s ease both; }
.toast.error { border-color: #efc7c3; color: #8d3f3a; background: #fff1ee; }
.check-list-item { width: 100%; border-top: 0; border-left: 0; border-right: 0; background: transparent; text-align: left; }
.review-editor { margin-top: 24px; overflow: hidden; }
.review-editor form, .review-editor > details { padding: 20px; }
.review-help { color: #566c73; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.source-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: 18px 0 24px; }
.source-columns section { min-width: 0; }
.source-columns h3 { font-size: 20px; }
.source-columns iframe, .source-image { width: 100%; height: 320px; border: 1px solid var(--line); object-fit: contain; }
.source-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.source-fields input { min-width: 0; font-size: 14px; }
.source-fields .description-field { grid-column: 1 / -1; }
.source-row { min-width: 0; margin: 18px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.source-row legend { font-weight: 700; font-size: 13px; }
.review-decision { border-top: 1px solid var(--line); }
.review-decision .view-actions, #corrections-form > button { margin-top: 15px; }
.password-panel { margin-top: 24px; }
.data-panel { overflow-x: auto; }
@media (max-width: 900px) { .source-columns { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@keyframes toast-in { from { transform: translateY(-5px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Legal */
.legal-shell { padding: 80px 0 110px; }
.legal-heading { max-width: 720px; margin-bottom: 54px; }
.legal-heading h1 { margin-bottom: 20px; font-size: clamp(45px, 5vw, 68px); }
.legal-heading > p:not(.eyebrow) { color: #718085; font-size: 17px; }
.legal-draft-banner { display: flex; flex-direction: column; gap: 3px; margin-top: 24px; padding: 13px 16px; border-left: 3px solid var(--amber); color: #7c6b4e; background: #fff6e4; font-size: 11px; }
.legal-draft-banner strong { color: #9c6c22; font-size: 12px; }
.legal-layout { display: grid; grid-template-columns: 225px minmax(0, 760px); gap: 70px; align-items: start; }
.legal-nav { position: sticky; top: 24px; display: grid; gap: 3px; }
.legal-nav button { padding: 10px 12px; border: 0; border-left: 2px solid transparent; color: #7a898d; background: transparent; font-size: 12px; font-weight: 700; text-align: left; }
.legal-nav button:hover, .legal-nav button.active { border-left-color: var(--cyan-deep); color: var(--ink); background: #edf6f3; }
.legal-nav-contact { display: grid; gap: 3px; margin-top: 28px; padding: 14px 12px; border-top: 1px solid var(--line); color: #8c9a9e; font-size: 11px; }
.legal-nav-contact a { color: var(--cyan-deep); word-break: break-word; }
.legal-content h2 { margin: 0 0 11px; font: 500 37px/1.05 var(--font-display); letter-spacing: -.05em; }
.legal-content h3 { margin: 31px 0 8px; font-size: 17px; }
.legal-content h4 { margin: 21px 0 6px; color: #52656b; font-size: 13px; }
.legal-content p, .legal-content li { color: #65767b; font-size: 13px; line-height: 1.7; }
.legal-content ul, .legal-content ol { padding-left: 21px; }
.legal-content .legal-meta { margin-bottom: 27px; color: #8b999d; font: 10px ui-monospace, monospace; }
.legal-content .legal-note { padding: 14px 16px; border-left: 3px solid var(--amber); color: #76674f; background: #fff7e8; font-size: 12px; }
.legal-content .entity-box { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.legal-content .entity-box > div { padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfa; }
.legal-content .entity-box strong, .legal-content .entity-box span { display: block; }
.legal-content .entity-box strong { margin-bottom: 5px; color: var(--ink); font-size: 12px; }
.legal-content .entity-box span { color: #78878b; font-size: 11px; }
.legal-content a { color: var(--cyan-deep); text-decoration: underline; }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 50px; }
  .hero-copy { max-width: 700px; }
  .hero-console { max-width: 620px; }
  .workflow-layout, .promise-grid { grid-template-columns: 1fr; gap: 45px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .two-column { grid-template-columns: 1fr; }
  .legal-layout { gap: 38px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 32px, 560px); }
  .site-header { height: 70px; }
  .marketing-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; padding: 62px 0 75px; }
  h1 { font-size: 49px; }
  .hero-lede { font-size: 16px; }
  .hero-console { padding: 14px; transform: none; }
  .console-docs { gap: 5px; }
  .console-docs strong { font-size: 10px; }
  .console-docs small { font-size: 9px; }
  .trust-inner { gap: 12px 17px; padding: 15px 0; }
  .trust-inner > span:first-child { width: 100%; }
  .trust-separator { display: none; }
  .section { padding: 78px 0; }
  .feature-grid, .pricing-grid, .document-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .price-card-featured { transform: none; }
  .promise-points { grid-template-columns: 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 30px 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 31px 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 11px; }
  .auth-screen { grid-template-columns: 1fr; }
  .auth-aside { min-height: 330px; padding: 29px 25px 28px; }
  .auth-aside h1 { margin: 30px 0 13px; font-size: 49px; }
  .auth-aside > div:nth-child(2) > p:last-child { font-size: 14px; }
  .auth-aside-note { margin-top: 35px; }
  .auth-panel { min-height: 570px; padding: 40px 22px; }
  .sidebar { position: fixed; z-index: 5; top: 0; bottom: 0; left: 0; width: 258px; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 20px 0 55px rgba(7, 19, 31, .2); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-top { display: flex; align-items: center; justify-content: space-between; }
  .sidebar-top .brand { margin: 0 13px 31px; }
  .mobile-close { display: block; color: #b3c4c6; margin: -18px 5px 0 0; }
  .mobile-menu { display: block; margin-right: 12px; }
  .app-header { justify-content: flex-start; padding: 0 16px; }
  .app-header-actions { margin-left: auto; gap: 12px; }
  .system-status { display: none; }
  .main-content { width: calc(100% - 32px); padding-top: 32px; }
  .view-heading { align-items: flex-start; flex-direction: column; margin-bottom: 23px; }
  .view-heading h1 { font-size: 40px; }
  .view-actions { width: 100%; }
  .view-actions .button { flex: 1; }
  .kpi-grid { gap: 8px; }
  .kpi-card { padding: 14px; }
  .kpi-value { font-size: 27px; }
  .check-list-item { grid-template-columns: 1fr auto; gap: 8px; padding: 14px; }
  .check-list-item .check-reference { grid-column: 1; }
  .check-list-item .status-badge { grid-row: 1 / span 2; grid-column: 2; }
  .upload-grid, .check-options, .text-fallback-grid, .settings-form .form-row { grid-template-columns: 1fr; }
  .form-panel { padding: 17px; }
  .result-summary { grid-template-columns: 1fr; }
  .result-header { flex-direction: column; }
  .result-table { overflow-x: auto; }
  .result-table-head, .result-table-row { min-width: 720px; }
  .legal-shell { padding: 52px 0 70px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-nav { position: static; display: flex; overflow-x: auto; gap: 2px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
  .legal-nav button { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .legal-nav button:hover, .legal-nav button.active { border-bottom-color: var(--cyan-deep); border-left-color: transparent; }
  .legal-nav-contact { display: none; }
  .legal-content .entity-box { grid-template-columns: 1fr; }
}
