:root {
  --ink: #0e1d38;
  --muted: #5f6878;
  --paper: #fbfaf7;
  --white: #fff;
  --brand: #0d203e;
  --brand-2: #b3193d;
  --accent: #c78e1c;
  --accent-soft: #f7edcf;
  --line: #e2ded5;
  --danger: #a71735;
  --warning: #8a5a15;
  --success: #23664c;
  --cta: #155eef;
  --cta-hover: #004eeb;
  --shadow: 0 20px 60px rgba(14, 29, 56, .12);
  --radius: 18px;
  --radius-sm: 11px;
  --font-sans: "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); line-height: 1.55; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--font-display); font-size: clamp(1.85rem, 2.8vw, 2.75rem); font-weight: 820; line-height: 1.1; letter-spacing: -.025em; }
h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.95rem); font-weight: 800; line-height: 1.18; letter-spacing: -.018em; }
h3 { font-size: 1.12rem; font-weight: 780; line-height: 1.3; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.eyebrow { margin-bottom: .65rem; color: var(--brand-2); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-block { padding: 92px 0; }
.section-white { background: #fff; }
.section-soft { background: #f3f5f7; }
.section-navy { background: var(--brand); color: #fff; }
.reading-width { max-width: 780px; }
.optional { color: var(--muted); font-size: .72rem; font-weight: 500; }

.site-header { position: sticky; z-index: 50; top: 0; display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; padding: 10px max(24px, calc((100vw - 1180px) / 2)); background: rgba(251,250,247,.96); border-bottom: 1px solid rgba(13,32,62,.12); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: block; width: 205px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a, .link-button { padding: 4px; border: 0; background: transparent; color: var(--ink); text-decoration: none; }
.main-nav a:hover, .link-button:hover { color: var(--brand-2); }
.inline-nav-form { display: inline; margin: 0; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .5; }
.button-disabled { cursor: default; opacity: .62; }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 9px 25px rgba(13,32,62,.18); }
.button-primary:hover:not(:disabled) { background: var(--brand-2); }
.button-conversion { background: var(--cta); color: #fff; box-shadow: 0 10px 26px rgba(21,94,239,.28); }
.button-conversion:hover:not(:disabled) { background: var(--cta-hover); box-shadow: 0 12px 30px rgba(21,94,239,.34); }
.button-outline { border-color: var(--brand); background: transparent; color: var(--brand); }
.button-outline:hover:not(:disabled) { background: rgba(13,32,62,.06); }
.button-ghost { background: transparent; color: var(--muted); }
.button-danger { border-color: #d9a5b0; background: #fff; color: var(--danger); }
.button-danger:hover:not(:disabled) { background: #f8e7e5; }
.button-eurooffice { border-color: #4774b5; background: #315d9b; color: #fff; }
.button-eurooffice:hover:not(:disabled) { background: #244b84; }
.button-large { min-height: 54px; padding-inline: 26px; }
.button-small { min-height: 38px; padding: 7px 15px; }
.button.full { width: 100%; }
.back-button { align-self: start; padding: 8px 0; border: 0; background: transparent; color: var(--brand); font-weight: 750; }

.marketing-page main { overflow: hidden; background: radial-gradient(circle at 8% 2%, rgba(199,142,28,.09), transparent 24rem), var(--paper); }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 610px; align-items: center; gap: 56px; padding-block: 68px; }
.hero-copy { max-width: 740px; }
.trust-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 13px; border: 1px solid #d9dee4; border-radius: 999px; background: rgba(255,255,255,.78); color: #405168; font-size: .84rem; font-weight: 700; }
.trust-badge span:first-child { color: var(--brand-2); }
.hero-copy h1 { max-width: 760px; margin-bottom: 24px; }
.hero-lead { max-width: 700px; color: #405168; font-size: 1.12rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 32px; }
.hero-siren-form { display: flex; max-width: 650px; gap: 10px; margin: 28px 0 9px; }
.hero-siren-form input { min-height: 54px; flex: 1; padding-inline: 17px; background: rgba(255,255,255,.88); font-size: 1rem; }
.hero-siren-form .button { white-space: nowrap; }
.form-error { margin: 8px 0 0; color: var(--danger); font-size: .86rem; font-weight: 700; }
.price-note { color: var(--muted); font-size: .9rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 25px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--brand); font-size: .92rem; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--success); }
.hero-preview { position: relative; overflow: hidden; padding: 0 30px 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: linear-gradient(145deg, #0d203e, #132d55); color: #fff; box-shadow: 0 22px 60px rgba(14,29,56,.18); }
.hero-preview::before { position: absolute; top: -110px; right: -70px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.demo-window-bar { position: relative; display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 18px; margin: 0 -30px 25px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.055); }
.demo-window-bar > span, .mock-window-bar { display: flex; align-items: center; gap: 6px; }
.demo-window-bar i, .mock-window-bar i, .mock-dashboard-top i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #7d93b1; }
.demo-window-bar i:first-child, .mock-window-bar i:first-child, .mock-dashboard-top i:first-child { background: #d55261; }
.demo-window-bar i:nth-child(2), .mock-window-bar i:nth-child(2), .mock-dashboard-top i:nth-child(2) { background: #d8a53a; }
.demo-window-bar i:nth-child(3), .mock-window-bar i:nth-child(3), .mock-dashboard-top i:nth-child(3) { background: #3ba37a; }
.demo-window-bar strong { color: #bed1d2; font-size: .73rem; font-weight: 750; }
.demo-input { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.08); }
.demo-input span { color: #bed1d2; font-size: .72rem; font-weight: 800; }
.demo-input strong { letter-spacing: .09em; }
.demo-input i { width: 1px; height: 1.2em; background: #f1c77e; animation: demo-cursor 1s steps(1) infinite; }
.demo-events { opacity: .15; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.demo-events.is-visible { opacity: 1; transform: none; }
@keyframes demo-cursor { 50% { opacity: 0; } }
.preview-head { display: flex; justify-content: space-between; gap: 20px; }
.preview-head { color: #bed1d2; font-size: .88rem; }
.preview-head strong { color: #f1c77e; }
.preview-status-line { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.13); }
.preview-status-line:first-child { margin-top: 25px; }
.preview-status-line .status-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); font-size: .78rem; font-weight: 850; }
.preview-status-line small, .preview-status-line strong { display: block; }
.preview-status-line small { color: #bed1d2; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.preview-status-line strong { margin-top: 2px; font-size: .88rem; }
.preview-status-line.status-valid .status-icon { background: rgba(87,189,137,.2); color: #9fe1bd; }
.preview-status-line.status-upcoming .status-icon { background: rgba(232,189,105,.2); color: #f1c77e; }
.preview-status-line.status-review .status-icon { background: rgba(124,162,219,.2); color: #a9c8f3; }
.demo-export { display: inline-flex; margin-top: 18px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #d7e1ee; font-size: .76rem; font-weight: 750; }
.preview-warning { margin: 22px 0 0; padding: 13px 15px; border-radius: 12px; background: rgba(216,156,74,.15); color: #f3d59d; font-size: .85rem; }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.section-heading > .muted { max-width: 700px; font-size: 1.02rem; }
.infographic-section { background: #f3f5f7; }
.infographic-frame { overflow: hidden; margin: 0; border: 1px solid #ddd7ca; border-radius: 18px; background: #fdfaf1; box-shadow: 0 16px 45px rgba(14,29,56,.08); }
.infographic-frame img { display: block; width: 100%; height: auto; }
.infographic-frame figcaption { padding: 14px 20px; border-top: 1px solid #e6decc; color: var(--muted); font-size: .84rem; }
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps-grid.four { grid-template-columns: repeat(4, 1fr); }
.steps-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.steps-grid article > span { display: grid; width: 38px; height: 38px; margin-bottom: 50px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--warning); font-weight: 800; }
.steps-grid p, .feature-columns { color: var(--muted); }
.feature-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 70px 60px; border: 1px solid #dfe3e6; border-radius: 24px; background: #f7f8fa; }
.feature-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.feature-columns ul { margin: 0; padding: 0; list-style: none; }
.feature-columns li { padding: 13px 0; border-bottom: 1px solid rgba(20,37,40,.13); color: var(--ink); font-weight: 700; }
.feature-columns li::before { content: "→"; margin-right: 9px; color: var(--accent); }
.stakes-section { border-block: 1px solid #22385b; background: var(--brand); }
.stakes-section .section-heading > .muted, .section-navy .section-heading > p:not(.eyebrow) { color: #c6d2e0; }
.stakes-section .eyebrow, .section-navy .eyebrow { color: #e8bd69; }
.stakes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stakes-grid article { display: flex; min-height: 365px; flex-direction: column; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.07); }
.stake-number { color: #e8bd69; font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.stakes-grid h3 { margin: 30px 0 14px; color: #fff; font-size: 1.2rem; }
.stakes-grid p { color: #c6d2e0; font-size: .93rem; }
.stakes-grid a { margin-top: auto; color: #f1c77e; font-size: .84rem; font-weight: 780; }
.legal-caveat { margin: 22px 0 0; color: #b9c7d8; font-size: .8rem; }
.privacy-marketing { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.privacy-facts { display: grid; gap: 14px; }
.privacy-facts article { padding: 22px; border-left: 4px solid var(--accent); background: #fff; }
.privacy-facts p { margin: 4px 0 0; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pricing-grid.three { grid-template-columns: repeat(3, 1fr); }
.price-card { display: flex; min-height: 340px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-card.featured, .purchase-options .featured { border-color: var(--brand); box-shadow: var(--shadow); }
.price-card h3 { margin-top: 34px; }
.price-card p { color: var(--muted); }
.price-card .button { margin-top: auto; }
.price { margin: 5px 0 12px; color: var(--ink) !important; font-size: 2.25rem; font-weight: 800; letter-spacing: -.04em; }
.price small { font-family: var(--font-sans); font-size: .72rem; }
.home-faq { padding-block: 0; }
.faq-page { padding-block: 88px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list summary { cursor: pointer; padding: 20px 22px; color: var(--brand); font-weight: 800; }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-list details p { margin: 0; padding: 19px 22px 23px; color: var(--muted); }
.text-link { color: var(--brand-2); font-weight: 800; }
.faq-page { max-width: 940px; }
.faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 34px; }
.faq-cta h2 { margin-bottom: 5px; }
.faq-cta p { margin-bottom: 0; color: var(--muted); }
.faq-form-links { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: #eef2f6; font-size: .84rem; }
.faq-form-links a { color: var(--brand-2); font-weight: 800; }
.sticky-mobile-cta { display: none; }
.pill { display: inline-flex; width: fit-content; align-items: center; padding: 5px 9px; border-radius: 999px; background: #e7ecea; color: var(--brand); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.pill.success { background: #dceee4; color: var(--success); }
.rainio-section { border-top: 1px solid #dfe3e6; background: linear-gradient(180deg, #f0f3f6 0%, #fbfaf7 100%); }
.rainio-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 70px; margin-bottom: 40px; }
.rainio-intro h2 { max-width: 690px; margin-bottom: 0; }
.rainio-intro > p { margin-bottom: 2px; color: #405168; }
.rainio-offer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); overflow: hidden; border: 1px solid rgba(13,32,62,.15); border-radius: 24px; background: #fff; box-shadow: 0 20px 55px rgba(14,29,56,.1); }
.rainio-selector-card { padding: 38px; }
.rainio-selector-card label { display: block; margin-bottom: 10px; color: var(--brand); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.rainio-selector-card select { min-height: 52px; border-color: #9eabb9; font-weight: 720; }
.rainio-selection-summary { max-width: 720px; margin: 22px 0 0; color: var(--muted); }
.rainio-price-card { display: flex; flex-direction: column; justify-content: center; padding: 38px; background: linear-gradient(145deg, #0d203e, #163663); color: #fff; }
.rainio-price-card > span { color: #d8c08f; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rainio-price-card > strong { margin: 12px 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; }
.rainio-price-card > p { color: #c7d1df; font-size: .86rem; }
.rainio-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.rainio-price-card .button-primary { background: var(--accent); color: var(--brand); }
.rainio-price-card .button-outline { border-color: #91a3be; color: #fff; }
.rainio-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.rainio-services article { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.78); }
.rainio-services span { display: block; margin-bottom: 18px; color: var(--brand-2); font-size: .72rem; font-weight: 850; letter-spacing: .1em; }
.rainio-services strong { color: var(--brand); }
.rainio-services p { margin: 8px 0 0; color: var(--muted); font-size: .87rem; }
.rainio-services a { color: var(--brand-2); font-weight: 750; }
.final-cta { padding: 80px 0; background: var(--brand); color: #fff; }
.final-cta .section-shell { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta .eyebrow { color: #e8bd69; }
.final-cta h2 { max-width: 700px; margin: 0; }
.final-cta .button-conversion { background: var(--cta); color: #fff; }

.legal-form-directory .section-heading { margin-bottom: 34px; }
.legal-form-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.legal-form-card-grid a { display: flex; min-height: 210px; flex-direction: column; padding: 22px; border: 1px solid #d9dee4; border-radius: 15px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 8px 24px rgba(14,29,56,.04); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.legal-form-card-grid a:hover { transform: translateY(-3px); border-color: #9db5d8; box-shadow: 0 14px 32px rgba(14,29,56,.09); }
.legal-form-card-grid span { color: var(--brand-2); font-size: .76rem; font-weight: 850; letter-spacing: .1em; }
.legal-form-card-grid strong { margin: 34px 0 8px; line-height: 1.35; }
.legal-form-card-grid small { color: var(--muted); line-height: 1.5; }

.legal-form-hero { padding: 76px 0 82px; background: radial-gradient(circle at 90% 5%, rgba(21,94,239,.09), transparent 30rem), #fff; }
.legal-form-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); align-items: center; gap: 70px; }
.legal-form-hero h1 { max-width: 760px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .78rem; }
.breadcrumb a { color: var(--brand-2); font-weight: 750; }
.landing-summary-card { overflow: hidden; padding: 0 28px 28px; border: 1px solid #dce2e8; border-radius: 20px; background: #f7f9fb; box-shadow: 0 18px 45px rgba(14,29,56,.09); }
.mock-window-bar { min-height: 46px; margin: 0 -28px 26px; padding: 0 18px; border-bottom: 1px solid #dce2e8; background: #eef2f6; }
.mock-window-bar b { margin-left: auto; color: var(--muted); font-size: .72rem; }
.landing-summary-card h2 { font-size: 1.16rem; }
.landing-summary-card ul { margin: 20px 0; padding-left: 20px; color: #32435b; }
.landing-summary-card li { margin-bottom: 7px; }
.landing-summary-card > p { margin: 0; padding: 14px; border-left: 3px solid var(--accent); background: #fff8e7; color: var(--muted); font-size: .82rem; }
.legal-obligation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.legal-obligation-grid article { position: relative; min-height: 250px; padding: 28px; border: 1px solid #dde2e7; border-radius: 16px; background: #fff; }
.legal-obligation-grid article > span { color: var(--cta); font-weight: 850; }
.legal-obligation-grid h3 { margin: 34px 0 12px; }
.legal-obligation-grid p { color: var(--muted); font-size: .91rem; }
.landing-example-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 65px; }
.mock-dashboard { overflow: hidden; border: 1px solid #dce2e7; border-radius: 16px; background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.05); }
.mock-dashboard-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 52px; padding: 0 17px; border-bottom: 1px solid #e0e5e9; background: #f5f7f9; }
.mock-dashboard-top > span:first-child { display: flex; gap: 5px; }
.mock-dashboard-top strong { color: var(--brand); font-size: .81rem; }
.mock-export { padding: 6px 10px; border: 1px solid #b9c5d2; border-radius: 999px; color: #718096; font-size: .69rem; font-weight: 750; }
.mock-deadline { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid #e5e8eb; animation: mock-appear .48s ease both; }
.mock-deadline:nth-of-type(3) { animation-delay: .12s; }
.mock-deadline:nth-of-type(4) { animation-delay: .24s; }
@keyframes mock-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mock-status-symbol { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; font-size: .74rem; font-weight: 850; }
.mock-status-confirmed .mock-status-symbol { background: #dceee4; color: var(--success); }
.mock-status-upcoming .mock-status-symbol { background: #fff0cc; color: var(--warning); }
.mock-status-review .mock-status-symbol { background: #e7eef9; color: #315d9b; }
.mock-deadline time { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.mock-deadline h3 { margin: 3px 0 0; font-size: .94rem; }
.mock-status-label { color: var(--muted); font-size: .72rem; font-weight: 750; }
.mock-example-notice { margin: 0; padding: 12px 20px; background: #fff8e7; color: var(--warning); font-size: .75rem; font-weight: 700; }
.legal-risk-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; }
.legal-risk-grid ol { margin: 0; padding: 0; list-style: none; counter-reset: control; }
.legal-risk-grid li { position: relative; margin-bottom: 14px; padding: 18px 20px 18px 58px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.06); color: #d6e0eb; counter-increment: control; }
.legal-risk-grid li::before { position: absolute; left: 18px; color: #f1c77e; content: counter(control, decimal-leading-zero); font-size: .76rem; font-weight: 850; }
.legal-landing-faq { max-width: 960px; }
.landing-sources-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; }
.landing-sources-grid ul { margin: 0; padding: 0; list-style: none; }
.landing-sources-grid li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.landing-sources-grid a { color: var(--brand-2); font-weight: 750; }
.legal-form-links nav { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-form-links nav a { min-width: 92px; padding: 10px 16px; border: 1px solid #bdc8d4; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 800; text-align: center; text-decoration: none; }
.legal-form-links nav a.active { border-color: var(--brand); background: var(--brand); color: #fff; }

.app-shell { width: min(1260px, calc(100% - 40px)); min-height: 75vh; margin: 0 auto; padding: 52px 0 90px; }
.app-topbar, .workspace-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.app-topbar h1 { margin-bottom: 8px; font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.account-chip { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-align: right; }
.account-chip span, .account-chip strong { display: block; }
.account-chip span { color: var(--muted); font-size: .78rem; }
.progress-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; padding: 0; list-style: none; }
.progress-steps li { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 3px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 750; }
.progress-steps li span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #dde2df; }
.progress-steps li.active { border-color: var(--accent); color: var(--ink); }
.progress-steps li.active span { background: var(--accent); color: #fff; }
.progress-steps li.done { border-color: var(--brand); color: var(--brand); }
.workspace-step { display: none; }
.workspace-step.active { display: block; }
.workspace-grid { display: grid; gap: 22px; }
.workspace-grid.two-columns { grid-template-columns: 1.2fr .8fr; }
.panel { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 35px rgba(20,37,40,.04); }
.panel h2 { margin-bottom: 9px; }
.search-panel { min-height: 440px; }
.siren-form { margin-top: 32px; }
.siren-form > label, .stack-form > label, .field-grid > label, .caldav-panel label, .admin-action-form label { display: block; font-size: .84rem; font-weight: 800; }
.input-action { display: flex; gap: 9px; margin: 7px 0; }
.input-action input { flex: 1; font-size: 1.25rem; letter-spacing: .08em; }
input, textarea, select { width: 100%; padding: 11px 13px; border: 1px solid #bac5c2; border-radius: 9px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(216,156,74,.22); border-color: var(--accent); }
label small, .siren-form small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.privacy-panel { background: var(--brand); color: #fff; }
.privacy-panel .eyebrow { color: #d7bd88; }
.privacy-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: .91rem; }
.privacy-row strong { text-align: right; }
.privacy-row.good strong { color: #9fe1bd; }
.local-dashboards { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.local-dashboards h3 { margin-bottom: 10px; font-family: var(--font-display); }
.local-dashboard-list { display: grid; gap: 7px; margin-bottom: 12px; }
.local-dashboard-list > div { display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.05); }
.local-dashboard-open { display: block; padding: 10px 12px; border: 0; background: transparent; color: #fff; text-align: left; }
.local-dashboard-open strong, .local-dashboard-open span { display: block; }
.local-dashboard-open span { color: #bed1d2; font-size: .72rem; }
.local-dashboard-remove { padding: 10px 13px; color: #f5a9ba !important; font-size: 1.1rem; }
.privacy-panel .muted { color: #bfd0d0; }
.empty-dashboard-preview { margin-top: 22px; padding: 0; }
.empty-dashboard-preview > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 25px; cursor: pointer; list-style: none; }
.empty-dashboard-preview > summary::-webkit-details-marker { display: none; }
.empty-dashboard-preview summary strong, .empty-dashboard-preview summary small { display: block; }
.empty-dashboard-preview summary small { margin-top: 3px; color: var(--muted); font-size: .75rem; }
.empty-preview-action { color: var(--brand-2); font-size: .78rem; font-weight: 800; }
.empty-dashboard-preview[open] .empty-preview-action { font-size: 0; }
.empty-dashboard-preview[open] .empty-preview-action::after { content: "Replier l’exemple"; font-size: .78rem; }
.empty-dashboard-content { padding: 25px; border-top: 1px solid var(--line); background: #f7f8fa; }
.empty-dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.empty-dashboard-head h2 { margin-bottom: 0; }
.empty-deadline-list { overflow: hidden; margin: 22px 0; border: 1px solid #dce2e7; border-radius: 13px; background: #fff; }
.empty-deadline-list article { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 13px; padding: 18px 20px; border-bottom: 1px solid #e4e7ea; }
.empty-deadline-list article:last-child { border-bottom: 0; }
.empty-status { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; font-size: .75rem; font-weight: 850; }
.empty-status.status-valid { background: #dceee4; color: var(--success); }
.empty-status.status-upcoming { background: #fff0cc; color: var(--warning); }
.empty-status.status-late { background: #f6dfe4; color: var(--danger); }
.empty-deadline-list strong, .empty-deadline-list small { display: block; }
.empty-deadline-list small { margin-top: 3px; color: var(--muted); }
.company-result { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); }
.company-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.company-card-head h3 { margin: 9px 0 2px; font-size: 1.45rem; }
.company-card-head p { color: var(--muted); }
.status-dot { font-size: .75rem; }
.status-dot::before { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--danger); content: ""; }
.status-dot.active::before { background: var(--success); }
dl { display: grid; grid-template-columns: 100px 1fr; margin: 18px 0; font-size: .86rem; }
dt { color: var(--muted); }
dd { margin: 0 0 6px; }
.source-warnings { padding-left: 20px; color: var(--warning); font-size: .82rem; }
.compact-header { display: grid; grid-template-columns: 120px 1fr; }
.compact-header h2, .result-header h2 { margin: 0 0 4px; }
.form-section-grid { display: grid; gap: 20px; }
.employer-fields { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.first-hire-line { align-self: center; margin-top: 26px !important; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #f8f7f2; }
.form-section-grid .panel h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.18rem; }
.field-grid { display: grid; gap: 18px; }
.field-grid.two { grid-template-columns: repeat(2, 1fr); }
.field-grid input, .field-grid select { margin-top: 6px; }
.ai-details { margin-top: 25px; padding: 16px; border-radius: 12px; background: #f3f5f1; }
.ai-details summary { cursor: pointer; color: var(--brand); font-weight: 800; }
.upload-row { display: flex; gap: 10px; margin-top: 16px; }
.checkbox-line { display: flex !important; align-items: flex-start; gap: 9px; margin-top: 14px; color: var(--muted); font-size: .84rem; font-weight: 500 !important; }
.checkbox-line input { width: auto; margin-top: 4px; accent-color: var(--brand); }
.checkbox-line a { color: var(--brand-2); font-weight: 750; }
.step-actions { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; }
.workspace-actions, .toolbar-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.eurooffice-unavailable { flex-basis: 100%; color: var(--danger); font-size: .78rem; font-weight: 650; line-height: 1.4; }
.result-header { display: grid; grid-template-columns: 120px 1fr auto; }
.notice { margin: 15px 0 24px; padding: 14px 16px; border-radius: 10px; }
.notice.warning { border-left: 4px solid var(--accent); background: #fff5e2; color: #66491b; }
.notice.error { border-left: 4px solid var(--danger); background: #f8e7e5; color: var(--danger); }
.notice.success { border-left: 4px solid var(--success); background: #eaf3ed; color: var(--success); }
.notice.info { border-left: 4px solid var(--brand); background: #edf2f6; color: var(--brand); }
.notice summary { cursor: pointer; font-weight: 800; }
.notice ul { margin-bottom: 0; }
.calendar-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 20px; }
.preview-gate { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 20px; border-color: #d7bb7b; background: linear-gradient(135deg, #fff8e8, #fff); }
.preview-gate h3 { margin-bottom: 8px; font-size: 1.2rem; }
.preview-gate p:last-child { margin-bottom: 0; color: var(--muted); }
.preview-gate-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 9px; }
.calendar-view-controls { display: grid; gap: 13px; }
.control-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.filter-chips, .level-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips button, .level-chips button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .78rem; font-weight: 750; }
.filter-chips button.active, .level-chips button.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.level-chips button.active { border-color: #155eef; background: #edf4ff; color: #0f4ed6; }
.export-zone { display: grid; justify-items: end; gap: 12px; }
.export-options { position: relative; width: min(390px, 100%); border: 1px solid var(--line); border-radius: 11px; background: #f8fafc; }
.export-options > summary { padding: 10px 13px; cursor: pointer; color: var(--brand); font-size: .8rem; font-weight: 800; }
.export-options-body { display: grid; gap: 12px; padding: 0 14px 14px; }
.export-options-body > label { font-size: .78rem; font-weight: 750; }
.export-options-body select { margin-top: 5px; }
.export-options-body fieldset { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 11px; border: 1px solid var(--line); border-radius: 9px; }
.export-options-body legend { padding: 0 5px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.export-options-body fieldset label { font-size: .76rem; }
.export-options-body p { margin: 0; color: var(--muted); font-size: .73rem; }
.calendar-section-heading { margin: 30px 0 16px; }
.calendar-section-heading h3 { margin: 0 0 5px; font-size: 1.35rem; }
.calendar-section-heading p:last-child { margin: 0; }
.control-points { display: grid; gap: 10px; margin-bottom: 16px; }
.control-point { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid #d9e0e8; border-left: 4px solid #c19a3a; border-radius: 13px; background: #fbfcfd; }
.control-point.status-clear { border-left-color: var(--success); }
.control-point h3 { margin: 6px 0 3px; font-size: 1rem; }
.control-point strong { color: var(--brand); font-size: .86rem; }
.control-point p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; }
.control-point > a { flex: 0 0 auto; color: var(--brand); font-size: .76rem; font-weight: 750; }
.social-routine-summary { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 18px; border-color: #cfe2d6; background: linear-gradient(135deg, #f3faf6, #fff); }
.social-routine-summary h3 { margin: 3px 0 6px; font-size: 1.08rem; }
.social-routine-summary p { max-width: 780px; margin: 0 0 5px; color: var(--muted); font-size: .84rem; }
.social-routine-summary small { color: var(--success); font-weight: 700; }
.social-routine-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.calendar-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.deadline-list { display: grid; gap: 13px; }
.deadline-card { display: grid; grid-template-columns: 105px 1fr auto; gap: 22px; align-items: start; padding: 23px; border: 1px solid var(--line); border-left: 5px solid #879794; border-radius: var(--radius); background: #fff; }
.deadline-card.category-fiscal { border-left-color: var(--accent); }
.deadline-card.category-social { border-left-color: var(--success); }
.deadline-card.category-numerique { border-left-color: #4267a8; }
.deadline-card.category-juridique { border-left-color: var(--brand-2); }
.deadline-date { text-align: center; }
.deadline-date strong, .deadline-date span { display: block; }
.deadline-date strong { font-size: 2.55rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.deadline-date span { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.locked-date { filter: blur(3px); user-select: none; }
.locked-label { color: var(--muted); font-size: .75rem; }
.event-topline { display: flex; gap: 7px; }
.event-topline { flex-wrap: wrap; }
.kind-badge, .level-badge { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 6px; font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.kind-badge { background: #edf2f6; color: #30445f; }
.kind-badge.kind-internal { background: #f0edf6; color: #5f4d7d; }
.kind-badge.kind-control { background: #fff4dc; color: #75540f; }
.level-badge { border: 1px solid #dbe1e8; background: #fff; color: var(--muted); }
.deadline-content h3 { margin: 10px 0 15px; font-size: 1.12rem; }
.confidence { display: inline-block; padding: 4px 7px; border-radius: 6px; font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.confidence.high, .confidence-high { background: #dceee4; color: var(--success); }
.confidence.medium, .confidence-medium { background: #fff0d5; color: var(--warning); }
.confidence.low, .confidence-low { background: #f7dfdc; color: var(--danger); }
.deadline-warning { margin: 12px 0 0; padding: 9px 11px; border-radius: 8px; background: #fff4e0; color: #6a4a14; font-size: .78rem; }
.recurrence-summary { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: -5px 0 11px; padding: 9px 11px; border-radius: 9px; background: #f2f6fa; color: var(--muted); font-size: .76rem; }
.recurrence-summary strong { color: var(--brand); }
.recurrence-details { margin: 0 0 13px; }
.recurrence-details summary { cursor: pointer; color: var(--brand-2); font-size: .78rem; font-weight: 800; }
.recurrence-details ol { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 5px 18px; margin: 10px 0 0; padding-left: 23px; }
.recurrence-details li { color: var(--muted); font-size: .75rem; }
.recurrence-details li span { margin-left: 5px; color: #77849a; }
.show-all-events { display: block; margin: 18px auto 0; }
.deadline-actions { display: grid; gap: 8px; min-width: 110px; font-size: .78rem; font-weight: 750; }
.deadline-actions a { color: var(--brand); }
.deadline-actions .delegation-action { max-width: 190px; padding: 8px 10px; border: 1px solid #d5b36b; border-radius: 9px; background: #fff8e8; color: #6d4a09; line-height: 1.35; text-decoration: none; }
.side-summary { position: sticky; top: 100px; align-self: start; }
.reminder-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.reminder-chips span { padding: 5px 8px; border-radius: 999px; background: var(--accent-soft); font-size: .78rem; font-weight: 800; }
.side-summary hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.summary-metrics { display: grid; gap: 9px; margin: 18px 0; }
.summary-metrics > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.summary-metrics strong { color: var(--brand); font-size: 1.35rem; }
.summary-metrics span { color: var(--muted); font-size: .74rem; text-align: right; }
.reminder-policy { display: grid; gap: 5px; margin: 18px 0 0; padding: 12px; border-radius: 9px; background: #f5f7f9; }
.reminder-policy strong { font-size: .78rem; }
.reminder-policy span { color: var(--muted); font-size: .72rem; }
.caldav-panel { display: grid; gap: 12px; margin-top: 15px; }
.client-email-panel { margin-top: 20px; }
.client-email-heading { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(300px, 1.2fr); gap: 32px; align-items: start; }
.client-email-heading h3 { margin-bottom: 0; }
.client-email-actions { margin-top: 18px; }
.client-email-result { display: grid; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.client-email-result label { font-size: .84rem; font-weight: 800; }
.client-email-result input, .client-email-result textarea { margin-top: 6px; }
.client-email-result textarea { min-height: 270px; resize: vertical; line-height: 1.55; }
.status-box { margin-top: 15px; padding: 12px 14px; border-radius: 9px; background: #eaf3ed; color: var(--success); font-size: .84rem; }
.status-box.error { background: #f8e7e5; color: var(--danger); }
.toast-region { position: fixed; z-index: 100; right: 20px; bottom: 20px; display: grid; gap: 9px; width: min(380px, calc(100% - 40px)); }
.toast { padding: 13px 16px; border-radius: 11px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

.eurooffice-page main { min-height: calc(100vh - 82px); }
.eurooffice-shell { width: min(1500px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 50px; }
.eurooffice-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.eurooffice-toolbar h1 { margin-bottom: 7px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.eurooffice-toolbar p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.eurooffice-editor-frame { position: relative; width: 100%; height: max(1400px, calc(100dvh - 260px)); min-height: 1400px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #e8ebef; box-shadow: var(--shadow); }
.eurooffice-editor { width: 100% !important; height: 100% !important; min-height: 100%; overflow: hidden; background: #e8ebef; }
.eurooffice-editor iframe { display: block; width: 100% !important; height: 100% !important; border: 0; }
.eurooffice-editor-frame:fullscreen { width: 100vw; height: 100dvh; min-height: 100dvh; border: 0; border-radius: 0; background: #e8ebef; box-shadow: none; }
.eurooffice-fullscreen-exit { position: absolute; z-index: 20; top: 12px; right: 18px; min-height: 38px; padding: 7px 14px; box-shadow: 0 5px 20px rgba(13,32,62,.28); }
.eurooffice-fullscreen-exit[hidden] { display: none !important; }

.auth-shell { display: grid; min-height: 72vh; place-items: center; padding: 60px 20px; }
.auth-card { width: min(540px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2.15rem; }
.stack-form { display: grid; gap: 16px; margin-top: 25px; }
.stack-form input { margin-top: 5px; }
.auth-switch { margin: 22px 0 0; text-align: center; }
.auth-switch a { color: var(--brand-2); font-weight: 750; }
.legal-page { max-width: 900px; padding-block: 64px; }
.legal-page h1 { max-width: 820px; font-size: clamp(1.9rem, 3vw, 2.65rem); }
.legal-page h2 { margin: 38px 0 12px; font-size: 1.38rem; }
.legal-page h3 { margin: 28px 0 10px; font-size: 1.08rem; }
.legal-page li { margin-bottom: 8px; }
.legal-document { color: #25344c; }
.legal-document p, .legal-document li { font-size: .95rem; }
.legal-version { padding: 12px 14px; border-left: 3px solid var(--accent); background: #f4f1e8; color: var(--muted); font-size: .86rem !important; }
.legal-list { padding-left: 22px; }
.legal-table { min-width: 700px; }
.document-version { margin-top: 50px; color: var(--muted); font-size: .82rem; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stats-grid.four { grid-template-columns: repeat(4, 1fr); }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat-card span, .stat-card strong, .stat-card small { display: block; }
.stat-card span { color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.stat-card strong { margin: 7px 0; font-family: var(--font-display); font-size: 2rem; }
.stat-card small { color: var(--muted); }
.account-grid { display: grid; gap: 20px; }
.subscription-management { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.subscription-management h2 { margin-bottom: 8px; }
.subscription-management form { flex: 0 0 auto; }
.purchase-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.purchase-options article { display: flex; min-height: 225px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 13px; }
.purchase-options .button { margin-top: auto; }
.checkout-acceptance { margin: 24px 0; padding: 22px; border: 1px solid #d7d2c7; border-radius: 14px; background: #f8f7f2; }
.checkout-acceptance-heading { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(300px, 1.25fr); gap: 26px; }
.checkout-acceptance-heading h3 { margin-bottom: 0; }
.legal-consent-list { display: grid; gap: 12px; margin-top: 18px; }
.legal-consent-item { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.legal-consent-item .checkbox-line { margin-top: 0; }
.legal-preview { margin-top: 10px; }
.legal-preview summary { cursor: pointer; color: var(--brand); font-size: .82rem; font-weight: 780; }
.legal-scroll { max-height: 320px; overflow: auto; margin-top: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: #25344c; }
.legal-scroll h2 { margin: 22px 0 8px; font-size: 1rem; }
.legal-scroll h2:first-of-type { margin-top: 8px; }
.legal-scroll h3 { margin: 18px 0 7px; font-size: .94rem; }
.legal-scroll p, .legal-scroll li, .legal-scroll td, .legal-scroll th { font-size: .78rem; }
.legal-scroll .legal-table { min-width: 620px; }
.payment-obligation { padding: 15px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent-soft); color: var(--ink); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
td small { display: block; color: var(--muted); }
.danger, .danger-text { color: var(--danger) !important; }
.good-text { color: var(--success); }
.warning-text { color: var(--warning); }
.empty-state { padding: 60px 25px; text-align: center; }
.empty-state.compact { padding: 25px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.health-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.health-list strong { max-width: 65%; overflow-wrap: anywhere; text-align: right; }
.admin-action-form { display: grid; min-width: 260px; gap: 9px; padding: 12px 0; }
.log-list { max-height: 400px; overflow: auto; margin: 0; padding: 0; list-style: none; }
.log-list li { display: grid; grid-template-columns: 80px 140px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.log-list time { color: var(--muted); }

.site-footer { display: grid; grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); align-items: start; gap: 24px 42px; padding: 34px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); background: #e9ece5; }
.site-footer strong, .site-footer span { display: block; }
.site-footer span, .site-footer small { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.site-footer a { color: var(--brand); font-size: .85rem; }
.footer-disclaimer { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(13,32,62,.12); }

@media (max-width: 1000px) {
  .main-nav > a:not(.button), .main-nav .inline-nav-form { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-preview { max-width: 630px; }
  .steps-grid.four, .pricing-grid.three, .stakes-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-section, .privacy-marketing, .legal-form-hero-grid, .landing-example-grid, .legal-risk-grid, .landing-sources-grid { grid-template-columns: 1fr; gap: 30px; }
  .legal-form-card-grid { grid-template-columns: repeat(3, 1fr); }
  .legal-obligation-grid { grid-template-columns: 1fr 1fr; }
  .rainio-intro, .rainio-offer-grid { grid-template-columns: 1fr; gap: 28px; }
  .rainio-services { grid-template-columns: 1fr 1fr; }
  .workspace-grid.two-columns, .calendar-layout { grid-template-columns: 1fr; }
  .side-summary { position: static; }
  .calendar-toolbar { align-items: stretch; flex-direction: column; }
  .export-zone { justify-items: stretch; }
  .eurooffice-toolbar { align-items: stretch; flex-direction: column; }
  .stats-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  h1 { font-size: 1.95rem; }
  .section-block { padding-block: 58px; }
  .site-header { min-height: 66px; padding-inline: 15px; }
  .brand-logo { width: 165px; }
  .section-shell, .app-shell { width: min(100% - 24px, 1180px); }
  .hero { gap: 35px; padding-block: 50px; }
  .hero-actions, .hero-siren-form, .app-topbar, .summary-card, .final-cta .section-shell, .subscription-management, .preview-gate, .faq-cta, .social-routine-summary, .control-point { align-items: stretch; flex-direction: column; }
  .hero-siren-form .button { width: 100%; }
  .hero-actions .button { width: 100%; }
  .steps-grid.four, .pricing-grid.three, .stakes-grid, .feature-columns, .field-grid.two, .purchase-options, .stats-grid, .stats-grid.four, .admin-grid, .legal-form-card-grid, .legal-obligation-grid { grid-template-columns: 1fr; }
  .rainio-services { grid-template-columns: 1fr; }
  .rainio-selector-card, .rainio-price-card { padding: 28px 22px; }
  .feature-section { width: 100%; padding: 45px 25px; border-radius: 0; }
  .legal-form-hero { padding-block: 52px 58px; }
  .landing-summary-card { padding-inline: 20px; }
  .mock-window-bar { margin-inline: -20px; }
  .mock-dashboard-top { grid-template-columns: auto 1fr; }
  .mock-dashboard-top .mock-export { grid-column: 1 / -1; margin-bottom: 12px; text-align: center; }
  .mock-deadline { grid-template-columns: 32px 1fr; }
  .mock-status-label { grid-column: 2; }
  .empty-dashboard-preview > summary, .empty-dashboard-head { align-items: flex-start; flex-direction: column; }
  .infographic-frame { overflow-x: auto; }
  .infographic-frame img { width: 760px; max-width: none; }
  .infographic-frame figcaption { width: 760px; }
  .progress-steps li { justify-content: center; padding-inline: 5px; font-size: 0; }
  .compact-header, .result-header { grid-template-columns: 1fr auto; }
  .compact-header > div, .result-header > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .input-action, .upload-row, .toolbar-actions { align-items: stretch; flex-direction: column; }
  .client-email-heading, .checkout-acceptance-heading { grid-template-columns: 1fr; gap: 8px; }
  .deadline-card { grid-template-columns: 68px 1fr; gap: 14px; }
  .deadline-actions { grid-column: 2; display: flex; flex-wrap: wrap; }
  .deadline-date strong { font-size: 2.1rem; }
  .recurrence-details ol { grid-template-columns: 1fr; }
  .social-routine-actions { justify-content: stretch; }
  .social-routine-actions .button { width: 100%; }
  .auth-card { padding: 28px 22px; }
  .eurooffice-shell { width: 100%; padding: 16px 10px 30px; }
  .eurooffice-editor-frame { height: max(1400px, calc(100dvh - 180px)); min-height: 1400px; border-radius: 10px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .log-list li { grid-template-columns: 70px 1fr; }
  .log-list span { grid-column: 1 / -1; }
  .marketing-page { padding-bottom: 66px; }
  .sticky-mobile-cta { position: fixed; z-index: 60; right: 12px; bottom: 10px; left: 12px; display: flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 999px; background: var(--cta); color: #fff; box-shadow: 0 10px 30px rgba(21,94,239,.34); font-weight: 800; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-input i { animation: none; }
  .demo-events { opacity: 1; transform: none; transition: none; }
  .mock-deadline { animation: none; }
}
