/* mekreyol promo — design tokens */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #060a1c;
  --night-2: #0c1433;
  --ink: #0d1117;
  --paper: #ffffff;
  --tint: #f4f6fa;
  --line: #e3e6eb;
  --muted: #5b6472;
  --faint: #8a93a1;
  --blue: #1d3fd8;
  --blue-2: #3a63ff;
  --sky: #1d9bf0;
  --red: #e63946;
  --amber: #f5a623;
  --ok: #18a058;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(13 17 23 / 0.04), 0 8px 24px -12px rgb(13 17 23 / 0.12);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 650;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: rgb(58 99 255 / 0.25);
}

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.skip:focus {
  top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  font: 600 0.98rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--sm {
  height: 2.4rem;
  padding: 0 1.05rem;
  font-size: 0.9rem;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 8px 24px -8px rgb(58 99 255 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.btn--primary:hover {
  box-shadow: 0 12px 30px -8px rgb(58 99 255 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.btn--ghost {
  color: #fff;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
}
.btn--ghost:hover {
  background: rgb(255 255 255 / 0.12);
}
.btn--light {
  color: var(--night);
  background: #fff;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgb(6 10 28 / 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: 1rem;
}
.nav__links a {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover {
  color: #fff;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang svg {
  position: absolute;
  left: 0.7rem;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  opacity: 0.75;
  pointer-events: none;
}
.lang select {
  appearance: none;
  height: 2.4rem;
  padding: 0 0.9rem 0 2.1rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  font: 500 0.9rem var(--sans);
  cursor: pointer;
}
.lang select option {
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 0;
  color: #fff;
  background:
    radial-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(40% 45% at 72% 28%, rgb(58 99 255 / 0.55), transparent 70%),
    radial-gradient(30% 35% at 12% 72%, rgb(230 57 70 / 0.28), transparent 70%),
    radial-gradient(25% 30% at 95% 85%, rgb(29 155 240 / 0.25), transparent 70%);
  filter: blur(10px);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 6rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  font-size: 0.86rem;
  color: rgb(255 255 255 / 0.85);
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgb(230 57 70 / 0.25);
  animation: pulse 2s ease-in-out infinite;
}
.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 680;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.15rem;
  color: rgb(255 255 255 / 0.72);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}
.hero__note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgb(255 255 255 / 0.5);
}

/* Demo card */
.demo {
  position: relative;
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.04));
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.12),
    0 40px 80px -30px rgb(0 0 0 / 0.7),
    0 0 0 1px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.demo:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}
.demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
.demo__file {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgb(255 255 255 / 0.65);
  font-family: var(--mono);
}
.demo__rec {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}
.demo__pair {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-weight: 600;
}
.demo__pair svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: rgb(255 255 255 / 0.6);
  stroke-width: 2;
}
.demo__target {
  display: inline-block;
  min-width: 5.2em;
  color: #9db4ff;
}
.flip {
  animation: flip 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 54px;
  margin: 1.1rem 0 0.6rem;
}
.wave span {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, #8fa8ff, var(--blue-2));
  transform: scaleY(0.12);
  transform-origin: center;
  opacity: 0.85;
}
.demo[data-state="listening"] .wave span,
.demo[data-state="transcribing"] .wave span {
  animation: wave 1.1s ease-in-out infinite;
}
.wave span:nth-child(3n) {
  animation-delay: -0.2s !important;
  animation-duration: 0.9s !important;
}
.wave span:nth-child(3n + 1) {
  animation-delay: -0.55s !important;
  animation-duration: 1.25s !important;
}
.wave span:nth-child(4n) {
  animation-delay: -0.8s !important;
  animation-duration: 0.75s !important;
}
.wave span:nth-child(5n + 2) {
  animation-delay: -0.35s !important;
  animation-duration: 1.4s !important;
}
.demo__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.6);
}
.demo__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9db4ff;
  animation: pulse 1.2s ease-in-out infinite;
}
.demo__lines {
  display: grid;
  gap: 0.25rem;
  min-height: 16.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.demo__line {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.04);
  animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.demo__time {
  padding-top: 0.15rem;
  font: 500 0.75rem var(--mono);
  color: rgb(255 255 255 / 0.45);
}
.demo__src {
  font-size: 0.98rem;
  line-height: 1.45;
  color: #fff;
}
.demo__dst {
  margin-top: 0.2rem;
  min-height: 1.4em;
  font-size: 0.93rem;
  line-height: 1.45;
  color: #9db4ff;
}
.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: currentColor;
  animation: caret 0.8s steps(1) infinite;
}
.demo__stamp {
  position: absolute;
  right: 1.1rem;
  bottom: -1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem 0.5rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.55);
  opacity: 0;
  transform: scale(0.7) rotate(-6deg);
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.3, 1.6, 0.4, 1);
}
.demo__stamp.show {
  opacity: 1;
  transform: scale(1) rotate(-2deg);
}
.demo__stamp svg {
  width: 24px;
  height: 24px;
}
.demo__stamp circle {
  fill: var(--sky);
}
.demo__stamp path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee__track span {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.28);
  white-space: nowrap;
}
.marquee__track span:nth-child(5n + 1) {
  color: rgb(255 255 255 / 0.9);
  -webkit-text-stroke: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 7rem 0;
}
.section--tint {
  background: var(--tint);
}
.section--slim {
  padding: 4rem 0;
}
.section--dark {
  color: #fff;
  background:
    radial-gradient(50% 60% at 80% 50%, rgb(58 99 255 / 0.25), transparent 70%),
    var(--night);
}
.section__head {
  max-width: 44rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section__head--left {
  margin-inline: 0;
  text-align: left;
}
.section__head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  text-wrap: balance;
}
.section__head p {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.section--dark .section__head p {
  color: rgb(255 255 255 / 0.7);
}

/* Why */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why__card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.why__num {
  font: 500 0.8rem var(--mono);
  color: var(--blue);
}
.why__card h3 {
  margin-top: 1.4rem;
  font-size: 1.2rem;
}
.why__card p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.why__card .why__sample {
  margin-top: auto;
  padding-top: 1.4rem;
  font: 500 0.82rem/1.5 var(--mono);
  color: var(--ink);
}
.why__sample s {
  color: var(--faint);
}
.why__sample strong {
  color: var(--blue);
  font-weight: 600;
}
.why__sample--flag span[aria-hidden] {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  color: #241500;
  font-weight: 700;
  font-size: 0.72rem;
  vertical-align: -3px;
}
.chip {
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background: #e8edff;
  color: var(--blue);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgb(13 17 23 / 0.04), 0 22px 40px -18px rgb(13 17 23 / 0.25);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e9eeff;
}
.feature__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.feature p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.feature--blue {
  color: #fff;
  background: linear-gradient(160deg, #2b55ff, #1a35b8);
}
.feature--blue p {
  color: rgb(255 255 255 / 0.8);
}
.feature--blue .feature__icon {
  background: rgb(255 255 255 / 0.16);
}
.feature--blue .feature__icon svg {
  stroke: #fff;
}

/* Steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: 3.5rem;
  right: 3.5rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step {
  position: relative;
}
.step__n {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font: 600 1.15rem var(--mono);
  box-shadow: 0 0 0 8px #fff;
}
.step h3 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
}
.step p {
  margin-top: 0.6rem;
  color: var(--muted);
  max-width: 22rem;
}

/* Languages */
.langs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.langs__pair {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem !important;
  font-size: clamp(1.6rem, 3vw, 2.3rem) !important;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #fff !important;
}
.langs__pair svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: rgb(255 255 255 / 0.45);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#pair-out {
  display: inline-block;
  color: #9db4ff;
}
.orbit {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbit__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.orbit__lines line,
.orbit__ring {
  fill: none;
  stroke: rgb(157 180 255 / 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  animation: dash 1.6s linear infinite;
}
.orbit__ring {
  stroke: rgb(255 255 255 / 0.1);
  stroke-dasharray: 2 10;
  animation-duration: 20s;
}
.orbit__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
  font: 600 0.95rem var(--sans);
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.orbit__node:hover,
.orbit__node.active {
  background: #fff;
  color: var(--night);
  box-shadow: 0 0 0 6px rgb(255 255 255 / 0.12), 0 12px 30px -8px rgb(58 99 255 / 0.8);
}
.orbit__node--n {
  --x: 50%;
  --y: 12.5%;
}
.orbit__node--e {
  --x: 87.5%;
  --y: 50%;
}
.orbit__node--s {
  --x: 50%;
  --y: 87.5%;
}
.orbit__node--w {
  --x: 12.5%;
  --y: 50%;
}
.orbit__node--center {
  --x: 50%;
  --y: 50%;
  display: grid;
  place-items: center;
  width: 8.5rem;
  height: 8.5rem;
  padding: 0;
  font-size: 1.2rem;
  background: radial-gradient(circle at 30% 25%, #4f75ff, var(--blue) 60%, #10248f);
  box-shadow: 0 0 0 10px rgb(58 99 255 / 0.15), 0 0 60px rgb(58 99 255 / 0.6);
  cursor: default;
}
.orbit__node--center:hover {
  background: radial-gradient(circle at 30% 25%, #4f75ff, var(--blue) 60%, #10248f);
  color: #fff;
}

/* Use cases */
.uses {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.use {
  grid-column: span 2;
  position: relative;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.use:nth-child(4),
.use:nth-child(5) {
  grid-column: span 3;
}
.use::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent, var(--blue));
}
.use:nth-child(2) {
  --accent: var(--red);
}
.use:nth-child(3) {
  --accent: var(--ok);
}
.use:nth-child(4) {
  --accent: var(--amber);
}
.use:nth-child(5) {
  --accent: var(--sky);
}
.use h3 {
  font-size: 1.2rem;
}
.use p {
  margin-top: 0.5rem;
  color: var(--muted);
}

/* Trust / verified badge */
.trust {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.trust__copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
.trust__lead {
  margin-top: 1rem;
  font-size: 1.12rem;
  color: var(--muted);
}
.checks {
  display: grid;
  gap: 0.7rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding-left: 2rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.4 3.6 3.6 7.4-7.6' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 2rem;
  padding: 4px;
  border-radius: 999px;
  background: #e7eaf0;
}
.toggle button {
  height: 2.4rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.9rem var(--sans);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.toggle button[aria-checked="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgb(13 17 23 / 0.45), 0 0 0 1px rgb(13 17 23 / 0.06);
}
.screen__scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1b2a6b 0%, #6e3b8f 38%, #f07a52 68%, #ffc46b 100%);
}
.screen__sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff3c4, #ffb347 60%, transparent 70%);
  filter: blur(1px);
}
.screen__hills {
  position: absolute;
  inset: auto -10% -2% -10%;
  height: 55%;
  background:
    radial-gradient(60% 70% at 25% 100%, #1c2a52 60%, transparent 61%),
    radial-gradient(55% 80% at 78% 100%, #13203f 60%, transparent 61%),
    radial-gradient(70% 50% at 50% 100%, #0b1430 60%, transparent 61%);
}
.badge {
  position: absolute;
  top: 5%;
  right: 3.5%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: rgb(12 16 24 / 0.74);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
}
.badge__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.badge__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
}
.badge__icon--ok {
  background: var(--sky);
}
.badge__icon--ok svg {
  stroke: #fff;
  stroke-linejoin: round;
}
.badge__icon--warn {
  display: none;
  background: var(--amber);
}
.badge__icon--warn svg {
  stroke: #1a1408;
}
.screen[data-mode="unverified"] .badge__icon--ok {
  display: none;
}
.screen[data-mode="unverified"] .badge__icon--warn {
  display: grid;
}
.badge__text {
  display: grid;
  line-height: 1.2;
}
.badge__title {
  font-size: 0.85rem;
}
.badge__sub {
  font-size: 0.72rem;
  color: rgb(255 255 255 / 0.72);
}
.screen__sub {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 86%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  font-weight: 500;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.8), 0 0 12px rgb(0 0 0 / 0.5);
}
.screen__bar {
  position: absolute;
  inset: auto 4% 4.5% 4%;
  height: 4px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.25);
}
.screen__bar span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  animation: progress 14s linear infinite;
}

/* Independent */
.indie {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 52rem;
  padding: 2rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.indie__icon {
  flex: none;
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  background: #e9eeff;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.indie h2 {
  font-size: 1.35rem;
}
.indie p {
  margin-top: 0.4rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.faq__list details {
  border-bottom: 1px solid var(--line);
}
.faq__list details:first-child {
  border-top: 1px solid var(--line);
}
.faq__list summary {
  position: relative;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq__list summary::-webkit-details-marker {
  display: none;
}
.faq__list summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.25s ease;
}
.faq__list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__list details p {
  padding: 0 2.5rem 1.4rem 0;
  color: var(--muted);
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  color: #fff;
  text-align: center;
  background: var(--night);
}
.hero__glow--cta {
  inset: -40% -10% -40%;
  height: auto;
  background:
    radial-gradient(35% 50% at 50% 50%, rgb(58 99 255 / 0.5), transparent 70%),
    radial-gradient(20% 30% at 20% 70%, rgb(230 57 70 / 0.25), transparent 70%);
}
.cta__inner {
  position: relative;
  max-width: 40rem;
}
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-wrap: balance;
}
.cta p {
  margin-top: 1rem;
  color: rgb(255 255 255 / 0.72);
  font-size: 1.12rem;
}
.waitlist {
  display: flex;
  gap: 0.5rem;
  max-width: 30rem;
  margin: 2.2rem auto 0;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
}
.waitlist input {
  flex: 1;
  min-width: 0;
  padding: 0 1.1rem;
  border: 0;
  background: transparent;
  color: #fff;
  font: 1rem var(--sans);
}
.waitlist input::placeholder {
  color: rgb(255 255 255 / 0.45);
}
.waitlist input:focus {
  outline: none;
}
.waitlist:focus-within {
  box-shadow: inset 0 0 0 1px rgb(157 180 255 / 0.8), 0 0 0 4px rgb(58 99 255 / 0.25);
}
.waitlist__msg {
  min-height: 1.6rem;
  margin-top: 0.8rem !important;
  font-size: 0.95rem !important;
}
.waitlist__msg.error {
  color: #ff9aa2 !important;
}
.waitlist__msg.ok {
  color: #7ee2a8 !important;
}
.cta__privacy {
  margin-top: 0.2rem !important;
  font-size: 0.85rem !important;
  color: rgb(255 255 255 / 0.45) !important;
}

/* Footer */
.notfound {
  display: grid;
  place-items: center;
  min-height: 100dvh;
}
.notfound h1 {
  margin-top: 2rem;
  font-size: clamp(4rem, 12vw, 8rem);
}
.notfound__brand {
  justify-content: center;
}

.footer {
  padding: 3.5rem 0 2rem;
  color: rgb(255 255 255 / 0.7);
  background: #04071a;
  font-size: 0.95rem;
}
.footer .brand {
  color: #fff;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer__tag {
  margin-top: 0.8rem;
  max-width: 24rem;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: flex-start;
}
.footer__links a {
  text-decoration: none;
}
.footer__links a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.45);
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease var(--delay, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .demo.reveal.in {
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.js .demo.reveal.in:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}

@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.15);
  }
  50% {
    transform: scaleY(1);
  }
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes flip {
  from {
    opacity: 0;
    transform: translateY(60%);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -24;
  }
}
@keyframes progress {
  from {
    width: 8%;
  }
  to {
    width: 96%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .wave span {
    transform: scaleY(0.5);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .why,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav__links {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero {
    padding-top: 7.5rem;
  }
  .hero__grid,
  .langs,
  .trust,
  .faq {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .demo,
  .js .demo.reveal.in {
    transform: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
  .uses {
    grid-template-columns: 1fr 1fr;
  }
  .use,
  .use:nth-child(4),
  .use:nth-child(5) {
    grid-column: span 1;
  }
  .section {
    padding: 5rem 0;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  .container {
    width: min(1160px, 100% - 2rem);
  }
  .nav__actions .btn {
    display: none;
  }
  .why,
  .features,
  .uses {
    grid-template-columns: 1fr;
  }
  .demo__lines {
    min-height: 19rem;
  }
  .waitlist {
    flex-direction: column;
    border-radius: 20px;
    padding: 0.5rem;
  }
  .waitlist input {
    height: 3rem;
  }
  .indie {
    flex-direction: column;
    align-items: flex-start;
  }
  .badge {
    transform: scale(0.85);
    transform-origin: top right;
  }
}
