:root {
  --blue: #16a9df;
  --blue-dark: #087da9;
  --blue-soft: #e9f7fc;
  --green: #a7d58b;
  --green-soft: #edf8e7;
  --ink: #14242d;
  --muted: #60727c;
  --background: #f4f8fa;
  --surface: #ffffff;
  --border: #dce8ed;
  --shadow: 0 14px 40px rgba(20, 73, 98, 0.10);
  --shadow-small: 0 7px 21px rgba(20, 73, 98, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(22, 169, 223, 0.14), transparent 31rem),
    radial-gradient(circle at 100% 25%, rgba(167, 213, 139, 0.20), transparent 30rem),
    var(--background);
}

a {
  color: inherit;
}

.page {
  width: min(790px, calc(100% - 30px));
  margin: 0 auto;
  padding: 46px 0 34px;
}

.hero {
  margin-bottom: 46px;
  text-align: center;
}

.channel-logo {
  display: block;
  width: 170px;
  height: 170px;
  margin: 0 auto;
  border: 7px solid rgba(255, 255, 255, 0.88);
  border-radius: 36px;
  background: #ffffff;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker {
  margin: 24px 0 7px;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.17em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.048em;
}

.intro {
  max-width: 650px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 25px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-small);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 169, 223, 0.52);
  box-shadow: 0 11px 25px rgba(20, 73, 98, 0.12);
  outline: none;
}

.social svg {
  width: 20px;
  height: 20px;
  overflow: visible;
}

.social-instagram svg {
  fill: none;
  stroke: #e4405f;
  stroke-width: 1.9;
}

.social-instagram .social-dot {
  fill: #e4405f;
  stroke: none;
}

.social-tiktok svg {
  fill: #111111;
}

.social-telegram svg {
  fill: #249bd7;
}

.recommendations {
  padding: 22px;
  border: 1px solid rgba(220, 232, 237, 0.9);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(7px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-kicker {
  margin-top: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 2.1rem);
  letter-spacing: -0.035em;
}

.cards {
  display: grid;
  gap: 13px;
}

.product-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--surface);
  box-shadow: 0 5px 16px rgba(20, 73, 98, 0.05);
  text-decoration: none;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 169, 223, 0.58);
  box-shadow: 0 13px 28px rgba(20, 73, 98, 0.12);
  outline: none;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--blue-soft), var(--green-soft));
}

.product-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-copy h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.28;
}

.product-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-arrow {
  color: var(--blue-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

.footer {
  margin-top: 31px;
  padding-top: 21px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
  text-align: center;
}

.footer p {
  max-width: 650px;
  margin: 8px auto;
}

.copyright {
  color: #7e8d95;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
}

.not-found-card {
  width: min(560px, 100%);
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.not-found-logo {
  width: 105px;
  height: 105px;
  border-radius: 23px;
  object-fit: cover;
}

.not-found-code {
  margin: 18px 0 5px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.not-found-card h1 {
  font-size: clamp(2rem, 8vw, 3rem);
}

.not-found-card p {
  color: var(--muted);
  line-height: 1.55;
}

.home-button {
  display: inline-block;
  margin-top: 9px;
  padding: 12px 18px;
  border-radius: 13px;
  background: var(--blue-dark);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.home-button:hover,
.home-button:focus-visible {
  background: #066b91;
  outline: 3px solid rgba(22, 169, 223, 0.18);
}

@media (max-width: 570px) {
  .page {
    width: min(100% - 22px, 790px);
    padding-top: 28px;
  }

  .channel-logo {
    width: 132px;
    height: 132px;
    border-radius: 29px;
  }

  .hero {
    margin-bottom: 34px;
  }

  .recommendations {
    padding: 13px;
    border-radius: 20px;
  }

  .product-card {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .product-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .product-icon svg {
    width: 25px;
    height: 25px;
  }

  .social {
    padding: 9px 12px;
  }

  .not-found-card {
    padding: 27px 20px;
  }
}
