@font-face { font-family: 'Archivo'; font-weight: 100 900; font-style: normal; font-display: swap; src: url('/fonts/archivo-latin.woff2?v=65449f16') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-style: normal; font-display: swap; src: url('/fonts/archivo-latin-ext.woff2?v=7301cde3') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-style: normal; font-display: swap; src: url('/fonts/archivo-ro.woff2?v=d0b7d4d7') format('woff2'); unicode-range: U+0102-0103, U+0218-021B; }

/* AVODesk — tokens.css. GENERATED from tokens.json; do not edit by hand. Load before brandbook.css. */
:root {
  --av-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --av-paper: #f3f2f2;
  --av-surface: #eae9e9;
  --av-ink: #201e1d;
  --av-ink-muted: #605d5d;
  --av-ink-faint: #7d7979;
  --av-rule: #9f9d9d;
  --av-border: #7d7979;
  --av-rule-soft: #d7d3d3;
  --av-red: #ec3013;
  --av-red-deep: #ae1800;
  --av-red-tint: #fff2ef;
  --av-neutral-100: #f8f4f4;
  --av-neutral-200: #eae7e7;
  --av-neutral-300: #d7d3d3;
  --av-neutral-400: #bab6b6;
  --av-neutral-500: #9b9797;
  --av-neutral-600: #7d7979;
  --av-neutral-700: #605d5d;
  --av-neutral-800: #444141;
  --av-neutral-900: #2d2b2b;
  --av-red-100: #fff2ef;
  --av-red-200: #ffe0d9;
  --av-red-300: #ffc4b8;
  --av-red-400: #ff9783;
  --av-red-500: #ff563c;
  --av-red-600: #dd2b0f;
  --av-red-700: #ae1800;
  --av-red-800: #7c1405;
  --av-red-900: #4d170e;
  --av-cat-ink-bg: #ede6e7; --av-cat-ink-text: #413b3d; --av-cat-ink-rule: #797374;
  --av-cat-red-bg: #ffddd6; --av-cat-red-text: #6b1f16; --av-cat-red-rule: #c04637;
  --av-cat-amber-bg: #fce3c8; --av-cat-amber-text: #602f00; --av-cat-amber-rule: #ae5e00;
  --av-cat-insolvency-bg: #e9ebc9; --av-cat-insolvency-text: #424100; --av-cat-insolvency-rule: #7c7a00;
  --av-cat-green-bg: #d4f1d8; --av-cat-green-text: #004c1a; --av-cat-green-rule: #008d3c;
  --av-cat-administrative-bg: #c7f2ee; --av-cat-administrative-text: #004e4a; --av-cat-administrative-rule: #009089;
  --av-cat-commercial-bg: #caeeff; --av-cat-commercial-text: #00456b; --av-cat-commercial-rule: #0082bf;
  --av-cat-civil-bg: #dce7ff; --av-cat-civil-text: #273776; --av-cat-civil-rule: #516bd1;
  --av-cat-labour-bg: #f1e0ff; --av-cat-labour-text: #4f2967; --av-cat-labour-rule: #9154b9;
  --av-cat-family-bg: #ffdcec; --av-cat-family-text: #651e45; --av-cat-family-rule: #b54481;
  --av-type-display: clamp(36px, 9vw, 72px); --av-lh-display: 1.06; --av-track-display: -0.02em;
  --av-type-h1: 42px; --av-lh-h1: 1.12; --av-track-h1: -0.015em;
  --av-type-h2: 32px; --av-lh-h2: 1.15; --av-track-h2: -0.015em;
  --av-type-h3: 25px; --av-lh-h3: 1.2; --av-track-h3: -0.01em;
  --av-type-h4: 20px; --av-lh-h4: 1.25; --av-track-h4: -0.01em;
  --av-type-lead: 19px; --av-lh-lead: 1.5; --av-track-lead: 0;
  --av-type-body: 16px; --av-lh-body: 1.55; --av-track-body: 0;
  --av-type-small: 14px; --av-lh-small: 1.5; --av-track-small: 0;
  --av-type-caption: 12px; --av-lh-caption: 1.4; --av-track-caption: 0.01em;
  --av-type-label: 12px; --av-lh-label: 1.2; --av-track-label: 0.08em;
  --av-type-table: 14px; --av-lh-table: 1.45; --av-track-table: 0;
  --av-type-portal-title: 26px; --av-lh-portal-title: 1.2; --av-track-portal-title: -0.01em;
  --av-type-portal-body: 18px; --av-lh-portal-body: 1.5; --av-track-portal-body: 0;
  --av-space-1: 4px;
  --av-space-2: 8px;
  --av-space-3: 12px;
  --av-space-4: 16px;
  --av-space-6: 24px;
  --av-space-8: 32px;
  --av-space-12: 48px;
  --av-space-16: 64px;
  --av-space-24: 96px;
  --av-radius: 0px;
  --av-shadow-sm: 0 1px 2px rgba(45,43,43,0.14);
  --av-shadow-md: 0 3px 10px rgba(45,43,43,0.16);
  --av-shadow-lg: 0 12px 32px rgba(45,43,43,0.22);
  --av-dur-fast: 120ms; --av-dur-base: 200ms; --av-dur-slow: 320ms; --av-ease: cubic-bezier(0.2, 0, 0, 1);
  --av-container-content: 1200px;
  --av-container-prose: 720px;
  --av-container-form: 520px;
  --av-container-phone: 390px;
  --av-rule-section: 2px; --av-rule-row: 1px; --av-rule-signature: 2px;
  /* Modernist aliases — the component layer resolves either name */
  --color-bg: var(--av-paper); --color-surface: var(--av-surface); --color-text: var(--av-ink); --color-accent: var(--av-red); --color-accent-2: var(--av-red); --color-divider: var(--av-rule);
  --font-heading: var(--av-font); --font-body: var(--av-font); --font-heading-weight: 800;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --radius-sm: 0px; --radius-md: 0px; --radius-lg: 0px;
  --shadow-sm: var(--av-shadow-sm); --shadow-md: var(--av-shadow-md); --shadow-lg: var(--av-shadow-lg);
  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;
  --color-accent-100: #fff2ef; --color-accent-2-100: #fff2ef;
  --color-accent-200: #ffe0d9; --color-accent-2-200: #ffe0d9;
  --color-accent-300: #ffc4b8; --color-accent-2-300: #ffc4b8;
  --color-accent-400: #ff9783; --color-accent-2-400: #ff9783;
  --color-accent-500: #ff563c; --color-accent-2-500: #ff563c;
  --color-accent-600: #dd2b0f; --color-accent-2-600: #dd2b0f;
  --color-accent-700: #ae1800; --color-accent-2-700: #ae1800;
  --color-accent-800: #7c1405; --color-accent-2-800: #7c1405;
  --color-accent-900: #4d170e; --color-accent-2-900: #4d170e;
}
/* Admin (Metronic 9.5) — colours only */
.av-admin, [data-theme="admin-light"] {
  --background: #ffffff;
  --foreground: #201e1d;
  --primary: #201e1d;
  --primary-foreground: #f3f2f2;
  --ring: #ec3013;
  --decision: #ec3013;
  --decision-foreground: #f3f2f2;
  --destructive: #ae1800;
  --destructive-foreground: #f3f2f2;
  --muted: #eae7e7;
  --muted-foreground: #605d5d;
  --border: #d7d3d3;
  --chart-1: #201e1d;
  --chart-2: #ec3013;
  --chart-3: #516bd1;
  --chart-4: #ae5e00;
  --chart-5: #009089;
}
.av-admin.dark, [data-theme="admin-dark"] {
  --background: #1b1a19;
  --foreground: #f3f2f2;
  --primary: #f3f2f2;
  --primary-foreground: #201e1d;
  --ring: #ff9783;
  --decision: #ff9783;
  --decision-foreground: #201e1d;
  --destructive: #ff563c;
  --destructive-foreground: #201e1d;
  --muted: #2a2827;
  --muted-foreground: #bab6b6;
  --border: #3a3736;
  --chart-1: #f3f2f2;
  --chart-2: #ff9783;
  --chart-3: #839ffc;
  --chart-4: #dc932e;
  --chart-5: #00bfb8;
}
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-ink-bg: #312c2e; --av-cat-ink-text: #e9e2e4; --av-cat-ink-rule: #a9a3a4; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-red-bg: #47211b; --av-cat-red-text: #ffd7cd; --av-cat-red-rule: #ef806f; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-amber-bg: #412805; --av-cat-amber-text: #ffdeba; --av-cat-amber-rule: #dc932e; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-insolvency-bg: #303006; --av-cat-insolvency-text: #e6e9bb; --av-cat-insolvency-rule: #aaac31; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-green-bg: #14361d; --av-cat-green-text: #c9f1d0; --av-cat-green-rule: #5bbd74; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-administrative-bg: #003734; --av-cat-administrative-text: #b7f2ed; --av-cat-administrative-rule: #00bfb8; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-commercial-bg: #003346; --av-cat-commercial-text: #bcedff; --av-cat-commercial-rule: #16b3eb; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-civil-bg: #222c4c; --av-cat-civil-text: #d5e4ff; --av-cat-civil-rule: #839ffc; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-labour-bg: #372544; --av-cat-labour-text: #f1daff; --av-cat-labour-rule: #bf8ae6; }
.av-admin.dark, [data-theme="admin-dark"] { --av-cat-family-bg: #442032; --av-cat-family-text: #ffd5ea; --av-cat-family-rule: #e57db1; }

/* AVODesk — brandbook.css. The component layer. Plain CSS on plain HTML; every value is a token from tokens.css (var(--av-*)).
   Order in the build: fonts.css → tokens.css → brandbook.css. Mobile first. */

/* — base — */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--av-paper); color: var(--av-ink); font-family: var(--av-font); font-size: var(--av-type-body); line-height: var(--av-lh-body); text-wrap: pretty; hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: anywhere; }
.av-btn, .av-badge, .av-chip, .av-lang, .av-logo, .av-tnum, .av-topbar, .av-nav, .av-event__t, .av-label, .av-kicker, input, select, textarea { hyphens: manual; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--av-red-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--av-ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--av-red); outline-offset: 2px; }
::selection { background: var(--av-red-200); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.av-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; left: 0; top: 0; }
td, th { position: relative; }

/* — type — */
.av-display { font-size: var(--av-type-display); line-height: var(--av-lh-display); letter-spacing: var(--av-track-display); font-weight: 800; margin-left: -0.05em; }
.av-display .line, .av-h1 .line { display: block; }
.av-h1 { font-size: var(--av-type-h1); line-height: var(--av-lh-h1); letter-spacing: var(--av-track-h1); font-weight: 800; }
.av-h2 { font-size: var(--av-type-h2); line-height: var(--av-lh-h2); letter-spacing: var(--av-track-h2); font-weight: 800; }
.av-h3 { font-size: var(--av-type-h3); line-height: var(--av-lh-h3); letter-spacing: var(--av-track-h3); font-weight: 700; }
.av-h4 { font-size: var(--av-type-h4); line-height: var(--av-lh-h4); letter-spacing: var(--av-track-h4); font-weight: 700; }
.av-lead { font-size: var(--av-type-lead); line-height: var(--av-lh-lead); max-width: 58ch; }
.av-body { font-size: var(--av-type-body); line-height: var(--av-lh-body); max-width: 68ch; }
.av-small { font-size: var(--av-type-small); line-height: var(--av-lh-small); }
.av-caption { font-size: var(--av-type-caption); line-height: var(--av-lh-caption); letter-spacing: var(--av-track-caption); color: var(--av-ink-muted); }
.av-label { font-size: var(--av-type-label); line-height: var(--av-lh-label); letter-spacing: var(--av-track-label); font-weight: 600; text-transform: uppercase; }
.av-kicker { display: block; font-size: var(--av-type-label); line-height: var(--av-lh-label); letter-spacing: var(--av-track-label); font-weight: 600; text-transform: uppercase; color: var(--av-ink-muted); margin-bottom: var(--av-space-4); }
.av-muted { color: var(--av-ink-muted); }
.av-tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.av-prose { max-width: var(--av-container-prose); display: grid; gap: var(--av-space-4); }
.av-prose p { max-width: 68ch; }

