:root {
  --ink: #17202a;
  --muted: #667085;
  --line: #d6e0ea;
  --bg: #f3f7fb;
  --panel: #ffffff;
  --navy: #073d5b;
  --navy-2: #102338;
  --blue: #1597d3;
  --blue-dark: #0b70a9;
  --cyan: #e7f7ff;
  --hero-header-offset: 138px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 36px rgba(16, 35, 56, .08);
  backdrop-filter: blur(12px);
}

.site-header__utility,
.site-header__inner {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header__utility {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 10px 0 16px;
}

.brand img {
  display: block;
  width: 190px;
  max-width: 44vw;
  transition: filter .22s ease;
}

.site-header:not(.is-scrolled) .brand img {
  filter: brightness(0) saturate(100%) invert(44%) sepia(96%) saturate(3891%) hue-rotate(190deg) brightness(104%) contrast(105%);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.site-header:not(.is-scrolled) .main-nav,
.site-header:not(.is-scrolled) .language-switcher button {
  color: #fff;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--blue-dark);
}

.site-header:not(.is-scrolled) .main-nav a:hover,
.site-header:not(.is-scrolled) .main-nav a:focus,
.site-header:not(.is-scrolled) .language-switcher button:hover,
.site-header:not(.is-scrolled) .language-switcher button:focus {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switcher {
  display: flex;
  gap: 8px;
  padding: 0;
}

.language-switcher button {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.is-active {
  background: transparent;
  color: var(--navy-2);
}

.site-header:not(.is-scrolled) .language-switcher button.is-active {
  color: #fff;
}

.ghost-button,
.primary-button,
.secondary-button,
.trail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.ghost-button,
.secondary-button,
.trail-button {
  border: 1px solid var(--line);
  background: #fff;
}

.site-header:not(.is-scrolled) .ghost-button {
  border-color: #0087ff;
  background: #0087ff;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 135, 255, .26);
}

.site-header:not(.is-scrolled) .trail-button {
  border-color: #0bda20;
  background: #0bda20;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 135, 255, .26);
}

.primary-button {
  background: var(--blue);
  color: #fff;
}

.primary-button:hover,
.primary-button:focus {
  background: var(--blue-dark);
}

main {
  overflow: hidden;
}

.solutions,
.platform,
.player,
.register,
.support {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5vw, 70px);
  line-height: .97;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.12;
}

.hero-actions,
.register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, .98) 0%, rgba(5, 8, 13, .86) 34%, rgba(5, 8, 13, .42) 68%, rgba(5, 8, 13, .08) 100%),
    url("../img/hero-narrowtv.png") 100% 38% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(58vw, 900px);
  background:
    radial-gradient(circle at 26% 100%, rgba(21, 151, 211, .32), transparent 42%),
    linear-gradient(135deg, rgba(0, 89, 164, .52), transparent 64%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(21, 151, 211, .35) 1px, transparent 1px);
  background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 42%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 42%);
  opacity: .36;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: var(--hero-header-offset) 0 116px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, .74);
}

.hero h1 {
  max-width: 720px;
  color: #fff;
  font-weight: 900;
}

.hero-title-accent {
  display: block;
  margin-top: 10px;
  color: #0087ff;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 0;
  color: #e6eef7;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.55;
}

.hero .primary-button,
.hero .secondary-button {
  min-height: 58px;
  padding-inline: 28px;
  border-radius: 14px;
  font-size: 18px;
}

.hero .primary-button {
  background: #0087ff;
  box-shadow: 0 18px 48px rgba(0, 135, 255, .36);
}

.hero .secondary-button {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 22px;
  max-width: 740px;
  margin-top: 30px;
}

.hero-feature {
  color: #fff;
  text-align: center;
}

.hero-feature .hero-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: #0087ff;
}

.hero-feature .hero-feature__icon svg {
  display: block;
  width: 48px;
  height: 48px;
}

.hero-feature .hero-feature__icon path,
.hero-feature .hero-feature__icon rect,
.hero-feature .hero-feature__icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-feature strong,
.hero-feature span {
  display: block;
}

.hero-feature strong {
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 800;
}

.hero-feature span {
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  line-height: 1.45;
}

.hero-trust {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(3, 5, 9, .76);
  backdrop-filter: blur(10px);
}

.hero-trust__inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
  color: rgba(255, 255, 255, .76);
  font-weight: 700;
}

.hero-trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, .62);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.solutions,
.platform,
.player,
.register,
.support {
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 54px 0;
}

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

.solution-card,
.platform,
.player,
.register-panel,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.solution-card {
  overflow: hidden;
}

.solution-card h3,
.solution-card p {
  padding-inline: 22px;
}

.solution-card p {
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.solution-media {
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  background:
    linear-gradient(135deg, rgba(7,61,91,.92), rgba(21,151,211,.84)),
    radial-gradient(circle at 78% 22%, #f3c84d, transparent 34%);
}

.media-menu {
  background:
    linear-gradient(135deg, rgba(16,24,38,.96), rgba(32,35,66,.94)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.07), rgba(255,255,255,.07) 1px, transparent 1px, transparent 28px);
}

.media-order {
  background:
    linear-gradient(135deg, rgba(11,112,169,.92), rgba(15,32,52,.92)),
    radial-gradient(circle at 28% 35%, #fff, transparent 20%);
}

.platform,
.player {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 34px;
  padding: 34px;
}

.platform-copy p,
.player p {
  color: var(--muted);
  font-size: 20px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fcff;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  color: var(--muted);
}

.steps {
  margin: 0;
  padding-left: 24px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.steps li + li {
  margin-top: 18px;
}

.register-panel {
  padding: 38px;
  background: var(--navy);
  color: #fff;
}

.register-panel .eyebrow,
.register-panel p {
  color: rgba(255,255,255,.76);
}

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

.faq-grid article {
  padding: 24px;
}

.faq-grid p {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1100px) {
  :root {
    --hero-header-offset: 190px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    justify-content: space-between;
  }

  .platform,
  .player {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(5, 8, 13, .98) 0%, rgba(5, 8, 13, .9) 54%, rgba(5, 8, 13, .54) 100%),
      url("../img/hero-narrowtv.png") 100% 38% / cover no-repeat;
  }

  .hero-copy {
    min-height: auto;
    padding: var(--hero-header-offset) 0 164px;
  }

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

  .hero-trust__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 20px 0;
  }

  .hero-trust__logos {
    gap: 18px;
    font-size: 14px;
  }

  .solution-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --hero-header-offset: 224px;
  }

  .site-header__utility,
  .site-header__inner,
  .site-footer__inner,
  .solutions,
  .platform,
  .player,
  .register,
  .support {
    width: min(100% - 24px, 1440px);
  }

  .site-header__inner {
    gap: 14px;
    padding: 8px 0 14px;
  }

  .header-actions,
  .hero-actions,
  .register-actions,
  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .language-switcher {
    justify-content: space-between;
  }

  .platform,
  .player,
  .register-panel {
    padding: 22px;
  }

  .hero-text,
  .platform-copy p,
  .player p {
    font-size: 19px;
  }

  .hero-copy,
  .hero-trust__inner {
    width: min(100% - 24px, 1440px);
  }

  .hero-features {
    grid-template-columns: 1fr;
  }
}
