:root {
  color-scheme: dark;
  --bg: #0c0b09;
  --text: #f5f2ea;
  --muted: rgba(245, 242, 234, 0.72);
  --soft: rgba(245, 242, 234, 0.16);
  --accent: #7fdc8d;
  --accent-ink: #07110a;
  --glass: rgba(12, 11, 9, 0.22);
  --header-height: 72px;
  --radius: 999px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

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

.site-shell {
  min-height: 100dvh;
  background: var(--bg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: hidden;
  background: #15110d;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.94) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 7, 0.94) 0%,
      rgba(8, 8, 7, 0.82) 28%,
      rgba(8, 8, 7, 0.42) 49%,
      rgba(8, 8, 7, 0.06) 76%
    ),
    linear-gradient(
      180deg,
      rgba(8, 8, 7, 0.52) 0%,
      rgba(8, 8, 7, 0.06) 40%,
      rgba(8, 8, 7, 0.5) 100%
    );
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 42%, rgba(255, 190, 116, 0.14), transparent 32%),
    radial-gradient(circle at 17% 82%, rgba(127, 220, 141, 0.12), transparent 26%);
  mix-blend-mode: screen;
}

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  padding: 18px 0 0;
}

.brand,
.nav-links,
.header-action,
.language-switch {
  border: 1px solid rgba(245, 242, 234, 0.14);
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-cluster {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(127, 220, 141, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 4px;
  border-radius: var(--radius);
}

.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius);
  color: rgba(245, 242, 234, 0.78);
  font-size: 13px;
  font-weight: 560;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(245, 242, 234, 0.09);
  color: var(--text);
}

.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(127, 220, 141, 0.5);
  background: rgba(12, 11, 9, 0.34);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(38px, 1fr));
  align-items: center;
  min-height: 42px;
  padding: 4px;
  border-radius: var(--radius);
}

.language-option {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(245, 242, 234, 0.62);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--text);
  outline: none;
}

.language-option:focus-visible {
  box-shadow: 0 0 0 2px rgba(127, 220, 141, 0.48);
}

.language-option.is-active {
  background: rgba(127, 220, 141, 0.2);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(127, 220, 141, 0.18);
}

.language-option:active {
  transform: translateY(1px);
}

.hero-content {
  width: min(100% - 48px, 1440px);
  min-height: calc(100dvh - var(--header-height));
  margin: 0 auto;
  padding: clamp(74px, 10vh, 112px) 0 clamp(44px, 7vh, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 18px;
  max-width: 620px;
  color: rgba(245, 242, 234, 0.72);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: clamp(48px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 720;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button:active,
.header-action:active {
  transform: translateY(1px);
}

.button-primary {
  border: 1px solid rgba(127, 220, 141, 0.72);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 18px 48px rgba(10, 20, 12, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8ae897;
}

.button-secondary {
  border: 1px solid rgba(245, 242, 234, 0.22);
  background: rgba(245, 242, 234, 0.08);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(245, 242, 234, 0.42);
  background: rgba(245, 242, 234, 0.13);
}

.voice-proof {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(104px, 11vw, 156px) 0 clamp(104px, 12vw, 168px);
  border-radius: clamp(28px, 4vw, 54px) clamp(28px, 4vw, 54px) 0 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(127, 220, 141, 0.08), transparent 34%),
    linear-gradient(180deg, #0c0b09 0%, #11100d 46%, #0c0b09 100%);
  box-shadow:
    0 -34px 90px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(245, 242, 234, 0.1);
  transform-origin: top center;
}

.voice-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(245, 242, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 234, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 64%);
  opacity: 0.38;
}

.voice-proof::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(84%, 1040px);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(127, 220, 141, 0.48), transparent);
  transform: translateX(-50%);
}

.voice-proof-inner {
  position: relative;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.voice-proof-copy {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.voice-proof h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 760;
  text-wrap: balance;
}

.voice-proof p {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(245, 242, 234, 0.68);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.demo-stage {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(10px, 1.6vw, 14px);
  border: 1px solid rgba(245, 242, 234, 0.13);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.08), rgba(245, 242, 234, 0.025)),
    rgba(245, 242, 234, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 32px 90px rgba(0, 0, 0, 0.32);
}

.demo-video-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(rgba(12, 11, 9, 0.34), rgba(12, 11, 9, 0.72)),
    url("./img5014-poster.jpg") center / cover no-repeat,
    #171613;
}

.demo-video-frame::before,
.demo-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.demo-video-frame::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(12, 11, 9, 0.72), transparent 28%, transparent 72%, rgba(12, 11, 9, 0.72));
}