/* — layout — */
.av-wrap { width: 100%; max-width: var(--av-container-content); margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }
.av-section { padding-top: var(--av-space-12); padding-bottom: var(--av-space-12); }
.av-section--tight { padding-top: var(--av-space-8); padding-bottom: var(--av-space-8); }
.av-rule { height: var(--av-rule-section); background: var(--av-rule); border: 0; margin: 0; }
.av-rule--ink { background: var(--av-ink); }
.av-stack { display: grid; gap: var(--av-space-4); }
.av-stack--lg { gap: var(--av-space-6); }
.av-row { display: flex; flex-wrap: wrap; gap: var(--av-space-3); align-items: center; }
.av-grid { display: grid; gap: var(--av-space-6); grid-template-columns: minmax(0, 1fr); }
.av-cols { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.av-cols > * { padding: var(--av-space-6) 0; border-top: var(--av-rule-section) solid var(--av-rule); min-width: 0; }
@media (min-width: 720px) {
  .av-grid--2, .av-grid--3, .av-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-cols--2, .av-cols--3, .av-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--av-space-8); }
}
@media (min-width: 960px) {
  .av-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .av-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .av-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .av-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* — logo — */
.av-logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.av-logo__mark { width: 24px; height: 24px; flex: none; }
.av-logo__word { font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: -0.03em; padding-bottom: 3px; border-bottom: var(--av-rule-signature) solid var(--av-red); }
.av-logo--lg .av-logo__mark { width: 40px; height: 40px; }
.av-logo--lg .av-logo__word { font-size: 32px; padding-bottom: 5px; border-bottom-width: 3px; }
.av-logo--reversed { color: var(--av-paper); }
.av-endorse { display: inline-grid; gap: 6px; }
.av-endorse__line { height: 1px; background: var(--av-rule); }
.av-endorse__text { font-size: var(--av-type-label); letter-spacing: var(--av-track-label); font-weight: 600; text-transform: uppercase; color: var(--av-ink-muted); }

/* — topbar — */
.av-topbar { background: var(--av-surface); border-bottom: 1px solid var(--av-rule-soft); }
.av-topbar__in { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; min-height: 36px; }
.av-topbar__contact { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; margin-right: auto; min-width: 0; }
.av-topbar__contact a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: var(--av-ink); text-decoration: none; font-size: 13px; font-weight: 500; white-space: nowrap; position: relative; }
.av-topbar__contact a:hover { color: var(--av-red-deep); text-decoration: underline; text-underline-offset: 3px; }
.av-topbar__contact .fa-solid { font-size: 11px; color: var(--av-ink-muted); width: 14px; text-align: center; }
.av-topbar .av-lang button { min-height: 32px; min-width: 30px; padding: 6px 6px 4px; }
.av-topbar__text--email { display: none; }
@media (min-width: 720px) { .av-topbar__text--email { display: inline; } .av-topbar .av-lang button { min-width: 36px; padding: 8px 8px 6px; } }

/* — header — */
.av-header { border-bottom: var(--av-rule-section) solid var(--av-rule); background: var(--av-paper); }
.av-header__in { display: flex; align-items: center; gap: var(--av-space-4); min-height: 64px; }
.av-header__brand { margin-right: auto; }
.av-nav { display: none; gap: var(--av-space-4); align-items: center; }
.av-nav a { color: var(--av-ink); text-decoration: none; font-size: var(--av-type-small); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.av-nav a:hover { color: var(--av-red-deep); }
.av-nav a[aria-current="page"] { border-bottom-color: var(--av-ink); font-weight: 700; }
.av-header .av-btn--primary { display: none; }
.av-menu { position: relative; }
.av-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--av-border); font-size: var(--av-type-small); font-weight: 600; cursor: pointer; }
.av-menu summary::-webkit-details-marker { display: none; }
.av-menu[open] summary { background: var(--av-ink); color: var(--av-paper); border-color: var(--av-ink); }
.av-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(360px, calc(100vw - 40px)); background: var(--av-paper); border: var(--av-rule-section) solid var(--av-ink); box-shadow: var(--av-shadow-lg); display: grid; }
.av-menu__panel a { display: block; padding: 14px 16px; color: var(--av-ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--av-rule-soft); }
.av-menu__panel a[aria-current="page"] { font-weight: 700; box-shadow: inset 4px 0 0 var(--av-ink); }
.av-menu__panel a:hover { background: var(--av-surface); }
.av-menu__foot { padding: 12px 16px; display: grid; gap: 12px; }
@media (min-width: 960px) {
  .av-nav, .av-header .av-btn--primary { display: inline-flex; }
  .av-menu { display: none; }
}

/* — language selector — */
.av-lang { display: inline-flex; gap: 2px; align-items: center; }
.av-lang button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 8px 6px; font-size: var(--av-type-label); font-weight: 600; letter-spacing: 0.06em; color: var(--av-ink-muted); min-width: 36px; min-height: 36px; }
.av-lang button:hover { color: var(--av-ink); background: var(--av-surface); }
.av-lang button[aria-pressed="true"] { color: var(--av-ink); border-bottom-color: var(--av-red); font-weight: 800; }

/* — buttons — */
.av-btn { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; background: transparent; color: var(--av-ink); font-size: var(--av-type-small); font-weight: 600; line-height: 1.2; text-decoration: none; text-align: left; white-space: normal; position: relative; transition: background-color var(--av-dur-fast) var(--av-ease), color var(--av-dur-fast) var(--av-ease), box-shadow var(--av-dur-fast) var(--av-ease); }
.av-btn--primary { background: var(--av-ink); color: var(--av-paper); border-color: var(--av-ink); box-shadow: inset 0 calc(-1 * var(--av-rule-signature)) 0 var(--av-red); }
.av-btn--primary:hover { background: var(--av-neutral-800); border-color: var(--av-neutral-800); box-shadow: inset 0 -3px 0 var(--av-red); }
.av-btn--primary:active { background: var(--av-ink); box-shadow: inset 0 -4px 0 var(--av-red); }
.av-btn--secondary { border-color: var(--av-border); }
.av-btn--secondary:hover { background: var(--av-neutral-200); border-color: var(--av-ink); }
.av-btn--secondary:active { background: var(--av-neutral-300); }
.av-btn--ghost { padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--av-rule); }
.av-btn--ghost:hover { color: var(--av-red-deep); text-decoration-color: currentColor; }
.av-btn--on-red { background: var(--av-ink); color: var(--av-paper); border-color: var(--av-ink); box-shadow: inset 0 -2px 0 var(--av-paper); }
.av-btn--on-red:hover { background: var(--av-neutral-900); border-color: var(--av-neutral-900); }
.av-btn--lg { min-height: 52px; padding: 0 22px; font-size: var(--av-type-body); }
.av-btn--block { width: 100%; }
.av-btn:disabled, .av-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.av-btn .av-spin { display: none; width: 16px; height: 16px; flex: none; }
.av-btn.is-loading { pointer-events: none; }
.av-btn.is-loading .av-spin { display: block; animation: av-spin 900ms linear infinite; }
.av-btn .fa-solid, .av-btn .fa-brands { font-size: 14px; }
@keyframes av-spin { to { transform: rotate(360deg); } }

/* — badges (feature status; review state) — never colour alone: fill, border style and icon carry the state — */
.av-badge { display: inline-flex; align-items: flex-start; gap: 6px; padding: 4px 8px; border: 1px solid var(--av-ink); font-size: var(--av-type-label); line-height: 1.2; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: normal; text-align: left; max-width: 100%; vertical-align: middle; }
.av-badge .fa-solid { margin-top: 1px; flex: none; }
.av-badge .fa-solid { font-size: 11px; }
.av-badge--available { background: var(--av-ink); color: var(--av-paper); }
.av-badge--rolling { background: transparent; color: var(--av-ink); }
.av-badge--planned { background: transparent; color: var(--av-ink-muted); border: 1px dashed var(--av-border); }
.av-badge--review { background: var(--av-paper); color: var(--av-ink); border: 1px dashed var(--av-ink); }
.av-badge--verified { background: var(--av-paper); color: var(--av-red-deep); border: 1px solid var(--av-red); }
.av-badge--placeholder { background: var(--av-neutral-200); color: var(--av-ink-muted); border: 1px dashed var(--av-border); text-transform: none; letter-spacing: 0; font-weight: 500; }

/* — categories: chip + event block — */
[data-cat="ink"] { --cbg: var(--av-cat-ink-bg); --ctext: var(--av-cat-ink-text); --crule: var(--av-cat-ink-rule); }
[data-cat="green"] { --cbg: var(--av-cat-green-bg); --ctext: var(--av-cat-green-text); --crule: var(--av-cat-green-rule); }
[data-cat="amber"] { --cbg: var(--av-cat-amber-bg); --ctext: var(--av-cat-amber-text); --crule: var(--av-cat-amber-rule); }
[data-cat="red"] { --cbg: var(--av-cat-red-bg); --ctext: var(--av-cat-red-text); --crule: var(--av-cat-red-rule); }
[data-cat="civil"] { --cbg: var(--av-cat-civil-bg); --ctext: var(--av-cat-civil-text); --crule: var(--av-cat-civil-rule); }
[data-cat="commercial"] { --cbg: var(--av-cat-commercial-bg); --ctext: var(--av-cat-commercial-text); --crule: var(--av-cat-commercial-rule); }
[data-cat="labour"] { --cbg: var(--av-cat-labour-bg); --ctext: var(--av-cat-labour-text); --crule: var(--av-cat-labour-rule); }
[data-cat="family"] { --cbg: var(--av-cat-family-bg); --ctext: var(--av-cat-family-text); --crule: var(--av-cat-family-rule); }
[data-cat="administrative"] { --cbg: var(--av-cat-administrative-bg); --ctext: var(--av-cat-administrative-text); --crule: var(--av-cat-administrative-rule); }
[data-cat="insolvency"] { --cbg: var(--av-cat-insolvency-bg); --ctext: var(--av-cat-insolvency-text); --crule: var(--av-cat-insolvency-rule); }
.av-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; background: var(--cbg); color: var(--ctext); font-size: var(--av-type-label); line-height: 1.2; font-weight: 600; white-space: nowrap; }
.av-chip .fa-solid { font-size: 11px; }
.av-event { display: flex; align-items: flex-start; gap: 6px; padding: 6px 8px; background: var(--cbg); color: var(--ctext); border-bottom: 2px solid var(--crule); font-size: 13px; line-height: 1.3; font-weight: 500; }
.av-event .fa-solid { font-size: 11px; margin-top: 3px; flex: none; }
.av-event__t { font-variant-numeric: tabular-nums; font-weight: 700; }

/* — the signature line — */
.av-sign { height: var(--av-rule-signature); background: var(--av-red); transform-origin: left center; }
.av-sign--pending { height: 0; background: none; border-top: var(--av-rule-signature) dashed var(--av-border); }
.av-sign.is-drawing { animation: av-draw var(--av-dur-base) var(--av-ease) both; }
@keyframes av-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* — cards — */
.av-card { display: flex; flex-direction: column; gap: var(--av-space-3); padding: var(--av-space-6); background: var(--av-surface); min-width: 0; overflow-wrap: anywhere; }
.av-grid > *, .av-cols > *, .av-stack > * { min-width: 0; }
.av-card__title { font-size: var(--av-type-h4); line-height: var(--av-lh-h4); font-weight: 700; letter-spacing: var(--av-track-h4); }
.av-card__body { font-size: var(--av-type-small); line-height: var(--av-lh-small); color: var(--av-ink-muted); flex: 1; }
.av-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--av-type-caption); color: var(--av-ink-muted); }
.av-card--decision { border-bottom: var(--av-rule-signature) solid var(--av-red); }
/* agent name plate — ends in a dashed rule: agents do not sign */
.av-agent { display: grid; gap: var(--av-space-3); padding: var(--av-space-6) 0; border-top: var(--av-rule-section) solid var(--av-ink); border-bottom: var(--av-rule-section) dashed var(--av-border); min-width: 0; }
.av-agent__role { font-size: var(--av-type-h4); font-weight: 700; line-height: var(--av-lh-h4); display: flex; gap: 10px; align-items: baseline; }
.av-agent__role .fa-solid { font-size: 16px; color: var(--av-ink-muted); }
.av-agent__does { font-size: var(--av-type-small); line-height: var(--av-lh-small); }
.av-agent__access { display: flex; gap: 8px; align-items: flex-start; font-size: var(--av-type-caption); line-height: 1.45; color: var(--av-ink-muted); }
.av-agent__access .fa-solid { margin-top: 3px; font-size: 11px; }

/* — approval draft — */
.av-draft { display: grid; gap: var(--av-space-4); padding: var(--av-space-6); background: var(--av-surface); }
.av-draft__head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.av-draft__doc { background: var(--av-paper); padding: var(--av-space-4); font-size: var(--av-type-small); line-height: 1.6; display: grid; gap: 8px; }
.av-draft__log { font-size: var(--av-type-caption); color: var(--av-ink-muted); font-variant-numeric: tabular-nums; display: grid; gap: 4px; }
.av-draft__actions { display: flex; flex-wrap: wrap; gap: var(--av-space-3); }
.av-draft__sig { display: grid; gap: 6px; }
.av-draft__sigline { display: flex; justify-content: space-between; gap: 12px; font-size: var(--av-type-caption); color: var(--av-ink-muted); }

