@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,500;0,600;0,700;1,300;1,700&display=swap");

:root {
  --color-light: #e7e7e7;
  --color-accent: #fee5a5;
  --color-dark-soft: #3d3d3d;
  --color-dark: #262627;

  --font-main: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  font-weight: 300;
  background:
    linear-gradient(135deg, #262627 0, #3d3d3d 45%, #000 100%),
    radial-gradient(circle at top right, rgba(254, 229, 165, 0.15), transparent 60%);
  color: var(--color-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.page__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

header.site-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__logo {
  display: inline-block;
}

.site-header__logo img {
  display: block;
  width: 23%;
  height: 70%;
}

.site-header__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-header__name {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.site-header__tagline {
  font-weight: 300;
  font-size: 12px;
  opacity: 0.8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0;
  font-size: 15px;
}

.site-nav__link {
  position: relative;
  padding: 4px 0;
  font-weight: 500;
  color: var(--color-light);
  opacity: 0.85;
  text-decoration: none;
}

.site-nav__link--active {
  opacity: 1;
}

.site-nav__link:hover {
  opacity: 1;
  text-decoration: none;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.18s ease;
}

.site-nav__link--active::after,
.site-nav__link:hover::after {
  width: 100%;
}

main {
  grid-column: 2;
}

.sidebar {
  grid-column: 1;
  align-self: flex-start;
  position: sticky;
  top: 20px;
}

.sidebar-card {
  background: rgba(38, 38, 39, 0.96);
  border-radius: 20px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(254, 229, 165, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.sidebar-card__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.sidebar-card__body {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.9;
}

.sidebar-card__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.sidebar-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
}

.sidebar-card__label {
  opacity: 0.7;
}

.sidebar-card__value {
  font-weight: 500;
}

.hero {
  border-radius: 24px;
  padding: 22px 22px 20px;
  margin-bottom: 26px;
  background: radial-gradient(circle at top left, #fee5a5 0, #3d3d3d 45%, #262627 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(231, 231, 231, 0.12);
}

.hero__text h1 {
  font-size: clamp(26px, 3.1vw, 34px);
  margin: 0 0 10px;
  font-weight: 700;
}

.hero__lead {
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 10px;
}

.hero__p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 8px;
  color: rgba(15, 15, 15, 0.9);
}

.hero__note {
  font-weight: 600;
  color: #262627;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(38, 38, 39, 0.8);
  background: rgba(255, 255, 255, 0.28);
  color: #262627;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(254, 229, 165, 0.7);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #262627;
  background: rgba(254, 229, 165, 0.88);
  margin-top: 8px;
}

.muted {
  opacity: 0.78;
}

.section {
  margin-bottom: 30px;
  padding: 18px 20px 18px;
  border-radius: 18px;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(231, 231, 231, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}

.section--plain {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-inline: 0;
}

.section__title {
  font-size: 19px;
  margin: 0 0 10px;
  font-weight: 600;
}

.section__subtitle {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 500;
}

.section__text {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 8px;
  color: rgba(231, 231, 231, 0.9);
}

.card {
  background: rgba(38, 38, 39, 0.98);
  border-radius: 16px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(254, 229, 165, 0.3);
  max-width: 100%;
}

.card + .card {
  margin-top: 14px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 4px;
}

.table th,
.table td {
  padding: 7px 9px;
  text-align: left;
}

.table th {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  border-bottom: 1px solid rgba(231, 231, 231, 0.18);
}

.table tr:nth-child(even) td {
  background: rgba(22, 22, 23, 0.9);
}

.table tr:nth-child(odd) td {
  background: rgba(38, 38, 39, 0.96);
}

.table td:first-child,
.table th:first-child {
  border-radius: 9px 0 0 9px;
}

.table td:last-child,
.table th:last-child {
  border-radius: 0 9px 9px 0;
}

.list {
  padding-left: 18px;
  margin: 4px 0 8px;
  font-size: 14px;
  line-height: 1.7;
}

.list li + li {
  margin-top: 3px;
}

.section__text,
.list,
.card {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section-image {
  margin: 10px 0 6px;
  text-align: center;
}

.section-image img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, #fee5a5, #e7e7e7);
  color: #262627;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  text-decoration: none;
}

.btn-cta--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid rgba(254, 229, 165, 0.85);
  box-shadow: none;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
  opacity: 0.95;
  text-decoration: none;
}

.btn-cta--outline:hover {
  background: rgba(254, 229, 165, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
}

footer.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(231, 231, 231, 0.12);
}

.site-footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px 22px;
  font-size: 11px;
  color: rgba(231, 231, 231, 0.7);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.site-footer__links {
  display: flex;
  gap: 12px;
}

.site-footer__links a {
  opacity: 0.9;
}

.site-footer__links a:hover {
  opacity: 1;
}

@media (max-width: 960px) {
  .page__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 20px;
  }

  .sidebar {
    position: static;
    grid-column: 1;
    order: 2;
  }

  main {
    grid-column: 1;
    order: 1;
  }

  header.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

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

  .hero {
    padding-inline: 16px;
  }

  .section {
    padding-inline: 14px;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table {
    min-width: 720px;
  }
}

