/* The public pages: the brand page (login.html) and the creators' page (clipper.html). Built on theme.css's colours, so dark and
   light both work. Everything here is prefixed lp- so it can't touch the app's own styles.
   The look: flat purple, one long card split into partitions instead of many separate cards, illustrated reel covers
   (public/js/landing.js draws nothing: the covers are SVG symbols inside each page), no gradients. */

body.lp { min-height: 100vh; overflow-x: hidden; background: var(--bg); font-family: var(--font); }
.lp * { box-sizing: border-box; }
.lp a { color: inherit; }
.lp h1, .lp h2, .lp h3, .lp h4 { font-family: var(--font-display); }
.lp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ---- the button that goes to the other page, and the sun / moon button for the theme ---- */
.lp-other { white-space: nowrap; }
.lp-nav .theme-btn { flex: none; width: 44px; height: 44px; }
.lp-logo img.lp-logo-mark { display: none; width: 36px; height: 36px; border-radius: 9px; }

/* ---- nav ---- */
.lp-nav { position: sticky; top: 0; z-index: 40; background: var(--panel); border-bottom: 1px solid var(--border-soft); }
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.lp-logo img { height: 34px; width: auto; display: block; }
.lp-links { display: flex; gap: 6px; margin-left: 12px; }
.lp-links a { white-space: nowrap; padding: 10px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 15px; text-decoration: none; }
.lp-links a:hover { color: var(--text); background: var(--panel-2); }
.lp-nav .grow { flex: 1; }
.lp-nav .btn { white-space: nowrap; min-height: 44px; }

/* ---- the menu on phones and tablets (the links above don't fit there) ---- */
.lp-menu-btn { display: none; flex: none; width: 44px; height: 44px; }
.lp-menu-btn .m-close { display: none; }
.lp-menu-btn.open .m-open { display: none; }
.lp-menu-btn.open .m-close { display: inline-grid; }
.lp-mobile-menu { display: none; }
.lp-scrim { display: none; position: fixed; inset: 0; z-index: 35; background: rgb(4 2 12 / .55); opacity: 0; transition: opacity .22s ease; touch-action: none; }
.lp-scrim.show { opacity: 1; }
/* The page behind the open menu does not scroll: the root is locked, and the body (which clips sideways, and would then become a box of its own that the sticky bar sticks to instead of the screen) is let go while it is. */
html.lp-menu-on { overflow: hidden; overscroll-behavior: none; }
html.lp-menu-on body.lp { overflow: visible; }
.lp-mobile-menu { overscroll-behavior: contain; }
:root[data-theme="light"] .lp-scrim { background: rgb(23 17 43 / .35); }
.lp-mobile-menu { position: absolute; left: 10px; right: 10px; top: calc(100% + 8px); z-index: 45; gap: 12px; padding: 12px; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 14px; border: 1px solid var(--border); background: var(--modal-bg); box-shadow: var(--shadow);
  transform-origin: calc(100% - 28px) 0; animation: lpm-in .26s var(--ease) both; }
.lp-mobile-menu.closing { animation: lpm-out .18s ease both; }
@keyframes lpm-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes lpm-out { to { opacity: 0; transform: translateY(-6px); } }
.lpm-group { display: grid; gap: 2px; padding: 6px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--border-soft); }
.lpm-label { padding: 6px 10px 4px; font: 700 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.lpm-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 9px; color: var(--text); font-weight: 600; font-size: 16px; text-decoration: none; transition: background .15s; }
.lpm-row:hover, .lpm-row:active { background: rgb(var(--brand-rgb) / .14); }
.lpm-ic { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgb(var(--brand-rgb) / .16); color: var(--brand-3); }
.lpm-ic svg { width: 18px; height: 18px; }
.lpm-go { margin-left: auto; display: grid; color: var(--faint); }
.lpm-go svg { width: 16px; height: 16px; }
.lpm-actions { display: grid; gap: 8px; }
.lpm-actions .btn { justify-content: center; gap: 8px; min-height: 48px; }
.lpm-actions .btn [data-ic] { display: inline-grid; }
.lpm-actions .btn svg { width: 18px; height: 18px; }
.lpm-switch { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; border: 1px dashed rgb(var(--brand-rgb) / .55); background: rgb(var(--brand-rgb) / .09); color: var(--text); text-decoration: none; }
.lpm-switch b { display: block; font-size: 16px; }
.lpm-switch small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; font-size: 13px; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) { .lp-mobile-menu { animation: none; } .lp-scrim { transition: none; } }

/* ---- hero ---- */
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 7px; background: rgb(var(--brand-rgb) / .14); border: 1px solid var(--border); color: var(--brand-3); font: 600 13.5px var(--font); margin-bottom: 20px; }
.lp-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.lp-lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 540px; margin: 22px 0 28px; }
.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-cta-row .btn { min-height: 48px; }