/* — forms — */
.av-field { display: grid; gap: 6px; }
.av-field > label, .av-field__label { font-size: var(--av-type-small); font-weight: 600; }
.av-field__hint { font-size: var(--av-type-caption); color: var(--av-ink-muted); }
.av-input { width: 100%; min-height: 44px; padding: 10px 12px; background: var(--av-surface); border: 1px solid var(--av-border); color: var(--av-ink); font-size: var(--av-type-body); caret-color: var(--av-red); border-radius: 0; appearance: none; }
.av-input::placeholder { color: var(--av-ink-faint); }
.av-input:hover { border-color: var(--av-ink); }
.av-input:focus-visible { border-color: var(--av-red); outline-offset: 0; }
select.av-input { background-image: linear-gradient(45deg, transparent 50%, var(--av-ink) 50%), linear-gradient(135deg, var(--av-ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
textarea.av-input { min-height: 120px; resize: vertical; }
.av-field.is-error .av-input { border-color: var(--av-red); background: var(--av-red-tint); }
.av-field__error { display: flex; gap: 8px; align-items: flex-start; color: var(--av-red-deep); font-size: var(--av-type-small); font-weight: 500; }
.av-field__error .fa-solid { margin-top: 4px; font-size: 12px; }
.av-check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--av-type-small); line-height: 1.5; cursor: pointer; }
.av-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--av-ink); }
.av-check.is-error { color: var(--av-red-deep); }
.av-alert { display: grid; gap: 8px; padding: var(--av-space-4); border: var(--av-rule-section) solid var(--av-red); background: var(--av-paper); }
.av-alert--ok { border-color: var(--av-ink); }
.av-alert__title { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.av-alert ul { padding-left: 20px; margin: 0; font-size: var(--av-type-small); }

/* — tables — */
.av-table { width: 100%; border-collapse: collapse; font-size: var(--av-type-table); line-height: var(--av-lh-table); font-variant-numeric: tabular-nums; }
.av-table th { text-align: left; font-size: var(--av-type-label); letter-spacing: var(--av-track-label); text-transform: uppercase; font-weight: 600; color: var(--av-ink-muted); padding: 10px 8px; border-bottom: var(--av-rule-section) solid var(--av-rule); vertical-align: bottom; }
.av-table td { padding: 10px 8px; border-bottom: var(--av-rule-row) solid var(--av-rule-soft); vertical-align: top; }
.av-table tbody tr:hover { background: var(--av-surface); }
.av-table--decision tbody tr[data-decision="true"] td { border-bottom: var(--av-rule-signature) solid var(--av-red); }
.av-table-wrap { overflow-x: auto; position: relative; }

/* — feature rows (ruled) — */
.av-feature { display: grid; gap: var(--av-space-4); padding: var(--av-space-8) 0; border-top: var(--av-rule-section) solid var(--av-rule); grid-template-columns: minmax(0, 1fr); }
.av-feature__num { font-weight: 800; font-variant-numeric: tabular-nums; font-size: var(--av-type-small); }
.av-feature__copy { display: grid; gap: var(--av-space-3); }
.av-feature__copy p { color: var(--av-ink-muted); max-width: 52ch; }
.av-feature__vis { min-width: 0; max-width: 100%; }
.av-table-wrap, .av-feature__vis, .av-ledger__col, .av-step, .av-agent, .av-draft, .av-empty { min-width: 0; }
@media (min-width: 720px) { .av-feature { grid-template-columns: 56px minmax(0, 1fr); } .av-feature__vis { grid-column: 2; } }
@media (min-width: 960px) { .av-feature { grid-template-columns: 56px minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--av-space-8); } .av-feature__vis { grid-column: 3; grid-row: 1; } }

/* — status ledger — */
.av-ledger { display: grid; grid-template-columns: minmax(0, 1fr); }
.av-ledger__col { border-top: var(--av-rule-section) solid var(--av-ink); padding: var(--av-space-4) 0 var(--av-space-6); display: grid; gap: var(--av-space-3); align-content: start; min-width: 0; }
.av-ledger__col ul { list-style: none; display: grid; gap: 8px; font-size: var(--av-type-small); }
.av-ledger__col li { padding-bottom: 8px; border-bottom: 1px solid var(--av-rule-soft); }
@media (min-width: 720px) { .av-ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--av-space-8); } }

/* — steps — */
.av-steps { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); counter-reset: step; }
.av-step { display: grid; gap: var(--av-space-3); padding: var(--av-space-6) 0; border-top: var(--av-rule-section) solid var(--av-rule); align-content: start; }
.av-step__num { font-weight: 800; font-size: var(--av-type-h3); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .av-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--av-space-8); } }

/* — pricing — */
.av-pricing { display: grid; gap: var(--av-space-6); grid-template-columns: minmax(0, 1fr); }
.av-pkg { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--av-space-4); padding: var(--av-space-6); background: var(--av-surface); border-top: var(--av-rule-section) solid var(--av-ink); align-content: start; min-width: 0; overflow-wrap: anywhere; }
.av-pkg__name { font-size: var(--av-type-h3); font-weight: 800; letter-spacing: var(--av-track-h3); }
.av-pkg__for { color: var(--av-ink-muted); font-size: var(--av-type-small); min-height: 2.6em; }
.av-pkg__prices { display: grid; gap: 12px; padding: var(--av-space-4) 0; border-top: 1px solid var(--av-rule-soft); border-bottom: 1px solid var(--av-rule-soft); }
.av-price { display: grid; gap: 2px; }
.av-price__label { font-size: var(--av-type-label); letter-spacing: var(--av-track-label); text-transform: uppercase; font-weight: 600; color: var(--av-ink-muted); }
.av-price__amount { font-size: var(--av-type-h2); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.av-price__unit { font-size: var(--av-type-small); color: var(--av-ink-muted); }
.av-pkg__list { list-style: none; display: grid; gap: 10px; font-size: var(--av-type-small); }
.av-pkg__list li { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: flex-start; justify-content: space-between; min-width: 0; }
.av-pkg__list li > span:first-child { min-width: 0; flex: 1 1 160px; }
.av-pkg__list .fa-check { margin-top: 4px; font-size: 12px; }
@media (min-width: 720px) { .av-pricing { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* — empty state — */
.av-empty { display: grid; gap: var(--av-space-3); padding: var(--av-space-8) var(--av-space-6); border: 1px dashed var(--av-border); justify-items: start; }
.av-empty .fa-solid { font-size: 20px; color: var(--av-ink-muted); }
.av-empty__title { font-weight: 700; font-size: var(--av-type-h4); }
.av-empty p { color: var(--av-ink-muted); font-size: var(--av-type-small); max-width: 40ch; }

/* — poster close (the accent's one field) — */
.av-close { background: var(--av-red); color: var(--av-paper); }
.av-close .av-wrap { padding-top: var(--av-space-16); padding-bottom: var(--av-space-16); display: grid; gap: var(--av-space-8); }
.av-close :focus-visible { outline-color: var(--av-paper); }

/* — footer — */
.av-footer { border-top: var(--av-rule-section) solid var(--av-rule); padding: var(--av-space-12) 0 var(--av-space-8); font-size: var(--av-type-small); }
.av-footer__grid { display: grid; gap: var(--av-space-8); grid-template-columns: minmax(0, 1fr); }
.av-footer__col { display: grid; gap: 10px; align-content: start; }
.av-footer__col a { color: var(--av-ink); text-decoration: none; }
.av-footer__col a:hover { text-decoration: underline; }
.av-footer__bottom { margin-top: var(--av-space-12); padding-top: var(--av-space-6); border-top: 1px solid var(--av-rule-soft); display: flex; flex-wrap: wrap; gap: var(--av-space-4); justify-content: space-between; align-items: center; color: var(--av-ink-muted); font-size: var(--av-type-caption); }
@media (min-width: 720px) { .av-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .av-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* — client portal (phone) — */
.av-portal { font-family: var(--av-font); font-size: var(--av-type-portal-body); line-height: var(--av-lh-portal-body); color: var(--av-ink); background: var(--av-paper); display: flex; flex-direction: column; gap: var(--av-space-4); padding: var(--av-space-4); min-height: 100%; }
.av-portal__firm { font-size: var(--av-type-label); letter-spacing: var(--av-track-label); text-transform: uppercase; font-weight: 600; color: var(--av-ink-muted); }
.av-portal__title { font-size: var(--av-type-portal-title); line-height: var(--av-lh-portal-title); font-weight: 700; letter-spacing: var(--av-track-portal-title); }
.av-portal__card { background: var(--av-surface); padding: var(--av-space-4); display: grid; gap: 8px; }
.av-portal__label { font-size: var(--av-type-small); color: var(--av-ink-muted); }
.av-portal__value { font-weight: 700; }
.av-portal__list { list-style: none; display: grid; }
.av-portal__list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--av-rule-soft); }
.av-portal__list li:first-child { border-top: var(--av-rule-section) solid var(--av-ink); }
.av-portal__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.av-portal__date { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.av-portal__notice { font-size: var(--av-type-small); color: var(--av-ink-muted); display: flex; gap: 8px; align-items: flex-start; }
.av-portal .av-btn { min-height: 52px; font-size: var(--av-type-body); }
.av-portal__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--av-rule-section) solid var(--av-rule); margin-top: auto; }
.av-portal__tabs a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px 6px; font-size: 12px; font-weight: 600; color: var(--av-ink-muted); text-decoration: none; }
.av-portal__tabs a[aria-current="page"] { color: var(--av-ink); box-shadow: inset 0 2px 0 var(--av-ink); }
.av-portal__tabs .fa-solid { font-size: 16px; }

/* — admin login (colours-only demo of Metronic wearing the brand) — */
.av-login { display: grid; place-items: center; min-height: 560px; background: var(--av-neutral-200); padding: var(--av-space-6); }
.av-login__card { width: min(400px, 100%); background: #ffffff; padding: var(--av-space-8); display: grid; gap: var(--av-space-4); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: var(--av-shadow-md); }
.av-login__card .av-input { background: #ffffff; }
.av-login.dark { background: #1b1a19; }
.av-login.dark .av-login__card { background: #232120; color: var(--av-paper); }
.av-login.dark .av-input { background: #1b1a19; border-color: #3a3736; color: var(--av-paper); }
.av-login.dark .av-btn--primary { background: var(--av-paper); color: var(--av-ink); border-color: var(--av-paper); box-shadow: inset 0 -2px 0 var(--av-red-400); }
.av-login.dark .av-endorse__text, .av-login.dark .av-field__hint { color: var(--av-neutral-400); }

/* — misc — */
.av-placeholder { display: grid; place-items: center; text-align: center; padding: var(--av-space-6); border: 1px dashed var(--av-border); color: var(--av-ink-muted); font-size: var(--av-type-small); background: var(--av-surface); }
.av-note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--av-type-small); color: var(--av-ink-muted); }
.av-note .fa-solid { margin-top: 4px; font-size: 12px; }
.av-list { list-style: none; display: grid; }
.av-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--av-rule-soft); }
.av-list li:first-child { border-top: var(--av-rule-section) solid var(--av-rule); }
.av-list .fa-solid { margin-top: 5px; font-size: 13px; flex: none; width: 16px; text-align: center; }
.av-cal-wrap { min-width: 0; }
.av-cal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--av-rule-soft); border: 1px solid var(--av-rule-soft); min-width: 0; }
.av-cal__day { background: var(--av-paper); padding: 10px 12px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 12px; align-items: start; min-width: 0; }
.av-cal__day:not(:has(.av-event)) { display: none; }
.av-cal__events { display: grid; gap: 6px; min-width: 0; }
.av-event > span { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .av-cal { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .av-cal__day, .av-cal__day:not(:has(.av-event)) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 8px; min-height: 140px; align-content: start; }
}
.av-cal__dow { font-size: var(--av-type-label); letter-spacing: var(--av-track-label); text-transform: uppercase; color: var(--av-ink-muted); font-weight: 600; }
.av-doc { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--av-rule-soft); font-size: var(--av-type-small); }
.av-doc .fa-solid { margin-top: 3px; width: 16px; text-align: center; color: var(--av-ink-muted); }
.av-doc__meta { color: var(--av-ink-muted); font-size: var(--av-type-caption); }

/* — brandbook: colour roles, categories, button states, spec lists — */
.av-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 24px; }
.av-role { display: grid; gap: 12px; align-content: start; min-width: 0; font-size: 13px; line-height: 1.45; }
.av-role__swatch { height: 56px; border: 1px solid var(--av-rule-soft); }
.av-role__name { font-weight: 700; font-size: var(--av-type-body); }
.av-role__code { color: var(--av-ink-muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.av-role__k { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--av-ink-muted); margin-bottom: 2px; }
.av-role__contrast { list-style: none; display: grid; }
.av-role__contrast li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--av-rule-soft); font-variant-numeric: tabular-nums; }
.av-role__tier { color: var(--av-ink-muted); }
.av-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.av-cat { display: grid; gap: 10px; align-content: start; padding-top: 12px; border-top: 2px solid var(--crule); min-width: 0; font-size: 13px; }
.av-cat__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.av-cat__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--av-ink-muted); font-variant-numeric: tabular-nums; padding-top: 6px; border-top: 1px solid var(--av-rule-soft); }
.av-states { display: grid; border-bottom: 1px solid var(--av-rule-soft); }
.av-states__row { display: flex; flex-wrap: wrap; gap: 16px 24px; padding: 16px 0; border-top: 1px solid var(--av-rule-soft); align-items: flex-start; }
.av-states__row--red { background: var(--av-red); padding: 16px; color: var(--av-paper); }
.av-states__row--red .av-caption { color: var(--av-paper); }
.av-states__name { flex: 1 0 100%; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.av-state { display: grid; gap: 6px; justify-items: start; }
.av-spec { display: grid; border-bottom: 1px solid var(--av-rule-soft); }
.av-spec__row { display: grid; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--av-rule-soft); font-size: 13px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.av-spec__row > * { min-width: 0; overflow-wrap: anywhere; }
.av-spec__head { display: none; color: var(--av-ink-muted); font-size: var(--av-type-label); letter-spacing: var(--av-track-label); text-transform: uppercase; font-weight: 600; border-top: 0; border-bottom: 2px solid var(--av-rule); }
.av-spec__lang { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--av-ink-muted); }
.av-spec--gloss .av-spec__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.av-spec--scale .av-spec__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.av-spec--scale .av-spec__use { grid-column: 1 / -1; color: var(--av-ink-muted); }
@media (min-width: 720px) {
  .av-spec__head { display: grid; }
  .av-spec__lang { display: none; }
  .av-spec--gloss .av-spec__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .av-spec--scale .av-spec__row { grid-template-columns: 96px 72px 72px 72px 56px minmax(0, 1fr); }
  .av-spec--scale .av-spec__use { grid-column: auto; }
}

