:root {
  --primary: #0f766e;
  --primary-light: #2dd4bf;
  --primary-bg: #f0fdfa;
  --text: #1a1a1a;
  --text-muted: #555;
  --white: #ffffff;
  --section-bg: #f8fafa;
  --line: rgba(15, 118, 110, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--white) 0, var(--primary-bg) 40rem, var(--white) 70rem);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  width: min(100% - 48px, 1000px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(24px, calc((100vw - 1072px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.home-link {
  padding: 6px 10px;
  border: 1.5px solid rgb(15 118 110 / 25%);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.home-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 8vw, 90px);
  align-items: center;
  padding: 148px 0 90px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

h1 em {
  color: var(--primary);
  font-style: normal;
}

.lede {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.button:hover {
  box-shadow: 0 6px 24px rgb(15 118 110 / 22%);
  transform: translateY(-2px);
}

.button-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ANDROID LAUNCH GATE
   Pre-launch (waitlist / App-Store-only) is the default, no-JS-safe state:
   .android-live-only elements start hidden and .android-pending-only
   elements render normally. Only when the head script finds
   window.BBT_ANDROID_LIVE === true (see assets/site-config.js) does it add
   "android-live" to <html>, which flips the two. */
.android-live-only {
  display: none;
}

html.android-live .android-live-only {
  display: flex;
}

html.android-live .android-pending-only {
  display: none;
}

.quiet-note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.phone {
  max-width: 280px;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgb(15 118 110 / 18%);
}

.phone img {
  display: block;
  width: 100%;
}

.proof {
  padding: 96px 0;
  background: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading h2,
.body-grid h2,
.faq h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  min-height: 190px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--primary-bg);
}

.card h3,
.steps strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.card h3 {
  font-weight: 700;
}

.card p,
.body-copy {
  color: var(--text-muted);
}

.body-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 7vw, 90px);
  padding: 88px 0;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 62px;
  padding: 3px 0 22px 62px;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  content: counter(steps);
  font-size: 0.86rem;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-weight: 700;
}

.related {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--primary-bg);
  color: var(--text-muted);
}

.related p {
  margin: 0;
}

.related a {
  color: var(--primary);
  font-weight: 700;
}

.faq {
  padding: 88px 0;
}

.faq h2 {
  margin-bottom: 26px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  max-width: 740px;
  margin: 12px 0 0;
  color: var(--text-muted);
}

footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  background: var(--section-bg);
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 32px, 1000px);
  }

  .site-header {
    padding-inline: 16px;
  }

  .hero,
  .body-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 116px;
  }

  .phone {
    max-width: 230px;
  }

  footer .wrap {
    display: block;
  }
}
