:root {
  --bg: #0b0b0c;
  --panel: #141416;
  --panel-soft: #1d1f23;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f3f4f6;
  --muted: #b9c0cb;
  --red: #b31522;
  --red-2: #dc2626;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(880px 440px at 88% -10%, rgba(179, 21, 34, 0.24), transparent 62%),
    radial-gradient(760px 360px at 6% 0%, rgba(220, 38, 38, 0.16), transparent 62%),
    var(--bg);
}
a { color: inherit; }
.wrap { width: min(1100px, 94vw); margin: 0 auto; }

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.66)),
    url("/static/images/mailmichalak.png") center/cover no-repeat;
}
.hero-inner {
  min-height: 340px;
  padding: 34px 0 28px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.hero-logo {
  display: inline-block;
  text-decoration: none;
}
.hero-logo img {
  width: clamp(180px, 28vw, 320px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.5));
}
.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.03;
}
.hero p {
  margin: 0;
  color: #e5e7eb;
  max-width: 900px;
  line-height: 1.45;
}
.hero-links {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.chip {
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}
.chip.active {
  background: linear-gradient(120deg, var(--red), var(--red-2));
  border-color: rgba(220, 38, 38, 0.7);
}

main { padding: 16px 0 30px; }
.section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
}
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 38px);
}
.section p {
  margin: 0 0 10px;
  line-height: 1.5;
  color: #e2e5eb;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #e3e6ed;
}
.card li { line-height: 1.45; }
.muted { color: var(--muted); }

.footer {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  background: #09090a;
}
.footer-inner {
  min-height: 90px;
  display: grid;
  gap: 10px;
  align-items: center;
  grid-template-columns: 1fr auto;
}
.foot-copy { color: #d3d9e2; font-size: 13px; }
.foot-legal {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.foot-legal a {
  text-decoration: none;
  color: #c6ced8;
  font-size: 13px;
}
.foot-legal a:hover { color: #fff; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 12px 0;
  }
  .foot-legal { justify-content: center; }
}
