:root {
  --ink: #10243a;
  --ink-soft: #3d5265;
  --paper: #f8f8f4;
  --surface: #ffffff;
  --surface-soft: #edf4f0;
  --line: #d8e1df;
  --mint: #76e5bd;
  --mint-deep: #1c815f;
  --blue-soft: #dce9ff;
  --blue: #416fb8;
  --shadow: 0 24px 70px rgba(16, 36, 58, 0.09);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--mint-deep);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 999px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 10px;
  font-size: 17px;
  font-weight: 850;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a:not(.nav-action) {
  transition: color 160ms ease;
}

.main-nav a:not(.nav-action):hover {
  color: var(--ink);
}

.nav-action {
  padding: 10px 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.nav-action:hover,
.nav-action:active {
  border-color: var(--mint-deep);
  transform: translateY(-1px);
}

.hero {
  overflow: hidden;
  padding: 76px 0 88px;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--mint-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.3vw, 78px);
  line-height: 0.99;
}

.hero-lede {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:active {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--mint);
}

.button-primary:hover {
  background: #8aebc8;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--ink-soft);
  background: var(--surface);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint-deep);
}

.hero-panel {
  position: relative;
  min-height: 370px;
  padding: 27px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(118, 229, 189, 0.28);
  border-radius: 50%;
  content: "";
}

.hero-panel::after {
  position: absolute;
  right: -6px;
  bottom: -42px;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(118, 229, 189, 0.42);
  border-radius: 50%;
  content: "";
}

.hero-panel-top,
.hero-panel-bottom {
  display: flex;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 14px;
  color: rgba(248, 248, 244, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.panel-status {
  color: var(--mint);
}

.hero-panel-main {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 255px;
  align-content: center;
}

.panel-index {
  margin-bottom: 19px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel h2 {
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(36px, 4.5vw, 57px);
  line-height: 0.98;
}

.hero-panel-bottom {
  position: absolute;
  right: 27px;
  bottom: 27px;
  left: 27px;
}

.panel-arrow {
  color: var(--mint);
  font-size: 18px;
  line-height: 0.7;
}

.section {
  padding: 108px 0;
  background: var(--paper);
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.72fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 39px;
}

.section-heading h2,
.selection-intro h2,
.footer-main h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.3vw, 57px);
  line-height: 1.02;
}

.section-heading > p {
  max-width: 420px;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 15px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.offer-card {
  display: flex;
  min-height: 405px;
  flex-direction: column;
  padding: 27px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.offer-card:hover {
  border-color: #a5c4b9;
  box-shadow: 0 16px 32px rgba(16, 36, 58, 0.06);
  transform: translateY(-3px);
}

.offer-card-featured {
  border-color: #9cd6c2;
  background: #fafffc;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.category-chip {
  padding: 6px 9px;
  color: var(--mint-deep);
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-chip-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.card-number {
  color: #94a4ad;
  font-size: 12px;
  font-weight: 750;
}

.offer-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.1;
}

.card-description {
  min-height: 78px;
  margin-bottom: 19px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.card-list {
  display: grid;
  gap: 9px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 13px;
}

.card-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.card-list li::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--mint-deep);
  content: "";
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.card-link span {
  color: var(--mint-deep);
  font-size: 16px;
  transition: transform 160ms ease;
}

.card-link:hover span {
  transform: translate(2px, -2px);
}

.selection-section {
  padding: 100px 0;
  color: var(--paper);
  background: var(--ink);
}

.selection-intro {
  margin-bottom: 42px;
}

.selection-intro h2 {
  color: var(--paper);
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(248, 248, 244, 0.22);
}

.selection-item {
  min-height: 190px;
  padding: 25px 28px 14px 0;
  border-right: 1px solid rgba(248, 248, 244, 0.22);
}

.selection-item:not(:first-child) {
  padding-left: 28px;
}

.selection-item:last-child {
  border-right: 0;
}

.selection-index {
  display: block;
  margin-bottom: 24px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.selection-item h3 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 18px;
  line-height: 1.2;
}

.selection-item p {
  max-width: 260px;
  margin-bottom: 0;
  color: rgba(248, 248, 244, 0.66);
  font-size: 13px;
}

.site-footer {
  padding: 86px 0 25px;
  background: var(--surface-soft);
}

.footer-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 77px;
}

.footer-main h2 span {
  color: var(--mint-deep);
}

.telegram-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.telegram-link:hover,
.telegram-link:active {
  background: #8aebc8;
  transform: translateY(-2px);
}

.telegram-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 36, 58, 0.18);
  color: var(--ink-soft);
  font-size: 11px;
}

.footer-bottom p {
  max-width: 680px;
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .hero-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 52px;
  }

  .hero-panel {
    min-height: 300px;
  }

  .hero-panel-main {
    min-height: 190px;
  }

  .offer-grid,
  .selection-grid {
    grid-template-columns: 1fr;
  }

  .selection-item,
  .selection-item:not(:first-child) {
    min-height: auto;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(248, 248, 244, 0.22);
  }

  .selection-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .header-inner {
    min-height: 68px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a:not(.nav-action) {
    display: none;
  }

  .hero {
    padding: 58px 0 70px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .section {
    padding: 76px 0;
  }

  .offer-card {
    min-height: 0;
    padding: 23px;
  }

  .card-description {
    min-height: 0;
  }

  .selection-section {
    padding: 76px 0;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    padding-bottom: 55px;
  }

  .footer-bottom {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
