:root {
  --brand: #1714c9;
  --brand-deep: #09085f;
  --brand-soft: #eeefff;
  --ink: #10132b;
  --muted: #5c6379;
  --line: #dfe3ed;
  --paper: #fff;
  --canvas: #f5f7fb;
  --radius: 24px;
  --max: 960px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #ffb154; outline-offset: 4px; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.site-header { border-bottom: 1px solid rgba(223,227,237,.85); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.nav { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 13px; }
.back { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; font-size: .88rem; font-weight: 800; text-decoration: none; }
.legal-hero { padding: 75px 0 42px; color: #fff; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); }
.eyebrow { margin: 0 0 12px; color: #afefff; font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 14px; font-size: clamp(2.45rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.legal-hero p:last-child { max-width: 690px; margin-bottom: 0; color: rgba(255,255,255,.75); font-size: 1.02rem; }
.legal-main { padding: 46px 0 90px; }
.legal-card { padding: clamp(25px, 6vw, 58px); border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: 0 22px 65px rgba(25,30,70,.09); }
.summary-box { margin-bottom: 38px; padding: 22px; border-left: 4px solid var(--brand); border-radius: 0 16px 16px 0; background: var(--brand-soft); }
.summary-box p:last-child { margin-bottom: 0; }
.legal-section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.legal-section:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
h2 { margin-bottom: 14px; color: var(--brand-deep); font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; letter-spacing: -.035em; }
h3 { margin: 24px 0 8px; font-size: 1.03rem; }
p, li { color: #444b61; }
ul { padding-left: 22px; }
li + li { margin-top: 7px; }
.data-list { display: grid; grid-template-columns: 180px 1fr; margin: 0; border-top: 1px solid var(--line); }
.data-list dt, .data-list dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.data-list dt { color: var(--muted); font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.data-list dd { color: var(--ink); font-weight: 650; }
.table-wrap { overflow-x: auto; margin-top: 20px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .91rem; }
th, td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--brand-deep); background: var(--brand-soft); }
.site-footer { padding: 36px 0; color: rgba(255,255,255,.66); background: #080832; }
.footer-row { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-links a, .cookie-settings { color: rgba(255,255,255,.76); text-decoration: none; }
.cookie-settings { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.cookie-banner { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: none; width: min(460px, calc(100% - 32px)); padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 23px; color: #fff; background: rgba(8,8,50,.97); box-shadow: 0 25px 70px rgba(4,5,31,.38); }
.cookie-banner.is-visible { display: block; }
.cookie-banner h2 { margin-bottom: 8px; color: #fff; font-size: 1.2rem; }
.cookie-banner p { margin-bottom: 17px; color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.55; }
.cookie-banner p a { color: #fff; font-weight: 750; }
.cookie-preferences { margin: 0 0 16px; padding: 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: rgba(255,255,255,.07); }
.cookie-preferences[hidden] { display: none; }
.cookie-preference { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 13px; align-items: center; }
.cookie-preference strong { display: block; color: #fff; font-size: .88rem; }
.cookie-preference small { display: block; margin-top: 2px; color: rgba(255,255,255,.65); font-size: .73rem; line-height: 1.4; }
.cookie-required { padding: 6px 9px; border-radius: 99px; color: #fff; background: rgba(255,255,255,.14); font-size: .68rem; font-weight: 850; white-space: nowrap; }
.cookie-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.cookie-button { min-height: 44px; padding: 10px 13px; border: 1px solid #fff; border-radius: 999px; color: var(--brand-deep); background: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.cookie-button:hover, .cookie-button.primary:hover { background: #e8e9ff; }
.cookie-button.primary { border-color: #fff; color: var(--brand-deep); background: #fff; }
.cookie-fab { position: fixed; left: 22px; bottom: 22px; z-index: 99; display: inline-flex; min-height: 46px; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 14px 35px rgba(23,20,201,.28); font: inherit; font-weight: 850; cursor: pointer; transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease; }
.cookie-fab svg { width: 19px; height: 19px; }
.cookie-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(23,20,201,.36); }
.cookie-banner.is-visible + .cookie-fab { visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (max-width: 650px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .brand span { display: none; }
  .legal-hero { padding: 55px 0 34px; }
  .legal-main { padding-top: 28px; }
  .legal-card { border-radius: 23px; }
  .data-list { grid-template-columns: 1fr; }
  .data-list dt { padding-bottom: 0; border-bottom: 0; }
  .data-list dd { padding-top: 3px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .cookie-banner { right: 16px; bottom: 16px; padding: 21px; }
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie-fab { left: 12px; bottom: 12px; min-height: 44px; padding: 9px 14px; font-size: .8rem; }
}
