:root {
  --blue: #1e90ff;
  --blue-deep: #1470d4;
  --azure: #f0ffff;
  --ink: #010817;
  --slate: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --line: color-mix(in srgb, var(--blue) 18%, transparent);
  --font: "Sora", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate);
  background:
    radial-gradient(1200px 600px at 80% -10%, color-mix(in srgb, var(--blue) 28%, transparent), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 55%),
    linear-gradient(180deg, var(--azure) 0%, #e8f4ff 42%, var(--white) 100%);
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.2rem, 4vw, 3rem);
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--azure) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

.top .brand {
  margin-right: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.35rem;
  padding: 0.15rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--blue) 8%, transparent);
  border: 1px solid var(--line);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--slate);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-btn:hover {
  background: color-mix(in srgb, var(--blue) 12%, transparent);
}

.lang-btn.is-active {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent);
}

.lang-btn .flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}

.top-cta {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-deep);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .lang-btn span {
    display: none;
  }

  .top-cta {
    font-size: 0.8rem;
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: calc(100svh - 64px);
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3rem) clamp(2rem, 6vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--blue) 35%, transparent);
  color: var(--slate);
}

.fine {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.fine code {
  font-size: 0.78rem;
  background: color-mix(in srgb, var(--blue) 8%, var(--white));
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.phone {
  width: min(290px, 72vw);
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--ink) 88%, var(--blue));
  background: var(--ink);
  box-shadow:
    0 24px 48px color-mix(in srgb, var(--blue) 22%, transparent),
    0 2px 0 color-mix(in srgb, var(--white) 25%, transparent) inset;
  animation: float-in 0.9s ease both, float-y 5.5s ease-in-out 1s infinite;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-copy {
  animation: rise 0.7s ease both;
}

.features {
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.2rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.feature-rev .feature-text {
  order: 2;
}

.feature-rev .feature-media {
  order: 1;
}

.feature h3 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.feature p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 32rem;
}

.feature p:last-child {
  margin-bottom: 0;
}

.feature-media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--azure);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.feature-media img {
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.beta {
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 5rem);
}

.beta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.8rem, 4vw, 2.75rem);
  border-radius: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 12%, var(--azure)), var(--azure));
  border: 1px solid var(--line);
  text-align: center;
  animation: rise 0.8s ease both;
}

.beta-inner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
}

.beta-inner p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.foot .brand {
  font-size: 1.1rem;
}

.foot .brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.cta-row-center {
  justify-content: center;
}

.report {
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 5rem);
}

.report-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.report-inner h2 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  color: var(--ink);
}

.report-inner p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.2rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .phone {
    width: min(240px, 58vw);
  }

  .feature,
  .feature-rev {
    grid-template-columns: 1fr;
  }

  .feature-rev .feature-text,
  .feature-rev .feature-media {
    order: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
