:root {
  color-scheme: dark;
  --bg: #090e14;
  --bg-soft: #101721;
  --panel: rgba(22, 29, 39, 0.76);
  --panel-strong: #171d27;
  --line: rgba(216, 224, 255, 0.12);
  --line-strong: rgba(216, 224, 255, 0.22);
  --text: #f3f6ff;
  --muted: #aab1c4;
  --soft: #747b8f;
  --brand: #77ded3;
  --brand-strong: #5ed4cb;
  --violet: #b9b9ff;
  --blue: #25318f;
  --blue-strong: #263bba;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(20, 33, 55, 0.36), transparent 420px),
    radial-gradient(circle at 50% -10%, rgba(43, 86, 185, 0.28), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 62%);
}

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(8, 13, 19, 0.78);
  border-color: var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #253996, #182148);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-links {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.header-action {
  justify-self: end;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(119, 222, 211, 0.14);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: 940px;
  padding: 180px 24px 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 38%;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-backdrop::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(9, 14, 20, 0.64) 24%, rgba(9, 14, 20, 0.44) 50%, rgba(9, 14, 20, 0.7) 76%, var(--bg) 100%),
    linear-gradient(180deg, rgba(9, 14, 20, 0.36), rgba(9, 14, 20, 0.94) 78%);
}

.hero-phone,
.hero-device {
  position: absolute;
  top: 140px;
  width: min(27vw, 310px);
  min-width: 210px;
  border-radius: 36px;
  opacity: 0.68;
  filter: saturate(1.05);
  box-shadow: var(--shadow);
}

.hero-device {
  min-height: 520px;
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(38, 49, 143, 0.66), rgba(12, 18, 28, 0.92)),
    var(--panel-strong);
}

.hero-device span,
.preview-status {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(119, 222, 211, 0.13);
  color: var(--brand);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-device strong {
  display: block;
  margin-top: 90px;
  color: #f7f9ff;
  font-size: 32px;
  line-height: 1.05;
}

.hero-device em {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  font-style: normal;
  line-height: 1.5;
}

.hero-device-left {
  left: max(24px, calc(50% - 560px));
  transform: rotate(-7deg) translateY(44px);
}

.hero-phone-center {
  left: 50%;
  width: min(30vw, 350px);
  opacity: 0.42;
  transform: translateX(-50%);
}

.hero-device-right {
  right: max(24px, calc(50% - 560px));
  transform: rotate(7deg) translateY(44px);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(880px, calc(100vw - 48px));
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(68px, 10vw, 146px);
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #d8dded;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 800;
}

.primary-button {
  background: var(--brand);
  color: #071012;
  box-shadow: 0 18px 50px rgba(119, 222, 211, 0.22);
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #eef2ff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(820px, 100%);
  margin: 54px auto 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 14, 20, 0.62);
  backdrop-filter: blur(22px);
}

.hero-metrics div {
  padding: 10px 18px;
}

.hero-metrics div + div {
  border-left: 1px solid var(--line);
}

.hero-metrics dt {
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(calc(100% - 48px), var(--max));
  margin: -36px auto 120px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-band div {
  padding: 28px;
  background: rgba(15, 22, 31, 0.94);
}

.trust-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.trust-band span {
  color: var(--muted);
  line-height: 1.6;
}

.section,
.showcase,
.privacy-section,
.faq-section,
.download-section,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 0 0 128px;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 46px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.showcase-copy h2,
.privacy-copy h2,
.download-section h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.showcase-copy p:not(.eyebrow),
.privacy-copy p:not(.eyebrow),
.download-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border: 1px solid rgba(119, 222, 211, 0.26);
  border-radius: 16px;
  background: rgba(119, 222, 211, 0.1);
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.65;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 72px;
  align-items: center;
  padding: 92px 0 140px;
}

.showcase-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.tab-button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active {
  border-color: rgba(119, 222, 211, 0.38);
  background: rgba(119, 222, 211, 0.15);
  color: var(--brand);
}

.screen-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.screen-stage::before {
  position: absolute;
  inset: 10% 0;
  content: "";
  border-radius: 48px;
  background: linear-gradient(180deg, rgba(38, 49, 143, 0.4), rgba(119, 222, 211, 0.18));
  filter: blur(24px);
}

.screen-preview,
.privacy-media img {
  position: relative;
  width: min(340px, 100%);
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.screen-preview {
  display: flex;
  min-height: 690px;
  padding: 34px 24px 26px;
  flex-direction: column;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #111821, #0c1118 46%, #222a91 46%, #222a91 100%);
  transition: opacity 140ms ease;
}

.preview-language {
  margin: 28px auto 34px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f6ff;
  font-weight: 900;
}

.preview-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: #edf2ff;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.5;
}