/* — motion — */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .av-btn.is-loading .av-spin { animation: none; }
}

/* Font Awesome 6 Free (solid + brands) subset, self-hosted as CSS masks. Licence: docs/brand/ICONS-LICENSE.txt */
.fa-solid,.fa-brands{display:inline-block;flex:none;width:1em;height:1em;background:currentColor;mask:var(--av-icon) center/contain no-repeat;-webkit-mask:var(--av-icon) center/contain no-repeat;vertical-align:-.1em}
.fa-apple{--av-icon:url("/img/icons/apple.svg?v=d226f53d")}
.fa-arrow-down{--av-icon:url("/img/icons/arrow-down.svg?v=80fdb1eb")}
.fa-arrow-right{--av-icon:url("/img/icons/arrow-right.svg?v=b10de0df")}
.fa-arrows-rotate{--av-icon:url("/img/icons/arrows-rotate.svg?v=fa464e43")}
.fa-arrow-up-from-bracket{--av-icon:url("/img/icons/arrow-up-from-bracket.svg?v=d397cfd2")}
.fa-arrow-up{--av-icon:url("/img/icons/arrow-up.svg?v=039ff0b1")}
.fa-ban{--av-icon:url("/img/icons/ban.svg?v=070b6c6e")}
.fa-bars-progress{--av-icon:url("/img/icons/bars-progress.svg?v=fe05df54")}
.fa-bars{--av-icon:url("/img/icons/bars.svg?v=1e087121")}
.fa-book{--av-icon:url("/img/icons/book.svg?v=30b29806")}
.fa-box-archive{--av-icon:url("/img/icons/box-archive.svg?v=e5a49168")}
.fa-briefcase{--av-icon:url("/img/icons/briefcase.svg?v=2dadf2e8")}
.fa-building{--av-icon:url("/img/icons/building.svg?v=bc81799e")}
.fa-calendar-check{--av-icon:url("/img/icons/calendar-check.svg?v=1a4eaed0")}
.fa-calendar-days{--av-icon:url("/img/icons/calendar-days.svg?v=eac0596f")}
.fa-chart-column{--av-icon:url("/img/icons/chart-column.svg?v=da7e3e90")}
.fa-check{--av-icon:url("/img/icons/check.svg?v=8e678c19")}
.fa-chevron-right{--av-icon:url("/img/icons/chevron-right.svg?v=aa3acf41")}
.fa-circle-check{--av-icon:url("/img/icons/circle-check.svg?v=1f69c783")}
.fa-circle-exclamation{--av-icon:url("/img/icons/circle-exclamation.svg?v=86782db8")}
.fa-circle-info{--av-icon:url("/img/icons/circle-info.svg?v=abc284c2")}
.fa-clipboard-list{--av-icon:url("/img/icons/clipboard-list.svg?v=4be807ab")}
.fa-clock{--av-icon:url("/img/icons/clock.svg?v=4f984b2e")}
.fa-cloud{--av-icon:url("/img/icons/cloud.svg?v=9ce8c02d")}
.fa-comments{--av-icon:url("/img/icons/comments.svg?v=d8226f7f")}
.fa-database{--av-icon:url("/img/icons/database.svg?v=31d3d7f5")}
.fa-door-open{--av-icon:url("/img/icons/door-open.svg?v=cd466270")}
.fa-download{--av-icon:url("/img/icons/download.svg?v=aaaf0323")}
.fa-envelope{--av-icon:url("/img/icons/envelope.svg?v=879919d2")}
.fa-eye-slash{--av-icon:url("/img/icons/eye-slash.svg?v=e7c8fc79")}
.fa-file-invoice{--av-icon:url("/img/icons/file-invoice.svg?v=e7ca099f")}
.fa-file-lines{--av-icon:url("/img/icons/file-lines.svg?v=9eb1c01e")}
.fa-file-pdf{--av-icon:url("/img/icons/file-pdf.svg?v=11e46afb")}
.fa-file-pen{--av-icon:url("/img/icons/file-pen.svg?v=b91ded1d")}
.fa-file-signature{--av-icon:url("/img/icons/file-signature.svg?v=b1c5db1a")}
.fa-folder{--av-icon:url("/img/icons/folder.svg?v=32d30f91")}
.fa-gavel{--av-icon:url("/img/icons/gavel.svg?v=73e46c0a")}
.fa-globe{--av-icon:url("/img/icons/globe.svg?v=bd124bea")}
.fa-google{--av-icon:url("/img/icons/google.svg?v=a99ef24d")}
.fa-hourglass-half{--av-icon:url("/img/icons/hourglass-half.svg?v=cde70b0d")}
.fa-id-badge{--av-icon:url("/img/icons/id-badge.svg?v=f21e628e")}
.fa-image{--av-icon:url("/img/icons/image.svg?v=e6b42137")}
.fa-inbox{--av-icon:url("/img/icons/inbox.svg?v=c24e8c8e")}
.fa-key{--av-icon:url("/img/icons/key.svg?v=e015bcdd")}
.fa-landmark{--av-icon:url("/img/icons/landmark.svg?v=c28e4ffd")}
.fa-layer-group{--av-icon:url("/img/icons/layer-group.svg?v=66a03d8d")}
.fa-list-check{--av-icon:url("/img/icons/list-check.svg?v=9be821be")}
.fa-lock{--av-icon:url("/img/icons/lock.svg?v=ce544ab8")}
.fa-magnifying-glass{--av-icon:url("/img/icons/magnifying-glass.svg?v=c4ec9230")}
.fa-microsoft{--av-icon:url("/img/icons/microsoft.svg?v=9fe7c1bc")}
.fa-mobile-screen{--av-icon:url("/img/icons/mobile-screen.svg?v=d1d50fe8")}
.fa-newspaper{--av-icon:url("/img/icons/newspaper.svg?v=9cacd225")}
.fa-paper-plane{--av-icon:url("/img/icons/paper-plane.svg?v=70cc1f07")}
.fa-people-roof{--av-icon:url("/img/icons/people-roof.svg?v=f5492c24")}
.fa-phone{--av-icon:url("/img/icons/phone.svg?v=1e5320bf")}
.fa-plug{--av-icon:url("/img/icons/plug.svg?v=756cb2bf")}
.fa-scale-balanced{--av-icon:url("/img/icons/scale-balanced.svg?v=12d91bcb")}
.fa-scale-unbalanced{--av-icon:url("/img/icons/scale-unbalanced.svg?v=7533e355")}
.fa-server{--av-icon:url("/img/icons/server.svg?v=227377ec")}
.fa-shield-halved{--av-icon:url("/img/icons/shield-halved.svg?v=d97e1431")}
.fa-signature{--av-icon:url("/img/icons/signature.svg?v=7801a2ea")}
.fa-sliders{--av-icon:url("/img/icons/sliders.svg?v=9335b98d")}
.fa-stamp{--av-icon:url("/img/icons/stamp.svg?v=03553f62")}
.fa-triangle-exclamation{--av-icon:url("/img/icons/triangle-exclamation.svg?v=f5086d90")}
.fa-user-check{--av-icon:url("/img/icons/user-check.svg?v=899e6fb3")}
.fa-user-lock{--av-icon:url("/img/icons/user-lock.svg?v=f5765f6a")}
.fa-users{--av-icon:url("/img/icons/users.svg?v=dc8e0cc4")}
.fa-user{--av-icon:url("/img/icons/user.svg?v=b6f58850")}
.fa-xmark{--av-icon:url("/img/icons/xmark.svg?v=4ba3c2ff")}
.fa-theme{--av-icon:url("/img/icons/theme.svg?v=13384778")}

/* AVODesk website — what the site adds on top of the brandbook layer
   (brand/tokens.css + brand/components.css). Same grammar: ink rules, nothing
   rounded, no decorative shadows. Red is the brand's one colour: the signature
   line, the visitor's own firm in the infographics, the place where a person decides. */

/* — themes: light by default, dark only by the header switch (js/theme.js) —
   Light is a calm desk: the page is a soft grey, bands a step darker, and the
   brightest surface is the paper that lies on it (cards, sheets). */
/* — the font before the web font arrives. Archivo loads with font-display: swap; until then the
   text is set in a local font. If that font is narrower or wider, every line re-wraps when
   Archivo comes in and the page moves (a layout shift). So the fallback is a named local font
   (Arial; Liberation Sans on Linux, Roboto on Android: near the same widths) scaled per weight to
   the width of Archivo. Measured with ai-scripts site-check/fontratio.js; a new font needs new
   numbers. Line heights are unitless everywhere, so only the width matters. — */
@font-face { font-family: 'Archivo Fallback'; font-weight: 100 549; src: local('Arial'), local('Liberation Sans'), local('Roboto'); size-adjust: 99%; }
@font-face { font-family: 'Archivo Fallback'; font-weight: 550 649; src: local('Arial Bold'), local('Liberation Sans Bold'), local('Roboto Bold'); size-adjust: 94.7%; }
@font-face { font-family: 'Archivo Fallback'; font-weight: 650 749; src: local('Arial Bold'), local('Liberation Sans Bold'), local('Roboto Bold'); size-adjust: 98.5%; }
@font-face { font-family: 'Archivo Fallback'; font-weight: 750 900; src: local('Arial Bold'), local('Liberation Sans Bold'), local('Roboto Bold'); size-adjust: 104.2%; }
:root { --av-font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; }

:root {
  color-scheme: light;
  --chrome-h: 76px;
  --av-paper: #ebe9e9;          /* page */
  --av-surface: #e0dddd;        /* bands, inset controls */
  --av-raised: #f5f4f3;         /* paper lying on the desk: sheets, tiles, cards */
  --av-ink: #201e1d;
  --av-ink-muted: #5a5757;
  --av-ink-faint: #7d7979;
  --av-rule: #9f9d9d;
  --av-rule-soft: #cfcbcb;
  --av-border: #7d7979;
  --av-red: #ec3013;            /* the line: the same red in both themes */
  --av-red-deep: #ae1800;       /* red as text */
  --av-neutral-200: #e0dddd;
  --av-neutral-300: #d3cfcf;
  --band-ink-bg: #201e1d; --band-ink-fg: #f3f2f2; --band-ink-muted: #bab6b6; --band-ink-rule: #4a4644; --band-ink-raised: #2e2c2b;
  --close-bg: #ec3013; --close-fg: #f3f2f2;
  --close-offer-bg: #c9260c;    /* the outlined action on the red band: light text on #ec3013 is 3.75:1, on this 4.99:1 */

  /* type: one step up from the brandbook scale, for reading at arm's length */
  --av-type-h1: 52px; --av-type-h2: 40px; --av-type-h3: 28px; --av-type-h4: 22px;
  --av-type-lead: 22px; --av-type-body: 18px; --av-type-small: 16px; --av-type-caption: 14px; --av-type-label: 13px; --av-type-table: 16px;
  --av-container-content: 1440px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --av-paper: #1b1a19; --av-surface: #252322; --av-raised: #2e2c2b;
  --av-ink: #f3f2f2; --av-ink-muted: #bab6b6; --av-ink-faint: #9b9797;
  --av-rule: #5a5655; --av-rule-soft: #3f3c3a; --av-border: #8a8686;
  --av-red-deep: #ff9783; --av-red-tint: #47211b;
  --av-neutral-100: #232120; --av-neutral-200: #2e2c2b; --av-neutral-300: #3a3736; --av-neutral-400: #605d5d; --av-neutral-500: #7d7979;
  --av-neutral-600: #9b9797; --av-neutral-700: #bab6b6; --av-neutral-800: #d7d3d3; --av-neutral-900: #eae7e7;
  --av-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --band-ink-bg: #111010; --band-ink-raised: #252322; --band-ink-rule: #3f3c3a;
  --close-bg: #c9260c;
}

