/* Home page only (inspired by insideedge.club): sticky blurred bar, staged hero with floating bubbles,
   keyword marquee, question cards, phone mockups, steps, split panels, closing call to action. */

.topbar { position: sticky; top: 0; z-index: 10; padding: 12px 0; }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  /* Transparent; the blur keeps the links readable over content while scrolling. */
  background: transparent;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid transparent;
}
.topbar .brand img { width: 34px; height: 34px; border-radius: 10px; }
.topbar .button { min-height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; }

.hero2 { position: relative; isolation: isolate; padding: 56px 0 24px; overflow: hidden; }
.hero2::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 620px; z-index: -1;
  background:
    radial-gradient(40% 50% at 70% 30%, rgb(255 107 53 / 0.22), transparent 70%),
    radial-gradient(35% 45% at 20% 10%, rgb(0 78 137 / 0.10), transparent 70%);
}
.hero2 .wrap { display: grid; gap: 64px; grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.hero2 h1 { text-align: left; margin: 0 0 20px; max-width: 15ch; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; }
.hero2 h1 .soft { display: block; font-weight: 600; color: var(--primary-text); }
.hero2 .lead { margin: 0 0 32px; text-align: left; max-width: 40ch; }
.hero2 .actions { justify-content: flex-start; }
.hero2 .stores { margin-bottom: 16px; }
.closing .stores { justify-content: center; }
.hero2 .note { text-align: left; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 22px;
}
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-text); display: grid; place-items: center; font-size: 15px; }

.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.phone {
  width: 280px; aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 10px;
  background: #121110; box-shadow: 0 40px 80px rgb(0 0 0 / 0.22), 0 0 0 1px rgb(255 255 255 / 0.06) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.bubble {
  position: absolute; display: flex; align-items: center; gap: 10px; max-width: 250px;
  padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.10); font-size: 14px; line-height: 1.35; text-align: left;
  animation: float 6s ease-in-out infinite;
}
.bubble b { display: block; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.who { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.bubble.b1 { top: 8%; left: -6%; }
.bubble.b2 { top: 40%; right: -10%; animation-delay: -2s; }
.bubble.b3 { bottom: 10%; left: -2%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--surface); padding: 18px 0; margin-top: 40px; }
.marquee .track { display: flex; width: max-content; animation: scroll 45s linear infinite; font-weight: 700; font-size: 20px; white-space: nowrap; }
.marquee .track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee .track span::after { content: '\2726'; color: var(--primary); }
@keyframes scroll { to { transform: translateX(-50%); } }

.kicker { display: block; text-align: center; color: var(--primary-text); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.section h2 .soft { display: block; font-weight: 600; color: var(--text-muted); }
.section .lead.center { text-align: center; margin-inline: auto; }

.questions { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.q { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: space-between; }
.q p { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; }
.q .answer { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 15px; }
.q .answer .who { width: 30px; height: 30px; border-radius: 10px; font-size: 12px; }
.tone-primary { background: var(--primary-tint); color: var(--primary-text); }
.tone-success { background: var(--success-tint); color: var(--success-text); }
.tone-secondary { background: var(--secondary-tint); color: var(--secondary-text); }
.tone-warning { background: var(--warning-tint); color: var(--warning-text); }

.screens { display: grid; gap: 48px; grid-template-columns: repeat(3, 1fr); align-items: start; }
.screens figure { margin: 0; text-align: center; }
.screens .phone { width: min(100%, 290px); margin: 0 auto 18px; }
.screens figcaption { color: var(--text-muted); font-size: 16px; max-width: 30ch; margin: 0 auto; }
.screens figcaption strong { display: block; font-size: 19px; color: var(--text); margin-bottom: 4px; }
.screens figure:nth-child(2) { margin-top: 48px; }

.steps3 { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 800; margin-bottom: 18px;
}
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--text-muted); font-size: 16px; }

.split { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.split .panel { border-radius: 28px; padding: 36px; display: grid; gap: 14px; align-content: start; }
.split .panel h3 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.split .panel p { margin: 0; font-size: 17px; }
.split .panel ul { margin: 4px 0 0; padding-left: 20px; }
.panel.warm { background: linear-gradient(150deg, var(--primary-button), var(--primary-button-end)); color: #fff; }
.panel.warm p, .panel.warm li { color: rgb(255 255 255 / 0.9); }
.panel.cool { background: var(--secondary-tint); color: var(--text); }
.panel.cool p, .panel.cool li { color: var(--text-muted); }

.closing { text-align: center; padding: 72px 0; }
.closing .box { border-radius: 32px; padding: 56px 24px; background: var(--text); color: var(--bg); position: relative; overflow: hidden; isolation: isolate; }
.closing .box::before {
  content: ''; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgb(255 107 53 / 0.45), transparent 70%);
}
.closing h2 { color: inherit; font-size: clamp(30px, 5vw, 52px); margin: 0 auto 16px; max-width: 18ch; }
.closing p { color: color-mix(in srgb, var(--bg) 75%, transparent); margin: 0 auto 28px; max-width: 44ch; }

.footer2 { padding: 48px 0 40px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 15px; }
.footer2 .cols { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer2 h4 { margin: 0 0 10px; color: var(--text); font-size: 15px; }
.footer2 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer2 a { color: var(--text-muted); text-decoration: none; }
.footer2 a:hover { color: var(--text); }
.footer2 .made { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .hero2 .wrap { grid-template-columns: 1fr; }
  .hero2 .copy { text-align: center; }
  .hero2 h1, .hero2 .lead, .hero2 .note { text-align: center; margin-inline: auto; }
  .hero2 .actions, .hero2 .stores { justify-content: center; }
  .stage { min-height: 560px; }
  .screens, .steps3, .split { grid-template-columns: 1fr; }
  .screens figure:nth-child(2) { margin-top: 0; }
  .footer2 .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stage { min-height: 520px; }
  .phone { width: 240px; }
  .bubble { max-width: 168px; padding: 8px 10px 8px 8px; gap: 8px; font-size: 12px; border-radius: 14px; }
  .bubble b { font-size: 11px; }
  .bubble .who { width: 28px; height: 28px; border-radius: 9px; font-size: 11px; }
  .bubble.b1 { top: 4%; left: 0; }
  .bubble.b2 { top: 44%; right: 0; }
  .bubble.b3 { bottom: 4%; left: 0; }
  .topbar .nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble, .marquee .track { animation: none; }
}

/* Sections without an intro paragraph: keep the same gap between the heading and the content. */
.section h2 + .grid, .section h2 + .promise, .section h2 + .questions { margin-top: 40px; }
.section .promise + .note { margin-top: 24px; }
.promise { padding: 36px 40px; gap: 32px; }
@media (max-width: 560px) { .promise { padding: 24px; gap: 24px; } }

/* The hero (and its glow) runs up under the transparent navbar, so there is no seam below the bar. */
.hero2 { margin-top: -82px; padding-top: 138px; }
