@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --blue: #308ae4;
  --blue-2: #1f6fd1;
  --text: #101114;
  --muted: rgba(16,17,20,0.62);
  --border: rgba(16,17,20,0.10);

  --shadow-soft: 0 10px 24px rgba(16,17,20,0.06);
}

*{ box-sizing: border-box; }

html{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(15px, 1.8vw, 18px);
  scroll-behavior: smooth;
}

body{
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, #E8F5FF 0%, #FFFFFF 50%, #F0F8FF 100%);
}

/* ---------- Utilities ---------- */
.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.break-mobile{ display: none; }
.break-desktop{ display: inline; }

/* ---------- Buttons ---------- */
.btn{
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, filter 160ms ease;
  user-select: none;
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); opacity: 0.96; }

.btn-primary{
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 22px rgba(10,102,194,0.22);
  padding: 10px 16px;
  font-size: 0.95rem;
}

.btn-primary:hover{
  filter: brightness(0.98);
  box-shadow: 0 14px 28px rgba(10,102,194,0.26);
}

.btn-google{
  background: rgba(255,255,255,0.95);
  color: var(--text);
  border: 1px solid rgba(16,17,20,0.14);
  box-shadow: var(--shadow-soft);
  padding: 16px 22px;
  height: 59px;
}

.btn-google:hover{
  filter: brightness(0.99);
  box-shadow: 0 14px 28px rgba(16,17,20,0.10);
}

.btn-cta{
  width: min(360px, 92vw);
  padding: 16px 22px;
  font-size: 1.05rem;
}

.google-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

/* ---------- HEADER ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-box{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-box-left{
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-box-right{ }

.brand-icon{ color: var(--blue); }

.brand{
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  color: black;
}

/* ---------- HERO ---------- */
.hero{ padding: 84px 0 46px; }

.hero-inner{ text-align: center; }

.hero-title{
  margin: 0 0 14px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.hero-accent{ color: var(--blue-2); }

.hero-subtitle{
  margin: 0 auto 26px;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.55;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
}

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

/* ---------- STATS ---------- */
.stats{ padding: 34px 0 26px; }

.stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: center;
  text-align: center;
}

.stat{ padding: 18px 10px; }

.stat-value{
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label{
  color: var(--muted);
  font-weight: 500;
}

/* ---------- HOW IT WORKS ---------- */
.how{ padding: 56px 0 76px; }

.section-title{
  margin: 0 0 34px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
}

.section-accent{ color: var(--blue); }

.how-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.how-card{ padding: 10px 8px 0; }

.step-pill{
  width: 66px;
  height: 66px;
  border-radius: 999px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 26px rgba(10,102,194,0.20);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.how-card:hover .step-pill{
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(10,102,194,0.24);
}

.how-title{
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.how-text{
  margin: 0 auto;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- WAITLIST ---------- */
.waitlist{
  padding: 80px 0 70px;
  background: linear-gradient(
    180deg,
    rgba(232,245,255,0.0) 0%,
    rgba(232,245,255,0.65) 22%,
    rgba(232,245,255,0.0) 100%
  );
}

.waitlist-title{
  text-align: center;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 5.3vw, 3.6rem);
  line-height: 1.05;
}

.waitlist-subtitle{
  text-align: center;
  margin: 0 auto 28px;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.55;
}

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

.trust-item{
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
}

.check{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(20, 150, 90, 0.12);
  color: rgb(20, 150, 90);
  font-weight: 900;
}

/* ---------- FOOTER ---------- */
.footer{
  padding: 34px 0 36px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon.small{ color: var(--blue); }

.footer-copy{
  color: rgba(16,17,20,0.55);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .how-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .how-text{ max-width: 48ch; }
}

@media (max-width: 720px){
  .stats-grid{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero{ padding: 62px 0 34px; }

  .break-desktop{ display: none; }
  .break-mobile{ display: inline; }
}

@media (max-width: 520px){
  .cta-row .btn-cta{
    width: min(360px, 92vw);
    justify-content: center;
  }
}

@media (max-width: 420px){
  .header-box{
    padding: 12px 0;
    padding-top: 30px;
  }

  .btn-primary{ padding: 9px 14px; }
}



/* ---------- ERROR PAGE ---------- */
.error-main{
  min-height: calc(100vh - 140px); /* header + footer breathing room */
  display: grid;
  place-items: center;
  padding: 54px 0 64px;
}

.error{
  width: 100%;
}

.error-card{
  width: min(760px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  border-radius: 22px;
  padding: 44px 34px;
  text-align: center;
}

.error-title{
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  line-height: 1.05;
}

.error-subtitle{
  margin: 0 auto 26px;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.error-actions{
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-home{
  width: min(360px, 92vw);
  padding: 14px 22px;
  font-size: 1.05rem;
  box-shadow: 0 14px 26px rgba(10,102,194,0.22);
}

/* a little tighter on mobile */
@media (max-width: 520px){
  .error-card{
    padding: 34px 18px;
    border-radius: 20px;
  }
}

