:root {
  color-scheme: dark;
  --bg: #111313;
  --bg-deep: #090b0c;
  --line: #2e3839;
  --text: #ece8dc;
  --muted: #b9b1a2;
  --dim: #7e867f;
  --accent: #d2ad62;
  --accent-hot: #f4d894;
  --accent-dark: #826235;
  --steel: #8eb5bd;
  --green: #7ce0c3;
  --rust: #b97745;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(11, 18, 20, 0) 0%, var(--bg) 680px, var(--bg-deep) 100%),
    #101313;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

.bear-page {
  width: 100%;
  margin: 0;
}

.bear-hero {
  min-height: min(720px, 76vh);
  display: grid;
  align-items: end;
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 72px);
  background-image:
    linear-gradient(90deg, rgba(7, 9, 10, 0.94) 0%, rgba(7, 9, 10, 0.74) 43%, rgba(7, 9, 10, 0.18) 78%),
    linear-gradient(180deg, rgba(8, 12, 13, 0.05) 0%, rgba(17, 19, 19, 0.18) 58%, var(--bg) 100%),
    url("bear-sloboda.webp");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(142, 181, 189, 0.24);
}

.bear-hero__inner {
  width: min(790px, 100%);
}

.bear-kicker {
  margin: 0;
  color: var(--accent-hot);
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 820;
  text-transform: uppercase;
}

.bear-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.bear-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(142, 181, 189, 0.42);
  border-radius: 999px;
  background: rgba(9, 13, 14, 0.56);
  color: #d8e4e3;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.bear-title {
  max-width: 9.5ch;
  margin: 16px 0 0;
  color: #f1e2c6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7.4vw, 96px);
  font-weight: 520;
  line-height: 0.94;
  text-shadow:
    0 3px 18px rgba(0, 0, 0, 0.9),
    0 0 34px rgba(8, 13, 13, 0.72);
}

.bear-lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: #e4dac7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
}

.bear-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid rgba(244, 216, 148, 0.72);
  border-radius: 6px;
  background: linear-gradient(110deg, var(--accent-dark), var(--rust) 40%, #ffe7a7 52%, var(--accent) 68%, #705026);
  color: #15100a;
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bear-button:hover,
.bear-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
  outline: none;
}

.bear-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.bear-summary {
  display: grid;
  gap: 16px;
  padding: clamp(34px, 7vw, 76px) 0 clamp(26px, 5vw, 54px);
}

.bear-summary p,
.bear-copy p,
.bear-cta p {
  margin: 0;
  color: #d9d1c1;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.62;
}

.bear-summary p {
  max-width: 920px;
}

.bear-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(34px, 7vw, 78px) 0;
  border-top: 1px solid rgba(142, 181, 189, 0.18);
}

.bear-section__image {
  width: 100%;
  margin: 0;
}

.bear-section__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.66 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(142, 181, 189, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.4);
}

.bear-section--trial .bear-section__image img {
  object-position: 42% center;
}

.bear-copy h2 {
  margin: 0 0 18px;
  color: #f1deb5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 520;
  line-height: 1;
}

.bear-copy p + p {
  margin-top: 16px;
}

.bear-section--guest .bear-copy h2 {
  color: #d7f5ef;
  text-shadow: 0 0 18px rgba(124, 224, 195, 0.16);
}

.bear-cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(36px, 7vw, 80px) 0 clamp(46px, 8vw, 92px);
  border-top: 1px solid rgba(142, 181, 189, 0.18);
  text-align: center;
}

.bear-cta h2 {
  max-width: 880px;
  margin: 0;
  color: #f0e0c2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 520;
  line-height: 1;
}

.bear-cta p {
  max-width: 760px;
}

.bear-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: var(--dim);
  font-size: 13px;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(244, 216, 148, 0.24);
  border-radius: 8px;
  background: rgba(13, 16, 16, 0.96);
  color: #ddd3c1;
  text-align: center;
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.48);
}

.cookie-banner.is-visible {
  display: block;
}

body.has-cookie-banner {
  padding-bottom: 100px;
}

.cookie-banner p {
  display: inline;
  margin: 0 12px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-banner button {
  margin-top: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 5px;
  background: var(--accent);
  color: #171208;
  cursor: pointer;
  font-weight: 800;
}

@media (min-width: 840px) {
  .bear-section {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .bear-section--trial .bear-section__image {
    order: 2;
  }
}

@media (max-width: 680px) {
  .bear-hero {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 32px;
    background-position: 58% center;
  }

  .bear-badge {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .bear-title {
    max-width: 12ch;
    font-size: clamp(32px, 9.3vw, 42px);
    line-height: 1.02;
  }

  .bear-lead {
    font-size: clamp(16px, 4.3vw, 19px);
    line-height: 1.32;
  }

  .bear-summary {
    gap: 12px;
    padding: 24px 0 18px;
  }

  .bear-section {
    gap: 20px;
    padding: 26px 0;
  }

  .bear-summary p,
  .bear-copy p,
  .bear-cta p {
    font-size: 16px;
    line-height: 1.5;
  }

  .bear-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 8vw, 34px);
  }

  .bear-copy p + p {
    margin-top: 12px;
  }

  .bear-section__image img {
    aspect-ratio: 1.22 / 1;
  }

  .bear-cta {
    padding: 28px 0 40px;
    gap: 14px;
  }

  .bear-cta h2 {
    font-size: clamp(26px, 8vw, 40px);
  }

  .bear-button {
    width: 100%;
  }

  .cookie-banner p {
    display: block;
    margin: 0;
  }

  body.has-cookie-banner {
    padding-bottom: 140px;
  }
}
