:root {
  color-scheme: dark;
  --background: #03090d;
  --background-deep: #010507;
  --surface: rgba(8, 18, 24, 0.9);
  --surface-strong: #08131a;
  --border: rgba(129, 163, 184, 0.21);
  --border-strong: rgba(151, 180, 198, 0.34);
  --text: #f5f7f8;
  --muted: #aeb8be;
  --muted-deep: #7e8a91;
  --blue: #087dff;
  --blue-soft: #08a0ff;
  --gold: #ffb52b;
  --gold-deep: #f5a91c;
  --page-width: 1410px;
  --radius: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background-deep);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -20%, rgba(14, 53, 75, 0.16), transparent 36%),
    linear-gradient(180deg, #03090d 0%, #02080c 66%, #02070a 100%);
  background-color: var(--background-deep);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 76px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 max(28px, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid rgba(133, 158, 172, 0.13);
  background: rgba(1, 6, 9, 0.96);
}

.brand {
  width: 250px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 46px);
  font-size: 13px;
  white-space: nowrap;
}

.desktop-nav a,
.login-link {
  color: #f3f4f5;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.login-link:hover,
.login-link:focus-visible {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

.button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.button--gold {
  background: linear-gradient(112deg, #ffbb35 0%, #ffad1b 100%);
  color: #060809;
  box-shadow: 0 10px 28px rgba(246, 165, 18, 0.12);
}

.button--outline {
  border-color: rgba(235, 240, 242, 0.68);
  background: rgba(3, 9, 12, 0.7);
  color: var(--text);
}

.button--small {
  min-width: 142px;
  min-height: 40px;
  justify-content: center;
  padding-inline: 24px;
}

.play-mark {
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 438px;
  overflow: hidden;
  border-bottom: 1px solid rgba(112, 145, 164, 0.12);
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  background-image: url("./assets/welcome_sunrise_official.png");
  background-position: 68% 47%;
  background-size: cover;
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, #020709 0%, rgba(2, 7, 9, 0.96) 21%, rgba(3, 8, 10, 0.54) 53%, rgba(2, 7, 9, 0.12) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 5, 8, 0.26));
}

.hero__content {
  width: min(var(--page-width), calc(100% - 56px));
  margin: 0 auto;
  padding-top: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-soft);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.eyebrow--gold {
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 3vw, 49px);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 strong {
  color: var(--gold);
  font-weight: 700;
}

.hero h1 span {
  font-weight: 390;
}

.hero__support {
  margin: 22px 0 20px;
  color: #b9c0c4;
  font-size: 16px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 16px;
}

.hero__actions .button {
  width: 200px;
}

.hero__actions .button--outline {
  width: 245px;
}

.guidance {
  position: absolute;
  z-index: 2;
  top: 80px;
  right: max(54px, calc((100vw - var(--page-width)) / 2 + 56px));
  width: 255px;
  display: grid;
  gap: 16px;
}

.guidance-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 11px 15px;
  border: 1px solid rgba(172, 189, 198, 0.26);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(15, 23, 26, 0.9), rgba(14, 16, 15, 0.76));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(9px);
}

.guidance-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.42;
}

.guidance-card strong {
  color: var(--gold);
}

.icon-circle,
.benefit__icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 104, 205, 0.34);
  border-radius: 50%;
  background: rgba(4, 14, 21, 0.58);
  color: var(--blue);
}

.icon-circle {
  width: 52px;
  height: 52px;
}

.icon-circle svg,
.benefit__icon svg,
.cloud-icon svg {
  width: 68%;
  height: 68%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits,
.ecosystem,
.final-cta,
.trust {
  width: min(var(--page-width), calc(100% - 56px));
  margin-inline: auto;
}

.benefits {
  min-height: 104px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -2px;
  padding: 18px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(105deg, rgba(7, 16, 22, 0.97), rgba(5, 13, 17, 0.9));
}

.benefit {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
}

.benefit:first-child {
  padding-left: 0;
}

.benefit:last-child {
  padding-right: 0;
}

.benefit + .benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(123, 151, 167, 0.17);
}

.benefit__icon {
  width: 54px;
  height: 54px;
}

.benefit h2 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.35;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.ecosystem {
  display: grid;
  grid-template-columns: 285px 1fr;
  grid-template-rows: 225px;
  gap: 22px;
  margin-top: 18px;
  padding: 20px 26px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(5, 15, 21, 0.96), rgba(4, 12, 16, 0.84));
}

.ecosystem__intro {
  padding: 3px 2px;
}

