:root {
  --bg: #eef3fb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(16, 24, 40, 0.1);
  --line-strong: rgba(16, 24, 40, 0.18);
  --text: #111827;
  --muted: #5b6678;
  --accent: #1676ff;
  --accent-strong: #0b56d8;
  --accent-soft: rgba(22, 118, 255, 0.12);
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 42px 120px rgba(15, 23, 42, 0.18);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --radius-pill: 999px;
  --max-width: 1240px;
  font-family: "SF Pro Display", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f9fd 0%, var(--bg) 100%);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 18px 0;
}

.header-shell,
.hero-shell,
.section-shell,
.footer-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.brand,
.site-nav,
.header-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-copy {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.site-nav,
.footer-links {
  gap: 24px;
}

.site-nav a,
.footer-links a,
.support-line {
  color: var(--muted);
}

.site-nav a:hover,
.footer-links a:hover,
.support-line a:hover {
  color: var(--text);
}

.header-actions {
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-pill);
}

.lang-button {
  border: 0;
  min-width: 48px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.lang-button.is-active {
  background: white;
  color: var(--text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-cta,
.secondary-button {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.primary-button {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  box-shadow: 0 20px 44px rgba(22, 118, 255, 0.28);
  cursor: pointer;
}

.primary-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hero {
  position: relative;
  min-height: 100svh;
  margin-top: -96px;
  padding: 140px 0 84px;
  overflow: clip;
  background: #09111f;
  color: white;
}

.hero-photo-wrap,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(9, 17, 31, 0.92) 0%, rgba(9, 17, 31, 0.72) 42%, rgba(9, 17, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(9, 17, 31, 0.28) 0%, rgba(9, 17, 31, 0.64) 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: end;
  min-height: calc(100svh - 164px);
}

.hero-copy {
  max-width: 540px;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d4e5ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1,
.section-heading h2,
.product-copy h2,
.trust-copy h2,
.beta-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.section-heading h2,
.product-copy h2,
.trust-copy h2,
.beta-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.96;
  color: var(--text);
}

.hero-body,
.section-heading p,
.problem-item p,
.product-copy p,
.proof-list li,
.step-item p,
.trust-item p,
.beta-copy p,
.stage-note p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-body {
  max-width: 33rem;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.beta-form {
  display: flex;
  gap: 12px;
  padding: 8px;
  min-width: min(100%, 520px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.beta-form-large {
  width: min(100%, 760px);
}

.beta-input {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}

.beta-input::placeholder {
  color: #8994a6;
}

.beta-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.beta-note,
.beta-status,
.support-line {
  margin: 12px 0 0;
}

.beta-note {
  color: rgba(255, 255, 255, 0.72);
}

.beta-status {
  min-height: 1.4em;
}

.beta-status.is-success {
  color: #0b8f64;
}

.beta-status.is-error {
  color: #d14c59;
}

.hero-stage {
  position: relative;
  min-height: 620px;
}

.stage-device {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.stage-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-device-mac {
  right: 0;
  top: 36px;
  width: min(100%, 640px);
  background: rgba(255, 255, 255, 0.08);
  animation: stageFloat 9s ease-in-out infinite;
}

.stage-device-phone {
  left: 0;
  bottom: 0;
  width: min(42%, 280px);
  background: rgba(255, 255, 255, 0.12);
  animation: phoneLift 8s ease-in-out infinite;
}

.stage-note {
  position: absolute;
  right: 0;
  bottom: 16px;
  width: min(46%, 310px);
  padding: 22px 24px;
  border-radius: 26px;
  background: rgba(9, 17, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.stage-note span {
  display: block;
  color: white;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stage-note p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.problem-section,
.product-section,
.steps-section,
.trust-section,
.beta-section {
  padding: 100px 0;
}

.section-heading {
  max-width: 740px;
}

.section-heading.compact {
  max-width: 640px;
}

.problem-rail,
.steps-rail,
.trust-list {
  display: grid;
  gap: 28px;
}

.problem-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.problem-item,
.step-item,
.trust-item {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.problem-index,
.step-index {
  display: inline-flex;
  min-width: 42px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.problem-item h3,
.step-item h3,
.trust-item h3 {
  margin: 14px 0 10px;
  font-size: 1.4rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 40px;
  align-items: center;
}

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

.proof-list li {
  position: relative;
  padding-left: 22px;
}

.proof-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.product-visual {
  position: relative;
  min-height: 640px;
}

.visual-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-strong);
}

.visual-card img {
  width: 100%;
}

.visual-card figcaption {
  padding: 16px 20px 18px;
  color: var(--muted);
}

.visual-card-host {
  top: 0;
  right: 0;
  width: min(100%, 680px);
}

.visual-card-phone {
  left: 0;
  bottom: 0;
  width: min(42%, 290px);
}

.steps-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 42px 0 0;
}

.trust-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.trust-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.beta-shell {
  padding: 54px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(95, 170, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.beta-status-centered {
  text-align: center;
}

.support-line {
  text-align: center;
  color: var(--muted);
}

.site-footer {
  padding: 26px 0 34px;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes stageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes phoneLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@media (max-width: 1100px) {
  .hero-shell,
  .product-shell,
  .trust-shell {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 28px;
    min-height: auto;
  }

  .hero-stage,
  .product-visual {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 14px 14px 0;
  }

  .header-shell,
  .hero-shell,
  .section-shell,
  .footer-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-shell {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    margin-top: -138px;
    padding: 182px 0 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .beta-form {
    flex-direction: column;
  }

  .hero-stage,
  .product-visual {
    min-height: 0;
  }

  .stage-device,
  .visual-card,
  .stage-note {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .stage-device-phone,
  .visual-card-phone {
    width: min(76%, 320px);
    margin-top: -84px;
  }

  .stage-note {
    margin-top: 16px;
  }

  .problem-rail,
  .steps-rail,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .beta-shell {
    padding: 34px 24px;
  }
}
