:root {
  --ink: #111522;
  --paper: #f7f8fb;
  --white: #ffffff;
  --muted: #dce3ef;
  --yellow: #ffd43b;
  --telegram: #229ed9;
  --telegram-dark: #147eb0;
  --red: #f05c45;
  --green: #35c486;
  --line: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

.page {
  min-height: 100svh;
  overflow-x: hidden;
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 100vw;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
}

.hero-media,
.hero-media::after,
.hero-media img {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero-media::after {
  content: "";
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 212, 59, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(10, 14, 24, 0.96) 0%, rgba(10, 14, 24, 0.82) 43%, rgba(10, 14, 24, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 14, 24, 0.42), rgba(10, 14, 24, 0.05));
}

.topbar,
.hero-grid,
.company-footer,
.fixed-telegram {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
}

.brand img {
  width: clamp(154px, 17vw, 198px);
  height: auto;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--telegram);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(34, 158, 217, 0.28);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.telegram-link:hover {
  transform: translateY(-2px);
  background: var(--telegram-dark);
  box-shadow: 0 18px 40px rgba(34, 158, 217, 0.36);
}

.telegram-link:focus-visible,
.ghost-link:focus-visible {
  outline: 3px solid rgba(255, 212, 59, 0.9);
  outline-offset: 4px;
}

.telegram-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 690px) minmax(260px, 360px);
  align-items: end;
  gap: clamp(24px, 5vw, 68px);
  width: min(1180px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: auto;
  padding: clamp(34px, 6vh, 68px) 0 clamp(72px, 8vh, 96px);
}

.copy,
.route,
.metrics,
.actions,
.lead,
h1 {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(53, 196, 134, 0.16);
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 620px;
  margin: clamp(18px, 2.5vw, 26px) 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.35;
  overflow-wrap: break-word;
}

.lead strong {
  color: var(--yellow);
  white-space: nowrap;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3.2vw, 34px);
}

.main-cta {
  min-height: 58px;
  padding: 0 24px;
  font-size: 17px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 800;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background-color 180ms ease;
}

.ghost-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  padding: 0;
}

.metric {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.metric dt {
  margin: 0;
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 950;
  line-height: 1;
}

.metric dd {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.route {
  align-self: end;
  margin-bottom: 70px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(17, 21, 34, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.route-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 15px;
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
}

.route-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: start;
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(34, 158, 217, 0.18);
  color: var(--yellow);
  font-size: 14px;
  font-weight: 950;
}

.step strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
}

.step span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.35;
}

.company-footer {
  width: 100%;
  margin: 0;
  padding: 16px clamp(18px, 3vw, 34px) 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #101522;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.35;
}

.company-footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  width: min(1180px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding-right: min(240px, 24vw);
  font-style: normal;
}

.company-footer strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.company-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.company-footer a:hover {
  color: var(--yellow);
}

.company-footer span,
.company-footer a,
.company-footer strong {
  white-space: nowrap;
}

.categories {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px) clamp(18px, 3vw, 34px);
  background: linear-gradient(180deg, #101522 0%, #171d2b 58%, #101522 100%);
  color: var(--white);
}

.categories-inner {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 68px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.categories-copy {
  min-width: 0;
}

.categories h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.categories-copy p:last-child {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.45;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list li {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.fixed-telegram {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 4;
}

.fixed-telegram .telegram-link {
  min-height: 58px;
  padding: 0 22px;
  border-color: rgba(255, 255, 255, 0.42);
}

@media (min-width: 881px) {
  .hero {
    height: 100svh;
  }
}

@media (max-width: 880px) {
  .hero {
    min-height: 100svh;
    padding: 16px;
  }

  .hero-media img {
    object-position: 67% center;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(10, 14, 24, 0.88) 0%, rgba(10, 14, 24, 0.82) 44%, rgba(10, 14, 24, 0.95) 100%),
      radial-gradient(circle at 78% 22%, rgba(255, 212, 59, 0.22), transparent 28%);
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar .telegram-link {
    min-height: 42px;
    padding: 0 13px;
    font-size: 0;
  }

  .topbar .telegram-icon {
    margin: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 44px 0 58px;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(34px, 10vw, 54px);
    line-height: 1;
  }

  .lead {
    max-width: 560px;
    font-size: clamp(17px, 4.5vw, 21px);
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric {
    min-height: 76px;
    padding: 12px 10px;
  }

  .metric dt {
    font-size: clamp(20px, 6vw, 28px);
  }

  .metric dd {
    font-size: 12px;
  }

  .route {
    margin-bottom: 0;
    padding: 14px;
  }

  .company-footer {
    padding-bottom: 88px;
  }

  .company-footer address {
    gap: 5px 12px;
    padding-right: 0;
  }

  .categories-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .topbar,
  .hero-grid {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .brand img {
    width: 142px;
  }

  h1 {
    font-size: clamp(32px, 9.6vw, 42px);
    line-height: 1.03;
  }

  .lead {
    font-size: 15.5px;
    line-height: 1.34;
    width: 100%;
  }

  .lead strong {
    white-space: normal;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .actions {
    align-items: stretch;
    gap: 10px;
  }

  .actions .telegram-link,
  .ghost-link {
    width: 100%;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:first-child {
    grid-column: 1 / -1;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    grid-template-columns: 30px 1fr;
  }

  .step-number {
    width: 30px;
    height: 30px;
  }

  .fixed-telegram {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .fixed-telegram .telegram-link {
    width: 100%;
    min-height: 56px;
    border-radius: 14px;
  }

  .company-footer {
    font-size: 10.8px;
  }

  .categories {
    padding: 24px 16px 38px;
  }

  .categories-inner {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .category-list li {
    min-height: 44px;
    padding: 10px 11px;
    font-size: 12.5px;
  }

  .company-footer span,
  .company-footer a,
  .company-footer strong {
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .topbar,
  .hero-grid {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero {
    min-height: 100svh;
    padding: 14px;
  }

  .hero-grid {
    gap: 16px;
    padding-top: 34px;
    padding-bottom: 38px;
  }

  h1 {
    font-size: clamp(29px, 9vw, 36px);
  }

  .lead {
    font-size: 15px;
  }

  .metric dd,
  .step span {
    font-size: 11.5px;
  }

  .main-cta,
  .ghost-link {
    min-height: 52px;
  }

  .metrics {
    gap: 8px;
    margin-top: 20px;
  }

  .metric {
    min-height: 68px;
  }

  .route-title {
    margin-bottom: 10px;
  }

  .note {
    display: none;
  }

  .categories {
    padding-top: 20px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .categories-inner {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .category-list {
    gap: 8px;
  }

  .category-list li {
    font-size: 12px;
  }
}
