/* Theme */
:root {
  --c-bg: #262627;
  --c-surface: #3d3d3d;
  --c-text: #e7e7e7;
  --c-accent: #fee5a5;

  --radius: 18px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  --border: 1px solid rgba(231, 231, 231, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  overflow-x: clip;
  background:
    radial-gradient(1100px 520px at 18% -10%, rgba(254, 229, 165, 0.22), rgba(0, 0, 0, 0) 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(61, 61, 61, 0.55), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, #1b1b1c 0%, var(--c-bg) 55%, #0f0f10 100%);
}

a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 980px;
  padding-inline: 20px;
  margin: 0 auto;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: var(--border);
  background: rgba(38, 38, 39, 0.86);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  height: 30px;
  width: auto;
  max-width: 180px;
  flex: none;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  justify-content: flex-end;
}

.nav a {
  color: rgba(231, 231, 231, 0.88);
  padding: 6px 10px;
  border-radius: 10px;
}

.nav a[aria-current="page"] {
  color: var(--c-accent);
  background: rgba(254, 229, 165, 0.1);
}

.nav a:hover {
  text-decoration: none;
  background: rgba(231, 231, 231, 0.08);
}

.site-main {
  flex: 1;
}

.article {
  padding: 28px 0 60px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 700;
}

.article .lead {
  margin: 0 0 22px;
  font-size: 17px;
  font-weight: 300;
  color: rgba(231, 231, 231, 0.92);
}

.block {
  margin: 0 0 18px;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(231, 231, 231, 0.1);
  background: rgba(38, 38, 39, 0.92);
  box-shadow: var(--shadow);
}

.block:last-child {
  margin-bottom: 0;
}

.block h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.block h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.block p {
  margin: 0 0 12px;
}

.block p:last-child {
  margin-bottom: 0;
}

.list {
  margin: 0 0 12px 1.15em;
  padding: 0;
}

.list li {
  margin-bottom: 6px;
}

.list li:last-child {
  margin-bottom: 0;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.section-media {
  margin: 12px 0 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.section-media img {
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  max-width: 100%;
  height: auto;
}

.sta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid rgba(254, 229, 165, 0.5);
  background: linear-gradient(135deg, var(--c-accent), rgba(231, 231, 231, 0.9));
  color: var(--c-bg);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.sta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.78);
}

.sta--ghost {
  background: transparent;
  color: var(--c-accent);
  box-shadow: none;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 4px;
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(231, 231, 231, 0.1);
  background: rgba(0, 0, 0, 0.14);
  margin: 10px 0 4px;
}

.table-wrap .table {
  margin: 0;
}

.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(231, 231, 231, 0.12);
}

.table th {
  font-weight: 600;
  white-space: nowrap;
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: none;
}

.site-footer {
  border-top: var(--border);
  background: rgba(15, 15, 16, 0.92);
}

.site-footer__inner {
  padding: 18px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-nav a {
  color: rgba(231, 231, 231, 0.78);
  font-size: 13px;
}

@media (max-width: 720px) {
  .container {
    padding-inline: 16px;
  }

  .article h1 {
    font-size: 26px;
  }

  .article .lead {
    font-size: 15px;
  }

  .block {
    padding-inline: 16px;
  }

  .table {
    font-size: 13px;
  }

  .table-wrap {
    margin: 10px 0 4px;
  }
}
