/* Center4Solution site styles. Brand blue #0095ff; --accent is a deeper shade for readable text and buttons. */
:root {
  --bg: #ffffff; --bg-alt: #f5f8fc; --surface: #ffffff; --text: #111827; --muted: #556070;
  --border: #e3e8ef; --accent: #0072ce; --accent-hover: #005fab; --accent-text: #ffffff;
  --brand: #0095ff; --soft: #e8f4ff; --code: #f2f5f9;
  --ok: #0f7a3d; --ok-bg: #e7f6ec; --err: #b42318; --err-bg: #fdecea;
  --radius: 14px; --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117; --bg-alt: #121822; --surface: #161d28; --text: #e8edf3; --muted: #9aa6b5;
    --border: #263040; --accent: #4db3ff; --accent-hover: #7cc6ff; --accent-text: #06111c;
    --soft: #13283d; --code: #1b2330;
    --ok: #6fdc9a; --ok-bg: #11291c; --err: #ff8a80; --err-bg: #2d1414;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
code, pre, kbd { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
code { font-size: .88em; background: var(--code); padding: 1px 6px; border-radius: 6px; }
pre { background: var(--code); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
pre code { background: none; padding: 0; }
kbd { font-size: .82em; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--surface); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow, .narrow { max-width: 800px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: block; line-height: 0; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.site-header ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-header nav a { position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 12px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-header nav a:hover { color: var(--text); }
.site-header nav a[aria-current] { color: var(--text); }
.site-header nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.site-header nav a.nav-gh { margin-left: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; color: var(--text); }
.site-header nav a.nav-gh:hover { border-color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-toggle { display: none; }
@media (max-width: 640px) {
  /* One short row: logo + ☰. The menu drops down below the header. */
  .bar { height: 60px; }
  .logo img { height: 28px; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--text); cursor: pointer; }
  .nav-toggle:hover { background: var(--bg-alt); }
  .nav-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: inline; }
  /* Without JS the toggle stays hidden and the links wrap under the logo instead */
  .site-header:not(.has-menu) .bar { height: auto; flex-wrap: wrap; padding: 12px 16px 0; }
  .site-header:not(.has-menu) nav { width: 100%; }
  .site-header.has-menu nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(16, 24, 40, .08); }
  .site-header.has-menu:not(.open) nav { display: none; }
  .site-header.has-menu ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .site-header.has-menu nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .site-header.has-menu li:last-child a { border-bottom: 0; }
  .site-header nav a[aria-current] { color: var(--accent); }
  .site-header nav a[aria-current]::after { display: none; }
  .site-header nav a.nav-gh { justify-content: center; margin: 14px 0 0; padding: 12px; }
  .project-nav { top: 60px; }
}

/* Buttons and pills */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 15px/1.2 inherit; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { color: var(--text); border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-text); }
.btn.ghost { border-color: transparent; background: none; color: var(--accent); }
.btn.lg { padding: 12px 22px; font-size: 16px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.pill.accent { background: var(--accent); color: var(--accent-text); }

/* Hero and page heads */
.hero { padding: 88px 0 72px; background: radial-gradient(1000px 400px at 85% -10%, var(--soft), transparent 70%); }
.hero h1 { font-size: clamp(38px, 6.5vw, 66px); margin: 0 0 20px; max-width: 760px; letter-spacing: -0.035em; }
.hero h1 span { color: var(--brand); }
.lede { font-size: clamp(18px, 2.1vw, 20px); color: var(--muted); max-width: 660px; margin: 0 0 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 40px; margin: 48px 0 0; }
.facts dt { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.facts dd { margin: 0; color: var(--muted); font-size: 15px; }
.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0 14px; }
.project-head .split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .project-head .split { grid-template-columns: 1fr; } }
.project-head picture { display: block; min-width: 0; }
.shot { border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.section.tight { padding-top: 16px; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-head .sub { margin: 0; }
.note { font-size: 15px; color: var(--muted); }

/* Project cards */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 500 14px inherit; cursor: pointer; text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card.muted { box-shadow: none; background: transparent; border-style: dashed; }
.card.muted:hover { transform: none; }
.card[hidden] { display: none; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.ver { font-size: 13px; color: var(--muted); }
.card h3 { font-size: 21px; margin: 4px 0 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--muted); flex: 1; }
.meta { font-size: 14px; color: var(--muted); }
.card .actions { margin-top: 6px; }
.card .btn { padding: 7px 13px; font-size: 14px; }

/* How it works, posts, faq */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
  /* Number beside the text instead of above it, so cards stay short */
  .steps { gap: 12px; margin-top: 20px; }
  .steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 16px; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; }
}
.posts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.post-card time, .post-row time, .post-meta { font-size: 14px; color: var(--muted); }
.post-card h3 { margin: 6px 0 8px; font-size: 19px; }
.post-card h3 a, .post-row h2 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover, .post-row h2 a:hover { color: var(--accent); }
.post-card p { margin: 0; color: var(--muted); }
.post-row { padding: 24px 0; border-bottom: 1px solid var(--border); }
.post-row h2 { font-size: 24px; margin: 6px 0 8px; }
.post-row p { margin: 0 0 10px; color: var(--muted); }
.faq { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Project page */
.project-nav { position: sticky; top: 64px; z-index: 40; }
.project-nav nav { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.project-nav a { padding: 6px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
.project-nav a:hover { color: var(--text); background: var(--bg-alt); }
.features { display: grid; gap: 12px 32px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); list-style: none; padding: 0; margin: 24px 0 0; }
.features li { padding-left: 30px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--soft) center/10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%230095ff' stroke-width='2'/%3E%3C/svg%3E"); }
.files { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.file { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.file.match { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.file-main { display: flex; align-items: center; gap: 14px; }
.file-detail { display: block; font-size: 14px; color: var(--muted); }
.checksum { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.checksum summary { cursor: pointer; width: fit-content; }
.checksum code { display: block; margin-top: 6px; word-break: break-all; }
.file-name { display: block; margin-top: 4px; }
.os { width: 36px; height: 36px; border-radius: 10px; background: var(--soft) center/20px no-repeat; flex-shrink: 0; }
.os-windows { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230095ff'%3E%3Cpath d='M3 5.5l7.5-1v7H3zM11.5 4.4L21 3v8.5h-9.5zM3 12.5h7.5v7L3 18.5zM11.5 12.5H21V21l-9.5-1.4z'/%3E%3C/svg%3E"); }
.os-mac { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230095ff'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.5 2-3.6-1.1-1.6-2.8-1.8-3.4-1.8-1.4-.2-2.8.8-3.5.8-.7 0-1.8-.8-3-.8C7 7.2 5.5 8.1 4.7 9.6c-1.6 2.8-.4 7 1.2 9.3.8 1.1 1.7 2.4 2.9 2.3 1.2 0 1.6-.7 3-.7s1.8.7 3 .7c1.3 0 2.1-1.1 2.8-2.3.9-1.3 1.3-2.5 1.3-2.6-.1 0-2.5-.9-2.5-3.7zM14.2 5.6c.6-.8 1.1-1.8 1-2.9-.9 0-2.1.6-2.7 1.4-.6.7-1.1 1.8-1 2.8 1 .1 2.1-.5 2.7-1.3z'/%3E%3C/svg%3E"); }
.os-linux { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230095ff'%3E%3Cpath d='M12 2c-2.2 0-3.5 1.9-3.5 4.5 0 1.5.4 2.6.1 3.6-.5 1.6-2.9 3.9-3.3 6.6-.2 1.3.5 1.8 1.2 2.1.6.3 1.1.9 1.6 1.6.6.8 1.7 1.6 3 1.6h1.8c1.3 0 2.4-.8 3-1.6.5-.7 1-1.3 1.6-1.6.7-.3 1.4-.8 1.2-2.1-.4-2.7-2.8-5-3.3-6.6-.3-1 .1-2.1.1-3.6C15.5 3.9 14.2 2 12 2zm-1.5 4a.8.8 0 110 1.6.8.8 0 010-1.6zm3 0a.8.8 0 110 1.6.8.8 0 010-1.6z'/%3E%3C/svg%3E"); }
.os-any { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230095ff' stroke-width='2'%3E%3Cpath d='M8 6l-6 6 6 6M16 6l6 6-6 6'/%3E%3C/svg%3E"); }
.older-h { font-size: 16px; margin: 24px 0 10px; color: var(--muted); font-weight: 600; }
.doc-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); margin-top: 24px; }
.doc-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.doc-card:hover { border-color: var(--accent); color: var(--text); }
.doc-card span { color: var(--accent); font-size: 14px; }

/* Changelog */
.release { position: relative; padding: 0 0 32px 28px; border-left: 2px solid var(--border); }
.release::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.release.latest::before { background: var(--brand); }
.release h2 { font-size: 24px; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.release time { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.release-files { margin-top: 12px; }
.release-files summary, .release details summary { cursor: pointer; font-weight: 600; margin-bottom: 12px; }

/* Docs */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding-top: 40px; padding-bottom: 64px; }
.doc-nav { position: sticky; top: 88px; align-self: start; }
.doc-project { display: block; font-weight: 600; margin-bottom: 14px; text-decoration: none; }
.doc-nav ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.doc-nav li a { display: block; padding: 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 15px; }
.doc-nav li a:hover { color: var(--text); }
.doc-nav li a[aria-current] { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
@media (max-width: 800px) {
  .docs { grid-template-columns: 1fr; gap: 16px; }
  .doc-nav { position: static; }
  .doc-nav ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .doc-nav li a { border: 1px solid var(--border); border-radius: 999px; margin: 0; padding: 4px 12px; }
  .doc-nav li a[aria-current] { border-color: var(--accent); }
}
.prose { max-width: 760px; min-width: 0; }
.prose h1 { font-size: clamp(30px, 4.5vw, 42px); margin: 8px 0 12px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose li { margin-bottom: 6px; }
.prose table, .two-col table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.prose th, .prose td, .two-col th, .two-col td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th, .two-col th { font-weight: 600; background: var(--bg-alt); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0 16px; }
.post { padding-top: 40px; padding-bottom: 64px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-weight: 600; }
.pager a { text-decoration: none; }

/* Forms */
.contact { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .contact { max-width: 1040px; grid-template-columns: 1fr 280px; } }
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { font: 400 16px/1.4 inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form [aria-invalid="true"] { border-color: var(--err); }
.form button { justify-self: start; }
.optional { font-weight: 400; color: var(--muted); }
.field-error { color: var(--err); font-size: 14px; font-weight: 500; margin: 0; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; }
.notice.success { background: var(--ok-bg); color: var(--ok); }
.notice.error { background: var(--err-bg); color: var(--err); }
.contact-side { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; align-self: start; font-size: 15px; }
.contact-side h2 { font-size: 18px; margin: 0 0 8px; }
.narrow-form { max-width: 360px; }

/* Admin */
.kpis { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 32px; }
.kpis div { flex: 1 1 140px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.kpis dt { font-size: 14px; color: var(--muted); }
.kpis dd { margin: 4px 0 0; font-size: 30px; font-weight: 700; }
.bars { display: flex; align-items: end; gap: 3px; height: 160px; padding: 8px 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
.chart-bar { flex: 1 0 14px; height: var(--h); min-height: 2px; background: var(--brand); border-radius: 4px 4px 0 0; position: relative; }
.chart-bar span { position: absolute; top: -18px; left: 50%; translate: -50%; font-size: 11px; color: var(--muted); }
.two-col { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); margin-top: 32px; }
.num { text-align: right !important; }
.message { padding: 14px 0; border-bottom: 1px solid var(--border); }
.message header { font-size: 14px; color: var(--muted); }
.message p { margin: 6px 0 0; }

/* Footer and consent */
.site-footer { --f-bg: #0b2540; --f-text: #c9d6e6; --f-line: rgba(255, 255, 255, .12); background: var(--f-bg); color: var(--f-text); font-size: 15px; padding: 0 0 28px; }
@media (prefers-color-scheme: dark) { .site-footer { --f-bg: #0a1828; } }
.site-footer a { color: var(--f-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--f-line); }
.site-footer .footer-cta h2 { text-transform: none; letter-spacing: -0.02em;  color: #fff; font-size: clamp(22px, 3vw, 28px); margin: 0 0 6px; }
.footer-cta p { margin: 0; }
.btn.light { background: #fff; border-color: #fff; color: #0b2540; }
.btn.light:hover { background: #e8f4ff; color: #0b2540; }
.btn.outline-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn.outline-light:hover { border-color: #fff; color: #fff; text-decoration: none; }
.site-footer .btn:hover { text-decoration: none; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; padding-top: 44px; padding-bottom: 36px; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin: 14px 0 0; max-width: 340px; }
.socials { display: flex !important; gap: 10px !important; margin-top: 18px !important; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s; }
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.site-footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; border-top: 1px solid var(--f-line); font-size: 14px; }
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0, 0, 0, .15); font-size: 15px; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent .btn { padding: 7px 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
  .card:hover { transform: none; }
}