.ecosystem__intro h2 {
  margin: 0 0 12px;
  font-size: 27px;
  font-weight: 530;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.ecosystem__intro > p:not(.eyebrow) {
  margin: 0 0 16px;
  color: #bbc3c7;
  font-size: 14px;
  line-height: 1.55;
}

.text-link {
  color: var(--blue-soft);
  font-size: 14px;
  white-space: nowrap;
}

.text-link span {
  display: inline-block;
  padding-left: 8px;
  font-size: 22px;
  vertical-align: -1px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  min-height: 0;
  height: 100%;
  display: flex;
  gap: 15px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(4, 12, 17, 0.58);
  overflow: hidden;
}

.product-card--cloud {
  display: grid;
  grid-template-rows: 58px 1fr;
}

.product-media {
  flex: 0 0 80px;
  align-self: stretch;
  border: 1px solid rgba(110, 144, 163, 0.26);
  border-radius: 12px;
  background:
    linear-gradient(155deg, rgba(4, 29, 46, 0.82), rgba(2, 8, 12, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(16, 95, 165, 0.16) 9px);
}

.product-media::after {
  content: "";
  display: block;
  width: 54%;
  height: 2px;
  margin: calc(100% + 38px) auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.8;
}

.product-card__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card h3 {
  margin: 3px 0 14px;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.15;
  text-transform: uppercase;
}

.product-card h3 strong {
  display: block;
  color: var(--blue);
  font-size: 19px;
  font-weight: 560;
}

.product-card p {
  margin: 0 0 10px;
  color: #c2c8cc;
  font-size: 12.5px;
  line-height: 1.48;
}

.product-card .text-link {
  margin-top: auto;
  font-size: 13px;
}

.cloud-icon {
  width: 68px;
  height: 48px;
  color: var(--blue);
}

.cloud-icon svg {
  width: 100%;
  height: 100%;
}

.sports {
  grid-column: 1 / -1;
  display: none;
}

.final-cta {
  display: none;
}

.trust {
  margin-top: 26px;
  padding: 0 190px 28px;
}

.trust > p {
  margin: 0 0 22px;
  color: #aab2b7;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
}

.trust ul,
.sports ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
}

.trust li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  color: #c8ced1;
  font-size: 13px;
  line-height: 1.45;
}