/* selected text: dark red with white, readable in both themes; ink on the red band */
::selection { background: #ae1800; color: #fff; }
.av-close ::selection { background: #201e1d; color: #f3f2f2; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--chrome-h) + 20px); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
.av-wrap { padding-left: clamp(20px, 5vw, 80px); padding-right: clamp(20px, 5vw, 80px); }
.av-display, .av-h1, .av-h2 { overflow-wrap: normal; hyphens: manual; text-wrap: balance; }
.av-lead { max-width: 52ch; }
.av-kicker { margin: 0; }
/* The heading of a page: the line that names the subject (kicker) and the title, in one <h1>. */
.h1-stack { display: grid; gap: var(--av-space-6); justify-items: start; font: inherit; letter-spacing: normal; }
.hero .h1-stack { gap: var(--av-space-8); }
.av-btn { font-size: var(--av-type-small); min-height: 48px; padding: 0 20px; }
.av-btn--lg { min-height: 56px; padding: 0 26px; font-size: var(--av-type-body); }

/* — small pieces — */
.av-skip { position: fixed; top: -100px; left: 12px; padding: 12px; background: var(--av-raised); color: var(--av-ink); z-index: 11000; }
.av-skip:focus { top: 12px; }
.av-powered { display: inline-flex; gap: 8px; align-items: center; color: inherit; text-decoration: none; }
.av-powered img { object-fit: contain; filter: brightness(0); }
[data-theme="dark"] .av-powered img { filter: none; }
.av-top { position: fixed; right: 20px; bottom: 24px; z-index: 80; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--av-ink); background: var(--av-raised); color: var(--av-ink); cursor: pointer; }
.av-top:hover { background: var(--av-surface); }
.av-privacy { border-top: 1px solid var(--av-rule-soft); padding-top: 16px; }
.av-privacy summary { cursor: pointer; display: flex; gap: 10px; align-items: center; font-size: var(--av-type-small); font-weight: 600; }
.av-privacy p { margin-top: 12px; font-size: var(--av-type-small); max-width: 60ch; }

/* — header — */
.site-header { position: sticky; top: 0; z-index: 60; }
.site-header .av-header__in { min-height: var(--chrome-h); gap: var(--av-space-3); }
.av-logo__word { font-size: 26px; font-weight: 800; padding-bottom: 4px; border-bottom: 3px solid var(--av-red); }
.site-header .av-logo__word { font-size: 31px; padding-bottom: 5px; border-bottom-width: 4px; }
@media (max-width: 479px) { .site-header .av-logo__word { font-size: 27px; } }
.av-nav a { font-size: var(--av-type-small); }
.site-header .av-btn { min-height: 44px; padding: 0 16px; }
.site-header .av-btn--primary { display: inline-flex; }
.site-header__offer { display: none; }
/* top bar: useful links on the left; languages and the theme switch (a small icon, no frame) on the right */
.site-topbar .av-topbar__in { min-height: 38px; gap: 0 clamp(12px, 2vw, 24px); flex-wrap: nowrap; }
.site-topbar .av-topbar__contact { gap: 0 clamp(14px, 2.2vw, 28px); flex-wrap: nowrap; overflow: hidden; }
.site-topbar .av-topbar__contact a { min-height: 38px; font-size: 14px; }
.site-topbar .av-topbar__contact .fa-solid { font-size: 12px; }
.site-topbar .av-topbar__contact a:hover { color: var(--av-ink); text-decoration-color: var(--av-red); text-decoration-thickness: 2px; }
@media (max-width: 719px) { .site-topbar .av-topbar__contact a:nth-child(n+2) { display: none; } }
@media (min-width: 720px) and (max-width: 959px) { .site-topbar .av-topbar__contact a:nth-child(n+3) { display: none; } }
.site-lang { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.site-lang a { display: inline-grid; place-items: center; min-width: 34px; min-height: 32px; padding: 0 6px; color: var(--av-ink-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; border-bottom: 2px solid transparent; }
.site-lang a + a { margin-left: 2px; }
.site-lang a:hover { color: var(--av-ink); border-bottom-color: var(--av-ink); }
.site-lang a[aria-current] { color: var(--av-ink); font-weight: 800; border-bottom-color: var(--av-red); }
.theme-switch { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; padding: 0; border: 0; background: transparent; color: var(--av-ink-muted); font-size: 15px; cursor: pointer; }
.theme-switch:hover { color: var(--av-ink); }
.theme-switch:focus-visible { outline: 2px solid var(--av-red); outline-offset: 2px; }
[data-theme="dark"] .theme-switch .fa-solid { transform: scaleX(-1); }
.av-menu summary { min-height: 44px; min-width: 44px; justify-content: center; font-size: 18px; }
.av-menu__panel { color: var(--av-ink); background: var(--av-raised); }
.av-menu__panel a { font-size: var(--av-type-body); }
/* five menu entries and two buttons need 1120 px; below that the menu is the <details> panel */
@media (min-width: 1120px) { .site-header .site-header__offer { display: inline-flex; } }
@media (min-width: 1120px) { .av-nav { gap: clamp(20px, 2.4vw, 36px); margin-right: var(--av-space-6); } }
@media (min-width: 960px) and (max-width: 1119px) { .site-header .av-nav { display: none; } .site-header .av-menu { display: block; } }
.av-menu__foot .av-btn { display: flex; align-items: center; }

/* header submenu: a group label that opens the pages under it */
.nav-group { position: relative; display: inline-flex; }
.nav-group__btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--av-ink); font: inherit; font-size: var(--av-type-small); font-weight: 500; cursor: pointer; white-space: nowrap; }
.nav-group__btn .fa-solid { font-size: 10px; transform: rotate(90deg); transition: transform var(--av-dur-fast) var(--av-ease); }
.nav-group__btn.is-current { border-bottom-color: var(--av-ink); font-weight: 700; }
.nav-group__panel { position: absolute; left: -20px; top: 100%; z-index: 30; min-width: 260px; padding-top: 14px; display: none; }
.nav-group__panel::before { content: ""; position: absolute; inset: 14px 0 0; background: var(--av-raised); border: 2px solid var(--av-ink); box-shadow: var(--av-shadow-lg); z-index: -1; }
.nav-group__panel a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--av-rule-soft); border-left: 0; white-space: nowrap; font-weight: 500; position: relative; margin: 0 2px; }
.nav-group__panel a:first-child { margin-top: 2px; }
.nav-group__panel a:last-child { border-bottom: 0; margin-bottom: 2px; }
.nav-group:hover .nav-group__panel, .nav-group:focus-within .nav-group__panel, .nav-group.is-open .nav-group__panel { display: block; }
.nav-group:hover .nav-group__btn .fa-solid, .nav-group.is-open .nav-group__btn .fa-solid { transform: rotate(-90deg); }
.av-menu__group { display: block; padding: 16px 16px 6px; }
.av-menu__panel .av-menu__sub { padding-left: 32px; }

/* — sections — */
.sec { display: grid; gap: clamp(32px, 4vw, 56px); padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.sec--tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.sec--flush { padding-top: 0; }
.band { background: var(--av-surface); }
.band--ink { background: var(--band-ink-bg); color: var(--band-ink-fg); --av-ink: var(--band-ink-fg); --av-ink-muted: var(--band-ink-muted); --av-rule: var(--band-ink-rule); --av-rule-soft: var(--band-ink-rule); --av-border: #8a8686; --av-raised: var(--band-ink-raised); --av-surface: var(--band-ink-raised); --av-paper: var(--band-ink-bg); --av-neutral-200: #3a3736; }
.band--ink .av-kicker, .band--ink .av-muted { color: var(--band-ink-muted); }
.sec-head { display: grid; gap: var(--av-space-4); max-width: 880px; }
.sec-head .av-h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.02em; }
.sec__note { margin-top: calc(-1 * var(--av-space-2)); }
.sec__note--end { padding: var(--av-space-8) 0 var(--av-space-12); margin: 0; }
.sec__more { display: flex; }
.sec__num-title { display: flex; gap: 18px; align-items: baseline; }
.sec__num-title span { color: var(--av-ink-muted); font-size: 0.6em; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--av-space-3); }
.photo { display: block; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* two columns: copy + visual */
.split { grid-template-columns: minmax(0, 1fr); align-items: center; }
.split__copy { display: grid; gap: clamp(28px, 3vw, 40px); align-content: center; min-width: 0; }
.split__vis { display: grid; gap: var(--av-space-6); min-width: 0; }
.split__photo { aspect-ratio: 3 / 2; overflow: hidden; }
.split__photo .photo { height: 100%; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 7vw, 120px); }
  .split--photo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

/* — page head (inner pages) — */
.page-head { display: grid; gap: var(--av-space-6); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-head .av-h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.02em; max-width: 18ch; }
.page-head__copy { display: grid; gap: var(--av-space-6); align-content: center; }
.page-head__photo { aspect-ratio: 3 / 2; overflow: hidden; }
.page-head__photo .photo { height: 100%; }
.page-head--solo { padding-bottom: 96px; min-height: 60vh; align-content: center; }
@media (min-width: 960px) { .page-head--photo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(48px, 7vw, 120px); align-items: center; } }

/* — hero: the copy, and a sheet of paper lying on the photograph of the desk — */
.hero { border-bottom: var(--av-rule-section) solid var(--av-rule); }
.hero__in { display: grid; gap: var(--av-space-12); padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero__copy { display: grid; gap: var(--av-space-8); align-content: center; justify-items: start; }
/* the headline is two short sentences and always sits on exactly two lines */
.hero .av-display { font-size: clamp(50px, 13vw, 92px); line-height: 1; letter-spacing: -0.03em; margin-left: 0; text-wrap: initial; }
.hero .av-display .line { white-space: nowrap; }
@media (min-width: 960px) { .hero .av-display { font-size: clamp(56px, 6.4vw, 100px); } }
.hero .av-lead { font-size: clamp(20px, 1.9vw, 24px); max-width: 40ch; }
.hero__vis { display: grid; min-width: 0; align-content: center; }
.hero__photo { aspect-ratio: 3 / 2; overflow: hidden; }
.hero__photo .photo { height: 100%; }
.hero .sheet { position: relative; width: 86%; justify-self: end; margin-top: -26%; }
@media (min-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: clamp(40px, 5vw, 96px); align-items: center; min-height: min(calc(100dvh - var(--chrome-h)), 900px); padding-top: clamp(40px, 5vh, 72px); padding-bottom: clamp(40px, 5vh, 72px); }
  .hero .sheet { width: 74%; margin-right: -4%; }
}

/* the instance sheet: a ruled page listing what is inside */
.sheet { background: var(--av-raised); border: var(--av-rule-section) solid var(--av-ink); padding: clamp(22px, 3vw, 32px); display: grid; gap: var(--av-space-4); min-width: 0; }
.sheet__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-bottom: var(--av-space-3); border-bottom: var(--av-rule-section) solid var(--av-ink); }
.sheet__rows li { display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--av-rule-soft); }
.sheet__num { font-size: var(--av-type-caption); font-weight: 600; color: var(--av-ink-muted); }
.sheet__title { font-weight: 700; font-size: 20px; line-height: 1.25; }
.sheet__rows .fa-solid { font-size: 18px; color: var(--av-ink-muted); justify-self: end; }
.sheet__sign { display: grid; gap: 8px; padding-top: var(--av-space-2); }
.sheet__sign .av-sign { width: 100%; height: 3px; }
[data-draw].is-drawing { animation: av-draw 600ms var(--av-ease) both; }

/* — dedicated vs shared — */
.versus { display: grid; gap: var(--av-space-8); grid-template-columns: minmax(0, 1fr); }
.versus__panel { display: grid; gap: var(--av-space-4); align-content: start; min-width: 0; }
.versus__box { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; padding: clamp(14px, 2vw, 22px); border: 1px dashed var(--av-border); min-height: 360px; }
.versus__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.versus__grid span { display: grid; place-items: center; min-height: 34px; border: 1px solid var(--av-rule); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--av-ink-muted); }
.versus__grid .is-you { background: var(--av-red); border-color: var(--av-red); }
.versus__db { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--av-rule); font-size: var(--av-type-small); font-weight: 600; }
.versus__legend { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: var(--av-type-small); }
.versus__legend span { display: inline-flex; align-items: center; gap: 10px; }
.versus__key { display: inline-block; flex: none; width: 14px; height: 14px; border: 1px solid var(--av-rule); }
.versus__key--you { background: var(--av-red); border-color: var(--av-red); }
.versus__box--own { border: 3px solid var(--av-red); background: var(--av-raised); grid-template-rows: auto minmax(0, 1fr) auto; gap: 22px; }
.versus__firm { display: flex; gap: 14px; align-items: center; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.versus__firm .versus__key { width: 22px; height: 22px; }
.versus__server { position: relative; align-self: stretch; display: grid; align-content: center; padding: 34px 14px 14px; border: 1px solid var(--av-ink); background: var(--av-paper); }
.versus__server-tag { position: absolute; top: -12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; background: var(--av-ink); color: var(--av-paper); white-space: nowrap; }
.versus__server-tag .fa-solid { font-size: 12px; }
.versus__parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.versus__parts li { display: grid; gap: 6px; align-content: start; justify-items: start; padding: 16px 14px; border: 1px solid var(--av-ink); background: var(--av-raised); min-width: 0; }
.versus__parts .fa-solid { font-size: 24px; margin-bottom: 6px; }
.versus__parts strong { font-size: var(--av-type-body); line-height: 1.2; overflow-wrap: normal; hyphens: manual; }
.versus__parts small { font-size: var(--av-type-caption); line-height: 1.35; color: var(--av-ink-muted); }
.versus__db--own { border-color: var(--av-ink); }
@media (min-width: 860px) { .versus { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); } }
@media (max-width: 559px), (min-width: 860px) and (max-width: 1139px) { .versus__parts { grid-template-columns: minmax(0, 1fr); gap: 8px; } .versus__parts li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; } .versus__parts .fa-solid { grid-row: span 2; font-size: 20px; margin: 0; } .versus__server { padding: 30px 10px 10px; } }

