:root {
  --ink: #211c1a;
  --muted: #6a5f59;
  --paper: #faf9f6;
  --cream: #f2f4f1;
  --coral: #e85f55;
  --coral-dark: #c8433d;
  --teal: #126b65;
  --teal-soft: #eef4f2;
  --gold: #eab35d;
  --line: rgba(33, 28, 26, 0.12);
  --shadow: 0 20px 60px rgba(55, 42, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  color: #fff;
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  overflow: hidden;
  background: var(--cream);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  gap: 20px;
  font-size: 15px;
  font-weight: 650;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #263b38;
}

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

.hero-media {
  background-image: url("/assets/hero-telegram.jpg");
  background-position: center right;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 15, 15, 0.9) 0%, rgba(31, 20, 19, 0.72) 43%, rgba(39, 22, 20, 0.2) 100%),
    linear-gradient(0deg, rgba(23, 15, 15, 0.34), rgba(23, 15, 15, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: max(40px, calc((100vw - 1180px) / 2));
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 16px 30px rgba(232, 95, 85, 0.28);
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button.wide {
  width: 100%;
}

.note {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.intro {
  background: #f2f4f1;
  border-bottom: 1px solid var(--line);
}

.intro-inner {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.intro p {
  margin: 0;
  color: #403d39;
  font-size: 20px;
}

.sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.info-block {
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(88, 66, 51, 0.08);
}

.info-block p,
.info-block li {
  color: var(--muted);
  font-size: 17px;
}

.block-label {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.flow {
  counter-reset: flow-step;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.flow span {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 13px 16px 13px 48px;
  border: 1px dashed rgba(33, 28, 26, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
}

.flow span::before {
  counter-increment: flow-step;
  position: absolute;
  left: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  content: counter(flow-step);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--teal);
  font-weight: 900;
  content: "✓";
}

.cta-block {
  color: #fff;
  background: var(--ink);
}

.cta-block .block-label {
  color: var(--ink);
  background: var(--gold);
}

.cta-block p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-block .button {
  margin-top: 32px;
}

.closing {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 72px;
  padding: 58px 0 10px;
  text-align: center;
}

.closing h2 {
  margin-bottom: 28px;
  font-size: 42px;
}

@media (max-width: 920px) {
  .topbar {
    padding: 16px 20px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(20, 25, 24, 0.93) 0%, rgba(20, 25, 24, 0.76) 70%, rgba(20, 25, 24, 0.38) 100%),
      linear-gradient(0deg, rgba(20, 25, 24, 0.44), rgba(20, 25, 24, 0.12));
  }

  .hero-inner {
    width: min(640px, calc(100% - 40px));
    margin: 0 auto;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 19px;
  }

  .intro p {
    font-size: 18px;
  }

  .sections {
    grid-template-columns: 1fr;
    padding: 52px 0;
  }

  .info-block {
    min-height: auto;
  }

  .closing h2 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 88vh;
  }

  .hero-inner {
    padding-top: 64px;
  }

  h1 {
    font-size: 36px;
  }

  h2,
  .closing h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-right: 16px;
    padding-left: 16px;
  }

  .intro-inner,
  .sections,
  .closing {
    width: min(100% - 28px, 1180px);
  }

  .info-block {
    padding: 24px;
  }
}
