:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6678;
  --line: rgba(17, 24, 39, .12);
  --panel: rgba(255, 255, 255, .88);
  --soft: #f7f8fc;
  --blue: #123a8c;
  --orange: #f26a21;
  --accent: #2458d8;
  --shadow: 0 24px 70px rgba(18, 58, 140, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 106, 33, .16), transparent 30%),
    radial-gradient(circle at 86% 0%, rgba(36, 88, 216, .16), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f4f6fb 100%);
}

a { color: inherit; }
.watermark-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: .035;
  pointer-events: none;
}
.watermark-bg span {
  display: block;
  width: 220vw;
  transform: rotate(-24deg) translate(-16%, 18%);
  color: var(--blue);
  font-size: clamp(42px, 8vw, 130px);
  font-weight: 900;
  line-height: 1.6;
  word-spacing: 30px;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 176px; max-height: 58px; object-fit: contain; }
.fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }

.btn {
  appearance: none;
  border: 1px solid rgba(18, 58, 140, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font: 800 14px/1 var(--font, inherit);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(18, 58, 140, .14); }
.btn.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--accent) 55%, var(--orange));
}

.hero {
  margin: 34px 0 24px;
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.68));
  box-shadow: var(--shadow);
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 106, 33, .12);
  color: #9b3b10;
  font-weight: 900;
  letter-spacing: .02em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .94;
  letter-spacing: 0;
}
.lead {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.quick {
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
}
.quick strong { display: block; margin-bottom: 8px; font-size: 18px; }
.quick span { color: var(--muted); line-height: 1.45; }

.layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(17, 24, 39, .08);
}
.sidebar h2 { font-size: 16px; line-height: 1.3; }
.nav-list { display: grid; gap: 8px; }
.nav-list a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}
.nav-list a.active, .nav-list a:hover { background: rgba(18, 58, 140, .08); color: var(--blue); }

.content { display: grid; gap: 18px; }
.card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(17, 24, 39, .07);
}
.card h2 { font-size: clamp(27px, 3vw, 40px); margin-bottom: 14px; }
.card h3 { margin: 24px 0 10px; color: var(--blue); }
.card p, .card li { color: #3f4656; line-height: 1.72; font-size: 16px; }
.card ul { padding-left: 20px; }
.info-list { list-style: none; padding-left: 0 !important; display: grid; gap: 12px; }
.info-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}
.info-list strong { display: block; color: var(--ink); margin-bottom: 4px; }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}
.cookie-table th, .cookie-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.cookie-table th { background: rgba(18, 58, 140, .08); color: var(--blue); }

.privacy-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 8px; color: var(--ink); font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(17, 24, 39, .16);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: 600 15px/1.35 inherit;
}
textarea { min-height: 150px; resize: vertical; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; color: var(--muted); }
.checkline input { width: 18px; min-height: 18px; margin-top: 3px; }
.result-box {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 101, 52, .2);
  background: rgba(220, 252, 231, .82);
  color: #166534;
  font-weight: 800;
}
.result-box.show { display: block; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 22px 4px;
  color: var(--muted);
  font-weight: 700;
}

.cookie-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: min(420px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(17, 24, 39, .22);
  transform: translateY(calc(100% + 40px));
  transition: transform .24s ease;
}
.cookie-panel.open { transform: translateY(0); }
.cookie-options { display: grid; gap: 10px; margin: 16px 0; }
.cookie-options label { display: flex; justify-content: space-between; align-items: center; }
.cookie-options input { width: 20px; min-height: 20px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .topbar, .footer { align-items: flex-start; flex-direction: column; }
  .actions { justify-content: flex-start; }
  .quick-grid, .layout, .form-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 560px) {
  .page { width: min(100% - 20px, 1180px); padding-top: 10px; }
  .topbar { top: 8px; border-radius: 16px; }
  .logo img { width: 150px; }
  .btn { width: 100%; }
  .actions { width: 100%; }
  .hero, .card { border-radius: 20px; }
}

@media print {
  .topbar .actions, .sidebar, .cookie-panel { display: none !important; }
  .layout { display: block; }
  .card, .hero, .topbar { box-shadow: none; }
}