/* strong points (home): four plates, each a link to its page */
.strengths { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.strength { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 28px 24px 24px; background: var(--av-raised); border: 1px solid var(--av-rule); border-top: 3px solid var(--av-ink); color: var(--av-ink); text-decoration: none; transition: background-color var(--av-dur-fast) var(--av-ease), color var(--av-dur-fast) var(--av-ease); }
.strength > .fa-solid { font-size: 28px; }
.strength p { font-size: var(--av-type-small); line-height: 1.5; color: var(--av-ink-muted); }
.strength__more { display: inline-flex; align-items: center; gap: 10px; font-size: var(--av-type-small); font-weight: 700; }
.strength__more .fa-solid { font-size: 13px; }
@media (min-width: 720px) { .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .strengths { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* integrations (home): the four groups of services, on rules */
.links { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); }
.link { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: var(--av-space-6) 0; border-top: var(--av-rule-section) solid var(--av-rule); align-content: start; }
.link > .fa-solid { grid-row: span 2; font-size: 24px; margin-top: 3px; }
.link p { grid-column: 2; font-size: var(--av-type-small); line-height: 1.5; }
@media (min-width: 720px) { .links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* facts: icon + title + one line, on rules */
.facts { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); }
.fact { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: var(--av-space-6) 0; border-top: var(--av-rule-section) solid var(--av-rule); align-content: start; }
.fact > .fa-solid { grid-row: span 2; font-size: 24px; margin-top: 3px; }
.fact p { grid-column: 2; }
@media (min-width: 720px) { .facts--2, .facts--3, .facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* — the platform map: who works, the dedicated instance, what it is connected to —
   One grid. Small screens: a vertical flow. From 1240 px: three zones side by side,
   people → instance → outside, with the chat zone running from the lawyers into the
   instance, over the AI assistants. */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 40px auto auto auto auto 8px auto auto; column-gap: 12px; row-gap: 14px; position: relative; }
.arch strong { display: block; font-size: 19px; line-height: 1.25; }
.arch small { display: block; font-size: var(--av-type-caption); line-height: 1.4; color: var(--av-ink-muted); }
.arch__plabel { grid-column: 1 / -1; grid-row: 1; }
.arch__plate, .arch__tile, .arch__chat { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; min-width: 0; position: relative; z-index: 2; }
.arch__plate { border: 1px solid var(--av-ink); background: var(--av-raised); }
.arch__plate .fa-solid, .arch__tile .fa-solid, .arch__chat .fa-solid { font-size: 22px; }
.arch__law { grid-column: 1; grid-row: 2; }
.arch__cli { grid-column: 2; grid-row: 2; }
.arch__chatzone, .arch__link--erp { display: none; }
/* small screens: the clients' line runs beside the chat box, straight into the instance */
.arch__link--portal { grid-column: 2; grid-row: 3; justify-self: center; width: 2px; margin: -14px 0; background: var(--av-ink); }
.arch__link--portal span { display: none; }
.arch__chat { grid-column: 1; grid-row: 3; border: 2px dashed var(--av-ink); background: transparent; }
.arch__chat::before, .arch__chat::after { content: ""; position: absolute; left: 50%; width: 2px; height: 14px; margin-left: -1px; background: var(--av-ink); }
.arch__chat::before { top: -16px; }
.arch__chat::after { bottom: -16px; }
.arch__inst { grid-column: 1 / -1; grid-row: 4 / 10; border: 3px solid var(--av-red); background: var(--av-paper); position: relative; z-index: 0; }
.band .arch__inst { background: var(--av-paper); }
/* the instance border draws itself once, clockwise, like a pen going round the frame:
   it leaves the label in the top left corner, runs right, down, left and back up; the
   label is there from the start (js adds the classes; without js or with reduced
   motion the border is simply there) */
.arch__inst.will-draw, .arch__inst.is-drawing { border-color: transparent; background-image: linear-gradient(var(--av-red), var(--av-red)), linear-gradient(var(--av-red), var(--av-red)), linear-gradient(var(--av-red), var(--av-red)), linear-gradient(var(--av-red), var(--av-red)); background-repeat: no-repeat; background-origin: border-box; background-position: left top, right top, right bottom, left bottom; background-size: 0 3px, 3px 0, 0 3px, 3px 0; }
.arch__inst.is-drawing { animation: arch-draw 1600ms linear 200ms both; }
@keyframes arch-draw {
  0% { background-size: 0 3px, 3px 0, 0 3px, 3px 0; }
  25% { background-size: 100% 3px, 3px 0, 0 3px, 3px 0; }
  50% { background-size: 100% 3px, 3px 100%, 0 3px, 3px 0; }
  75% { background-size: 100% 3px, 3px 100%, 100% 3px, 3px 0; }
  100% { background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%; }
}

.arch__inst .arch__tag { top: 12px; }
.arch__tag { position: absolute; top: -13px; left: 14px; padding: 5px 10px; background: var(--av-red); color: #fff; white-space: nowrap; z-index: 3; }
.arch__tag--ink { background: var(--av-ink); color: var(--av-paper); }
.arch__tile { grid-column: 1 / -1; margin: 0 16px; border: 1px solid var(--av-ink); background: var(--av-raised); color: var(--av-ink); text-decoration: none; transition: background-color var(--av-dur-fast) var(--av-ease); }
.arch__tile--erp { grid-row: 5; }
.arch__tile--ai { grid-row: 6; }
.arch__tile--portal { grid-row: 7; }
.arch__tile--docs { grid-row: 8; background: var(--av-surface); border-style: solid; }
.arch__gate { grid-column: 1 / -1; grid-row: 10; display: grid; justify-items: center; position: relative; padding: 14px 0; }
.arch__gate::before { content: ""; position: absolute; top: -14px; bottom: -14px; left: 50%; width: 2px; background: var(--av-ink); }
.arch__gate-tag { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--av-ink); background: var(--av-raised); font-size: var(--av-type-caption); font-weight: 700; line-height: 1.2; }
.arch__gate-tag .fa-solid { font-size: 15px; }
.arch__out { grid-column: 1 / -1; grid-row: 11; position: relative; border: 1px solid var(--av-ink); background: var(--av-raised); padding: 30px 20px 12px; }
.arch__groups { display: grid; grid-template-columns: minmax(0, 1fr); }
.arch__groups li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--av-rule-soft); }
.arch__groups li:last-child { border-bottom: 0; }
.arch__groups .fa-solid { font-size: 18px; margin-top: 3px; }
.arch__groups strong { font-size: 17px; }
.arch__groups span { display: block; font-size: var(--av-type-caption); line-height: 1.45; color: var(--av-ink-muted); }
@media (min-width: 720px) and (max-width: 1239px) { .arch__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } .arch__groups li:nth-last-child(2) { border-bottom: 0; } }
@media (min-width: 1240px) {
  .arch { --pad: 24px; grid-template-columns: 210px 190px minmax(0, 1fr) 150px 310px; grid-template-rows: 26px auto auto auto auto 8px; column-gap: 0; row-gap: 18px; }
  .arch__plabel { grid-column: 1; grid-row: 1; align-self: start; }
  .arch__law { grid-column: 1; grid-row: 2 / 4; align-content: center; }
  .arch__cli { grid-column: 1; grid-row: 4; }
  /* lines from the people to their part of the instance */
  .arch__inst .arch__tag { top: -13px; }
  .arch__link, .arch__link--erp, .arch__link--portal { display: flex; align-items: center; justify-content: center; justify-self: stretch; width: auto; grid-column: 2; position: relative; z-index: 2; margin: 0 calc(-1 * var(--pad) - 3px) 0 0; background: none; }
  .arch__link--portal span { display: inline; }
  .arch__link::before { content: ""; position: absolute; left: 0; right: 9px; top: 50%; height: 2px; margin-top: -1px; background: var(--av-ink); }
  .arch__link::after { content: ""; position: absolute; right: 0; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 10px solid var(--av-ink); border-right: 0; }
  .arch__link span { position: relative; top: -15px; margin-right: var(--pad); padding: 0 8px; font-size: var(--av-type-caption); font-weight: 600; color: var(--av-ink-muted); white-space: nowrap; }
  .arch__link--erp { grid-row: 2; }
  .arch__link--portal { grid-row: 4; }
  /* the chat zone: starts around the lawyers, crosses the instance border, ends around the AI assistants */
  .arch__chatzone { display: block; grid-column: 1 / 4; grid-row: 3; margin: -9px 12px -9px -12px; border: 2px dashed var(--av-ink); position: relative; z-index: 1; pointer-events: none; }
  .arch__chat { grid-column: 2; grid-row: 3; border: 0; padding: 0 12px 0 20px; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
  .arch__chat::before, .arch__chat::after { display: none; }
  .arch__chat strong { font-size: 16px; }
  .arch__chat .fa-solid { font-size: 18px; }
  .arch__inst { grid-column: 3; grid-row: 1 / 7; }
  .arch__tile { grid-column: 3; margin: 0 var(--pad); }
  .arch__tile--erp { grid-row: 2; }
  .arch__tile--ai { grid-row: 3; }
  .arch__tile--portal { grid-row: 4; }
  .arch__tile--docs { grid-row: 5; }
  /* the gate: the only way out of the instance */
  .arch__gate { grid-column: 4; grid-row: 2 / 4; align-content: center; padding: 0; margin-left: -3px; }
  .arch__gate::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 2px; margin-top: -1px; }
  .arch__gate-tag { flex-direction: column; gap: 6px; text-align: center; padding: 10px 12px; max-width: 118px; }
  .arch__out { grid-column: 5; grid-row: 1 / 7; display: grid; align-content: center; padding: 34px 24px 16px; }
}

