:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #f4f4f5;
  letter-spacing: normal;
  background-color: #0b0b0d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #f4f4f5;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

@keyframes arcGlint {
  to {
    stroke-dashoffset: var(--glint-travel, -2400px);
  }
}

@keyframes arcBreathe {
  0%, 100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes starSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes starPulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-glint],
  [data-breathe],
  [data-star-rays],
  [data-star-core] {
    animation: none !important;
  }
}

.background__stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
  will-change: transform;
}

.background--blue {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.background__arc--blue {
  position: absolute;
  left: 50%;
  overflow: visible;
  will-change: transform;
}

.background__arc-blur--outer {
  filter: blur(34px);
}

.background__arc-blur--mid {
  filter: blur(11px);
}

.background__arc-blur--inner {
  filter: blur(2.5px);
}

.background__breathe--blue {
  filter: blur(16px);
  animation: arcBreathe 7s ease-in-out infinite;
}

.background__glint--wide.background__glint--blue {
  filter: blur(9px);
  animation: arcGlint calc(15s * var(--glint-scale, 1)) linear infinite;
}

.background__glint--sharp.background__glint--blue {
  filter: blur(1.4px);
  animation: arcGlint calc(15s * var(--glint-scale, 1)) linear infinite;
}

.background__glint--soft.background__glint--blue {
  filter: blur(6px);
  animation: arcGlint calc(9s * var(--glint-scale, 1)) linear infinite reverse;
}

.background--red {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.background__anchor {
  position: absolute;
  left: 50%;
  bottom: 0;
}

.background__arc--red {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  overflow: visible;
}

.background__breathe--red {
  filter: blur(16px);
  animation: arcBreathe 9s ease-in-out infinite;
}

.background__glint--wide.background__glint--red {
  filter: blur(9px);
  animation: arcGlint calc(18s * var(--glint-scale, 1)) linear infinite;
}

.background__glint--sharp.background__glint--red {
  filter: blur(1.4px);
  animation: arcGlint calc(18s * var(--glint-scale, 1)) linear infinite;
}

.background__glint--soft.background__glint--red {
  filter: blur(6px);
  animation: arcGlint calc(11s * var(--glint-scale, 1)) linear infinite reverse;
}

.background__petal {
  opacity: 0;
}

.background__star-glow {
  filter: blur(6px);
}

.background__star-halo {
  opacity: 0.4;
  filter: blur(0.5px);
}

.background__star-rays {
  filter: blur(0.7px);
  animation: starSpin 46s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.background__star-core {
  filter: blur(1.2px);
  animation: starPulse 3.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
  padding: 20px 40px;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e1e24;
}

.announcement {
  position: relative;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 64px 10px 40px;
  color: #24242a;
  background: #e5e5e8;
  border-bottom: 1px solid #c9c9ce;
}

.announcement__message {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.announcement__close {
  position: absolute;
  top: 50%;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #4a4a52;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 300 1.5rem/1 'Outfit', sans-serif;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.announcement__close:hover,
.announcement__close:focus-visible {
  color: #111116;
  background: #d1d1d6;
  border-color: #a9a9b0;
  outline: none;
}

.header__brand {
  display: flex;
  align-items: center;
  flex: none;
}

.header__mark {
  height: 26px;
  width: 26px;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap;
}

.header__menu-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px 8px;
  color: #f4f4f5;
  background: transparent;
  border: 1px solid #2c2c31;
  border-radius: 2px;
  cursor: pointer;
}

.header__menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__menu-toggle:hover,
.header__menu-toggle:focus-visible {
  border-color: #8a8a92;
  outline: none;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header__nav-link--current {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #f00;
  padding-bottom: 2px;
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #a8a8b0;
}

.header__language {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: #9a9aa2;
  border: 1px solid #2c2c31;
  border-radius: 2px;
  padding: 4px 8px;
}

.header__language:hover {
  color: #f4f4f5;
  border-color: #8a8a92;
}

@media (max-width: 680px) {
  .header {
    position: sticky;
    padding: 14px 20px;
  }

  .header__menu-toggle {
    display: block;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: rgba(11, 11, 13, 0.97);
    border-bottom: 1px solid #1e1e24;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
  }

  .header__nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .header__nav-link,
  .header__nav-link--current,
  .header__language {
    display: block;
    padding: 11px 4px;
    font-size: 0.9375rem;
  }

  .header__nav-link--current {
    padding-bottom: 10px;
  }

  .header__language {
    align-self: flex-start;
    margin-top: 4px;
  }
}

.main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  text-align: center;
  padding: 212px 40px 108px;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.125rem, 5.4vw, 3.875rem);
  font-weight: 200;
  letter-spacing: -0.01em;
  line-height: 1.14;
  max-width: 15em;
  text-wrap: pretty;
}

.news {
  display: flex;
  justify-content: center;
  padding: 80px 40px;
}

.news__card {
  width: 100%;
  max-width: 620px;
  border: 1px solid #33333d;
  border-radius: 5px;
  background: #1c1c23;
  overflow: hidden;
}

.news__header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 26px;
  border-bottom: 1px solid #33333d;
}

.news__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f00;
  flex: none;
}

.text-label--mono {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a92;
}

.news__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px 34px;
}

