:root {
  color-scheme: light;
  --brand: #5c59fe;
  --brand-dark: #4845dc;
  --brand-soft: #ececff;
  --ink: #101828;
  --muted: #475467;
  --subtle: #667085;
  --surface: #fcfcfd;
  --surface-raised: #f2f4f7;
  --border: #e4e7ec;
  --white: #fff;
  --shadow: 0 28px 70px rgba(16, 24, 40, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(206, 205, 255, 0.44), transparent 27rem),
    var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.site-header,
.site-footer,
.hero,
.feature-section,
.beta-note {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
}

.brand img {
  width: 76px;
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.92rem;
  font-weight: 620;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:not(.nav-download):hover {
  color: var(--brand-dark);
}

.nav-download {
  padding: 0.65rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.nav-download:hover {
  border-color: #c3c2ff;
  background: var(--white);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 4.5rem 0 7rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.2rem;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.6rem, 7.5vw, 6.8rem);
  font-weight: 720;
  letter-spacing: -0.072em;
  line-height: 0.92;
}

.lede {
  max-width: 610px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(92, 89, 254, 0.24);
}

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

.button-primary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover {
  border-color: #c3c2ff;
  background: var(--white);
}

.download-meta {
  margin: 1rem 0 0;
  color: var(--subtle);
  font-size: 0.84rem;
}

.download-meta span {
  padding-inline: 0.28rem;
  color: #98a2b3;
}

.product-portrait {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  margin-inline: auto;
  isolation: isolate;
}

.portrait-grid,
.portrait-halo {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
}

.portrait-grid {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(92, 89, 254, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 89, 254, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle, #000 25%, transparent 70%);
}

.portrait-halo {
  inset: 14%;
  background: rgba(206, 205, 255, 0.6);
  filter: blur(14px);
}

.app-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 50%;
  padding: 5%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 29%;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(-3deg);
  backdrop-filter: blur(12px);
}

.app-icon img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(42, 39, 170, 0.2));
}

.feature-chip {
  position: absolute;
  z-index: 3;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.1);
  color: #344054;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.chip-reader {
  top: 18%;
  right: 2%;
  transform: rotate(3deg);
}

.chip-discover {
  bottom: 19%;
  left: 2%;
  transform: rotate(-4deg);
}

.chip-ai {
  right: 2%;
  bottom: 10%;
  transform: rotate(2deg);
}

.feature-section {
  padding: 7.5rem 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading h2,
.beta-note h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.25rem);
  font-weight: 690;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  min-height: 290px;
  padding: 1.65rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.feature-card:nth-child(2) {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.feature-card:nth-child(2) p,
.feature-card:nth-child(2) .feature-number {
  color: var(--white);
}

.feature-number {
  display: block;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 4.4rem 0 0.7rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

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

.beta-note {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 7.5rem 0;
  border-top: 1px solid var(--border);
}

.beta-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.beta-copy p:first-child {
  margin-top: 0;
}

.beta-copy a {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--brand-dark);
  font-weight: 700;
}

.site-footer {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.88rem;
}

.site-footer div {
  display: flex;
  gap: 1.3rem;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.not-found {
  width: min(600px, calc(100% - 48px));
  padding-block: 4rem;
  text-align: center;
}

.not-found .brand {
  margin-bottom: 4rem;
}

.not-found .brand img {
  width: 94px;
}

.error-code {
  margin: 0;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.16em;
}

.not-found h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.7rem, 8vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.not-found p:not(.error-code) {
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5rem;
  }

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

  .product-portrait {
    width: min(84vw, 470px);
  }

  .section-heading,
  .beta-note {
    grid-template-columns: 1fr;
  }

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

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

  .feature-card h3 {
    margin-top: 2.8rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero,
  .feature-section,
  .beta-note {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    min-height: 78px;
  }

  .site-header nav {
    gap: 0.7rem;
  }

  .site-header nav > a:not(.nav-download) {
    display: none;
  }

  .hero {
    padding: 4rem 0 5rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .product-portrait {
    width: 100%;
  }

  .feature-section,
  .beta-note {
    padding: 5rem 0;
  }

  .site-footer {
    padding: 2rem 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
