:root {
  --navy: #10243d;
  --deep: #07182b;
  --ink: #172133;
  --muted: #657287;
  --line: #d6dde7;
  --soft: #eef4f7;
  --glass: #66b8a4;
  --glass-dark: #237c71;
  --copper: #b8743f;
  --copper-soft: #f3dfcf;
  --white: #ffffff;
  --ok: #1f8a63;
  --warn: #a66412;
  --bad: #b43535;
  --shadow: 0 18px 50px rgba(10, 29, 53, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(16, 36, 61, 0.05), rgba(255, 255, 255, 0) 300px),
    var(--white);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.58;
}

a {
  color: var(--glass-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(214, 221, 231, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  box-shadow: inset 0 -4px 0 rgba(102, 184, 164, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--navy);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--deep);
  background: var(--soft);
  box-shadow: inset 0 -2px 0 var(--glass);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: stretch;
  padding: clamp(44px, 8vw, 88px) clamp(18px, 4vw, 56px) 38px;
  background:
    linear-gradient(135deg, rgba(16, 36, 61, 0.96), rgba(16, 36, 61, 0.82)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 54px);
  color: var(--white);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 18px;
  max-width: 900px;
  font-size: clamp(2.2rem, 6vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  color: #dce8ef;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--glass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: #c9dce6;
  font-size: 0.86rem;
}

.content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.content.wide {
  width: min(1280px, calc(100% - 28px));
}

.page-hero {
  padding: 42px clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 24, 43, 0.96), rgba(35, 124, 113, 0.72)),
    linear-gradient(90deg, var(--navy), var(--glass-dark));
}

.page-hero p {
  max-width: 850px;
  color: #edf7f5;
}

.section {
  margin: 34px 0;
}

h2 {
  margin: 42px 0 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.05rem;
}

.lead {
  max-width: 870px;
  color: #34445d;
  font-size: 1.08rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.note,
.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--copper);
  background: var(--copper-soft);
}

.callout {
  border-left-color: var(--glass);
  background: #e8f5f2;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 36, 61, 0.07);
}

.card .score {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 5px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.card p {
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.meta li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.88rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #f4f8fa;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.rating-good { color: var(--ok); font-weight: 800; }
.rating-watch { color: var(--warn); font-weight: 800; }
.rating-risk { color: var(--bad); font-weight: 800; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary,
button.primary,
.newsletter button {
  color: var(--white);
  background: var(--navy);
}

.btn:hover,
button:hover {
  border-color: var(--glass-dark);
  box-shadow: inset 0 -3px 0 var(--glass);
}

.newsletter {
  margin-top: 46px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.newsletter form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.newsletter input[type="email"] {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.consent,
.msg {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
}

.consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.msg.success { color: var(--ok); font-weight: 700; }
.msg.error { color: var(--bad); font-weight: 700; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #d7e4ea;
  background: var(--deep);
}

.footer a {
  color: #d7e4ea;
  margin-right: 12px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: none;
  width: min(430px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-banner.show {
  display: block;
}

.cookie-banner h4 {
  margin: 0 0 8px;
  color: var(--navy);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.compact-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 24px;
}

address {
  font-style: normal;
}

@media (max-width: 880px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .newsletter form {
    grid-template-columns: 1fr;
  }
}

@media print {
  .topbar,
  .newsletter,
  .cookie-banner,
  .footer {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
