/* ============ Base ============ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #0A1420;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0A1420;
}

a { color: #0A84FF; text-decoration: none; }
a:hover { color: #3B9BFF; }

img { max-width: 100%; }

details summary::-webkit-details-marker { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.nav {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 22.4%;
  display: block;
  box-shadow: 0 0 0 4px rgba(10, 132, 255, .18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.nav-links a { color: rgba(255, 255, 255, .72); }
.nav-links a:hover { color: #fff; }

.nav-links .nav-cta {
  background: #fff;
  color: #0A1420;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-links .nav-cta:hover { background: #E8F1FF; color: #0A1420; }

.hero-copy {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 88px 32px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
  max-width: 480px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge-link { display: inline-flex; }
.badge-link:hover { opacity: .85; }
.badge-link img { display: block; height: 54px; }

.hero-note { font-size: 14px; color: rgba(255, 255, 255, .45); }

.hero-visual {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
  margin-top: -44%;
  margin-bottom: -32%;
}

/* ============ Section shells ============ */
.section { padding: 104px 32px; }
.section-light { background: #fff; }
.section-gray { background: #F5F7FA; }
.section-dark { background: #0A1420; color: #fff; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0A84FF;
}

.section-dark .eyebrow { color: #5EA9FF; }

.section-title {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0A1420;
  text-wrap: balance;
}

.section-dark .section-title { color: #fff; }

/* ============ Features ============ */
.features .container { gap: 96px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.feature-row.flip .feature-copy { justify-self: end; order: 1; }
.feature-row.flip .feature-visual { order: 2; }

.feature-copy h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #0A1420;
}

.feature-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #5A6675;
  text-wrap: pretty;
}

.feature-visual {
  zoom: .82;
  justify-self: center;
  border-radius: 62px;
  box-shadow: 0 32px 80px rgba(10, 20, 32, .2);
}

/* ============ iPhone frame ============ */
.phone {
  width: 402px;
  height: 874px;
  border-radius: 48px;
  overflow: hidden;
  position: relative;
  background: #F2F2F7;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .12);
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 37px;
  border-radius: 24px;
  background: #000;
  z-index: 50;
}

.phone-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 21px 24px 19px;
}

.phone-statusbar .sb-time,
.phone-statusbar .sb-icons {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-statusbar .sb-time {
  padding-top: 1.5px;
  font-weight: 590;
  font-size: 17px;
  line-height: 22px;
  color: #000;
}

.phone-statusbar .sb-icons { gap: 7px; padding-top: 1px; }

.phone-home-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 8px;
  pointer-events: none;
}

.phone-home-indicator::after {
  content: "";
  width: 139px;
  height: 5px;
  border-radius: 100px;
  background: rgba(0, 0, 0, .25);
}

/* ============ How it works ============ */
.how .container { gap: 64px; }

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.step-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0A84FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.step-card h3 { margin: 0; font-size: 21px; font-weight: 700; }

.step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .6);
  text-wrap: pretty;
}

.how-note {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .4);
}

/* ============ Use cases ============ */
.use-cases .container { gap: 56px; }

.use-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(10, 20, 32, .06);
}

.use-card .emoji { font-size: 34px; }

.use-card h3 { margin: 0; font-size: 20px; font-weight: 700; color: #0A1420; }

.use-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5A6675;
  text-wrap: pretty;
}

/* ============ Privacy ============ */
.privacy { padding: 120px 32px; }

.privacy .container {
  max-width: 820px;
  text-align: center;
  gap: 28px;
  align-items: center;
}

.privacy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.privacy-points {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, .66);
}

.privacy-points span { display: flex; align-items: center; gap: 8px; }
.privacy-points .dot { color: #0A84FF; }

.privacy-policy-link {
  font-size: 15px;
  color: #5EA9FF;
}

.privacy-policy-link:hover { color: #fff; }

/* ============ FAQ ============ */
.faq .container { max-width: 720px; gap: 48px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-list details {
  background: #F5F7FA;
  border-radius: 16px;
  padding: 22px 26px;
}

.faq-list summary {
  font-size: 17px;
  font-weight: 600;
  color: #0A1420;
  cursor: pointer;
  list-style: none;
}

.faq-list details p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5A6675;
}

/* ============ Legal pages ============ */
.legal .container { max-width: 720px; gap: 0; }

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0A1420;
}

.legal-updated {
  margin: 0 0 28px;
  font-size: 14px;
  color: #8A94A3;
}

.legal-lede {
  font-size: 19px !important;
  color: #0A1420 !important;
  font-weight: 500;
}

.legal h2 {
  margin: 36px 0 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #0A1420;
}

.legal p,
.legal li {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #5A6675;
  text-wrap: pretty;
}

.legal ul { margin: 14px 0 0; padding-left: 22px; }

.legal strong { color: #0A1420; }

/* ============ CTA + footer ============ */
.cta {
  max-width: 820px;
  margin: 0 auto;
  padding: 104px 32px 88px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.footer { background: #0A1420; color: #fff; }

.footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); }

.footer-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}

.footer-brand .brand-mark {
  width: 20px;
  height: 20px;
  box-shadow: none;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255, 255, 255, .45); }
.footer-links a:hover { color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .feature-visual { zoom: .68; }
}

@media (max-width: 820px) {
  .nav-links { gap: 20px; }
  .nav-links .nav-link { display: none; }

  .section { padding: 72px 24px; }
  .privacy { padding: 88px 24px; }
  .features .container { gap: 72px; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row .feature-copy {
    order: 1;
    justify-self: center;
    text-align: center;
    align-items: center;
  }

  .feature-row .feature-visual { order: 2; }

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

  .hero-copy { padding-top: 64px; }

  .footer-bar-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .feature-visual { zoom: .58; }
}
