:root {
  color-scheme: light;
  --ink: #09090b;
  --muted: #5c6470;
  --soft: #f4f6f8;
  --line: #dde2e8;
  --red: #ed001f;
  --red-dark: #b90019;
  --green: #24c75a;
  --panel: #101820;
  --panel-soft: #17212c;
  --white: #ffffff;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(9, 9, 11, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
}

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

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

.language-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.privacy-link:hover {
  color: var(--red);
  border-color: rgba(237, 0, 31, 0.34);
}

.language-picker select {
  width: 190px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 7vw, 92px) clamp(18px, 5vw, 72px) 44px;
  overflow: hidden;
}

.hero-copy,
.section-copy {
  max-width: 720px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lede,
.section-copy p:not(.eyebrow),
.final-cta p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(237, 0, 31, 0.22);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hero-stats div {
  padding: 14px;
  border-left: 4px solid var(--red);
  background: var(--soft);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 950;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 9% -18% -10% 20%;
  z-index: -1;
  border-radius: 999px 0 0 999px;
  background: var(--red);
}

.hero-media img {
  width: min(930px, 100%);
  margin-inline-start: auto;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(9, 9, 11, 0.18);
}

.band {
  background: var(--panel);
  color: var(--white);
}

.band .section-copy p:not(.eyebrow) {
  color: #c9d2dd;
}

.problem,
.features,
.showcase,
.modes,
.languages,
.final-cta {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.problem {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: clamp(28px, 5vw, 76px);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-strip span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--panel-soft);
  font-size: 18px;
  font-weight: 900;
}

.features {
  background: var(--soft);
}

.feature-grid,
.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article,
.mode-grid article {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-grid p,
.mode-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}

.icon {
  width: 46px;
  height: 46px;
  display: inline-block;
  margin-bottom: 22px;
  border: 3px solid var(--red);
  border-radius: 50%;
  position: relative;
}

.icon.speed::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 3px;
  left: 19px;
  top: 21px;
  background: var(--red);
  transform: rotate(-38deg);
  transform-origin: left center;
}

.icon.bolt {
  border-color: transparent;
  background: var(--red);
  clip-path: polygon(52% 0, 17% 55%, 44% 55%, 32% 100%, 84% 40%, 56% 40%);
  border-radius: 0;
}

.icon.panel {
  border-radius: 8px;
}

.icon.panel::before,
.icon.panel::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: var(--red);
}

.icon.panel::before {
  top: 13px;
}

.icon.panel::after {
  top: 25px;
}

.icon.globe::before,
.icon.globe::after {
  content: "";
  position: absolute;
  inset: 8px 16px;
  border: 2px solid var(--red);
  border-radius: 50%;
}

.icon.globe::after {
  inset: 20px 5px;
  border-width: 2px 0 0;
  border-radius: 0;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
}

.showcase-media img {
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.modes {
  background: var(--white);
}

.mode-grid article {
  background: var(--panel);
  color: var(--white);
  border-color: #293541;
}

.mode-grid article.highlight {
  border-color: var(--red);
  background: linear-gradient(145deg, #3d0010, var(--panel));
}

.mode-grid p {
  color: #c9d2dd;
}

.languages {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.language-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-cloud span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f8fb;
  font-size: 14px;
  font-weight: 800;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--soft);
}

.final-cta img {
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(9, 9, 11, 0.14);
}

.final-cta h2 {
  margin-bottom: 10px;
}

[dir="rtl"] .hero-media::before {
  inset: 9% 20% -10% -18%;
  border-radius: 0 999px 999px 0;
}

[dir="rtl"] .hero-stats div {
  border-left: 0;
  border-right: 4px solid var(--red);
}

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

  .nav {
    display: none;
  }

  .hero,
  .problem,
  .showcase,
  .languages,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

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

  .final-cta {
    align-items: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .language-picker {
    align-items: start;
    flex-direction: column;
  }

  .header-actions {
    justify-content: stretch;
  }

  .privacy-link {
    width: 100%;
    justify-content: center;
  }

  .language-picker select {
    width: 100%;
  }

  .hero {
    padding-top: 22px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-stats,
  .signal-strip,
  .feature-grid,
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .mode-grid article {
    min-height: auto;
  }

  .final-cta .button {
    width: 100%;
  }
}
