/* Public landing page. Self-contained on purpose (it does not load app.css): system fonts only because the CSP allows
   no web fonts, no scripts. Deep indigo bands, one hot-pink accent, a bright yellow for highlights, outlined rounded cards on white. Every colour is a
   token with an explicit dark value. */
:root {
    --bg: #ffffff; --surface: #ffffff; --tint: #f1efff; --ink: #170f55; --muted: #4d4989; --line: #dad6f8;
    --accent: #e0176f; --accent-ink: #ffffff; --accent-text: #c4125e; --accent-soft: #ffe5f1;
    --band: #2412a0; --band-2: #3322b8; --band-ink: #ffffff; --band-muted: #d3ceff; --band-line: #5646d6; --pop: #ffd23f;
    --foot: #170a73; --focus: #c4125e;
    --shadow: 0 28px 56px -26px rgba(36, 18, 160, .55), 0 2px 6px rgba(36, 18, 160, .1);
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gutter: 16px; --radius: 22px;
    color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0833; --surface: #17114f; --tint: #110c40; --ink: #efecff; --muted: #bbb6f0; --line: #30287f;
        --accent: #ec2b80; --accent-text: #ff8fc0; --accent-soft: #3a1043;
        --band: #0a0630; --band-2: #17114f; --band-line: #392f94; --foot: #060220; --focus: #ffd23f;
        --shadow: 0 28px 56px -26px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .45);
    }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.landing { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
::selection { background: var(--accent); color: var(--accent-ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.lp-header :focus-visible, .lp-hero :focus-visible, #pricing :focus-visible, .lp-final :focus-visible, .lp-footer :focus-visible, .lp-moment :focus-visible { outline-color: #ffffff; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
section[id] { scroll-margin-top: 76px; }

.lp-skip { position: absolute; left: 12px; top: -100px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.lp-skip:focus { top: 12px; }
.lp-wrap { width: min(100%, 1200px); margin: 0 auto; padding: 0 var(--gutter); }

/* buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 2px solid transparent; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; text-align: center; transition: background-color .18s ease-out, border-color .18s ease-out, transform .18s ease-out; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-sm { min-height: 44px; padding: 0 18px; }
.lp-btn-block { display: flex; width: 100%; }
.lp-btn-primary, .lp-btn-light { background: var(--accent); color: var(--accent-ink); }
.lp-btn-primary:hover, .lp-btn-light:hover { background: #f0287f; }
.lp-btn-quiet { background: transparent; color: var(--band-ink); border-color: var(--band-line); }
.lp-btn-quiet:hover { border-color: var(--pop); }
.lp-btn-outline { background: transparent; color: var(--band-ink); border-color: var(--band-muted); }
.lp-btn-outline:hover { border-color: var(--pop); color: var(--pop); }
.lp-btn-ghost { background: transparent; color: var(--band-ink); border-color: var(--band-muted); }
.lp-btn-ghost:hover { border-color: #ffffff; }

/* header: dark, sticky, CSS-only mobile menu */
.lp-header { position: sticky; top: 0; z-index: 20; background: var(--band); border-bottom: 1px solid var(--band-line); color: var(--band-ink); }
.lp-bar { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--band-ink); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.lp-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.lp-menu-input { position: absolute; right: var(--gutter); top: 12px; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.lp-burger { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--band-line); border-radius: 12px; }
.lp-burger span, .lp-burger span::before, .lp-burger span::after { display: block; width: 20px; height: 2px; background: var(--band-ink); content: ""; position: relative; }
.lp-burger span::before { position: absolute; top: -6px; }
.lp-burger span::after { position: absolute; top: 6px; }
.lp-menu-input:focus-visible + .lp-burger { outline: 3px solid #ffffff; outline-offset: 3px; }
.lp-nav { max-height: calc(100vh - 68px); overflow-y: auto; display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 18px; background: var(--band); border-bottom: 1px solid var(--band-line); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); }
.lp-menu-input:checked ~ .lp-nav { display: flex; }
.lp-links { display: flex; flex-direction: column; }
.lp-links a, .lp-link { display: flex; align-items: center; min-height: 48px; color: var(--band-ink); font-weight: 600; text-decoration: none; }
.lp-links a:hover, .lp-link:hover { color: var(--pop); }
.lp-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* hero: copy and a plan picker on the deep teal, the real product underneath */
.lp-hero { background: var(--band); color: var(--band-ink); }
.lp-hero-grid { display: grid; gap: 36px; padding-top: 44px; padding-bottom: 36px; align-items: center; }
.lp-hero-copy { min-width: 0; }
.lp-hero h1 { font-size: clamp(34px, 8vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; color: #ffffff; }
.lp-hl { color: var(--pop); }
.lp-lead { max-width: 36em; margin-top: 22px; color: var(--band-muted); font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-fine { margin-top: 16px; color: var(--band-muted); font-size: 15px; }
.lp-tiles { display: grid; gap: 12px; margin-top: 32px; }
.lp-tiles li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--band-line); border-radius: 16px; background: var(--band-2); }
.lp-tiles strong { color: #ffffff; font-size: 16px; font-weight: 750; line-height: 1.3; }
.lp-tiles span { color: var(--band-muted); font-size: 14px; line-height: 1.45; }
.lp-picker { min-width: 0; padding: 22px; border-radius: 28px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.lp-picker-title { margin-bottom: 14px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.lp-picks { display: grid; gap: 10px; margin-bottom: 16px; }
.lp-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color .18s ease-out, background-color .18s ease-out; }
.lp-pick:hover { border-color: var(--accent); }
.lp-pick-on { border-color: var(--accent); background: var(--accent-soft); }
.lp-pick-text { display: grid; min-width: 0; }
.lp-pick-name { font-weight: 750; }
.lp-pick-sub { color: var(--muted); font-size: 14px; }
.lp-pick-price { display: grid; justify-items: end; text-align: right; flex: none; }
.lp-pick-price strong { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.lp-pick-price span { color: var(--muted); font-size: 13px; }
.lp-picker-have { margin-top: 14px; color: var(--muted); font-size: 15px; text-align: center; }
.lp-picker-have a { display: inline-block; padding: 10px 4px; }
.lp-stage { padding: 4px 0 56px; }
.lp-window { margin: 0 auto; max-width: 1100px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.lp-stage .lp-window { border-color: var(--band-line); }
.lp-window-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--tint); color: var(--muted); font-size: 13px; }
.lp-window-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); box-shadow: 14px 0 0 var(--line), 28px 0 0 var(--line); margin-right: 28px; }
.lp-shot { overflow-x: auto; }
.lp-shot img { width: 100%; min-width: 720px; height: auto; }
.lp-shot:focus-visible { outline-offset: -3px; }

/* sections */
.lp-section { padding: 72px 0; }
.lp-tint { background: var(--tint); }
.lp-head { margin-bottom: 40px; max-width: 46em; }
#features .lp-head, #pricing .lp-head { margin-inline: auto; text-align: center; }
.lp-head h2, .lp-final h2 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.lp-sub { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* feature stories: text beside the real screenshot, alternating */
.lp-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 44px 0; border-top: 1px solid var(--line); align-items: center; }
.lp-story:first-of-type { border-top: 0; padding-top: 8px; }
.lp-story > *, .lp-window, .lp-shot { min-width: 0; }
.lp-story h3 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
.lp-benefit { margin-top: 14px; font-size: 19px; line-height: 1.55; }
.lp-story h4 { margin-top: 24px; font-size: 16px; color: var(--accent-text); font-weight: 750; }
.lp-story-text h4 + p { margin-top: 6px; color: var(--muted); }
.lp-who { margin-top: 16px; color: var(--muted); font-size: 16px; }
.lp-who strong { color: var(--ink); }
.lp-story-visual .lp-window { max-width: none; }
.lp-moment { padding: 64px var(--gutter); margin-inline: calc(50% - 50vw); width: 100vw; background: var(--band); color: var(--band-ink); border-top: 0; justify-items: center; }
.lp-moment .lp-story-text { max-width: 1168px; width: 100%; }
.lp-moment .lp-who, .lp-moment .lp-story-text h4 + p, .lp-moment .lp-benefit { color: var(--band-muted); }
.lp-moment .lp-who strong { color: var(--band-ink); }
.lp-moment h4 { color: var(--pop); }
.lp-moment .lp-story-visual { width: 100%; max-width: 1000px; }
.lp-diagram { width: 100%; height: auto; border-radius: 18px; }
.lp-also { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.lp-also h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.lp-also ul { display: grid; column-gap: 40px; }
.lp-also li { position: relative; display: grid; gap: 2px; padding: 16px 0 16px 60px; border-bottom: 1px solid var(--line); }
.lp-also li::before { content: ""; position: absolute; left: 0; top: 14px; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0176f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat; }
.lp-also strong { font-weight: 750; }
.lp-also span { color: var(--muted); font-size: 16px; }

/* steps */
.lp-steps { display: grid; gap: 0; counter-reset: step; }
.lp-steps li { position: relative; padding: 24px 0 24px 62px; border-top: 1px solid var(--line); counter-increment: step; }
.lp-steps li::before { content: counter(step); position: absolute; left: 0; top: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.lp-steps h3 { font-size: 20px; font-weight: 780; letter-spacing: -.015em; }
.lp-steps p { margin-top: 4px; color: var(--muted); font-size: 16px; }

/* security */
.lp-security { display: grid; gap: 8px; }
.lp-points li { padding: 22px 0; border-top: 1px solid var(--line); }
.lp-points h3 { font-size: 20px; font-weight: 780; letter-spacing: -.015em; }
.lp-points p { margin-top: 6px; color: var(--muted); }

/* pricing: a dark band, yellow plan names, pink on the recommended plan */
#pricing { background: var(--band); color: var(--band-ink); }
#pricing .lp-sub { color: var(--band-muted); }
.lp-plans { display: grid; gap: 20px; }
.lp-plan { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--band-line); border-radius: var(--radius); background: var(--band-2); }
.lp-plan.lp-featured { border: 2px solid var(--accent); box-shadow: 0 30px 56px -28px rgba(0, 0, 0, .7); }
.lp-plan h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--pop); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.lp-flag { padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.lp-price { color: var(--band-muted); }
.lp-price strong { color: #ffffff; font-size: 40px; line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin-right: 4px; }
.lp-limits { flex: 1; }
.lp-limits div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--band-line); }
.lp-limits dt { color: var(--band-muted); }
.lp-limits dd { margin: 0; font-weight: 700; color: #ffffff; }
.lp-have { font-size: 15px; color: var(--band-muted); }
.lp-have a { display: inline-block; padding: 12px 0; color: var(--pop); }
.lp-pay, .lp-note { margin-top: 28px; max-width: 52em; color: var(--band-muted); font-size: 16px; }
.lp-pay { margin-inline: auto; padding: 18px 22px; border: 1px solid var(--band-line); border-radius: 18px; background: var(--band-2); color: var(--band-ink); text-align: center; }
.lp-note { margin-inline: auto; text-align: center; }

/* faq */
.lp-faqgrid { display: grid; gap: 8px; }
.lp-faq { border-top: 1px solid var(--line); }
.lp-faq:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary { display: flex; align-items: center; min-height: 58px; padding: 12px 40px 12px 0; position: relative; font-weight: 700; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 6px; font-size: 26px; font-weight: 400; color: var(--accent-text); }
.lp-faq[open] summary::after { content: "\2212"; }
.lp-faq p { padding: 0 0 22px; color: var(--muted); max-width: 46em; }

/* closing call to action */
.lp-final { background: var(--band); color: var(--band-ink); padding: 80px 0; text-align: center; border-top: 1px solid var(--band-line); }
.lp-final p:not(.lp-cta) { max-width: 36em; margin: 16px auto 0; color: var(--band-muted); font-size: 18px; }
.lp-final .lp-cta { justify-content: center; }

.lp-footer { background: var(--foot); color: var(--band-muted); padding: 44px 0 28px; font-size: 16px; }
.lp-foot { display: grid; gap: 28px; }
.lp-foot-brand { font-weight: 800; color: #ffffff; }
.lp-foot-about p + p { margin-top: 6px; max-width: 26em; }
.lp-footer ul { display: grid; }
.lp-footer li a { display: flex; align-items: center; min-height: 44px; color: var(--band-muted); text-decoration: none; }
.lp-footer li a:hover { color: var(--pop); text-decoration: underline; }
.lp-copy { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--band-line); font-size: 14px; }

@media (min-width: 700px) {
    :root { --gutter: 28px; }
    .lp-tiles { grid-template-columns: repeat(3, 1fr); }
    .lp-tiles-1 { grid-template-columns: 1fr; }
    .lp-tiles-2, .lp-tiles-4 { grid-template-columns: repeat(2, 1fr); }
    .lp-plans { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
    .lp-also ul { grid-template-columns: repeat(2, 1fr); }
    .lp-foot { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 980px) {
    .lp-menu-input, .lp-burger { display: none; }
    .lp-nav { max-height: none; overflow: visible; display: flex; position: static; flex-direction: row; align-items: center; justify-content: space-between; flex: 1; margin-left: 32px; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .lp-links { flex-direction: row; gap: 4px; }
    .lp-links a { padding: 0 14px; border-radius: 10px; }
    .lp-actions { flex-direction: row; align-items: center; gap: 14px; margin: 0; }
    .lp-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding-top: 72px; padding-bottom: 56px; }
    .lp-section { padding: 104px 0; }
    .lp-story { grid-template-columns: 5fr 7fr; gap: 64px; padding: 60px 0; }
    .lp-story-flip .lp-story-visual { order: -1; }
    .lp-story-flip { grid-template-columns: 7fr 5fr; }
    .lp-moment { grid-template-columns: 1fr; gap: 36px; }
    .lp-moment .lp-story-text { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
    .lp-moment .lp-story-text h3, .lp-moment .lp-benefit { grid-column: 1; }
    .lp-moment .lp-story-text h4, .lp-moment .lp-story-text h4 + p, .lp-moment .lp-who { grid-column: 2; }
    .lp-moment .lp-story-text h4 { grid-row: 1; margin-top: 0; }
    .lp-moment .lp-story-text h4 + p { grid-row: 2; }
    .lp-moment .lp-who { grid-row: 3; }
    .lp-shot img { min-width: 0; }
    .lp-plans { grid-template-columns: repeat(auto-fit, minmax(204px, 1fr)); }
    .lp-plan { padding: 24px; }
    .lp-price strong { font-size: 34px; }
    .lp-steps { grid-template-columns: repeat(3, 1fr); }
    .lp-security { grid-template-columns: 4fr 7fr; gap: 64px; }
    .lp-security .lp-points li:first-child { border-top: 0; padding-top: 0; }
    .lp-faqgrid { grid-template-columns: 4fr 7fr; gap: 64px; }
}
@media (min-width: 700px) and (max-width: 979px) { .lp-shot img { min-width: 0; } }
@media (forced-colors: active) {
    .lp-btn, .lp-plan, .lp-window, .lp-burger, .lp-picker, .lp-pick, .lp-tiles li { border: 1px solid ButtonText; }
    .lp-btn-primary, .lp-btn-light { forced-color-adjust: none; background: ButtonText; color: ButtonFace; }
}