/* — product screenshots: a thin frame, tabs, click to enlarge — */
.screen { position: relative; display: grid; min-width: 0; }
.screen__win { border: 1px solid var(--av-ink); background: var(--av-raised); min-width: 0; }
.screen__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.screen__zoom img { display: block; width: 100%; height: auto; }
.screen img.is-dark, [data-theme="dark"] .screen img.is-light { display: none; }
[data-theme="dark"] .screen img.is-dark { display: block; }
.screen--with-phone { padding-bottom: 8%; }
.screen__phone { position: absolute; right: 4%; bottom: 0; width: clamp(120px, 20%, 240px); border: 6px solid var(--av-ink); background: var(--av-raised); box-shadow: var(--av-shadow-lg); }
[data-theme="dark"] .screen__phone { border-color: #8a8686; }
.screen__phone img { display: block; width: 100%; height: auto; }
.shots { display: grid; gap: var(--av-space-6); }
.shots__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.shots__tabs button { min-height: 48px; padding: 0 18px; border: 1px solid var(--av-border); background: transparent; color: var(--av-ink); font: inherit; font-size: var(--av-type-small); font-weight: 600; cursor: pointer; }
.shots__tabs button:hover { border-color: var(--av-ink); }
.shots__tabs button[aria-selected="true"] { background: var(--av-ink); border-color: var(--av-ink); color: var(--av-paper); box-shadow: inset 0 -3px 0 var(--av-red); }
.shots__panel { display: grid; gap: var(--av-space-6); }
.shots__caption { max-width: none; }
.zoom { width: min(1600px, 96vw); max-width: 96vw; max-height: 94vh; padding: 0; border: 2px solid var(--av-ink); background: var(--av-raised); }
.zoom::backdrop { background: rgba(20, 19, 18, 0.82); }
.zoom img { display: block; width: 100%; height: auto; }
.zoom__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #201e1d; background: #f5f4f3; color: #201e1d; font-size: 18px; cursor: pointer; }

/* — module tiles: icon + name — */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: grid; gap: 14px; align-content: space-between; min-height: 132px; padding: 18px; background: var(--av-raised); border: 1px solid var(--av-rule); color: var(--av-ink); text-decoration: none; transition: border-color var(--av-dur-fast) var(--av-ease); }
.tile:hover { border-color: var(--av-ink); color: var(--av-ink); box-shadow: inset 0 -3px 0 var(--av-red); }
.tile > .fa-solid { font-size: 26px; }
.tile .av-h4 { font-size: clamp(17px, 1.5vw, 21px); }
.tile__num { position: absolute; top: 18px; right: 18px; font-size: var(--av-type-caption); font-weight: 600; color: var(--av-ink-muted); }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .tile { min-height: 156px; padding: 24px; } .tile__num { top: 24px; right: 24px; } }
@media (min-width: 1080px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } .tile { min-height: 150px; padding: 18px; } .tile__num { top: 18px; right: 18px; } .tile .av-h4 { font-size: 17px; } }
/* A short row of tiles (related modules, the modules of a kind of firm): three across, four when there are four. */
.tile > .tile__go { position: absolute; top: 18px; right: 18px; font-size: 14px; color: var(--av-ink-muted); }
.tile:hover .tile__go { color: inherit; }
@media (min-width: 720px) { .tiles--few { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .tiles--few .tile { min-height: 156px; padding: 24px; } .tiles--few .tile__go { top: 24px; right: 24px; } .tiles--few .tile .av-h4 { font-size: clamp(17px, 1.5vw, 21px); } }
@media (min-width: 1080px) { .tiles--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* — a day with AVODesk: a docket; the decision row is signed in red — */
.day { border-top: var(--av-rule-section) solid var(--av-ink); }
.day__item { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: var(--av-space-4); row-gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--av-rule); }
.day__time { grid-row: span 2; font-weight: 700; padding-top: 3px; }
.day__item--decision { border-bottom: 3px solid var(--av-red); }
.day__legend { display: flex; align-items: center; gap: 12px; }
.day__legend-line { width: 40px; height: 3px; background: var(--av-red); flex: none; }
@media (min-width: 860px) {
  .day__item { grid-template-columns: 140px minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; padding: 22px 0; }
  .day__time { grid-row: auto; padding-top: 0; font-size: var(--av-type-h4); }
}

/* — AI: name plates, rules, the approval demonstration — */
.agents { display: grid; gap: 0 clamp(32px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.av-agent__role { font-size: var(--av-type-h4); }
.av-agent__does { font-size: var(--av-type-body); }
.av-agent__access { font-size: var(--av-type-caption); }
.rules { border-top: var(--av-rule-section) solid var(--av-rule); }
.rule { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--av-rule-soft); }
.rule > .fa-solid { font-size: 22px; margin-top: 4px; }
.rule--decision { border-bottom: 3px solid var(--av-red); }
.av-draft { background: var(--av-raised); border: 1px solid var(--av-rule); padding: clamp(20px, 3vw, 36px); gap: var(--av-space-6); }
.av-draft__doc { border: 1px solid var(--av-rule-soft); background: var(--av-paper); font-size: var(--av-type-small); padding: var(--av-space-6); }
.av-draft__log, .av-draft__sigline { font-size: var(--av-type-caption); }
.av-draft .av-sign { height: 3px; }
.av-draft .av-sign--pending { height: 0; }
.draft__approved { color: var(--av-red-deep); font-weight: 600; }

/* — contact — */
.contact { display: grid; gap: var(--av-space-8); grid-template-columns: minmax(0, 1fr); }
.contact__item { display: grid; gap: var(--av-space-4); align-content: start; justify-items: start; padding-top: var(--av-space-6); border-top: 3px solid var(--av-ink); }
.contact__item > .fa-solid { font-size: 28px; }
.contact__item p { min-height: 3em; }
@media (min-width: 860px) { .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); } }
.contact--aside { grid-template-columns: minmax(0, 1fr); gap: 0; }
.contact--aside .contact__item { gap: 10px; padding: var(--av-space-6) 0; border-top: var(--av-rule-section) solid var(--av-rule); }
.contact--aside .contact__item:first-child { border-top: 3px solid var(--av-ink); }
.contact--aside .contact__item h3 { display: flex; gap: 12px; align-items: baseline; }
.contact--aside .contact__item h3 .fa-solid { font-size: 18px; }
.contact--aside .contact__item p { min-height: 0; }
.company { display: grid; gap: 4px; padding-top: var(--av-space-6); border-top: var(--av-rule-section) solid var(--av-rule); font-style: normal; font-size: var(--av-type-small); }
.company .av-label { margin-bottom: 6px; }
@media (min-width: 860px) { .contact--aside { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.form-page--contact { padding-bottom: clamp(72px, 9vw, 128px); }
.form-page--contact .av-h2 { font-size: clamp(28px, 3.4vw, 40px); }
.band .av-input, .band .choice__opt span { background: var(--av-raised); }
.sgroup .split__copy { gap: var(--av-space-8); }

/* — legal pages: numbered sections, plain reading — */
.legal { display: grid; gap: 0; max-width: 880px; padding-bottom: clamp(72px, 9vw, 128px); }
.legal__sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--av-space-3); padding: var(--av-space-8) 0; border-top: var(--av-rule-section) solid var(--av-rule); }
.legal__sec:first-child { border-top: 3px solid var(--av-ink); }
.legal__sec h2 { display: flex; gap: 16px; align-items: baseline; font-size: var(--av-type-h3); font-weight: 800; letter-spacing: var(--av-track-h3); line-height: 1.2; }
.legal__sec h2 span { flex: none; color: var(--av-ink-muted); font-size: var(--av-type-small); font-weight: 700; }
.legal__sec p { max-width: 68ch; }
@media (min-width: 720px) { .legal__sec p { padding-left: 40px; } }
.av-footer__bottom a { color: inherit; }
/* cookie tables: name, type, purpose, lifetime. Same column widths in every table;
   on a phone each row becomes a short labelled list */
.legal__table table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--av-type-small); line-height: 1.45; }
.legal__table th, .legal__table td { padding: 12px 20px 12px 0; text-align: left; vertical-align: top; font-weight: 400; border-bottom: 1px solid var(--av-rule-soft); overflow-wrap: anywhere; }
.legal__table th:first-child { width: 27%; }
.legal__table thead th:nth-child(2) { width: 20%; }
.legal__table thead th:nth-child(4) { width: 21%; }
.legal__table thead th { padding-top: 0; color: var(--av-ink-muted); font-size: var(--av-type-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 2px solid var(--av-rule); }
.legal__table code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; font-weight: 600; }
.legal__sec p:has(> .av-btn) { padding-left: 0; }
@media (min-width: 720px) { .legal__table, .legal__sec p:has(> .av-btn) { margin-left: 40px; } }
@media (max-width: 719px) {
  .legal__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal__table table, .legal__table tbody, .legal__table tr, .legal__table th, .legal__table td { display: block; width: auto; }
  .legal__table th:first-child { width: auto; }
  .legal__table tr { padding: 14px 0; border-bottom: 1px solid var(--av-rule-soft); }
  .legal__table tbody tr:first-child { border-top: 2px solid var(--av-rule); }
  .legal__table th, .legal__table td { padding: 0; border: 0; }
  .legal__table th { margin-bottom: 6px; }
  .legal__table td::before { content: attr(data-label) ": "; color: var(--av-ink-muted); }
}

/* — footer — */
.av-footer { font-size: var(--av-type-small); }
.av-footer__link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* — cookie consent, over the page chrome (the skip link and native dialogs stay above it).
   The question is a bar across the bottom (.consent--bar): one line and three buttons.
   The settings are a sheet in the bottom-left corner. Texts in _data/consent.json,
   behaviour in js/consent.js — */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 9999; display: grid; gap: var(--av-space-4); width: min(580px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: var(--av-space-6); background: var(--av-raised); border: 2px solid var(--av-ink); box-shadow: var(--av-shadow-lg); font-size: var(--av-type-small); line-height: 1.5; }
