/* Marketing + auth pages */
.hero { min-height: min(78vh, 760px); display: flex; flex-direction: column; }
.hero__body { flex: 1; display: grid; place-items: center; text-align: center; padding: 2rem 1rem 4rem; }
.hero__logo { width: clamp(140px, 22vw, 210px); filter: drop-shadow(0 10px 30px rgba(255, 138, 31, 0.45)); animation: float 5s ease-in-out infinite; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0.6rem 0 0.4rem; }
.hero h1 b { color: var(--rs-orange); }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 640px; margin: 0 auto 1.6rem; color: #cfdaff; }
.hero__ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .hero__logo { animation: none; } }

.feature { padding: 1.4rem; }
.feature__icon { font-size: 1.8rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--info-bg); margin-bottom: 0.75rem; }
.steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { list-style: none; counter-increment: step; position: relative; padding: 1.2rem 1.2rem 1.2rem 3.6rem; }
.steps li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--rs-orange); color: #3a1a00; font-weight: 800; }

.price-card { text-align: center; max-width: 420px; margin: 0 auto; }
.price-card .price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--rs-blue-2); }
.price-card ul { text-align: left; padding-left: 1.2rem; }

.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.auth-card { width: 100%; max-width: 440px; margin: 2rem auto 4rem; color: var(--text); }
.auth-card h1 { text-align: center; }
.dev-accounts { display: grid; gap: 0.5rem; }
.dev-accounts button { width: 100%; justify-content: space-between; }
.dev-accounts small { color: var(--muted); font-weight: 600; }
.divider { text-align: center; color: var(--muted); margin: 1.2rem 0; font-size: 0.85rem; }

.stepper { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.25rem; flex-wrap: wrap; }
.stepper span { padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; background: rgba(255, 255, 255, 0.12); color: #cfdaff; }
.stepper span.is-current { background: var(--rs-orange); color: #3a1a00; }
.stepper span.is-done { background: rgba(255, 179, 71, 0.25); color: var(--rs-gold); }
.signup-card { max-width: 640px; }

.store-badges { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Home page rows */
.trust-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; padding: 0; margin: 1.6rem 0 0; color: #cfdaff; font-weight: 700; font-size: 0.95rem; }
.trust-row li::before { content: '★ '; color: var(--rs-orange); }
.section--alt { background: var(--surface); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 800; color: var(--rs-orange); margin: 0 0 0.4rem; }
.section-title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 1.75rem; }
.container > .eyebrow, .container > .section-title { text-align: center; }
.section > .container > .eyebrow + .section-title { margin-top: 0; }

.shot { display: block; width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.shot--placeholder {
  position: relative; display: grid; place-items: center;
  background: radial-gradient(ellipse at 30% 20%, var(--rs-blue-2), var(--rs-navy) 60%, var(--rs-night));
}
.shot__icon { font-size: clamp(2.5rem, 6vw, 4rem); filter: drop-shadow(0 6px 18px rgba(255, 138, 31, 0.35)); }
.shot__label { position: absolute; bottom: 0.6rem; left: 0.6rem; font: 700 0.75rem/1 ui-monospace, Menlo, monospace; color: var(--rs-gold); background: rgba(0, 0, 0, 0.35); padding: 0.3rem 0.5rem; border-radius: 6px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; }
.checklist li::before { content: '★'; position: absolute; left: 0; color: var(--rs-orange); }

.audience__card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.audience__card .shot { border-radius: 0; box-shadow: none; aspect-ratio: 16/9 !important; }
.audience__body { padding: 1.4rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.audience__body .btn { margin-top: auto; }

.split { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.steps--stacked { grid-template-columns: 1fr; padding: 0; margin: 0; }

.rows { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.row { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr 1fr; }
.row--flip > :first-child { order: 2; }
.row__text h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.industries { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.industries figure { margin: 0; }
.industries figcaption { text-align: center; font-weight: 800; margin-top: 0.6rem; }

.pricing-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.pricing-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.pricing-band p.muted { max-width: 560px; margin: 0; }
.pricing-band__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.faq { max-width: 760px; }
.faq details { padding: 0; }
.faq details + details { margin-top: 0.75rem; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--rs-orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 1.25rem 1rem; margin: 0; }

.cta-band { text-align: center; padding: clamp(3rem, 8vw, 5.5rem) 0; }
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta-band .lead { color: #cfdaff; max-width: 560px; margin: 0 auto 1.6rem; font-size: 1.1rem; }

@media (max-width: 820px) {
  .split, .row { grid-template-columns: 1fr; }
  .row--flip > :first-child { order: 0; }
  .industries { grid-template-columns: repeat(2, 1fr); }
}
.features-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }

/* Phone frame (app video + screenshots) */
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 1206 / 2622; margin: 0 auto;
  padding: 10px; border-radius: 48px; background: linear-gradient(160deg, #2a3a66, #0a1430 60%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08) inset, 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(255, 138, 31, 0.18);
}
.phone__screen { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: var(--rs-night); }
.phone--static { width: min(270px, 72vw); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06) inset, var(--shadow), 0 20px 50px rgba(11, 31, 77, 0.25); }

/* Home hero: copy + phone */
.hero__body--split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; text-align: left; max-width: 1120px; width: 100%; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2rem) 4rem; }
.hero__body--split .lead { margin-left: 0; }
.hero__body--split .hero__ctas, .hero__body--split .trust-row { justify-content: flex-start; }
.hero__logo--sm { width: clamp(84px, 10vw, 120px); }
.hero__device { display: grid; justify-items: center; gap: 1rem; }
.hero__device-link { font-weight: 800; }
.hero { min-height: auto; }

/* Tutorial */
.tutorial-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; padding-top: 1.5rem; }
.tutorial-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.tutorial-hero .lead { color: #cfdaff; font-size: 1.15rem; max-width: 520px; }
.tutorial-step { scroll-margin-top: 1.5rem; }
.tutorial-step__shot { display: grid; justify-items: center; }

@media (max-width: 820px) {
  .hero__body--split, .tutorial-hero { grid-template-columns: 1fr; text-align: center; }
  .hero__body--split .lead { margin-left: auto; }
  .hero__body--split .hero__ctas, .hero__body--split .trust-row, .tutorial-hero .hero__ctas { justify-content: center !important; }
  .tutorial-hero .lead { margin: 0 auto 1.6rem; }
}
.hero__body--split > *, .tutorial-hero > *, .row > *, .split > * { min-width: 0; }
@media (max-width: 820px) { .tutorial-hero .hero__device { display: none; } }
