/* The public landing page (/), for visitors who are not signed in. Built on base.css tokens and the plan cards of pages.css. */
html { scroll-behavior: smooth; }
.lp [id] { scroll-margin-top: 76px; }
.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 820px; }
.grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn.lg { min-height: 48px; padding: 0 22px; font-size: 16px; border-radius: 13px; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lp h2, .lp h3 { text-wrap: balance; }

/* ---------- header ---------- */
.lp-links { display: flex; gap: 2px; }
.lp-links a { padding: 8px 12px; border-radius: 9px; color: var(--soft); font-weight: 500; transition: color .15s, background .15s; }
.lp-links a:hover { color: var(--fg); background: var(--panel2); }

/* ---------- hero ---------- */
.lp-hero { position: relative; padding: 72px 0 8px; }
.lp-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 360px; width: min(1100px, 100%); height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(245, 166, 36, .2), transparent); pointer-events: none; }
.lp-hero-text { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.lp-chip { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line2); font-size: 13px; color: var(--soft); }
.lp-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.lp-hero h1 { margin: 0; font-size: clamp(42px, 7.4vw, 82px); line-height: 1.02; font-weight: 800; letter-spacing: -1.6px; }
.lp-hero h1 .grad { display: block; padding-bottom: .06em; filter: drop-shadow(0 6px 30px rgba(245, 150, 40, .22)); }
.lp-lead { margin: 0; max-width: 640px; color: var(--soft); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.lp-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.lp-watch { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-size: 14px; font-weight: 500; }
.lp-watch:hover { color: var(--fg); }
.lp-watch .play { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-bg); border: 1px solid var(--accent-line); flex: none; }
.lp-watch .play::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -5px 0 0 -3px; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent var(--accent); }
.lp-hero-shot { margin-top: 48px; }
@keyframes lp-up { from { opacity: 0; transform: translateY(16px); } }
.lp-hero-text > * { animation: lp-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.lp-hero-text > :nth-child(2) { animation-delay: .06s; }
.lp-hero-text > :nth-child(3) { animation-delay: .12s; }
.lp-hero-text > :nth-child(4) { animation-delay: .18s; }
.lp-hero-text > :nth-child(5) { animation-delay: .24s; }
.lp-hero-shot { animation: lp-up .9s .3s cubic-bezier(.2, .7, .2, 1) both; }

/* a framed screen of the site; the screens themselves are always the dark skin */
.lp-window { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #05070B; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.lp-window img, .lp-window video { display: block; width: 100%; height: auto; }
.lp-hero-shot.lp-window { border-color: rgba(255, 208, 107, .22); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 -12px 90px rgba(245, 150, 40, .14); }

/* ---------- sections ---------- */
.lp-sec { padding-top: 96px; }
.lp-head { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 680px; margin: 0 auto 36px; text-align: center; }
.lp-head h2 { margin: 0; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.8px; }
.lp-head p { margin: 0; color: var(--soft); font-size: 16px; line-height: 1.65; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--c, var(--accent)); font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.lp-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .85; }
.lp-head .lp-eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .85; }

.lp-player { max-width: 1040px; margin: 0 auto; }
.lp-player video { aspect-ratio: 16 / 9; background: #05070B; }
.lp-play { position: absolute; inset: 0; width: 84px; height: 84px; margin: auto; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--accent-grad); cursor: pointer; box-shadow: 0 0 0 10px rgba(245, 182, 66, .16), 0 16px 50px rgba(0, 0, 0, .55); transition: transform .15s, box-shadow .15s; }
.lp-play:hover { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(245, 182, 66, .2), 0 16px 50px rgba(0, 0, 0, .55); }
.lp-play span { width: 0; height: 0; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent var(--accent-fg); }
.lp-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.lp-ltr { white-space: nowrap; }

/* ---------- features ---------- */
.lp-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 44px 0; }
.lp-feat.flip .lp-feat-text { order: 2; }
.lp-feat-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lp-feat h3 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
.lp-feat p { margin: 0; color: var(--soft); font-size: 16px; line-height: 1.7; }
.lp-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-ticks li { display: flex; align-items: baseline; gap: 11px; font-size: 15px; line-height: 1.5; }
.lp-ticks li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: translateY(-2px) rotate(45deg); flex: none; }

/* two screens, the second one overlapping the first one's corner */
.lp-duo { position: relative; padding-bottom: 22%; }
.lp-duo .lp-inset { position: absolute; left: 5%; bottom: 0; width: 46%; border-color: var(--accent-line); box-shadow: 0 26px 70px rgba(0, 0, 0, .65); }