.consent:focus { outline: none; }
.consent:focus-visible { outline: 2px solid var(--av-red); outline-offset: 2px; }
.consent__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consent__title { font-size: var(--av-type-h4); font-weight: 800; line-height: 1.2; }
.consent__close { flex: none; width: 44px; height: 44px; margin: -10px -10px -10px 0; display: grid; place-items: center; border: 1px solid var(--av-border); background: transparent; color: var(--av-ink); cursor: pointer; }
.consent__cats { display: grid; border-top: 1px solid var(--av-rule-soft); }
.consent__cat { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--av-rule-soft); cursor: pointer; }
.consent__cat input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--av-ink); cursor: pointer; }
.consent__cat input:disabled, .consent__cat:has(input:disabled) { cursor: default; }
.consent__cat input:focus-visible { outline: 2px solid var(--av-red); outline-offset: 2px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .av-btn { justify-content: center; text-align: center; }
.consent--bar { left: 0; right: 0; bottom: 0; width: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 14px clamp(20px, 5vw, 80px); border-width: 2px 0 0; }
.consent--bar .consent__head { display: none; }
.consent--bar .consent__text { flex: 1 1 320px; }
.consent--bar .consent__actions { flex: 0 1 auto; }
@media (max-width: 599px) {
  .consent { left: 0; right: 0; bottom: 0; width: auto; max-height: 100dvh; padding: var(--av-space-4) 20px 20px; border-width: 2px 0 0; }
  .consent__actions .av-btn { flex: 1 1 100%; }
  .consent--bar .consent__actions { flex: 1 1 100%; }
  .consent--bar .consent__actions .av-btn { flex: 1 1 auto; }
}
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer__brand { gap: 20px; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__brand .av-endorse { justify-self: start; }

/* — closing band — */
.av-close { background: var(--close-bg); color: var(--close-fg); }
.av-close .av-wrap { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); gap: var(--av-space-12); }
.av-close .av-display { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.025em; margin-left: 0; }
.av-close .av-btn--on-red { background: #201e1d; color: #f3f2f2; border-color: #201e1d; box-shadow: inset 0 -3px 0 #f3f2f2; }
.av-close .av-btn--on-red:hover { background: #2d2b2b; border-color: #2d2b2b; }
.close__offer { background: var(--close-offer-bg); border-color: var(--close-fg); color: var(--close-fg); }
.close__offer:hover { background: #201e1d; border-color: #201e1d; color: #f3f2f2; }

/* — platform page: the index ("opis") + the modules — */
.opis { display: grid; gap: var(--av-space-12); grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(72px, 9vw, 128px); }
.opis__index { display: grid; gap: var(--av-space-3); align-content: start; }
.opis__index ol { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--av-space-6); border-top: var(--av-rule-section) solid var(--av-ink); }
.opis__index li a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 10px 0 10px 12px; border-bottom: 1px solid var(--av-rule-soft); color: var(--av-ink); text-decoration: none; font-size: var(--av-type-small); font-weight: 500; line-height: 1.3; }
.opis__index li a:hover { color: var(--av-red-deep); }
.opis__index li a.is-current { box-shadow: inset 4px 0 0 var(--av-red); background: var(--av-surface); }
.opis__index li span { color: var(--av-ink-muted); font-size: var(--av-type-caption); font-weight: 600; }
.opis__cta { display: none; }
/* below 1080 px the index is above the modules: a button brings the list back as a sheet */
.opis-jump { position: fixed; left: 20px; bottom: 24px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--av-ink); background: var(--av-ink); color: var(--av-paper); font: inherit; font-size: var(--av-type-small); font-weight: 700; cursor: pointer; box-shadow: var(--av-shadow-md); }
.opis-jump .fa-solid { font-size: 15px; }
.opis-sheet { width: 100%; max-width: 100%; max-height: 82dvh; margin: auto 0 0; padding: 0; border: 0; border-top: 3px solid var(--av-ink); background: var(--av-raised); color: var(--av-ink); overflow-y: auto; }
.opis-sheet::backdrop { background: rgba(20, 19, 18, 0.6); }
.opis-sheet__head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: var(--av-raised); border-bottom: 1px solid var(--av-rule); }
.opis-sheet__close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--av-border); background: transparent; color: var(--av-ink); font-size: 18px; cursor: pointer; }
.opis-sheet ol { padding: 0 20px 20px; }
.opis-sheet li a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 14px 0 14px 12px; border-bottom: 1px solid var(--av-rule-soft); color: var(--av-ink); text-decoration: none; font-size: var(--av-type-body); font-weight: 500; line-height: 1.3; }
.opis-sheet li a.is-current { font-weight: 700; box-shadow: inset 4px 0 0 var(--av-red); background: var(--av-surface); }
.opis-sheet li span { color: var(--av-ink-muted); font-size: var(--av-type-caption); font-weight: 600; }
@media (min-width: 1080px) { .opis-jump { display: none; } }
.opis__body { display: grid; gap: clamp(72px, 8vw, 120px); min-width: 0; }
.module { display: grid; gap: var(--av-space-8); }
.module__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--av-space-4); row-gap: 10px; padding-top: var(--av-space-6); border-top: 3px solid var(--av-ink); }
.module__num { font-weight: 700; font-size: var(--av-type-small); color: var(--av-ink-muted); }
.module__icon { font-size: 28px; grid-row: span 2; justify-self: end; }
.module__head .av-h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.module__head .av-lead { grid-column: 1 / -1; font-size: var(--av-type-lead); }
.module__photo { aspect-ratio: 16 / 9; overflow: hidden; }
.module__photo .photo { height: 100%; }
/* The page of one module, the questions page, the pages for a kind of firm. */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--av-type-small); color: var(--av-ink-muted); }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--av-ink); }
.crumbs .fa-solid { font-size: 9px; }
.crumbs [aria-current] { color: var(--av-ink); font-weight: 600; }
.prose { display: grid; gap: var(--av-space-4); max-width: 72ch; font-size: var(--av-type-lead); line-height: var(--av-lh-lead); }
.module__list--open { margin-top: 0; }
.module__list--open > div { padding: 18px 0; gap: 6px; }
.module__list--open dd { font-size: inherit; }
@media (min-width: 1080px) { dl.module__list--open { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.faq { display: grid; max-width: 920px; border-bottom: 1px solid var(--av-rule); }
.faq__item { display: grid; gap: 10px; padding: var(--av-space-6) 0; border-top: 1px solid var(--av-rule); }
.faq__item p { max-width: 72ch; color: var(--av-ink-muted); }
.faq-page { display: grid; gap: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 128px); }
.faq-group { display: grid; gap: var(--av-space-6); }
/* — articles: the list (cards) and the page of one article — */
.acards { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 720px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acard { display: grid; grid-template-rows: auto 1fr; background: var(--av-raised); border: 1px solid var(--av-rule); }
.acard__photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.acard__photo .photo { height: 100%; }
.acard__copy { display: grid; gap: 12px; align-content: start; padding: clamp(18px, 2vw, 26px); }
.acard .av-h4 { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.2; }
.acard .av-h4 a { color: inherit; text-decoration: none; }
.acard .av-h4 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.acard__more { margin-top: 4px; }
.acard__more a { display: inline-flex; gap: 10px; align-items: center; font-size: var(--av-type-small); font-weight: 600; color: var(--av-ink-muted); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--av-rule); }
.acard__more .fa-solid { font-size: 12px; transition: transform var(--av-dur-fast) var(--av-ease); }
.acard__more a:hover { color: var(--av-ink); border-color: var(--av-ink); }
.acard__more a:hover .fa-solid { transform: translateX(3px); }
.article__meta { display: flex; flex-wrap: wrap; row-gap: 4px; }
.article__meta span + span::before { content: "·"; margin: 0 10px; }
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); padding-bottom: clamp(72px, 9vw, 128px); }
.article__toc { display: grid; gap: 14px; align-content: start; padding: 20px 0; border-top: var(--av-rule-section) solid var(--av-rule); border-bottom: 1px solid var(--av-rule); }
.article__toc ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.article__toc a { font-size: var(--av-type-small); line-height: 1.35; color: var(--av-ink-muted); text-decoration: none; }
.article__toc a:hover { color: var(--av-ink); text-decoration: underline; }
.article__main { display: grid; gap: var(--av-space-8); min-width: 0; max-width: 78ch; }
.article__summary { display: grid; gap: 14px; padding: clamp(18px, 2.2vw, 28px); background: var(--av-raised); border: 1px solid var(--av-rule); border-left: 3px solid var(--av-red); }
.article__summary ul, .article__sources ul { display: grid; gap: 10px; margin: 0; padding-left: 20px; list-style: disc; }
.article__body { display: grid; gap: var(--av-space-4); font-size: 17px; line-height: 1.65; }
.article__body h2 { margin-top: var(--av-space-8); font-size: clamp(25px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -0.01em; }
.article__body h2:first-child { margin-top: 0; }
.article__body h3 { margin-top: var(--av-space-4); }
.article__body ul, .article__body ol { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li::marker { color: var(--av-ink-muted); }
.article__table { overflow-x: auto; border: 1px solid var(--av-rule); background: var(--av-raised); }
.article__table table { width: 100%; border-collapse: collapse; font-size: var(--av-type-small); line-height: 1.5; }
.article__table th, .article__table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--av-rule-soft); }
.article__table th { font-weight: 700; white-space: nowrap; background: var(--av-surface); border-bottom-color: var(--av-rule); }
.article__table tr:last-child td { border-bottom: 0; }
.article__table td:first-child { font-weight: 600; }
/* Narrow screens: a table row becomes a block, each value under the name of its column. */
@media (max-width: 719px) {
  .article__table { overflow: visible; border: 0; border-bottom: 1px solid var(--av-rule); background: none; }
  .article__table table, .article__table tbody, .article__table tr, .article__table td { display: block; }
  .article__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .article__table tr { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--av-rule); }
  .article__table td, .article__table tr:last-child td { padding: 0; border: 0; }
  .article__table td:first-child { font-size: var(--av-type-body); font-weight: 700; }
  .article__table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: var(--av-type-caption); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--av-ink-muted); }
}
.article__note { margin: 0; }
.article__back a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.article__back a:hover { text-decoration: underline; }
.article__back .fa-solid { font-size: 11px; transform: rotate(180deg); } /* the icon set has no left arrow */
.article__sources { display: grid; gap: 14px; padding-top: var(--av-space-6); border-top: 1px solid var(--av-rule); font-size: var(--av-type-small); }
@media (min-width: 1080px) {
  .article { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
  .article__toc { position: sticky; top: calc(var(--chrome-h) + 28px); }
}
.module__names { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px clamp(24px, 3vw, 48px); }
.module__names li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: baseline; font-weight: 600; }
.module__names .fa-solid { font-size: 14px; color: var(--av-red-deep); }
.module__more a { display: inline-flex; gap: 10px; align-items: center; font-size: var(--av-type-small); font-weight: 600; color: var(--av-ink-muted); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--av-rule); }
.module__more .fa-solid { font-size: 12px; transition: transform var(--av-dur-fast) var(--av-ease); }
.module__list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(24px, 3vw, 48px); margin-top: var(--av-space-4); border-top: 1px solid var(--av-rule-soft); }
.module__list > div { padding: 14px 0; border-bottom: 1px solid var(--av-rule-soft); display: grid; gap: 4px; align-content: start; }
.module__list dt { font-weight: 700; }
.module__list dd { font-size: var(--av-type-small); color: var(--av-ink-muted); }
@media (min-width: 720px) { .module__names, .module__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .opis__index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .opis { grid-template-columns: 320px minmax(0, 1fr); gap: clamp(56px, 7vw, 120px); align-items: start; }
  .opis__index { position: sticky; top: calc(var(--chrome-h) + 28px); }
  .opis__index ol { grid-template-columns: minmax(0, 1fr); }
  .opis__cta { display: inline-flex; margin-top: var(--av-space-4); }
}
@media (min-width: 1280px) { .module__names { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* — forms — */
.form-page { display: grid; gap: var(--av-space-12); grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(72px, 9vw, 128px); align-items: start; }
.form { max-width: 760px; min-width: 0; }
.form-grid { display: grid; gap: var(--av-space-4) var(--av-space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.av-input { min-height: 52px; background: var(--av-raised); }
.choice { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 12px; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 1px solid var(--av-border); background: var(--av-raised); font-size: var(--av-type-small); font-weight: 600; line-height: 1.3; }
.choice__opt:hover span { border-color: var(--av-ink); }
.choice__opt input:checked + span { background: var(--av-ink); border-color: var(--av-ink); color: var(--av-paper); }
.choice__opt input:checked + span::before { content: ""; width: 13px; height: 13px; flex: none; background: currentColor; mask: url("/img/icons/check.svg?v=8e678c19") center/contain no-repeat; -webkit-mask: url("/img/icons/check.svg?v=8e678c19") center/contain no-repeat; }
.choice__opt input:focus-visible + span { outline: 2px solid var(--av-red); outline-offset: 2px; }
/* a required group sent without a choice */
.choice.is-error .choice__opt span { border-color: var(--av-red); }
.choice__error { display: flex; align-items: center; gap: 8px; font-size: var(--av-type-small); font-weight: 600; color: var(--av-red-deep); }
.choice__error::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; mask: url("/img/icons/circle-exclamation.svg?v=86782db8") center/contain no-repeat; -webkit-mask: url("/img/icons/circle-exclamation.svg?v=86782db8") center/contain no-repeat; }
.form-step { display: grid; gap: var(--av-space-6); padding-top: var(--av-space-6); border-top: 3px solid var(--av-ink); }
.form-step + .form-step { margin-top: clamp(56px, 6vw, 88px); }
.form-step ~ .av-privacy { margin-top: var(--av-space-8); }
.form-step__title { display: flex; gap: 14px; align-items: baseline; font-size: var(--av-type-h3); font-weight: 800; letter-spacing: var(--av-track-h3); line-height: 1.2; }
.form-step__title span { color: var(--av-ink-muted); font-size: var(--av-type-h4); }
.av-alert { background: var(--av-raised); }
/* reCAPTCHA is drawn here when the visitor starts filling in the form; the checkbox height is set before it loads */
.form-captcha { min-height: 78px; }
/* shown instead of the checkbox to a visitor who has not accepted reCAPTCHA */
.form-consent { display: grid; gap: 12px; justify-items: start; padding: var(--av-space-4); border: 1px solid var(--av-border); background: var(--av-raised); font-size: var(--av-type-small); }
.form-consent p { max-width: 62ch; }
/* honeypot: off screen, out of the tab order */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.av-alert__title a { color: inherit; }
.form-aside { display: grid; gap: var(--av-space-6); align-content: start; min-width: 0; }
.form-aside__photo { aspect-ratio: 16 / 10; overflow: hidden; }
.form-aside__photo .photo { height: 100%; }
.aside-steps { border-top: var(--av-rule-section) solid var(--av-rule); }
.aside-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--av-rule-soft); }
.aside-steps li span:first-child { font-weight: 700; color: var(--av-ink-muted); }
.summary { display: grid; }
.summary > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--av-rule-soft); }
.summary dt { font-size: var(--av-type-caption); color: var(--av-ink-muted); }
.summary dd { font-weight: 600; font-size: var(--av-type-small); line-height: 1.4; }
.summary__empty { padding: 12px 0; border-bottom: 1px solid var(--av-rule-soft); font-size: var(--av-type-small); }
@media (min-width: 960px) {
  .form-page { grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(56px, 7vw, 120px); }
  .form-page--offer .form-aside { position: sticky; top: calc(var(--chrome-h) + 28px); }
}

/* — hover: always a clear change of state, with full contrast, in both themes — */
:root { --hover-red: #ae1800; }
.av-nav > a { border-bottom-width: 3px; }
.av-nav .nav-group__panel a { border-bottom: 1px solid var(--av-rule-soft); }
.av-nav > a:hover, .nav-group__btn:hover, .nav-group:hover .nav-group__btn { color: var(--av-ink); border-bottom-color: var(--av-red); }
.nav-group__panel a:hover { background: var(--av-ink); color: var(--av-paper); }
.nav-group__panel a[aria-current="page"] { font-weight: 700; box-shadow: inset 4px 0 0 var(--av-red); }
.av-nav > a[aria-current="page"] { border-bottom-color: var(--av-ink); }
.av-btn--primary:hover, .av-btn--primary:active { background: var(--hover-red); border-color: var(--hover-red); color: #fff; box-shadow: none; }
.av-btn--secondary:hover, .av-btn--secondary:active { background: var(--av-ink); border-color: var(--av-ink); color: var(--av-paper); }
.av-btn--ghost:hover { color: var(--av-ink); text-decoration-color: var(--av-red); text-decoration-thickness: 2px; }
.av-top:hover, .av-menu summary:hover, .consent__close:hover, .opis-sheet__close:hover { background: var(--av-ink); border-color: var(--av-ink); color: var(--av-paper); }
.opis-jump:hover { background: var(--hover-red); border-color: var(--hover-red); color: #fff; }
.opis-sheet li a:hover { background: var(--av-ink); color: var(--av-paper); }
.opis-sheet li a:hover span { color: inherit; }
.av-footer__link:hover { color: var(--av-ink); text-decoration: underline; text-decoration-color: var(--av-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.shots__tabs button:hover { background: var(--av-ink); border-color: var(--av-ink); color: var(--av-paper); }
.av-menu__panel a:hover { background: var(--av-ink); color: var(--av-paper); }
.av-menu__panel a.av-btn--primary { color: var(--av-paper); border-bottom: 1px solid var(--av-ink); padding: 0 20px; }
.av-menu__panel a.av-btn--primary:hover { background: var(--hover-red); border-color: var(--hover-red); color: #fff; }
.av-menu__panel a.av-btn--secondary { border: 1px solid var(--av-border); padding: 0 20px; }
.tile:hover, .arch__tile:hover { background: var(--av-ink); border-color: var(--av-ink); color: var(--av-paper); box-shadow: inset 0 -4px 0 var(--av-red); }
.tile:hover .tile__num, .arch__tile:hover small { color: inherit; }
.strength:hover { background: var(--av-ink); border-color: var(--av-ink); color: var(--av-paper); box-shadow: inset 0 -4px 0 var(--av-red); }
.strength:hover p { color: inherit; }
.opis__index li a:hover { color: var(--av-ink); background: var(--av-surface); box-shadow: inset 4px 0 0 var(--av-ink); }
.opis__index li a.is-current:hover { box-shadow: inset 4px 0 0 var(--av-red); }
.choice__opt:hover span { border-color: var(--av-ink); box-shadow: inset 0 -3px 0 var(--av-ink); }
.module__more a:hover { color: var(--av-ink); border-color: var(--av-ink); }
.module__more a:hover .fa-solid { transform: translateX(3px); }
a:hover { color: var(--av-ink); text-decoration-thickness: 2px; }
.av-footer a:hover { color: var(--av-ink); text-decoration: underline; text-decoration-color: var(--av-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.av-logo, .av-logo:hover, .av-footer .av-logo:hover, .av-powered:hover { text-decoration: none; }
.av-close .av-btn--on-red:hover, .close__offer:hover { background: #f3f2f2; border-color: #f3f2f2; color: #201e1d; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-draw].is-drawing { animation: none; }
  .arch__inst.is-drawing { animation: none; }
  .tile, .arch__tile { transition: none; }
}
