:root {
  --red: #ff3333;
  --red-dark: #e52631;
  --red-soft: #fff0f1;
  --text: #172033;
  --muted: #64748b;
  --soft: #f6f8fc;
  --line: #e5eaf1;
  --white: #ffffff;
  --green: #0f9f6e;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: Calibri, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a, button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 11px 16px; border-radius: 9px; color: #fff; background: var(--red); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

.legal-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
.legal-nav-shell { width: min(1120px, calc(100% - 40px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.legal-brand img { width: 146px; height: auto; }
.legal-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.legal-nav a { padding: 9px 11px; border-radius: 9px; color: #64748b; font-size: 14px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.legal-nav a:hover, .legal-nav a:focus-visible { color: var(--red); background: var(--red-soft); outline: 0; }
.legal-nav a[aria-current="page"] { color: var(--red); background: var(--red-soft); }

.legal-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 100px; }
.legal-hero { min-height: 390px; padding: clamp(34px, 6vw, 74px); display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr); align-items: center; gap: 58px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg,#fff 0%,#fff 60%,#fff5f5 100%); box-shadow: var(--shadow); }
.legal-eyebrow { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.legal-hero h1 { max-width: 760px; margin: 14px 0 18px; color: var(--text); font-size: clamp(42px,6.2vw,70px); line-height: .98; letter-spacing: -.045em; }
.legal-hero-copy > p { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(17px,2vw,20px); line-height: 1.65; }
.legal-summary-card { min-height: 210px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid #ffd7d9; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(255,51,51,.08); }
.legal-summary-card::before { content: "F"; width: 48px; height: 48px; margin-bottom: auto; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--red); font-size: 22px; font-weight: 800; }
.legal-summary-card span { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legal-summary-card strong { margin: 7px 0 13px; font-size: 23px; line-height: 1.12; }
.legal-summary-card small { color: #94a3b8; font-size: 11px; }

.legal-body { margin-top: 42px; display: grid; grid-template-columns: 230px minmax(0,1fr); align-items: start; gap: 34px; }
.legal-aside { position: sticky; top: 108px; padding: 19px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); }
.legal-aside strong { margin-bottom: 8px; color: var(--text); font-size: 12px; }
.legal-aside a { padding: 8px 9px; border-radius: 8px; color: var(--muted); font-size: 12px; line-height: 1.25; text-decoration: none; }
.legal-aside a:hover, .legal-aside a:focus-visible { color: var(--red); background: #fff; outline: 0; }
.legal-content { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 35px rgba(15,23,42,.05); }
.legal-section { padding: 34px; display: grid; grid-template-columns: 42px 1fr; gap: 18px; border-top: 1px solid var(--line); scroll-margin-top: 105px; }
.legal-section:first-child { border-top: 0; }
.section-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--red); background: var(--red-soft); font-size: 11px; font-weight: 800; }
.legal-section h2 { margin: 3px 0 12px; color: var(--text); font-size: clamp(22px,2.8vw,30px); line-height: 1.1; }
.legal-section h3 { margin: 22px 0 8px; color: var(--text); font-size: 18px; }
.legal-section p, .legal-section li { color: #566174; font-size: 16px; line-height: 1.72; }
.legal-section p { margin: 0 0 13px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol { margin: 10px 0 0; padding-left: 20px; }
.legal-section li + li { margin-top: 8px; }
.legal-section a { color: var(--red-dark); font-weight: 700; }
.info-note { margin-top: 16px; padding: 15px 17px; border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; background: var(--red-soft); color: #7f2b31; font-size: 14px; line-height: 1.55; }
.legal-actions { padding: 26px 34px; display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); background: var(--soft); }
.legal-button { min-height: 45px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: var(--red); font-size: 14px; font-weight: 800; text-decoration: none; }
.legal-button.secondary { color: var(--text); background: #fff; border: 1px solid var(--line); }
.legal-button:hover, .legal-button:focus-visible { transform: translateY(-1px); outline: 3px solid rgba(255,51,51,.14); }

.legal-footer { border-top: 1px solid var(--line); background: #fff; }
.legal-footer-main, .legal-footer-bottom { width: min(1120px, calc(100% - 40px)); margin: auto; }
.legal-footer-main { padding: 48px 0 35px; display: flex; align-items: flex-start; justify-content: space-between; gap: 45px; }
.legal-footer-main img { width: 145px; }
.legal-footer-main p { max-width: 390px; margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.legal-footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.legal-footer-main nav a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.legal-footer-main nav a:hover, .legal-footer-main nav a:focus-visible { color: var(--red); outline: 0; }
.legal-footer-bottom { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #94a3b8; font-size: 11px; }
.legal-footer-bottom a { color: var(--red); font-weight: 700; text-decoration: none; }

@media (max-width: 820px) {
  .legal-nav-shell { padding: 14px 0; align-items: flex-start; }
  .legal-nav a { padding: 7px 8px; font-size: 12px; }
  .legal-hero { grid-template-columns: 1fr; }
  .legal-summary-card { min-height: 180px; }
  .legal-body { grid-template-columns: 1fr; }
  .legal-aside { position: static; display: grid; grid-template-columns: repeat(2,1fr); }
  .legal-aside strong { grid-column: 1/-1; }
  .legal-footer-main { flex-direction: column; }
  .legal-footer-main nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .legal-nav-shell, .legal-shell, .legal-footer-main, .legal-footer-bottom { width: calc(100% - 28px); }
  .legal-nav-shell { flex-direction: column; gap: 11px; }
  .legal-nav { justify-content: flex-start; }
  .legal-hero { padding: 28px 22px; border-radius: 18px; }
  .legal-hero h1 { font-size: clamp(38px,12vw,52px); }
  .legal-section { padding: 27px 21px; grid-template-columns: 1fr; }
  .legal-aside { grid-template-columns: 1fr; }
  .legal-aside strong { grid-column: auto; }
  .legal-actions { padding: 22px 21px; }
  .legal-button { width: 100%; }
  .legal-footer-bottom { padding: 17px 0; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

