:root {
  --bg: #08090b;
  --surface: #0d1015;
  --surface-raised: #11151c;
  --text: #f5f7fa;
  --muted: #969da9;
  --subtle: #666e7a;
  --line: rgba(255, 255, 255, 0.09);
  --cyan: #45e1ff;
  --violet: #7c67ff;
  --content: 1360px;
}

.vision-site * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.vision-site {
  margin: 0;
  background:
    radial-gradient(circle at 22% -12%, rgba(38, 189, 255, 0.11), transparent 34rem),
    radial-gradient(circle at 76% -18%, rgba(114, 80, 230, 0.12), transparent 34rem),
    var(--bg);
  color: var(--text);
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.vision-site h1,
.vision-site h2,
.vision-site h3,
.vision-site h4,
.vision-site h5,
.vision-site h6 {
  color: inherit;
}

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

.vision-site a {
  color: inherit;
  text-decoration: none;
}

.vision-site button {
  font: inherit;
}

.vision-site img {
  display: block;
  max-width: 100%;
}

.vision-site ::selection {
  background: rgba(85, 215, 255, 0.28);
  color: #fff;
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 48px), var(--content));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav .is-active {
  color: var(--text);
}

.locale-picker {
  justify-self: end;
  position: relative;
  display: flex;
  align-items: center;
  width: 154px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  transition: border-color 160ms ease, background 160ms ease;
}

.locale-picker:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.locale-picker:focus-within {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.locale-picker-mark {
  flex: 0 0 31px;
  margin-left: 6px;
  display: grid;
  place-items: center;
  height: 28px;
  border-right: 1px solid var(--line);
  color: #89919d;
  font-size: 12px;
  font-weight: 700;
}

.locale-picker select {
  width: 100%;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  padding: 0 34px 0 11px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 640;
}

.locale-picker option {
  background: var(--surface-raised);
  color: var(--text);
}

.locale-picker-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  color: #747c88;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-58%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero,
.video-showcase,
.feature-story,
footer {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.hero {
  padding-top: 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 5.5vw, 88px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: #a9b0bc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 5.3vw, 82px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.hero h1 span {
  display: block;
}

.gradient-text {
  width: max-content;
  max-width: 100%;
  padding-bottom: 0.07em;
  background: linear-gradient(98deg, #dffbff 2%, var(--cyan) 34%, #6fa7ff 66%, var(--violet) 96%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-support {
  margin-top: 48px;
}

.hero-support > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 720;
  transition: transform 180ms ease, background 180ms ease;
}

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

.vision-site .button-primary {
  background: #f3f6fa;
  color: #090b0f;
}

.vision-site .button-primary:hover {
  background: #fff;
}

.button span {
  font-size: 17px;
}

.badges {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: #858d99;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.hero-visual {
  position: relative;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 0;
}

.visual-glow {
  position: absolute;
  inset: 8% 12%;
  background: linear-gradient(110deg, rgba(69, 225, 255, 0.17), rgba(124, 103, 255, 0.2));
  filter: blur(80px);
}

.video-showcase {
  padding: 150px 0 20px;
}

.video-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(48px, 9vw, 140px);
}

.video-heading h2 {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(42px, 4.8vw, 70px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.video-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.video-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.video-card:hover {
  border-color: rgba(134, 165, 255, 0.26);
  background: var(--surface-raised);
  transform: translateY(-4px);
}

.video-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #050608;
}

.video-thumbnail::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 6, 10, 0.45));
  content: "";
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease, opacity 180ms ease;
}

.video-card:hover .video-thumbnail img {
  opacity: 0.88;
  transform: scale(1.025);
}

.video-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(7, 10, 15, 0.76);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 15px;
  padding-left: 3px;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.video-card:hover .video-play {
  background: linear-gradient(135deg, rgba(85, 215, 255, 0.94), rgba(168, 115, 255, 0.94));
  transform: translate(-50%, -50%) scale(1.06);
}

.video-card-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 12px 16px;
}

.video-number {
  padding-top: 3px;
  color: var(--subtle);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.video-card-copy strong,
.video-card-copy small {
  display: block;
}

.video-card-copy strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.video-card-copy small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.video-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 3, 5, 0.88);
  backdrop-filter: blur(18px);
}

.video-modal[hidden] {
  display: none !important;
}