/* the three reels leaning on each other, with two little live chips */
/* the reels are laid out 520 by 540 and scaled by --k (landing.js sets it from the width the box really has) */
.lp-fit { position: relative; width: 100%; max-width: 520px; height: calc(540px * var(--k, 1)); margin: 0 auto; }
.lp-collage { position: absolute; left: 0; top: 0; width: 520px; height: 540px; transform: scale(var(--k, 1)); transform-origin: top left; }
.lp-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 9px; background: var(--panel); color: var(--text); border: 1px solid var(--border-soft); font-size: 14px; font-weight: 600; white-space: nowrap; z-index: 3; }
.lp-live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: lp-pulse 1.6s ease-out infinite; }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgb(70 211 154 / .6); } 100% { box-shadow: 0 0 0 9px rgb(70 211 154 / 0); } }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lp-rise-chip { 0% { opacity: 0; transform: translateY(16px); } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-36px); } }

/* ---- reel covers: an illustrated picture, who posted it, a caption and a view count ---- */
.lp-cv { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--panel-3); border: 1px solid var(--border-soft); }
.lp-cv > svg { display: block; width: 100%; height: 100%; }
.lp-cv .hd { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 16px); padding: 2px 8px 2px 4px; border-radius: 999px; background: rgba(12, 9, 24, .72); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.lp-cv .hd i { display: block; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #b79bff; }
.lp-cv .cap { position: absolute; left: 8px; right: 8px; bottom: 34px; padding: 5px 8px; border-radius: 7px; background: rgba(12, 9, 24, .8); color: #fff; font: 800 14px/1.15 var(--font-display); }
.lp-cv.sm .cap { font-size: 13px; }
.lp-cv .vw { position: absolute; left: 8px; bottom: 8px; padding: 1px 8px; border-radius: 6px; background: rgba(12, 9, 24, .8); color: #fff; font-size: 12px; font-weight: 600; }
.lp-cv.ph .cap { left: 8px; right: 8px; top: 25%; bottom: auto; padding: 0; background: none; text-align: center; font: 800 19px/1.12 var(--font-display);
  text-shadow: -1.5px -1.5px 0 rgba(0, 0, 0, .85), 1.5px -1.5px 0 rgba(0, 0, 0, .85), -1.5px 1.5px 0 rgba(0, 0, 0, .85), 1.5px 1.5px 0 rgba(0, 0, 0, .85), 0 3px 8px rgba(0, 0, 0, .4); }
.lp-cv.ph.sm .cap { font-size: 16px; }
.lp-cv .ctr { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(12, 9, 24, .72); color: #fff; font-size: 12px; font-weight: 700; }
.lp-cv .nxt { position: absolute; right: 6px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.lp-cv .nxt::after { content: ''; position: absolute; left: 6px; top: 8px; width: 7px; height: 7px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg); }
.lp-cv .pl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lp-cv .pl i { display: block; width: 46px; height: 46px; border-radius: 50%; background: rgba(12, 9, 24, .55); position: relative; }
.lp-cv .pl i::after { content: ''; position: absolute; left: 18px; top: 13px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.lp-cv .pgr { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .35); }
.lp-cv .pgr i { display: block; height: 100%; width: 0; background: #fff; animation: lp-prog 7s linear infinite; }
@keyframes lp-prog { from { width: 0; } to { width: 100%; } }

/* the strip of reels that slides by */
.lp-reels { background: var(--panel); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 30px 0 34px; overflow: hidden; margin-top: 70px; }
.lp-reels-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.lp-reels-head h2 { font-size: 26px; }
.lp-reels-head span { color: var(--faint); font-size: 14px; }
.lp-track { display: flex; gap: 14px; width: max-content; animation: lp-slide 70s linear infinite; }
.lp-track:hover { animation-play-state: paused; }
.lp-track .lp-cv { width: 150px; height: 267px; flex: none; }
@keyframes lp-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- the card on the right: book a call / sign in (brands), join (creators) ---- */
.lp-card { background: var(--panel); border: 1px solid var(--border-soft); border-radius: 12px; padding: 26px 26px 22px; box-shadow: var(--shadow); }
.lp-card h2 { font-size: 26px; margin-bottom: 6px; }
.lp-card .sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.lp-card .field { margin-bottom: 14px; }
.lp-card label { font-size: 14px; color: var(--text); }
.lp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-sso { display: grid; gap: 10px; }
.lp-sso .btn { justify-content: center; min-height: 52px; }
.lp-agree, .lp-optin { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--border-soft, rgba(255, 255, 255, .14)); border-radius: 12px; background: var(--panel-2, rgba(255, 255, 255, .04)); color: var(--text); font-size: 13.5px; line-height: 1.5; text-align: left; cursor: pointer; }
.lp-agree input, .lp-optin input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand, #8b5cf6); cursor: pointer; }
.lp-agree a, .lp-optin a { color: var(--brand-3, inherit); text-decoration: underline; }
.lp-agree em, .lp-optin em { display: block; color: var(--muted); font-style: normal; font-size: 12.5px; }
.lp-agree.bad { border-color: var(--red, #ef6b6b); animation: lp-nudge .35s; }
.lp-sso .btn.is-locked { opacity: .55; filter: saturate(.6); cursor: not-allowed; }
@keyframes lp-nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .lp-agree.bad { animation: none; } }
.lp-fine { margin: 16px 0 0; text-align: center; color: var(--faint); font-size: 13.5px; line-height: 1.5; }
.lp-fine a { color: var(--muted); text-decoration: underline; }
.lp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 20px; border-radius: 10px; background: var(--panel-3); }
.lp-tabs button { border: 0; background: none; color: var(--muted); font: 600 15px var(--font); min-height: 46px; padding: 8px; border-radius: 8px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-tabs button:hover { color: var(--text); }
.lp-tabs button[aria-selected="true"] { background: var(--panel); color: var(--brand-3); box-shadow: 0 0 0 1px var(--border-soft); }
.lp-pane { animation: lp-pane .36s var(--ease) both; }
.lp-pane[hidden] { display: none; }
@keyframes lp-pane { from { opacity: 0; transform: translateY(8px); } }
.lp-mini { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border-soft); display: grid; gap: 10px; }
.lp-mini li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.lp-mini li span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgb(var(--brand-rgb) / .14); color: var(--brand-3); }
.lp-mini li svg { width: 15px; height: 15px; }
.lp-done { text-align: center; padding: 10px 0 4px; }
.lp-done .big-tick { width: 58px; height: 58px; border-radius: 12px; margin: 0 auto 16px; display: grid; place-items: center; background: rgb(61 219 160 / .14); color: var(--green-t); }
.lp-done .big-tick svg { width: 28px; height: 28px; }

/* ---- partition cards: one long card split into cells by 1px lines ---- */
.lp-pg { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; }
.lp-pg > * { background: var(--panel); padding: 26px 28px; min-width: 0; }
.lp-pg > .soft { background: var(--panel-2); }
.lp-pg > .full { grid-column: 1 / -1; }
.lp-pg.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-pg.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-pg.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-pg h3 { font-size: 19px; margin: 14px 0 8px; }
.lp-pg p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.lp-n { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 9px; font: 700 14px var(--font-display); background: rgb(var(--brand-rgb) / .16); color: var(--brand-3); }
.lp-n.teal { background: rgb(79 214 204 / .16); color: var(--teal-t); }
.lp-n.wait { background: rgb(242 184 75 / .16); color: var(--amber-t); }
.lp-n.ok { background: rgb(70 211 154 / .16); color: var(--green-t); }
.lp-n.bad { background: rgb(255 122 138 / .16); color: var(--red-t); }
:root[data-theme="light"] .lp-n.teal { background: #daf2f3; }
:root[data-theme="light"] .lp-n.wait { background: #fbefd2; }
:root[data-theme="light"] .lp-n.ok { background: #ddf4ea; }
:root[data-theme="light"] .lp-n.bad { background: #fde1e7; }
:root[data-theme="light"] .lp-n { background: #efe9fd; }
.lp-strip { padding-bottom: 72px; position: relative; z-index: 1; }
.lp-strip .lp-pg > * { padding: 22px 26px; }
.lp-strip .t { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; font: 700 19px var(--font-display); }
.lp-strip p { font-size: 15px; }

/* ---- sections ---- */
.lp-sec { padding: 80px 0 0; }
.lp-sec.last { padding-bottom: 80px; }
.lp-head { max-width: 720px; margin: 0 0 28px; }
.lp-head h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin-bottom: 8px; }
.lp-head p { color: var(--muted); font-size: 17px; margin: 0; }
.lp-tag { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; background: rgb(var(--brand-rgb) / .16); color: var(--brand-3); white-space: nowrap; }
.lp-tag.ok { background: rgb(70 211 154 / .16); color: var(--green-t); }
:root[data-theme="light"] .lp-tag.ok { background: #ddf4ea; }
:root[data-theme="light"] .lp-tag { background: #efe9fd; }

/* ---- the "how we check every view" strip ---- */
.lp-pipe { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-pipe::before { content: ''; position: absolute; left: 12%; right: 12%; top: 21px; height: 3px; border-radius: 2px; background: var(--border); }
.lp-runner { position: absolute; top: 15px; left: 12%; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); animation: lp-run 5s ease-in-out infinite alternate; }
@keyframes lp-run { from { left: 12%; } to { left: calc(88% - 15px); } }
.lp-stage { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-node { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--panel-2); font: 700 17px var(--font-display); }
.lp-stage h4 { font-size: 18px; margin: 12px 0 6px; }
.lp-stage p { padding-bottom: 14px; font-size: 14px; }
.lp-mini-box { margin-top: auto; align-self: stretch; min-height: 96px; border: 1px solid var(--border-soft); border-radius: 10px; background: var(--panel); padding: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.lp-bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.lp-bars i { display: block; width: 12px; border-radius: 3px 3px 0 0; background: var(--brand); transform-origin: bottom; animation: lp-grow 3s ease-in-out infinite alternate; }
.lp-bars i:nth-child(even) { background: var(--teal); animation-delay: .4s; }
@keyframes lp-grow { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

/* ---- the formats ---- */
.lp-fmt .lp-cv { width: 100%; max-width: 190px; aspect-ratio: 9 / 16; margin: 0 0 18px; }
.lp-fmt h3 { margin-top: 0; }
.lp-fmt .kicker { display: block; margin: 0 0 6px; color: var(--brand-3); font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; }
.lp-fmt ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.lp-fmt li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.lp-fmt li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 3px; background: var(--gold); }
:root[data-theme="light"] .lp-fmt li::before { background: var(--brand); }
.lp-fmt li b { color: var(--text); font-weight: 600; }
.lp-fmt-note { margin: 16px 0 0; color: var(--faint); font-size: 14px; }

/* ---- FAQ ---- */
.lp-faq details { background: var(--panel); }
.lp-faq summary { cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; list-style: none; font: 700 17px var(--font-display); min-height: 28px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 22px; color: var(--brand-3); font-weight: 400; line-height: 1; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin-top: 10px; }
.lp-faq details.soft { background: var(--panel-2); }

/* ---- closing band ---- */

/* ---- footer ---- */
.lp-foot { margin-top: 0; border-top: 1px solid var(--border-soft); background: var(--panel); }
.lp-foot .lp-wrap { padding-top: 44px; padding-bottom: 30px; }
.lp-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.lp-foot h4 { font: 700 16px var(--font-display); margin-bottom: 10px; color: var(--text); }
.lp-foot a { display: block; color: var(--text); text-decoration: underline; text-underline-offset: 3px; padding: 5px 0; font-size: 15px; min-height: 28px; }
.lp-foot a:hover { color: var(--brand-3); }
.lp-foot a.lp-logo { padding: 0; text-decoration: none; }
.lp-foot p { color: var(--muted); font-size: 15px; max-width: 300px; margin: 14px 0 0; }
.lp-foot-base { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border-soft); color: var(--faint); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-foot-base a { display: inline; padding: 0; min-height: 0; }

/* ---- entrance ---- */
.lp-rise { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.lp-rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lp-rise { opacity: 1; transform: none; transition: none; }
  .lp-track, .lp-runner, .lp-bars i, .lp-live, .lp-pane, .lp-cv .pgr i, .lp-collage .lp-cv, .lp-chip { animation: none !important; }
}

/* ---- smaller screens ---- */
@media (max-width: 1100px) {
  .lp-links { display: none; }
  .lp-menu-btn { display: inline-grid; }
  .lp-scrim:not([hidden]) { display: block; }
  .lp-mobile-menu:not([hidden]) { display: grid; }
  .lp-nav .hide-md { display: none; }
  .lp-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .lp-pipe::before, .lp-runner { display: none; }
}
@media (max-width: 1000px) {
  .lp-card { max-width: 560px; width: 100%; }
  .lp-pg.g4, .lp-pg.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-pg.g3 > :last-child:nth-child(odd), .lp-pg.g3 > :has(+ .full):nth-child(odd) { grid-column: 1 / -1; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lp-wrap { padding: 0 20px; }
  .lp-nav .lp-wrap { gap: 10px; }
  .lp-nav .hide-sm { display: none; }
  .lp-logo img { height: 28px; }
  .lp-nav .btn { padding: 0 12px; font-size: 14px; }
  .lp-nav .lp-actions { margin-left: auto; }
  .lp-lead { font-size: 17px; }
  .lp-fit { --k: .66; }
  .lp-pg.g2, .lp-pg.g3, .lp-pg.g4 { grid-template-columns: minmax(0, 1fr); }
  .lp-pg > * { padding: 22px 20px; }
  .lp-pg > .full { padding: 26px 20px; }
  .lp-pipe { grid-template-columns: minmax(0, 1fr); }
  .lp-sec { padding-top: 56px; }
  .lp-sec.last { padding-bottom: 56px; }
  .lp-card { padding: 24px 20px 20px; }
  .lp-foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 520px) {
  .lp-nav .hide-xs { display: none; }
  .lp-card h2 { font-size: 22px; }
  .lp-tabs button { font-size: 14px; padding: 6px 4px; }
}

/* ---- the closing section: on the brand page it holds the book-a-call / sign-in card, on the creators' page two buttons ---- */
.lp-cta { position: relative; overflow: hidden; background: #2a1c57; color: #fff; padding: 80px 0; margin-top: 80px; }
:root[data-theme="light"] .lp-cta { background: var(--brand); }
.lp-cta::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.lp-cta::after { content: ''; position: absolute; width: 220px; height: 220px; left: 30%; bottom: -120px; border-radius: 40px; transform: rotate(18deg); background: rgba(255, 255, 255, .06); pointer-events: none; }
.lp-cta .lp-wrap { position: relative; z-index: 1; }
.lp-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: center; }
.lp-cta-copy h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.lp-cta-copy p { color: rgba(255, 255, 255, .92); font-size: 18px; margin: 16px 0 0; max-width: 440px; }
.lp-cta-center { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.lp-cta-center .lp-cta-copy p { margin-left: auto; margin-right: auto; }
.row-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-cta .btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.lp-cta .btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.lp-cta .btn.gold { background: #ffc857; border-color: #ffc857; color: #1a1203; }
.lp-cta .btn.gold:hover { background: #ffd47a; border-color: #ffd47a; }

/* the three small reels under the creators' headline */
.lp-mini3 { display: flex; margin-top: 30px; }
.lp-mini3 .lp-cv { flex: none; }
.lp-mini3 .lp-cv + .lp-cv { margin-left: -10px; }

/* "what you need": a tick, then the reason */
.lp-need > div { display: flex; gap: 14px; align-items: flex-start; }
.lp-need h3 { margin: 0 0 6px; font-size: 18px; }
.lp-tick { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: rgb(70 211 154 / .16); color: var(--green-t); font-weight: 800; }
:root[data-theme="light"] .lp-tick { background: #ddf4ea; }

@media (max-width: 1000px) { .lp-cta-grid { grid-template-columns: 1fr; gap: 36px; } .lp-cta-copy p { max-width: none; } }
@media (max-width: 720px) {
  .lp-cta { padding: 56px 0; margin-top: 56px; }
  .lp-mini3 .lp-cv { width: 96px !important; height: 171px !important; }
  .lp-mini3 .lp-cv + .lp-cv { margin-left: -20px; }
  .lp-reels { margin-top: 48px; }
}

/* button text colours (the page-wide `.lp a { color: inherit }` would otherwise win over a plain .btn) */
.lp a.btn { color: #fff; }
.lp a.btn.ghost { color: var(--text); }
.lp a.btn.google { color: #1f1f1f; }
.lp a.btn.gold { color: #1a1203; }
.lp .lp-cta a.btn.ghost { color: #fff; }
.lp .lp-cta a.btn.gold { color: #1a1203; }

/* inside the closing card the ghost button is a normal one again (dark text on the card) */

@media (max-width: 520px) {
  .lp-nav .lp-wrap { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .lp-nav .lp-actions { gap: 6px !important; }
  .lp-logo img { height: 26px; }
  .lp-nav .lp-other { padding: 0 10px; font-size: 13.5px; }
}
@media (max-width: 400px) {
  .lp-logo img.only-dark, .lp-logo img.only-light { display: none !important; }
  .lp-logo img.lp-logo-mark { display: block; height: 36px; }
}

/* ---- the little pictures under the steps (platforms, a chart with a number, an approval, a wallet) ---- */
.lp-n svg { width: 20px; height: 20px; }
.lp-mini-box { flex-direction: column; gap: 12px; min-height: 124px; padding: 14px 12px; }
.mb-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.mb-tiles .pf { display: block; width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
:root[data-theme="light"] .mb-tiles .pf { box-shadow: 0 0 0 1px rgba(20, 17, 31, .1); }
.mb-tiles .pf.more { color: var(--faint); box-shadow: none; }
.mb-cap { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--green-t); }
.mb-cap i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mb-chart { display: flex; align-items: flex-end; gap: 16px; }
.mb-txt { display: block; text-align: left; padding-bottom: 2px; }
.mb-txt b { display: block; font: 800 26px/1 var(--font-display); color: var(--text); letter-spacing: -.02em; }
.mb-txt small { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--faint); font-size: 12.5px; }
.mb-card { display: flex; align-items: center; gap: 12px; text-align: left; }
.mb-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(70 211 154 / .16); color: var(--green-t); }
.mb-ic svg { width: 22px; height: 22px; }
.mb-ic.gold { background: rgb(242 184 75 / .16); color: var(--amber-t); }
.mb-ic.red { background: rgb(255 122 138 / .16); color: var(--red-t); }
:root[data-theme="light"] .mb-ic { background: #ddf4ea; }
:root[data-theme="light"] .mb-ic.gold { background: #fbefd2; }
:root[data-theme="light"] .mb-ic.red { background: #fde1e7; }
.mb-lines { display: block; }
.mb-lines b { display: block; font: 700 16px/1.2 var(--font-display); color: var(--text); }
.mb-lines small { display: block; margin-top: 3px; color: var(--faint); font-size: 12.5px; }
.mb-amount { color: var(--green-t); font-size: 22px; letter-spacing: -.01em; }

/* ---------- the slideshow generator's sign-in page (slideshow.html) ---------- */
.sl { min-height: 100vh; display: flex; flex-direction: column; }
.sl main { flex: 1; }
.sl-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.sl-steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; }
.sl-steps b { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgb(var(--brand-rgb) / .16); color: var(--brand-3); font-size: 14px; }
.sl-dev { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.sl-dev .row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sl-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 18px 20px 26px; color: var(--faint); font-size: 13.5px; }
.sl-foot a { color: var(--muted); }

/* ---- the rhythm of the page: sections take turns on the page colour, a brand tint and the card colour, then the banner ---- */
.lp-sec.lp-tint, .lp-sec.lp-panel { position: relative; overflow: hidden; margin-top: 80px; padding: 72px 0; border-block: 1px solid var(--border-soft); }
.lp-sec.lp-tint { background: rgb(var(--brand-rgb) / .07); }
.lp-sec.lp-panel { background: var(--panel); }
.lp-sec.lp-tint::before { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -170px; border-radius: 50%; background: rgb(var(--brand-rgb) / .09); pointer-events: none; }
.lp-sec.lp-tint::after { content: ''; position: absolute; width: 150px; height: 150px; left: -50px; bottom: -70px; border-radius: 32px; transform: rotate(16deg); background: rgb(var(--brand-rgb) / .07); pointer-events: none; }
.lp-sec.lp-tint > .lp-wrap, .lp-sec.lp-panel > .lp-wrap { position: relative; z-index: 1; }
.lp-sec.lp-panel + .lp-cta { margin-top: 0; }
@media (max-width: 640px) { .lp-sec.lp-tint, .lp-sec.lp-panel { margin-top: 56px; padding: 48px 0; } }

/* ---- pill buttons on the public pages ---- */
.btn, .icon-btn { border-radius: 999px; }

/* ---------- a step smaller: the public pages, a little more compact than they were (type about 10% smaller, spacing about 20% tighter) ---------- */
.lp-nav .lp-wrap { min-height: 60px; }
.lp-links a { font-size: 14px; padding: 8px 10px; }
.lp-lead { font-size: 17px; margin: 16px 0 22px; }
.lp-card { padding: 22px 22px 18px; }
.lp-card h2 { font-size: 22px; }
.lp-card .sub { font-size: 14px; margin-bottom: 14px; }
.lp-card label { font-size: 13px; }
.lp-fine { margin-top: 12px; font-size: 12.5px; }
.lp-sec { padding-top: 56px; }
.lp-sec.last { padding-bottom: 56px; }
.lp-head h2 { font-size: clamp(26px, 3vw, 34px); }
.lp-head p { font-size: 15.5px; }
.lp-reels-head h2 { font-size: 22px; }
.lp-pg h3 { font-size: 17px; margin: 10px 0 6px; }
.lp-pg p, .lp-strip p { font-size: 14px; }
.lp-stage h4 { font-size: 16px; }
.lp-stage p, .lp-fmt li { font-size: 13.5px; }
.lp-need h3 { font-size: 16px; }
.lp-cta { padding: 56px 0; margin-top: 56px; }
.lp-cta-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.lp-cta-copy p { font-size: 16px; margin-top: 12px; }
.lp-foot .lp-wrap { padding-top: 32px; padding-bottom: 22px; }
.lp-foot a, .lp-foot p { font-size: 14px; }
/* a link to the sign-in card stops under the top bar, never behind it */
#start, #how, #perks, #need, #faq, #features, #formats { scroll-margin-top: 84px; }
@media (max-width: 760px) {
  .lp-lead { font-size: 15.5px; }
  .lp-sec { padding-top: 44px; }
  .lp-sec.last { padding-bottom: 44px; }
  .lp-card { padding: 20px 16px 16px; }
  .lp-card h2 { font-size: 20px; }
  #start, #how, #perks, #need, #faq, #features, #formats { scroll-margin-top: 72px; }
}

/* ---- the gate (round 23): the first screen of the three sign-in pages is only the sign-in card, in the middle, with decorations behind it. Everything else waits below,
   and the top bar shows its links once the page is scrolled (body.lp-scrolled, set by landing.js). Less is more. ---- */
.lp-nav-quiet { background: transparent; border-bottom-color: transparent; transition: background .25s ease, border-color .25s ease; }
body.lp-scrolled .lp-nav-quiet { background: var(--panel); border-bottom-color: var(--border-soft); }
.lp-nav-quiet .lp-links, .lp-nav-quiet .lp-actions > :not(.theme-btn):not(.lp-menu-btn) { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
body.lp-scrolled .lp-nav-quiet .lp-links, body.lp-scrolled .lp-nav-quiet .lp-actions > :not(.theme-btn):not(.lp-menu-btn),
.lp-nav-quiet:focus-within .lp-links, .lp-nav-quiet:focus-within .lp-actions > :not(.theme-btn):not(.lp-menu-btn) { opacity: 1; visibility: visible; }

.lp-gate { position: relative; overflow: hidden; display: grid; place-items: center; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); padding: 24px 0 84px; }
.lp-gate .lp-wrap.lp-gate-in { position: relative; display: block; max-width: 480px; z-index: 2; padding: 0 20px; }
.lp-gate .lp-card { padding: 30px 28px 24px; box-shadow: 0 24px 60px rgb(4 2 12 / .38); }
:root[data-theme="light"] .lp-gate .lp-card { box-shadow: 0 20px 50px rgb(60 40 120 / .14); }
.lp-gate .lp-card h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 6px; text-align: center; }
.lp-gate .lp-card .sub { text-align: center; }
.lp-gate-mark { display: block; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; }
.lp-gate-alt { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.lp-gate-alt a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.lp-gate-alt span { margin: 0 6px; color: var(--faint); }
/* the second box: optional, quieter than the one that has to be ticked */
.lp-optin { margin-top: -4px; background: transparent; border-style: dashed; padding: 10px 14px; font-size: 14px; }

/* the layer behind the card: flat shapes, a faint dotted field, and a few reels floating at the sides (only where there is room) */
.lp-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lp-deco .dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgb(var(--brand-rgb) / .26) 1.4px, transparent 1.7px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 48%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 62% 58% at 50% 48%, #000 25%, transparent 78%); }
.lp-deco .orb { position: absolute; border-radius: 50%; background: rgb(var(--brand-rgb) / .13); }
.lp-deco .orb.a { width: 620px; height: 620px; right: -180px; top: -240px; }
.lp-deco .orb.b { width: 380px; height: 380px; left: -150px; bottom: -140px; background: rgb(var(--brand-rgb) / .09); }
.lp-deco .sq { position: absolute; width: 210px; height: 210px; left: 7%; top: 8%; border-radius: 52px; background: var(--panel-3); opacity: .55; transform: rotate(14deg); }
.lp-deco .lp-cv { position: absolute; box-shadow: var(--shadow); animation: lp-float 7s ease-in-out infinite; }
.lp-deco .c1 { width: 150px; height: 267px; left: calc(50% - 600px); top: 12%; transform: rotate(-8deg); }
.lp-deco .c2 { width: 118px; height: 210px; left: calc(50% - 470px); top: 56%; transform: rotate(6deg); animation-delay: -2.5s; }
.lp-deco .c3 { width: 150px; height: 267px; right: calc(50% - 600px); top: 9%; transform: rotate(7deg); animation-delay: -1.2s; }
.lp-deco .c4 { width: 118px; height: 210px; right: calc(50% - 470px); top: 58%; transform: rotate(-6deg); animation-delay: -4s; }
.lp-deco .lp-chip { z-index: 1; }
.lp-deco .k1 { left: calc(50% - 560px); top: 63%; }
.lp-deco .k2 { right: calc(50% - 540px); top: 40%; color: var(--green-t); }
@keyframes lp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 1240px) { .lp-deco .c1 { left: calc(50% - 520px); } .lp-deco .c3 { right: calc(50% - 520px); } .lp-deco .c2 { left: calc(50% - 410px); } .lp-deco .c4 { right: calc(50% - 410px); } .lp-deco .k1, .lp-deco .k2 { display: none; } }
@media (max-width: 1060px) { .lp-deco .lp-cv, .lp-deco .lp-chip { display: none; } }
@media (prefers-reduced-motion: reduce) { .lp-deco .lp-cv { animation: none; } }

/* the nudge to scroll */
.lp-cue { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 14px; color: var(--faint); font-size: 13.5px; font-weight: 600; text-decoration: none; border-radius: 10px; }
.lp-cue:hover { color: var(--text); }
.lp-cue svg { width: 20px; height: 20px; animation: lp-cue 1.9s ease-in-out infinite; }
@keyframes lp-cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .lp-cue svg { animation: none; } }

/* what the old hero said, now the first thing under the gate */
.lp-sec.lp-intro { padding-top: 72px; }
.lp-intro .lp-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.lp-intro .lp-intro-title { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; margin: 14px 0 0; }
.lp-intro .lp-lead { margin: 20px 0 0; }
.lp-intro .lp-mini3 { margin-top: 0; justify-content: center; }
@media (max-width: 860px) { .lp-intro .lp-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } .lp-intro .lp-mini3 { justify-content: flex-start; } .lp-sec.lp-intro { padding-top: 48px; } }

@media (max-width: 760px) {
  .lp-gate { padding: 12px 0 76px; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }
  .lp-gate .lp-wrap.lp-gate-in { padding: 0 16px; }
  .lp-gate .lp-card { padding: 24px 18px 18px; }
  .lp-gate .lp-card h2 { font-size: 22px; }
  .lp-deco .orb.a { width: 420px; height: 420px; right: -170px; top: -170px; }
  .lp-deco .orb.b { width: 280px; height: 280px; left: -130px; bottom: -110px; }
  .lp-deco .sq { width: 140px; height: 140px; left: -40px; top: 14%; border-radius: 36px; }
}
.lp-intro.lp-intro-wide .lp-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.lp-intro .sl-intro-one { max-width: 640px; }
.lp-intro .sl-steps { margin-top: 26px; }
@media (max-width: 1000px) { .lp-intro.lp-intro-wide .lp-intro-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .lp-gate-mark { display: none; } }
.lp-sec.lp-intro { padding-bottom: 56px; }

/* ---- glass and grain on the public pages (the same look as the dashboards: public/css/theme.css, "glass and grain"); "Plain" in Settings > Appearance, or animations off, turns it back ---- */
:root:not([data-fx="plain"]) .lp-nav { background: color-mix(in srgb, var(--panel) 74%, transparent); backdrop-filter: blur(22px) saturate(1.5); box-shadow: var(--rim), 0 10px 30px -24px rgb(0 0 0 / .6); }
:root:not([data-fx="plain"]) .lp-nav-quiet { background: transparent; box-shadow: none; backdrop-filter: none; }
:root:not([data-fx="plain"]) .lp-card { background: var(--gloss), var(--panel); box-shadow: var(--rim), var(--shadow); border-radius: 18px; }
:root:not([data-fx="plain"]) .lp-chip { background: var(--gloss), color-mix(in srgb, var(--panel) 74%, transparent); backdrop-filter: blur(14px) saturate(1.5); box-shadow: var(--rim), var(--shadow); }
:root:not([data-fx="plain"]) .lp-pg > * { background: var(--gloss), var(--panel); }
:root:not([data-fx="plain"]) .lp-pg > .soft { background: var(--gloss), var(--panel-2); }
:root:not([data-fx="plain"]) .lp-faq details { background: var(--gloss), var(--panel); }
:root:not([data-fx="plain"]) .lp-faq details.soft { background: var(--gloss), var(--panel-2); }
:root:not([data-fx="plain"]) .lp-mini-box { background: var(--gloss), var(--panel); box-shadow: var(--card-edge); }
:root:not([data-fx="plain"]) .lp-mobile-menu { background: var(--gloss), color-mix(in srgb, var(--modal-bg) 76%, transparent); backdrop-filter: blur(26px) saturate(1.5); box-shadow: var(--rim), var(--shadow); animation-duration: var(--dur-2); }
:root:not([data-fx="plain"]) .lp-deco .lp-cv, :root:not([data-fx="plain"]) .lp-collage .lp-cv { box-shadow: var(--rim), var(--shadow); }
:root:not([data-fx="plain"]) .lp-rise { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); transform: translateY(24px); }
:root:not([data-fx="plain"]) .lp-rise.in { transform: none; }
:root[data-motion="off"] .lp-rise { transition: none; }
:root:not([data-fx="plain"]) .lp-pane { animation-duration: var(--dur-3); }
:root:not([data-fx="plain"]) .lp-faq summary::after { transition: transform var(--dur-2) var(--ease); }
:root:not([data-fx="plain"]) .lp-links a { transition: color var(--dur-2), background-color var(--dur-2); }
:root:not([data-fx="plain"]) .lp-tabs { position: relative; box-shadow: inset 0 1px 3px rgb(0 0 0 / .18); }
:root:not([data-fx="plain"]) .lp-tabs[data-ind]::before { content: ''; position: absolute; left: 0; top: 0; width: var(--iw, 0); height: var(--ih, 0); border-radius: var(--ir, 8px); pointer-events: none; transform: translate(var(--ix, 0), var(--iy, 0)); background: var(--panel); box-shadow: 0 0 0 1px var(--border-soft), var(--rim), 0 6px 16px -8px rgb(var(--brand-rgb) / .6); }
:root:not([data-fx="plain"]) .lp-tabs[data-ind].go::before { transition: transform var(--dur-3) var(--ease), width var(--dur-3) var(--ease), height var(--dur-3) var(--ease); }
:root:not([data-fx="plain"]) .lp-tabs[data-ind] button { position: relative; z-index: 1; }
:root:not([data-fx="plain"]) .lp-tabs[data-ind] button[aria-selected="true"] { background: transparent; box-shadow: none; }
:root[data-motion="off"] .lp-tabs.go::before { transition: none !important; }