.lp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 6px 0 0; }
.lp-stats div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); }
.lp-stats dt { color: var(--muted); font-size: 12.5px; }
.lp-stats dd { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.2; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lp-phones { display: flex; justify-content: center; align-items: center; }
.lp-phone { display: block; width: 30%; max-width: 220px; height: auto; border: 6px solid #141925; border-radius: 30px; background: #05070B; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.lp-phone.mid { position: relative; z-index: 1; width: 36%; max-width: 264px; margin: 0 -4%; box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px var(--accent-line); }

/* ---------- plans (cards from pages.css) ---------- */
.lp-plans .plan h3 { margin: 0; font-size: 18px; font-weight: 800; }
.lp-plans-wait { grid-column: 1 / -1; margin: 0; text-align: center; }
.lp-sec .plans-note { margin-top: 24px; }

/* ---------- questions ---------- */
.lp-faq { display: flex; flex-direction: column; gap: 10px; }
.lp-faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s; }
.lp-faq details[open] { border-color: var(--line2); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-radius: 14px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: ""; width: 9px; height: 9px; margin-top: -5px; border-left: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .2s, margin .2s; flex: none; }
.lp-faq details[open] summary::after { transform: rotate(135deg); margin-top: 5px; }
.lp-faq p { margin: 0; padding: 0 20px 18px; color: var(--soft); font-size: 15px; line-height: 1.7; }

/* ---------- the last call ---------- */
.lp-final { padding-bottom: 96px; }
.lp-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 56px 24px; border-radius: 24px; text-align: center; border: 1px solid var(--accent-line); background: radial-gradient(640px 280px at 50% 0%, rgba(245, 182, 66, .16), transparent 70%), var(--panel); box-shadow: 0 30px 90px rgba(245, 150, 40, .08); }
.lp-cta h2 { margin: 0; font-size: clamp(26px, 4vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -.8px; }
.lp-cta p { margin: 0; color: var(--soft); font-size: 16px; }

/* ---------- footer ---------- */
.lp-foot { padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bar); }
.lp-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lp-foot-links { display: flex; gap: 20px; }
.lp-foot-links a { color: var(--soft); }
.lp-foot-links a:hover { color: var(--fg); }
.lp-disclaimer { margin: 20px 0 6px; color: var(--muted); font-size: 13px; }
.lp-copy { margin: 0; color: var(--faint); font-size: 12px; font-family: var(--num); text-align: right; }

/* ---------- day mode ---------- */
:root[data-theme="light"] .lp-hero::before { background: radial-gradient(closest-side, rgba(245, 158, 11, .16), transparent); }
:root[data-theme="light"] .lp-window { border-color: rgba(15, 23, 42, .16); box-shadow: 0 22px 60px rgba(15, 23, 42, .18); }
:root[data-theme="light"] .lp-hero-shot.lp-window { border-color: rgba(199, 122, 0, .28); box-shadow: 0 36px 100px rgba(15, 23, 42, .22), 0 -12px 80px rgba(245, 158, 11, .14); }
:root[data-theme="light"] .lp-duo .lp-inset { border-color: var(--accent-line); box-shadow: 0 24px 60px rgba(15, 23, 42, .28); }
:root[data-theme="light"] .lp-phone { box-shadow: 0 22px 50px rgba(15, 23, 42, .2); }
:root[data-theme="light"] .lp-phone.mid { box-shadow: 0 28px 70px rgba(15, 23, 42, .26), 0 0 0 1px var(--accent-line); }
:root[data-theme="light"] .lp-cta { box-shadow: 0 24px 70px rgba(245, 158, 11, .12); }
:root[data-theme="light"] .lp-hero h1 .grad { filter: none; }

/* ---------- narrower screens ---------- */
@media (max-width: 960px) {
  .lp-top .lp-links { display: none; }   /* beats pages.css .page-top nav */
  .lp-feat { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 34px 0; }
  .lp-feat.flip .lp-feat-text { order: 0; }
}
@media (max-width: 600px) {
  .lp-wrap { padding: 0 16px; }
  .lp-hero { padding-top: 40px; }
  .lp-hero::before { top: 420px; height: 320px; }
  .lp-hero h1 { letter-spacing: -1px; }
  .lp-ctas { width: 100%; }
  .lp-ctas .btn { flex: 1 1 100%; }
  .lp-hero-shot { margin-top: 32px; }
  .lp-window { border-radius: 12px; }
  .lp-hero-shot.lp-window { max-width: 340px; margin-inline: auto; border-radius: 26px; border-width: 5px; border-color: #141925; }
  .lp-sec { padding-top: 64px; }
  .lp-head { margin-bottom: 24px; }
  .lp-duo { padding-bottom: 26%; }
  .lp-duo .lp-inset { left: 3%; width: 56%; }
  .lp-stats { gap: 8px; }
  .lp-stats div { padding: 12px; }
  .lp-stats dd { font-size: 24px; }
  .lp-phone { border-width: 4px; border-radius: 20px; }
  .lp-faq summary { padding: 15px 16px; font-size: 15px; }
  .lp-faq p { padding: 0 16px 16px; }
  .lp-cta { padding: 40px 18px; border-radius: 20px; }
  .lp-final { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