.trust li span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(122, 151, 168, 0.15);
  border-radius: 50%;
  color: #e0e5e8;
  font-size: 22px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 205px 1fr auto;
    gap: 20px;
  }

  .brand,
  .brand img {
    width: 195px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .guidance {
    right: 36px;
  }

  .benefit {
    padding-inline: 16px;
  }

  .ecosystem {
    grid-template-columns: 245px 1fr;
    grid-template-rows: auto;
  }

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

@media (max-width: 860px) {
  .site-header {
    height: 74px;
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }

  .brand {
    width: 182px;
    height: 50px;
  }

  .brand img {
    width: 176px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: white;
  }

  .menu-button span {
    width: 29px;
    height: 2px;
    display: block;
    justify-self: center;
    background: currentColor;
  }

  .mobile-menu {
    position: absolute;
    top: 66px;
    right: 20px;
    width: 210px;
    display: grid;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 8px;
    background: rgba(4, 11, 15, 0.98);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-inline: 13px;
    border-radius: 8px;
    font-size: 14px;
  }

  .hero {
    min-height: 560px;
  }

  .hero__image {
    background-position: 58% 50%;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(2, 7, 9, 0.97) 0%, rgba(2, 7, 9, 0.72) 55%, rgba(2, 7, 9, 0.18) 100%),
      linear-gradient(180deg, rgba(1, 6, 8, 0.06), rgba(2, 7, 9, 0.46));
  }

  .hero__content {
    width: calc(100% - 40px);
    padding-top: 38px;
  }

  .hero h1 {
    max-width: 580px;
  }

  .guidance {
    top: 240px;
    right: 20px;
  }

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

  .benefit:nth-child(3)::before {
    display: none;
  }

  .benefit {
    min-height: 92px;
  }

  .ecosystem {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .trust {
    padding-inline: 30px;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 76px;
    padding-inline: 18px;
  }

  .brand {
    width: 162px;
  }

  .brand img {
    width: 158px;
  }

  .benefits,
  .ecosystem,
  .final-cta,
  .trust {
    width: calc(100% - 36px);
  }

  .hero {
    min-height: 560px;
  }

  .hero__image {
    background-position: 58% 50%;
    background-size: cover;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(2, 7, 9, 0.98) 0%, rgba(2, 7, 9, 0.79) 53%, rgba(2, 7, 9, 0.18) 100%),
      linear-gradient(180deg, rgba(1, 6, 8, 0.02), rgba(2, 7, 9, 0.78));
  }

  .hero__content {
    width: calc(100% - 38px);
    padding-top: 38px;
  }

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

  .hero h1 {
    font-size: clamp(31px, 8.2vw, 40px);
    line-height: 1.07;
  }

  .hero__support {
    max-width: 365px;
    margin-block: 20px 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero__actions {
    width: 52%;
    min-width: 250px;
    display: grid;
    gap: 10px;
  }

  .hero__actions .button,
  .hero__actions .button--outline {
    width: 100%;
    min-height: 48px;
    padding-inline: 22px;
    font-size: 13px;
  }

  .guidance {
    top: 180px;
    right: 18px;
    width: 175px;
    gap: 9px;
  }

  .guidance-card {
    min-height: 72px;
    grid-template-columns: 40px 1fr;
    gap: 9px;
    padding: 9px;
    border-radius: 12px;
  }

  .guidance-card p {
    font-size: 11px;
    line-height: 1.42;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
  }

  .benefits {
    margin-top: 0;
    padding: 12px 15px;
    border-radius: 12px;
  }

  .benefit {
    min-height: 105px;
    grid-template-columns: 47px 1fr;
    gap: 12px;
    padding: 12px 9px;
  }

  .benefit:nth-child(odd) {
    padding-left: 0;
  }

  .benefit:nth-child(even) {
    padding-right: 0;
  }

  .benefit:nth-child(3)::before {
    display: none;
  }

  .benefit:nth-child(n + 3)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 8px;
    right: 8px;
    height: 1px;
    background: rgba(123, 151, 167, 0.13);
  }

  .benefit__icon {
    width: 47px;
    height: 47px;
  }

  .benefit h2 {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .benefit p {
    font-size: 10.5px;
    line-height: 1.4;
  }

  .ecosystem {
    margin-top: 18px;
    padding: 18px 20px 13px;
    gap: 10px;
    border-radius: 12px;
  }

  .ecosystem__intro {
    padding: 0;
  }

  .ecosystem__intro h2 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .ecosystem__intro > p:not(.eyebrow) {
    max-width: 460px;
    margin-bottom: 6px;
    font-size: 13px;
  }

  .ecosystem__intro .text-link {
    display: inline-flex;
    margin-bottom: 6px;
  }

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

  .product-card {
    min-height: 214px;
    gap: 11px;
    padding: 11px;
    border-radius: 9px;
  }

  .product-card--with-media {
    display: grid;
    grid-template-columns: 70px 1fr;
  }

  .product-media {
    width: 70px;
    min-height: 140px;
  }

  .product-card h3 {
    margin-bottom: 9px;
    font-size: 14px;
  }

  .product-card h3 strong {
    font-size: 17px;
  }

  .product-card p {
    font-size: 11px;
    line-height: 1.46;
  }

  .product-card .text-link {
    font-size: 11.5px;
  }

  .sports {
    display: block;
    margin-top: 8px;
    padding-top: 13px;
    border-top: 1px solid rgba(114, 145, 162, 0.16);
  }

  .sports > p {
    margin: 0 0 12px;
    color: var(--blue-soft);
    font-size: 11.5px;
    text-transform: uppercase;
  }

  .sports ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
  }

  .sports li {
    display: grid;
    justify-items: center;
    gap: 4px;
    color: #c2c9cd;
    font-size: 9.5px;
    text-align: center;
  }

  .sports li span {
    height: 24px;
    display: grid;
    place-items: center;
    filter: grayscale(1);
    font-size: 18px;
  }

  .sports li.is-active {
    color: var(--blue-soft);
  }

  .sports li.is-active span {
    filter: none;
  }

  .final-cta {
    min-height: 112px;
    display: grid;
    grid-template-columns: 1fr 43%;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(7, 16, 21, 0.86);
  }

  .final-cta h2 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.05;
  }

  .final-cta p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
  }

  .final-cta .button {
    min-height: 50px;
    padding-inline: 18px;
    font-size: 12px;
  }

  .trust {
    margin-top: 10px;
    padding: 10px 8px 22px;
    border: 1px solid rgba(113, 144, 161, 0.1);
    border-radius: 12px 12px 0 0;
  }

  .trust > p {
    display: none;
  }

  .trust ul {
    gap: 4px;
  }

  .trust li {
    grid-template-columns: 34px 1fr;
    gap: 3px;
    font-size: 8.5px;
  }

  .trust li span {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .guidance {
    width: 155px;
  }

  .guidance-card {
    grid-template-columns: 35px 1fr;
  }

  .icon-circle {
    width: 35px;
    height: 35px;
  }

  .product-card--with-media {
    grid-template-columns: 56px 1fr;
  }

  .product-media {
    width: 56px;
  }

  .sports li {
    font-size: 8px;
  }

  .trust li {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .trust li span {
    margin-bottom: 2px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
