:root {
  color-scheme: light;
  --ink: #090a12;
  --muted: rgba(9, 10, 18, 0.66);
  --line: rgba(9, 10, 18, 0.12);
  --blue: #00c8ff;
  --violet: #6c35ff;
  --purple: #aa4cff;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(9, 10, 18, 0.04);
  backdrop-filter: none;
}

.brand img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  font-size: 14px;
  font-weight: 700;
}

nav a:not(.nav-cta) {
  color: rgba(9, 10, 18, 0.68);
}

.nav-cta {
  padding: 10px 14px;
  color: #fff;
  background: #090a12;
  border-radius: 999px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 76px);
  min-height: 100svh;
  padding: 144px clamp(18px, 5vw, 78px) 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(170, 76, 255, 0.48), transparent 32%),
    radial-gradient(circle at 42% 84%, rgba(0, 200, 255, 0.5), transparent 30%),
    linear-gradient(135deg, #f8fcff 0%, #eef9ff 28%, #f7f1ff 64%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 200, 255, 0.24), rgba(108, 53, 255, 0.2));
  pointer-events: none;
}

.hero-copy,
.hero-icon {
  position: relative;
  z-index: 1;
}

.hero-copy {
  flex: 1 1 auto;
  width: min(100%, 900px);
  text-align: left;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #1730d6;
}

h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(54px, 7.4vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 560;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 34px;
}

.app-store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 186px;
  min-height: 58px;
  padding: 10px 22px;
  color: #fff;
  background: #090a12;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(9, 10, 18, 0.24);
}

.app-store-button span {
  font-size: 11px;
  line-height: 1;
  opacity: 0.8;
  font-weight: 700;
}

.app-store-button strong {
  margin-top: 3px;
  font-size: 22px;
  line-height: 1;
}

.secondary-link {
  font-weight: 850;
  color: rgba(9, 10, 18, 0.72);
}

.hero-icon {
  flex: 0 0 auto;
  align-self: center;
  display: grid;
  place-items: center;
  width: min(28vw, 300px);
  min-width: 180px;
  aspect-ratio: 1;
}

.hero-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 44px rgba(44, 40, 140, 0.18))
    drop-shadow(0 0 28px rgba(0, 200, 255, 0.18));
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 78px) 72px;
  background: #fff;
}

.features article {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  min-height: 238px;
}

.features span {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 900;
  color: #1730d6;
}

.features h2,
.download-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.features p,
.download-band p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 560;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 78px) 72px;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--purple));
  border-radius: 28px;
}

.download-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.app-store-button.light {
  background: #fff;
  color: #090a12;
  box-shadow: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 78px);
  border-top: 1px solid var(--line);
  background: #fff;
}

footer img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

footer div {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 22px 70px;
}

.legal-page h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p,
.legal-page li {
  color: rgba(9, 10, 18, 0.72);
  line-height: 1.65;
  font-size: 16px;
}

.legal-page a {
  color: #1730d6;
  font-weight: 800;
}

.auth-action-mode .hero,
.auth-action-mode .features,
.auth-action-mode .download-band {
  display: none;
}

.auth-action {
  min-height: 100svh;
  padding: 148px 18px 64px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(0, 200, 255, 0.22), transparent 30%),
    radial-gradient(circle at 76% 58%, rgba(108, 53, 255, 0.24), transparent 34%),
    #fff;
}

.auth-action-card {
  width: min(100%, 560px);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(9, 10, 18, 0.1);
}

.auth-action-card img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  margin-bottom: 20px;
}

.auth-action-card h1 {
  max-width: none;
  font-size: clamp(34px, 7vw, 54px);
  line-height: 0.98;
}

.auth-action-card p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 430px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 620;
}

.auth-action-form {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  text-align: left;
}

.auth-action-form label {
  font-weight: 850;
}

.auth-action-form input {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

.auth-action-form button {
  min-height: 54px;
  color: #fff;
  background: #090a12;
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.auth-action-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  font-weight: 900;
}

.auth-action-links a:first-child {
  color: #1730d6;
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    min-height: 74px;
    padding: 12px 18px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 34px;
  }

  .hero-copy {
    text-align: left;
  }

  h1 {
    margin-inline: 0;
    font-size: clamp(44px, 14vw, 72px);
    line-height: 0.96;
  }

  .lede {
    margin-inline: 0;
    font-size: 18px;
  }

  .cta-row {
    justify-content: flex-start;
  }

  .hero-icon {
    align-self: center;
    justify-self: center;
    margin-top: 8px;
    width: min(46vw, 190px);
    min-width: 132px;
  }

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

  .download-band,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 520px) {
  .brand img,
  footer img {
    width: 46px;
    height: 46px;
  }

  nav {
    font-size: 13px;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero {
    gap: 26px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.25;
  }

  h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  .hero-icon {
    width: min(48vw, 178px);
    min-width: 128px;
  }

  .features,
  .download-band {
    margin-bottom: 44px;
  }
}