.preview-card.source {
  min-height: 160px;
  background: rgba(255, 255, 255, 0.04);
}

.preview-card.result {
  min-height: 190px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.05);
}

.preview-actions {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  color: rgba(226, 231, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-section {
  padding-top: 20px;
}

.language-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) 1fr;
  gap: 16px;
}

.capability-panel,
.language-cloud,
.model-stat,
.faq-list details,
.download-section,
.privacy-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.capability-panel {
  padding: 14px;
}

.capability-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 16px;
}

.capability-row + .capability-row {
  border-top: 1px solid var(--line);
}

.capability-row span {
  color: var(--brand);
  font-weight: 800;
}

.capability-row strong {
  color: #e8ecf8;
  text-align: right;
}

.capability-row.muted span {
  color: var(--soft);
}

.language-cloud {
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px;
}

.language-cloud span {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dce2f2;
  font-weight: 700;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px;
  margin-bottom: 128px;
  overflow: hidden;
}

.privacy-media {
  display: grid;
  place-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #dce2f2;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--brand);
  font-weight: 900;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.model-stat {
  min-height: 170px;
  padding: 24px;
}

.model-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.model-stat strong {
  display: block;
  margin-top: 42px;
  font-size: 28px;
  line-height: 1.05;
}

.faq-section {
  padding-bottom: 128px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  color: #eef2ff;
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.78fr);
  gap: 44px;
  align-items: center;
  padding: 44px;
  margin-bottom: 80px;
  background:
    linear-gradient(135deg, rgba(38, 49, 143, 0.46), rgba(119, 222, 211, 0.08)),
    var(--panel-strong);
}

.waitlist-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 13, 19, 0.52);
}

.waitlist-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.waitlist-form div {
  display: flex;
  gap: 10px;
}

.waitlist-form input,
.waitlist-form button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  font: inherit;
}

.waitlist-form input {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: 1px solid transparent;
}

.waitlist-form input:focus {
  outline-color: rgba(119, 222, 211, 0.44);
}

.waitlist-form button {
  padding: 0 18px;
  background: var(--brand);
  color: #071012;
  font-weight: 900;
  cursor: pointer;
}

.waitlist-form p {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.legal-page {
  width: min(calc(100% - 48px), 920px);
  margin: 0 auto;
  padding: 170px 0 90px;
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
}

.legal-hero p {
  width: min(760px, 100%);
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.legal-hero span {
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.legal-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.legal-card {
  padding: 36px;
}

.legal-card h2,
.support-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.legal-card h2:not(:first-child) {
  margin-top: 34px;
}

.legal-card p,
.support-card p {
  color: var(--muted);
  line-height: 1.75;
}

.legal-card a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-card details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.legal-card details:first-of-type {
  margin-top: 12px;
}

.legal-card summary {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.support-card {
  padding: 28px;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 830px;
    padding-top: 150px;
  }

  .hero-device-left,
  .hero-device-right {
    opacity: 0.36;
  }

  .hero-metrics,
  .trust-band,
  .feature-grid,
  .showcase,
  .language-layout,
  .privacy-section,
  .model-grid,
  .download-section {
    grid-template-columns: 1fr;
  }

  .trust-band div + div,
  .hero-metrics div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .showcase {
    gap: 44px;
    padding-top: 40px;
  }

  .privacy-section,
  .download-section {
    padding: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding-left: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 132px 18px 80px;
  }

  .hero-content {
    width: min(342px, calc(100vw - 48px));
    margin-left: 24px;
    margin-right: auto;
  }

  .hero-phone {
    top: 118px;
    min-width: 190px;
  }

  .hero-device-left,
  .hero-device-right {
    display: none;
  }

  .hero-phone-center {
    width: 240px;
    opacity: 0.26;
  }

  h1 {
    font-size: clamp(42px, 12vw, 50px);
  }

  .hero-subtitle {
    width: min(330px, 100%);
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    margin-top: 34px;
  }

  .section,
  .showcase,
  .privacy-section,
  .faq-section,
  .download-section,
  .site-footer,
  .trust-band {
    width: min(342px, calc(100% - 48px));
    margin-left: 24px;
    margin-right: auto;
  }

  .section {
    padding-bottom: 84px;
  }

  .section-heading h2,
  .showcase-copy h2,
  .privacy-copy h2,
  .download-section h2 {
    font-size: 40px;
  }

  .feature-card {
    min-height: 250px;
  }

  .capability-row {
    display: grid;
    gap: 8px;
  }

  .capability-row strong {
    text-align: left;
  }

  .waitlist-form div {
    flex-direction: column;
  }

  .legal-page {
    width: min(342px, calc(100% - 48px));
    padding-top: 132px;
  }

  .legal-card,
  .support-card {
    padding: 24px;
  }
}