.demo-video-frame::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.24), transparent 42%, rgba(12, 11, 9, 0.38));
}

.demo-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  background: #11100d;
}

.demo-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(245, 242, 234, 0.28);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    0 0 0 12px rgba(127, 220, 141, 0.12);
  transform: translate(-50%, -50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.demo-play span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid currentColor;
}

.demo-play:hover,
.demo-play:focus-visible {
  background: #8ae897;
  outline: none;
  transform: translate(-50%, -50%) scale(1.04);
}

.demo-play:focus-visible {
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    0 0 0 4px rgba(12, 11, 9, 0.72),
    0 0 0 8px rgba(127, 220, 141, 0.7);
}

.demo-video-frame.is-playing .demo-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
}

@media (min-width: 901px) {
  .hero {
    position: sticky;
    top: 0;
    z-index: 0;
  }

  .voice-proof {
    margin-top: clamp(-104px, -6vw, -52px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand,
  .nav-links,
  .header-action,
  .language-switch,
  .eyebrow,
  .hero h1,
  .hero-copy,
  .hero-actions {
    animation: hero-in 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .nav-links {
    animation-delay: 80ms;
  }

  .header-action {
    animation-delay: 120ms;
  }

  .eyebrow {
    animation-delay: 160ms;
  }

  .hero h1 {
    animation-delay: 220ms;
  }

  .hero-copy {
    animation-delay: 290ms;
  }

  .hero-actions {
    animation-delay: 360ms;
  }

  .motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(72px) scale(0.985);
    transition:
      opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  .motion-ready .voice-proof[data-reveal] {
    transform: translateY(112px) scale(0.965);
  }

  .motion-ready .voice-proof-copy[data-reveal] {
    transform: translateY(44px);
    transition-delay: 120ms;
  }

  .motion-ready .demo-stage[data-reveal] {
    transform: translateY(72px) scale(0.96);
    transition-delay: 240ms;
  }

  .motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 32px, 1440px);
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 14px;
  }

  .nav-links {
    display: none;
  }

  .header-cluster {
    gap: 0;
  }

  .header-action {
    display: none;
  }

  .hero-content {
    width: min(100% - 32px, 1440px);
    padding-top: 82px;
    justify-content: flex-end;
  }

  .hero-video {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(8, 8, 7, 0.22) 0%,
        rgba(8, 8, 7, 0.18) 30%,
        rgba(8, 8, 7, 0.91) 76%,
        rgba(8, 8, 7, 0.98) 100%
      ),
      linear-gradient(90deg, rgba(8, 8, 7, 0.62), rgba(8, 8, 7, 0.1));
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.8vw, 52px);
    line-height: 1;
  }

  .hero-copy {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.48;
  }

  .voice-proof-inner {
    width: min(100% - 32px, 1180px);
  }

  .voice-proof {
    margin-top: 0;
    padding-top: 82px;
    border-radius: 0;
    box-shadow:
      0 -10px 42px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(245, 242, 234, 0.1);
  }

  .voice-proof-copy {
    margin-bottom: 28px;
  }

  .motion-ready .voice-proof[data-reveal],
  .motion-ready .voice-proof-copy[data-reveal],
  .motion-ready .demo-stage[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .demo-stage {
    border-radius: 22px;
  }

  .demo-video-frame {
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: min(100% - 28px, 1440px);
  }

  .brand {
    min-height: 40px;
    padding: 0 13px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 13px;
    font-size: 12px;
  }

  .language-switch {
    min-height: 40px;
  }

  .language-option {
    min-width: 36px;
    min-height: 30px;
  }

  .hero-content {
    width: min(100% - 28px, 1440px);
    padding-bottom: 36px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    font-size: clamp(34px, 9.6vw, 42px);
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
    margin-top: 26px;
  }

  .button {
    width: 100%;
  }

  .voice-proof {
    padding: 72px 0 86px;
  }

  .voice-proof-inner {
    width: min(100% - 28px, 1180px);
  }

  .voice-proof p {
    font-size: 16px;
  }

  .demo-stage {
    padding: 8px;
    border-radius: 20px;
  }

  .demo-video-frame {
    border-radius: 14px;
  }

  .demo-play {
    width: 58px;
    height: 58px;
  }
}
