/* Landing page only. Shared tokens and base styles live in style.css. */
.landing { overflow-x: hidden; }
.landing main { max-width: none; padding: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.landing header { position: absolute; inset: 0 0 auto 0; z-index: 5; max-width: 1040px; }

/* Hero */
.stage { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 72px; text-align: center; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 460px; height: 460px; background: var(--blue); top: -120px; left: -80px; }
.blob.b2 { width: 520px; height: 520px; background: var(--indigo); top: 20px; right: -140px; animation-delay: -6s; }
.blob.b3 { width: 360px; height: 360px; background: #2ed1a3; bottom: -120px; left: 30%; opacity: 0.3; animation-delay: -11s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.12); } }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 99px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.stage h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: 1.04; letter-spacing: -0.03em; margin: 22px auto 16px; max-width: 14ch; }
.stage h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage .lead { max-width: 40ch; font-size: 1.25rem; }
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 15px 26px; border-radius: 99px; font-weight: 650; color: #fff; text-decoration: none; background: linear-gradient(90deg, var(--blue), var(--indigo)); box-shadow: 0 12px 30px rgba(107, 77, 250, 0.35); transition: transform 0.2s; }
.cta:hover { transform: translateY(-2px); }
.cta[aria-disabled="true"] { cursor: default; }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Phone mockups */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 56px; }
.phone { position: relative; flex: none; width: min(30vw, 250px); aspect-ratio: 1320 / 2868; border-radius: 9% / 4.2%; border: 7px solid #12141c; background: #12141c; box-shadow: 0 30px 70px rgba(20, 22, 60, 0.35); overflow: hidden; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phones .phone:nth-child(1) { transform: translateY(28px) rotate(-5deg); margin-right: -26px; }
.phones .phone:nth-child(2) { z-index: 2; width: min(36vw, 292px); }
.phones .phone:nth-child(3) { transform: translateY(28px) rotate(5deg); margin-left: -26px; }

/* Counter strip */
.strip { margin: 40px auto 0; max-width: 860px; display: grid; gap: 16px; grid-template-columns: 1fr; padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.strip .big { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.strip .big s { color: var(--muted); text-decoration-thickness: 3px; margin-right: 6px; }
.strip .big b { background: linear-gradient(90deg, var(--blue), var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--indigo)); transform-origin: left; transform: scaleX(1); }
.in .bar i { animation: shrink 1.6s 0.3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes shrink { from { transform: scaleX(1); } to { transform: scaleX(0.23); } }
.strip small { color: var(--muted); }

/* Sections */
section.block { padding: 88px 0 0; }
.block h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; text-align: center; }
.block .sub { text-align: center; color: var(--muted); max-width: 46ch; margin: 0 auto 40px; }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60, 60, 140, 0.14); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--indigo)); margin-bottom: 14px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; }
.step { position: relative; padding: 24px 24px 24px 72px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--indigo)); }
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }

/* Screenshot carousel */
.rail { display: flex; gap: 20px; overflow-x: auto; padding: 8px 20px 28px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { flex: none; margin: 0; width: 230px; scroll-snap-align: center; text-align: center; }
.rail .phone { width: 100%; border-width: 6px; box-shadow: 0 18px 40px rgba(20, 22, 60, 0.25); }
.rail figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Privacy band */
.band { margin-top: 88px; padding: 56px 20px; text-align: center; color: #fff; background: linear-gradient(120deg, var(--blue), var(--indigo)); }
.band h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.7rem, 5vw, 2.4rem); }
.band p { max-width: 50ch; margin: 0 auto; opacity: 0.92; }
.band a { color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.pills span { padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,0.18); font-weight: 600; font-size: 15px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 72px 24px 24px; }
  .step::before { left: 24px; top: 22px; }
  .strip { grid-template-columns: auto 1fr; align-items: center; text-align: left; }
  .strip small { grid-column: 1 / -1; }
  .rail { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .in .bar i { animation: none; }
  .bar i { transform: scaleX(0.23); }
  .reveal { opacity: 1; transform: none; transition: none; }
}