.news__date {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: #a4a4ac;
}

.news__message {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: #f0f0f3;
  text-wrap: pretty;
}

.products {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.products__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
  padding: 104px 40px 68px;
}

.products__kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f00;
}

.products__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 200;
  letter-spacing: 0.045em;
  line-height: 1.2;
}

.products__description {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.125rem);
  font-weight: 300;
  line-height: 1.8;
  color: #9a9aa2;
  max-width: 40em;
  text-wrap: pretty;
}

.products__screenshot {
  display: flex;
  justify-content: center;
  padding: 0 40px 88px;
}

.products__screenshot-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 1080px;
}

.products__screenshot-frame {
  border: 1px solid #23232a;
  border-radius: 5px;
  background: #16161b;
  overflow: hidden;
  line-height: 0;
}

.products__screenshot-image {
  width: 100%;
  height: auto;
  display: block;
}

.products__screenshot-caption {
  font-size: 0.875rem;
  font-weight: 300;
  color: #9a9aa2;
  letter-spacing: 0.02em;
}

.products__feature-nav {
  position: sticky;
  top: 66px;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 14px 40px;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid #1e1e24;
  border-bottom: 1px solid #1e1e24;
}

.products__feature-nav-inner {
  width: 100%;
  max-width: 880px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.products__feature-nav-label {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8a92;
  flex: none;
}

.products__feature-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.products__feature-link {
  display: block;
}

.nv-num {
  display: block;
  font: 400 14px/1 'Outfit', sans-serif;
  letter-spacing: 0.08em;
  padding: 8px 11px;
  border-radius: 3px;
  color: #a4a4ac;
  background: transparent;
  border: 1px solid #33333d;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nv-num:focus-visible {
  color: #fff;
  background: #26262e;
  border-color: #7a7a86;
}

/* touch screens keep :hover on the last tapped element, which would mask the
   active red — only apply the hover grey where a real pointer can hover */
@media (hover: hover) {
  .nv-num:hover {
    color: #fff;
    background: #26262e;
    border-color: #7a7a86;
  }
}

/* after the hover/focus greys so the current feature always shows red */
.nv-num.is-active {
  color: #fff;
  background: #f00;
  border-color: #f00;
}

.products__features {
  display: flex;
  justify-content: center;
  padding: 56px 40px 120px;
}

.products__feature-list {
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature {
  scroll-margin-top: 150px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #26262e;
  border-radius: 6px;
  background: #101014;
}

/* Phones: stack the label above the numbers and share the full width between
   all nine links, so they stay on one row instead of wrapping at 07 */
@media (max-width: 680px) {
  .products__feature-nav {
    top: 68px;  /* mobile header is taller: 14px padding x2 + 40px toggle */
    padding: 10px 16px;
  }

  .products__feature-nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .products__feature-nav-label {
    font-size: 0.6875rem;
    text-align: center;
  }

  .products__feature-nav-links {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 4px;
  }

  .nv-num {
    padding: 9px 0;
    letter-spacing: 0.04em;
    text-align: center;
  }

  /* header + two-line feature nav is ~145px tall here */
  .feature {
    scroll-margin-top: 160px;
  }
}

.feature__content {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature__number {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: #f00;
}

.feature__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.feature__description {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #a4a4ac;
  max-width: 52em;
  text-wrap: pretty;
}

.feature__placeholder {
  aspect-ratio: 16/9;
  border: 1px solid #2c2c34;
  border-radius: 4px;
  background: #16161b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 3px;
}

.footer-spacer {
  height: 22vh;
  flex: none;
}

.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 32px 40px 24px;
  border-top: 1px solid #1e1e24;
}

.footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  height: 17px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.footer__tagline {
  font-size: 0.875rem;
  font-weight: 300;
  color: #9a9aa2;
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.footer__links-title {
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer__link {
  font-size: 0.875rem;
  font-weight: 300;
  color: #9a9aa2;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid #16161b;
}

.footer__copyright {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: #8a8a92;
}

.footer__mark {
  width: 15px;
  height: 15px;
  display: block;
  opacity: 0.55;
}
