/* Root styles for Layer #0 */
:root {
  /* Layout scales with root font size */
  font-size: 16px;
}

/* Basic reset */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #0a0a0a;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* Hero из Layer #0 */
.hero {
  position: relative;
  display: grid; /* Grid для адаптивного контента */
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  padding: 2rem 1rem; /* Мобильный отступ */
  background: #ff6c1b; /* Оранжевый фон ближе к макету */
  color: #ffffff;
  overflow: hidden; /* Для декоративных элементов */
}


/* Контент: заголовок и подзаголовок */
.hero-content {
  max-width: 70rem;
  justify-self: start; /* выравнивание влево как в макете */
  position: relative;
  z-index: 1; /* поверх декора */
}

.hero-title {
  margin: 0 0 1rem;
  font-weight: 800;
  line-height: 1.1;
  font-size: 2.25rem; /* Mobile */
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, 'Helvetica Neue', Arial;
}

.hero-subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, 'Helvetica Neue', Arial;
  font-weight: 500;
}

/* Нижний блок: бренд, подпись, ссылка */
.hero-bottom {
  --logo-h: 56px;
  display: flex;
  align-items: center;
  gap: 20px;

  margin-top: 2.5rem;
  width: 100%;
  position: relative;
  z-index: 1; /* поверх декора */
}

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

.brand-logo-image {
  display: block;
  height: var(--logo-h);
  width: auto;
}

.hero-caption {
  margin: 0;
  flex: 1; /* вот ключ! */
  font-size: 0.95rem;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, 'Helvetica Neue', Arial;
  font-weight: 500;
  line-height: 1.35;
}

.hero-link {
  background: #ffffff;
  color: #f66a0a;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  white-space: nowrap; /* чтобы не ломалась */
  z-index:1;
}

/* Декор: дуга */
.decor-arc {
  position: absolute;
  right: -12vw;
  bottom: -10vh;
  width: 85vw;
  height: auto; /* для изображения 2026.svg */
  pointer-events: none;
  z-index: 0;
}


/* Tablet: 481–1024px */
@media (min-width: 30.063rem) and (max-width: 64rem) {
  .hero {
    padding: 3rem 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }


  .hero-bottom {
    --logo-h: 64px; /* планшет */
  }


  .brand-logo-image {
    height: var(--logo-h);
  }

  .decor-arc {
    right: -8vw;
    bottom: -8vh;
    width: 70vw;
    height: auto;
  }
}

/* Desktop: 1025px+ */
@media (min-width: 64.063rem) {
  .hero {
    padding: 6rem 5rem;
  }

  .hero-content {
    max-width: 64rem;
    justify-self: start;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-bottom {
    --logo-h: 80px; /* десктоп */
    justify-self: start;
  }

  .brand-logo-image {
    height: var(--logo-h);
  }

  .decor-arc {
    right: 0vw;
    bottom: 0vh;
    width: 100vw;
    height: auto;
  }
}
.vline {
  width: 1px;
  height: var(--logo-h);
  background: rgba(255, 255, 255, 0.5);
}