:root {
  --ink: #172135;
  --muted: #667085;
  --navy: #163b68;
  --navy-deep: #102c50;
  --blue: #2d6ba6;
  --sky: #edf5fb;
  --line: #dce4ec;
  --paper: #ffffff;
  --canvas: #f5f7fa;
  --green: #147d64;
  --shadow: 0 16px 45px rgba(23, 50, 80, .10);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, var(--navy), var(--blue)); color: white; display: grid; place-items: center; font-family: Georgia, serif; font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #405069; font-size: 14px; }
.button { border: 0; border-radius: 10px; padding: 12px 18px; background: var(--navy); color: white; font-weight: 650; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button:hover { background: var(--navy-deep); }
.button.secondary { color: var(--navy); background: var(--sky); }
.button.wide { width: 100%; }
.hero { background: radial-gradient(circle at 80% 10%, #e2eff9 0, transparent 38%), linear-gradient(180deg, #fbfdff, #fff); padding: 74px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.eyebrow { color: var(--blue); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; }
h1 { margin: 18px 0; max-width: 700px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(46px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.04em; }
.lead { max-width: 610px; color: #526176; font-size: 19px; line-height: 1.65; }
.hero-promise { margin: 0 0 18px; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.28; color: var(--navy); font-family: Georgia, serif; }.hero-promise span { color: var(--blue); }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.document-visual { width: 88%; margin-left: auto; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 34px 32px; transform: rotate(1.2deg); }
.doc-rule { height: 5px; border-radius: 5px; background: #dfe7ee; margin: 12px 0; }
.doc-rule.short { width: 48%; }.doc-rule.medium { width: 76%; }
.doc-title { font-family: Georgia, serif; font-size: 25px; text-align: center; color: var(--navy); margin: 18px 0 28px; }
.stamp { width: 74px; height: 74px; border: 2px solid #7ba0bf; border-radius: 50%; display: grid; place-items: center; margin: 26px auto 4px; color: var(--blue); font-size: 12px; text-align: center; transform: rotate(-8deg); }
.section { padding: 88px 0; }.section.tinted { background: var(--canvas); }
.why-section { border-top: 1px solid #edf1f5; }.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }.why-grid h2 { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 48px); line-height: 1.15; font-weight: 500; margin: 15px 0 0; }.why-copy { color: #526176; font-size: 18px; line-height: 1.72; }.why-copy p { margin: 0 0 18px; }.why-copy strong { color: var(--navy); }
.final-cta { width: min(780px, 100%); margin: 0 auto; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 10px 35px rgba(23,50,80,.06); }.final-cta p { margin: 0; font-family: Georgia, serif; font-size: 23px; line-height: 1.4; }
.section-heading { text-align: center; margin-bottom: 46px; }.section-heading h2 { font-family: Georgia, serif; font-size: 39px; font-weight: 500; margin: 8px 0 12px; }.section-heading p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 28px rgba(31, 49, 75, .04); }
.card-number { color: var(--blue); font-weight: 750; font-size: 13px; letter-spacing: .1em; }.card h3 { margin: 18px 0 10px; font-size: 19px; }.card p { color: var(--muted); line-height: 1.6; margin: 0; }
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; }.privacy-panel { background: var(--navy-deep); color: white; padding: 42px; border-radius: var(--radius); }.privacy-panel h3 { font-family: Georgia, serif; font-size: 30px; font-weight: 500; }.check { display: flex; gap: 12px; margin: 18px 0; color: #dce9f4; }.check span:first-child { color: #8ed5bd; }
.footer { background: #0f1f34; color: #b7c4d4; padding: 38px 0; }.footer-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }.auth-art { background: linear-gradient(145deg, var(--navy-deep), var(--navy)); color: white; display: flex; flex-direction: column; justify-content: space-between; padding: 50px 9vw 50px 6vw; }.auth-art blockquote { font-family: Georgia, serif; font-size: 36px; line-height: 1.35; margin: 0; max-width: 540px; }.auth-form-wrap { display: grid; place-items: center; padding: 40px; }.auth-form { width: min(430px, 100%); }.auth-form h1 { font-family: Georgia, serif; font-size: 42px; margin: 14px 0; }.auth-form p { color: var(--muted); line-height: 1.55; }.field { display: grid; gap: 7px; margin: 20px 0; }.field label { font-size: 13px; font-weight: 700; }.field input, .field select { border: 1px solid #cfd8e3; border-radius: 10px; padding: 13px 14px; outline: none; background: white; }.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,107,166,.12); }.notice { background: var(--sky); color: var(--navy); padding: 12px; border-radius: 9px; font-size: 13px; margin: 20px 0; }
.app-body { background: var(--canvas); min-height: 100vh; }.sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; background: #122944; color: white; padding: 26px 20px; }.sidebar .brand { padding: 0 7px 28px; }.menu-label { color: #7890aa; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin: 22px 10px 8px; }.menu-item { display: flex; gap: 11px; padding: 12px; border-radius: 9px; color: #bfd0e0; font-size: 14px; }.menu-item.active, .menu-item:hover { background: rgba(255,255,255,.09); color: white; }.sidebar-bottom { position: absolute; bottom: 24px; left: 20px; right: 20px; }.app-main { margin-left: 250px; min-height: 100vh; }.topbar { height: 78px; background: white; border-bottom: 1px solid var(--line); padding: 0 34px; display: flex; align-items: center; justify-content: space-between; }.profile { display: flex; align-items: center; gap: 11px; font-size: 13px; }.avatar { width: 36px; height: 36px; background: var(--sky); color: var(--navy); border-radius: 50%; display: grid; place-items: center; font-weight: 750; }.content { padding: 34px; max-width: 1300px; }.page-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }.page-head h1 { font-family: Georgia, serif; font-size: 36px; margin: 0 0 7px; }.page-head p { color: var(--muted); margin: 0; }.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.metric { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 23px; }.metric small { color: var(--muted); }.metric strong { display: block; font-size: 30px; margin-top: 12px; }.panel { background: white; border: 1px solid var(--line); border-radius: 14px; margin-top: 22px; overflow: hidden; }.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }.panel-head h2 { font-size: 17px; margin: 0; }.empty { padding: 54px; text-align: center; color: var(--muted); }.empty-icon { width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--navy); font-size: 22px; }
.logout-button { border:0; background:transparent; width:100%; cursor:pointer; font:inherit; text-align:left; }
.wizard { display: grid; grid-template-columns: 240px 1fr; gap: 25px; }.steps { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 22px; height: fit-content; }.step { display: flex; gap: 12px; padding: 13px 0; color: var(--muted); font-size: 13px; }.step-dot { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #edf0f4; font-weight: 750; }.step.active { color: var(--navy); font-weight: 700; }.step.active .step-dot { background: var(--navy); color: white; }.wizard-panel { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 30px; }.wizard-panel h2 { margin-top: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }.dropzone { border: 1.5px dashed #aebdca; border-radius: 14px; padding: 42px; text-align: center; background: #fbfcfe; margin: 25px 0; }.dropzone strong { display: block; margin-bottom: 7px; }.dropzone span { color: var(--muted); font-size: 13px; }.wizard-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.dropzone { transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }.dropzone.drag-active { border-color: var(--blue); background: var(--sky); box-shadow: 0 0 0 4px rgba(45,107,166,.10); transform: scale(1.006); }.dropzone.drag-active strong { color: var(--navy); }
.secure-line { color: var(--green); background: #edf8f4; border-radius: 9px; padding: 11px 13px; margin-bottom: 20px; font-size: 13px; }
.error-notice { color: #8c2d2d; background: #fff1f1; }.warning { color: #815b16; background: #fff8e8; }
.source-chip { display: inline-flex; background: var(--sky); color: var(--navy); padding: 9px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }.span-2 { grid-column: span 2; }
.field textarea { border: 1px solid #cfd8e3; border-radius: 10px; padding: 13px 14px; resize: vertical; line-height: 1.5; font: inherit; }.field small { color: var(--muted); font-size: 11px; }
.case-row { display: grid; grid-template-columns: 1fr auto 120px 20px; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }.case-row:last-child { border: 0; }.case-row:hover { background: #fbfdff; }.case-row strong, .case-row small { display: block; }.case-row small, .case-row time { color: var(--muted); margin-top: 5px; font-size: 12px; }.status-pill { background: #fff4d8; color: #825b13; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.analysis-log { border: 1px solid var(--line); border-radius: 12px; margin: 12px 0 26px; background: #fbfcfe; }.analysis-log summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 15px 17px; font-weight: 700; list-style: none; }.analysis-log summary::-webkit-details-marker { display: none; }.analysis-log summary small { color: var(--muted); font-weight: 500; }.analysis-log[open] summary { border-bottom: 1px solid var(--line); }.log-entry { display: grid; grid-template-columns: 72px 10px 1fr; gap: 10px; align-items: start; padding: 10px 17px; font-size: 13px; }.log-entry time { color: var(--muted); font-variant-numeric: tabular-nums; }.log-entry small { display: block; color: var(--muted); margin-top: 3px; }.log-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; background: var(--blue); }.log-entry.success .log-dot { background: var(--green); }.log-entry.warning .log-dot { background: #d29320; }.log-integrity { margin: 10px 17px 16px; padding: 12px; background: white; border-radius: 8px; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.model-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }.model-card { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; margin-top: 12px; }.model-card.default { border-color: #91b4d2; background: #f7fbff; }.model-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: var(--navy); color: white; font-family: Georgia, serif; font-size: 22px; }.model-card strong, .model-card small, .model-card span { display: block; }.model-card small { color: var(--muted); margin: 5px 0; overflow-wrap: anywhere; }.model-card span { color: var(--blue); font-size: 11px; font-weight: 700; }
.settings-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; align-items: start; }.profile-actions { display: flex; gap: 9px; }.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; }.toggle-row span, .toggle-row small { display: block; }.toggle-row small { color: var(--muted); margin-top: 5px; line-height: 1.4; }.toggle-row input { width: 42px; height: 22px; accent-color: var(--navy); }.retention-box { margin-top: 15px; padding: 15px; border-radius: 10px; background: #fff8e8; color: #654c1b; font-size: 13px; line-height: 1.55; }.retention-box p:last-child { margin-bottom: 0; }.rgpd-reminder { margin-top: 20px; padding: 18px; border-left: 3px solid var(--blue); background: var(--sky); font-size: 13px; line-height: 1.55; }.rgpd-reminder p { color: #43566d; }.rgpd-reminder a { color: var(--blue); font-weight: 700; }.save-bar { position: sticky; bottom: 0; margin-top: 22px; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 18px; box-shadow: var(--shadow); }.save-bar span { color: var(--muted); font-size: 13px; }
.bank-settings { margin-top: 22px; }.bank-help { color: var(--muted); }.iban-vault { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; margin: 18px 0; border: 1px solid var(--line); background: #fbfcfe; border-radius: 12px; }.iban-vault small, .iban-vault code, .iban-vault span { display: block; }.iban-vault small { color: var(--muted); margin-bottom: 7px; }.iban-vault code { filter: blur(3.5px); user-select: none; font-size: 16px; color: var(--navy); letter-spacing: .03em; transition: filter .2s ease; }.iban-vault code.revealed { filter: none; user-select: text; }.iban-vault span { color: var(--muted); font-size: 12px; margin-top: 6px; }.inline-status { margin-left: 12px; color: var(--green); font-size: 13px; }dialog { width: min(460px, calc(100% - 32px)); border: 0; border-radius: 15px; padding: 25px; box-shadow: 0 24px 70px rgba(9,28,50,.28); }dialog::backdrop { background: rgba(9,28,50,.55); backdrop-filter: blur(3px); }.error-text { color: #9c3131; font-size: 13px; min-height: 18px; }
.party-editor { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 16px 0; background: #fbfcfe; }.party-editor-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }.icon-button { border:0; background:transparent; color:var(--muted); font-size:25px; cursor:pointer; }.model-choice-list { display:grid; gap:12px; margin:18px 0; }.model-choice { display:grid; grid-template-columns:auto 48px 1fr; gap:14px; align-items:center; padding:16px; border:1px solid var(--line); border-radius:12px; cursor:pointer; }.model-choice:has(input:checked) { border-color:var(--blue); box-shadow:0 0 0 2px rgba(33,91,153,.12); background:#f7faff; }.model-choice small,.model-choice em { display:block; color:var(--muted); font-size:12px; font-style:normal; margin-top:4px; }.review-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }.review-grid>div { border:1px solid var(--line); border-radius:10px; padding:14px; }.review-grid small,.review-grid strong { display:block; }.review-grid small { color:var(--muted); margin-bottom:6px; }.review-grid .span-2 { grid-column:span 2; }.review-grid p { margin:7px 0; }.confirmation-check { display:flex; gap:12px; align-items:flex-start; padding:16px; border:1px solid var(--line); border-radius:10px; background:#fbfcfe; margin:18px 0; }.confirmation-check input { margin-top:3px; }@media(max-width:760px){.review-grid{grid-template-columns:1fr}.review-grid .span-2{grid-column:auto}.model-choice{grid-template-columns:auto 40px 1fr}}
.password-help { text-align:right; margin:-10px 0 18px; font-size:13px; }.password-help a { color:var(--blue); }
.password-status { display:block; margin-top:12px; color:var(--green); font-size:13px; min-height:18px; }
.password-settings { margin: 0 0 24px; padding: 17px; border-radius: 11px; background: var(--sky); border: 1px solid #d4e4f1; }.password-settings > p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }.password-settings .field { margin: 14px 0; }
.billing-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }.supplier-card { display: grid; gap: 5px; margin: 12px 0; padding: 16px; background: var(--sky); border-radius: 10px; font-size: 13px; color: #43566d; }.supplier-card strong { color: var(--navy); font-size: 17px; }.invoice-row { display: grid; grid-template-columns: 100px 1fr auto auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }.invoice-row:last-child { border-bottom: 0; }
@media (max-width: 860px) { .hero-grid, .privacy, .auth-shell, .model-layout, .why-grid, .settings-grid, .billing-grid { grid-template-columns: 1fr; }.document-visual { margin: 35px auto 0; }.cards, .metrics, .form-grid { grid-template-columns: 1fr; }.span-2 { grid-column: span 1; }.nav-links a:not(.button) { display: none; }.auth-art { display: none; }.sidebar { display: none; }.app-main { margin-left: 0; }.wizard { grid-template-columns: 1fr; }.steps { display: none; }.content { padding: 22px; }.page-head { align-items: flex-start; gap: 18px; flex-direction: column; }.case-row { grid-template-columns: 1fr auto; }.case-row time { display: none; }.final-cta, .save-bar { align-items: flex-start; flex-direction: column; }.profile-actions { flex-wrap: wrap; }.invoice-row { grid-template-columns: 1fr auto; } }