.video-modal-card {
  position: relative;
  width: min(1100px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 10px;
  background: #090b10;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.65);
}

.video-modal-close {
  position: absolute;
  z-index: 2;
  right: -13px;
  top: -13px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: #171a21;
  color: #fff;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.video-modal-close:hover {
  background: #242833;
}

.video-embed {
  aspect-ratio: 16 / 9;
  border-radius: 13px;
  overflow: hidden;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-story {
  padding: 130px 0 30px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(560px, 1.55fr);
  align-items: center;
  gap: clamp(54px, 8vw, 130px);
  padding: 122px 0;
  border-top: 1px solid var(--line);
}

.feature-row-reverse {
  grid-template-columns: minmax(560px, 1.55fr) minmax(300px, 0.8fr);
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .feature-visual {
  order: 1;
}

.feature-copy h2 {
  margin: 22px 0 0;
  font-size: clamp(42px, 4.2vw, 67px);
  font-weight: 680;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.feature-body {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-copy ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #c6cbd3;
  font-size: 14px;
}

.feature-copy li::before {
  position: absolute;
  left: 1px;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  content: "";
}

.feature-visual {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.feature-visual img {
  width: 100%;
  border-radius: 0;
}

.vision-site footer {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subtle);
  font-size: 13px;
  text-align: center;
}

.changelog-hero,
.changelog-body,
.changelog-download {
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
}

.changelog-hero {
  padding: 122px 0 100px;
}

.changelog-hero h1 {
  margin: 24px 0 0;
  font-size: clamp(64px, 8.5vw, 116px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.changelog-hero > p:last-child {
  max-width: 680px;
  margin: 40px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.changelog-body {
  border-top: 1px solid var(--line);
}

.changelog-body > h2 {
  margin: 0;
  padding: 74px 0 30px;
  border-top: 1px solid var(--line);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
}

.changelog-body > h2:first-child {
  border-top: 0;
}

.changelog-body h3 {
  margin: 32px 0 14px;
  color: #dce1e8;
  font-size: 18px;
  font-weight: 650;
}

.changelog-body h4 {
  margin: 25px 0 10px;
  color: #c9cfd8;
  font-size: 15px;
}

.changelog-body p,
.changelog-body li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.changelog-body p {
  max-width: 790px;
  margin: 0 0 18px;
}

.changelog-body ul,
.changelog-body ol {
  max-width: 820px;
  margin: 0;
  padding: 0 0 62px;
  list-style: none;
}

.changelog-body ul ul,
.changelog-body ol ol,
.changelog-body ul ol,
.changelog-body ol ul {
  padding: 4px 0 0 22px;
}

.changelog-body li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.changelog-body li::before {
  position: absolute;
  top: 21px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  content: "";
}

.changelog-body a {
  color: #9ce9ff;
  text-decoration: underline;
  text-decoration-color: rgba(156, 233, 255, 0.35);
  text-underline-offset: 3px;
}

.changelog-body strong {
  color: #cbd1da;
  font-weight: 650;
}

.release-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 126px);
  padding: 74px 0 82px;
  border-bottom: 1px solid var(--line);
}

.release-meta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  color: var(--subtle);
  font-size: 13px;
}

.release-meta > span {
  color: #c4cad3;
  font-weight: 680;
}

.release-meta time {
  line-height: 1.5;
}

.release-meta strong {
  margin-top: 8px;
  border: 1px solid rgba(85, 215, 255, 0.22);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(85, 215, 255, 0.06);
  color: #9ce9ff;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-content h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
}

.release-content > p {
  max-width: 720px;
  margin: 23px 0 0;
  color: #b7bdc7;
  font-size: 18px;
  line-height: 1.6;
}

.release-content ul {
  max-width: 760px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.release-content li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.release-content li::before {
  position: absolute;
  top: 21px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  content: "";
}

.changelog-download {
  display: flex;
  justify-content: flex-end;
  padding: 62px 0 26px;
}

.vision-site footer p {
  margin: 0;
}

.vision-site :focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 56px;
  }

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

  .hero-support {
    margin-top: 50px;
  }

  .hero-visual {
    width: 100%;
    max-width: 820px;
  }

  .video-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .video-heading > p {
    max-width: 680px;
  }

  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 92px 0;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-visual {
    order: initial;
  }

  .feature-visual {
    order: 2 !important;
  }

  .feature-copy {
    order: 1 !important;
    max-width: 680px;
  }

}

@media (max-width: 660px) {
  .site-header,
  .hero,
  .video-showcase,
  .feature-story,
  .changelog-hero,
  .changelog-body,
  .changelog-download,
  .vision-site footer {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header {
    min-height: 76px;
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .locale-picker {
    width: 132px;
    height: 40px;
  }

  .locale-picker-mark {
    flex-basis: 28px;
    height: 26px;
    margin-left: 5px;
  }

  .locale-picker select {
    padding-left: 9px;
    font-size: 12px;
  }

  .hero {
    padding-top: 62px;
  }

  .changelog-hero {
    padding: 72px 0 64px;
  }

  .changelog-hero h1 {
    font-size: clamp(58px, 19vw, 84px);
  }

  .changelog-hero > p:last-child {
    margin-top: 28px;
    font-size: 17px;
  }

  .changelog-body > h2 {
    padding: 54px 0 24px;
    font-size: 38px;
  }

  .changelog-body ul,
  .changelog-body ol {
    padding-bottom: 48px;
  }

  .changelog-download {
    justify-content: stretch;
    padding-top: 46px;
  }

  .changelog-download .button {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 68px);
    line-height: 0.98;
  }

  .hero-support {
    gap: 34px;
    margin-top: 42px;
  }

  .hero-support > p {
    font-size: 18px;
  }

  .hero-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-visual {
    margin-top: 0;
    margin-inline: -14px;
    border-radius: 0;
    padding: 0;
  }

  .hero-visual img {
    border-radius: 0;
  }

  .video-showcase {
    padding-top: 104px;
  }

  .video-heading {
    gap: 28px;
  }

  .video-heading h2 {
    font-size: 42px;
  }

  .video-heading > p {
    font-size: 16px;
  }

  .video-grid {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .video-modal {
    padding: 14px;
  }

  .video-modal-card {
    border-radius: 16px;
    padding: 6px;
  }

  .video-modal-close {
    right: 3px;
    top: -48px;
  }

  .feature-story {
    padding-top: 104px;
  }

  .feature-row,
  .feature-row-reverse {
    gap: 44px;
    padding: 74px 0;
  }

  .feature-copy h2 {
    font-size: 42px;
  }

  .feature-body {
    font-size: 16px;
  }

  .feature-visual {
    margin-inline: -14px;
    border-radius: 0;
    padding: 0;
  }

  .feature-visual img {
    border-radius: 0;
  }

  .vision-site footer {
    min-height: 150px;
    padding: 32px 0;
  }
}

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

  .vision-site *,
  .vision-site *::before,
  .vision-site *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
