/* Inspired by the provided Figma design — clean, responsive, and lightweight */
:root {
  --brand: #8abfff;
  --accent: #007fff;
  --text: #212121;
  --muted: #565659;
  --bg: #f8faff;
  --card: #ffffff;
  --soft: #e9f1ff;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: Roboto, Inter, system-ui, -apple-system, Segoe UI, Helvetica,
    Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(
    176.67deg,
    #ffffff 1.55%,
    #ffffff 43.88%,
    #9ccdff 97.25%
  );
  /* min-height: 100vh; */
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1920px, 92%);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.ghost {
  background: #f1f5ff;
  border: 1px solid #e5edff;
}
.btn.primary {
  background: var(--brand);
  color: #fff;
}
.btn.dark {
  font-family: Roboto;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: uppercase;
  background: var(--Colors-Neutral-950, #212121);
  border: 1px solid var(--Colors-Neutral-950, #212121);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
}

.collage {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  padding: 56px 0 24px;
}
.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
h1 {
  font-size: clamp(96px, 6vw, 64px);
  line-height: 1.05;
  margin: 16px 0 12px;
  font-weight: 500;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto;
  font-weight: 300;
  font-style: Light;
  font-size: 24px;
  text-align: center;
  vertical-align: middle;
}
.cta-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 100px;
  flex-wrap: wrap;
}
.note {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}

.tag {
  position: absolute;
  top: -10px;
  left: -16px;
  transform: translateY(-100%);
  font-size: 12px;
  color: #7b8594;
}
.tag.right {
  left: auto;
  right: -16px;
  text-align: right;
}

/* How it works */
.how {
  padding: 72px 0 80px;
  margin-top: 36px;
}
.how h2 {
  font-family: Roboto;
  font-weight: 500;
  font-style: Medium;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: 1px;
  text-align: center;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.step {
  background: #ffffff66;
  border-radius: 32px;
  padding: 56px 32px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.step-body {
  display: flex;
  align-items: flex-start;
  column-gap: 32px;
}
.step-text {
  flex: 0 0 40%;
  max-width: 40%;
  position: relative;
  z-index: 2;
}
.step-media {
  flex: 0 0 60%;
  max-width: 60%;
}
.step .badge {
  width: 48px;
  height: 48px;
  gap: 10px;
  opacity: 1;
  border-radius: 50%;
  padding: 4px;
  background: var(--Colors-Blue-100, #b8d8ff);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.step h3 {
  font-family: Roboto;
  font-weight: 500;
  font-style: Medium;
  font-size: 32px;
  line-height: 140%;
  letter-spacing: Static/Headline Large/Tracking;
  vertical-align: middle;
  margin-top: 0;
}
.step p {
  font-family: Roboto;
  font-weight: 300;
  font-style: Light;
  font-size: 22px;
  line-height: 140%;
  letter-spacing: Static/Title Large/Tracking;
  vertical-align: middle;
  color: var(--text, #212121);
}

.step-image {
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Footer / waitlist */
.avatar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-footer {
  background: #fff;
  border-top: 1px solid #eef2ff;
  border-radius: 24px 24px 0 0;
  margin-top: 40px;
  box-shadow: 0px 0px 8px 0px #007fff1f;
}
.foot-brand img {
  height: 46px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 0;
  gap: 32px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-left .foot-brand {
  margin: 0 0 20px 0;
}
.footer-left .copyright {
  margin: 0;
}
.waitlist .form-row {
  display: flex;
  gap: 10px;
  margin: 8px 0 12px;
}
.waitlist input[type="email"] {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: 2px solid #8abfff;
  padding: 0 14px;
  font-size: 15px;
  outline: 0;
}
.waitlist input[type="email"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(42, 116, 255, 0.12);
}

.link {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  min-height: 28px;
}

.checkbox input {
  display: none;
}

.checkbox .checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border: 1px solid #007fff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checkbox input:checked + .checkmark::before {
  content: "✔";
  color: #007fff;
  font-size: 12px;
}

.checkbox:hover .checkmark {
  background-color: #f0f6ff;
}

.copyright {
  color: #212121;
  font-size: 16px;
}
.links {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: 60%;
}
.links a {
  transition: color 0.2s ease;
}
.links a:hover {
  color: var(--accent);
}
.waitlist .links a {
  color: #6b7280;
  font-size: 13px;
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

/* Responsive */
@media (max-width: 1400px) {
  .step p {
    margin-right: 0;
    position: static;
    margin-bottom: 300px;
  }
}

@media (max-width: 900px) {
  .step-body {
    flex-direction: column;
  }
  .step-text,
  .step-media {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .card {
    aspect-ratio: 3/2;
  }
  .grid4 {
    grid-template-columns: 1fr;
  }
  .step .badge {
    width: 32px;
    height: 32px;
  }
  .step h3 {
    font-size: 24px;
  }
  .step p {
    margin-right: 0;
    position: static;
    margin-bottom: 280px !important;
    font-size: 16px;
    margin-bottom: 0;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 40px;
  }
  .hero-inner {
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
  }
  h1 {
    font-size: clamp(60px, 6vw, 64px);
  }
  .lead {
    font-size: 18px;
    text-align: left;
    font-weight: 300;
  }
  .cta-row {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    margin: 10px 0 60px;
    flex-wrap: nowrap;
  }
  .how {
    padding: 0;
  }
  .how h2 {
    text-align: left;
    font-size: 40px;
  }
  .foot-brand img {
    height: 40px;
  }

  .footer-links {
    padding: 0 0 20px;
    gap: 12px;
  }

  .links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }
}
