/* ==========================================================================
   Schoolio GH public site (saas_website/index + /demo)
   Self-contained: does not load the app stylesheet. Light + dark via
   html[data-theme], set before first paint by application/views/theme/head.php.
   ========================================================================== */

:root {
    --lp-bg: #F6F7FC;
    --lp-bg-2: #EDF0FB;
    --lp-surface: #FFFFFF;
    --lp-surface-2: #F1F3FB;
    --lp-glass: rgba(255, 255, 255, .72);
    --lp-ink: #1B1D4B;
    --lp-text: #3D4F63;
    --lp-muted: #6A7C8F;
    --lp-line: #DDE6EC;
    --lp-line-strong: #C4D2DC;
    --lp-primary: #3B5BDB;
    --lp-primary-2: #5C7CFA;
    --lp-primary-soft: rgba(59, 91, 219, .10);
    --lp-accent: #F08C00;
    --lp-accent-soft: rgba(240, 140, 0, .12);
    --lp-gold: #F2A93B;
    --lp-violet: #6D5BD0;
    --lp-sky: #2E8BD8;
    --lp-green: #1E9E6A;
    --lp-navy: #1B1D4B;
    --lp-navy-2: #25286A;
    --lp-grad: linear-gradient(120deg, #3B5BDB 0%, #5C7CFA 45%, #F08C00 100%);
    --lp-shadow-sm: 0 1px 2px rgba(27, 29, 75, .06), 0 2px 8px rgba(27, 29, 75, .05);
    --lp-shadow: 0 10px 30px rgba(27, 29, 75, .08);
    --lp-shadow-lg: 0 30px 70px rgba(27, 29, 75, .16);
    --lp-r-sm: 10px;
    --lp-r: 16px;
    --lp-r-lg: 24px;
    --lp-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lp-font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --lp-max: 1200px;
    --lp-ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: light;
}
html[data-theme="dark"] {
    --lp-bg: #0B0C1F;
    --lp-bg-2: #10122B;
    --lp-surface: #15173A;
    --lp-surface-2: #1B1E47;
    --lp-glass: rgba(12, 13, 34, .72);
    --lp-ink: #EDF4F8;
    --lp-text: #B9C8D4;
    --lp-muted: #8295A7;
    --lp-line: #262A55;
    --lp-line-strong: #353A70;
    --lp-primary: #748FFC;
    --lp-primary-2: #A5B4FC;
    --lp-primary-soft: rgba(116, 143, 252, .14);
    --lp-accent: #FFC078;
    --lp-accent-soft: rgba(255, 192, 120, .14);
    --lp-grad: linear-gradient(120deg, #748FFC 0%, #A5B4FC 45%, #FFC078 100%);
    --lp-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --lp-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --lp-shadow-lg: 0 30px 70px rgba(0, 0, 0, .5);
    color-scheme: dark;
}

/* ---------- base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.lp {
    margin: 0; background: var(--lp-bg); color: var(--lp-text);
    font: 400 16px/1.6 var(--lp-font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.lp h1, .lp h2, .lp h3, .lp h4 { font-family: var(--lp-font-head); color: var(--lp-ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
.lp p { margin: 0; }
.lp a { color: inherit; text-decoration: none; }
.lp img { max-width: 100%; display: block; }
.lp :focus-visible { outline: 3px solid color-mix(in srgb, var(--lp-primary) 55%, transparent); outline-offset: 3px; border-radius: 8px; }
.lp ::selection { background: var(--lp-primary); color: #fff; }
.lp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--lp-primary); color: #fff !important; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.lp-skip:focus { top: 12px; }
.lp-wrap { width: 100%; max-width: var(--lp-max); margin: 0 auto; padding: 0 24px; }
.lp-section { position: relative; padding: 110px 0; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--lp-primary); margin-bottom: 14px;
}
.lp-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--lp-grad); }
.lp-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.lp-head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); margin-bottom: 16px; }
.lp-head p { font-size: 1.12rem; color: var(--lp-muted); }
.lp-grad-text { background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- buttons ------------------------------------------------------- */
.lp-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15.5px; line-height: 1; cursor: pointer;
    border: 1.5px solid transparent; transition: transform .25s var(--lp-ease), box-shadow .25s var(--lp-ease), background .2s, color .2s, border-color .2s;
    white-space: nowrap; font-family: inherit;
}
.lp-btn i { transition: transform .25s var(--lp-ease); }
.lp-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.lp-btn--primary { background: var(--lp-primary); color: #fff !important; box-shadow: 0 10px 24px color-mix(in srgb, var(--lp-primary) 35%, transparent); }
html[data-theme="dark"] .lp-btn--primary { color: #0F1130 !important; }
.lp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px color-mix(in srgb, var(--lp-primary) 45%, transparent); }
.lp-btn--ghost { background: var(--lp-surface); color: var(--lp-ink) !important; border-color: var(--lp-line-strong); }
.lp-btn--ghost:hover { border-color: var(--lp-primary); color: var(--lp-primary) !important; transform: translateY(-2px); }
.lp-btn--light { background: #fff; color: var(--lp-navy) !important; }
.lp-btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.lp-btn--sm { padding: 10px 16px; font-size: 14px; }
.lp-btn--block { width: 100%; }

/* ---------- theme switch (landing + demo page) ---------------------------- */
.lp .hms-theme-switch {
    display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
    background: var(--lp-surface); border: 1.5px solid var(--lp-line-strong); box-shadow: var(--lp-shadow-sm);
}
.lp .hms-theme-switch button {
    width: 32px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: var(--lp-text);
    display: grid; place-items: center; cursor: pointer; font-size: 13px; padding: 0; transition: background .2s, color .2s;
}
.lp .hms-theme-switch button:hover { color: var(--lp-primary); background: var(--lp-primary-soft); }
.lp .hms-theme-switch button[aria-pressed="true"] { background: var(--lp-primary); color: #fff; }
html[data-theme="dark"] .lp .hms-theme-switch button[aria-pressed="true"] { color: #0F1130; }
.lp .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav ----------------------------------------------------------- */
.lp-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.lp-nav.is-scrolled { background: var(--lp-glass); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: var(--lp-line); box-shadow: 0 6px 24px rgba(27, 29, 75, .06); }
.lp-nav__bar { height: 76px; display: flex; align-items: center; gap: 24px; }
.lp-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lp-brand__mark {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 800 19px var(--lp-font-head);
    background: var(--lp-grad); box-shadow: 0 8px 18px color-mix(in srgb, var(--lp-primary) 35%, transparent); position: relative; overflow: hidden;
}
.lp-brand__mark svg { width: 24px; height: 24px; }
.lp-brand__name { font: 800 19px/1.1 var(--lp-font-head); color: var(--lp-ink); letter-spacing: -.02em; }
.lp-brand__name b { color: var(--lp-primary); font-weight: 800; }
.lp-brand__tag { display: block; font: 500 11.5px var(--lp-font); color: var(--lp-muted); letter-spacing: 0; }
.lp-nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.lp-nav__links a { padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--lp-text); transition: color .2s, background .2s; }
.lp-nav__links a:hover { color: var(--lp-primary); background: var(--lp-primary-soft); }
.lp-nav__actions { display: flex; align-items: center; gap: 10px; }
.lp-nav__login { font-weight: 700; font-size: 14.5px; color: var(--lp-ink); padding: 10px 14px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.lp-nav__login:hover { color: var(--lp-primary); }
.lp-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--lp-line-strong); background: var(--lp-surface); color: var(--lp-ink); cursor: pointer; font-size: 18px; }
.lp-mobile {
    display: none; position: fixed; inset: 76px 12px auto 12px; z-index: 99; background: var(--lp-surface); border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-lg); box-shadow: var(--lp-shadow-lg); padding: 14px; transform-origin: top center;
}
.lp-mobile.is-open { display: block; animation: lp-drop .25s var(--lp-ease); }
.lp-mobile a:not(.lp-btn) { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; font-weight: 600; color: var(--lp-ink); }
.lp-mobile a:not(.lp-btn):hover { background: var(--lp-primary-soft); color: var(--lp-primary); }
.lp-mobile a:not(.lp-btn) i { width: 20px; color: var(--lp-primary); }
.lp-mobile__foot { display: grid; gap: 10px; padding: 12px 4px 4px; margin-top: 8px; border-top: 1px solid var(--lp-line); }
.lp-mobile__row { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px; color: var(--lp-muted); font-size: 14px; font-weight: 600; }
@keyframes lp-drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------------------------------------------------------- */
.lp-hero { position: relative; padding: 150px 0 90px; overflow: hidden; isolation: isolate; }
.lp-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lp-hero__bg::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 520px at 85% 10%, color-mix(in srgb, var(--lp-primary) 18%, transparent), transparent 60%),
        radial-gradient(700px 480px at 5% 90%, color-mix(in srgb, var(--lp-accent) 14%, transparent), transparent 60%),
        radial-gradient(600px 400px at 50% 40%, color-mix(in srgb, var(--lp-violet) 8%, transparent), transparent 70%);
}
.lp-hero__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(var(--lp-line) 1px, transparent 1px), linear-gradient(90deg, var(--lp-line) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
}
.lp-ecg { position: absolute; left: 0; right: 0; bottom: 36px; width: 100%; height: 120px; opacity: .55; }
.lp-ecg path { fill: none; stroke: url(#lpEcgGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: lp-ecg 5.5s linear infinite; }
@keyframes lp-ecg { 0% { stroke-dashoffset: 2400; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.lp-chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--lp-surface);
    border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--lp-text); margin-bottom: 26px;
    transition: transform .25s var(--lp-ease), border-color .2s;
}
.lp-chip:hover { transform: translateY(-2px); border-color: var(--lp-primary); }
.lp-chip__dot { background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; }
.lp-live { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-green); box-shadow: 0 0 0 0 rgba(30, 158, 106, .6); animation: lp-ping 1.8s infinite; display: inline-block; }
@keyframes lp-ping { 70% { box-shadow: 0 0 0 9px rgba(30, 158, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 158, 106, 0); } }
.lp-hero h1 { font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 22px; }
.lp-hero h1 .lp-underline { position: relative; white-space: nowrap; }
.lp-hero h1 .lp-underline svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .38em; overflow: visible; }
.lp-hero h1 .lp-underline path { fill: none; stroke: var(--lp-accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: lp-draw 1.2s .6s var(--lp-ease) forwards; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
.lp-hero__lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--lp-muted); max-width: 560px; margin-bottom: 34px; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--lp-muted); font-size: 14px; font-weight: 600; }
.lp-trust span { display: inline-flex; align-items: center; gap: 8px; }
.lp-trust i { color: var(--lp-primary); }

/* product mockup */
.lp-stage { position: relative; perspective: 1600px; }
.lp-mock {
    position: relative; border-radius: 18px; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-lg);
    overflow: hidden; transform: rotateY(-9deg) rotateX(5deg); transform-style: preserve-3d; transition: transform .8s var(--lp-ease);
}
.lp-stage:hover .lp-mock { transform: rotateY(-3deg) rotateX(2deg); }
.lp-mock__chrome { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--lp-surface-2); border-bottom: 1px solid var(--lp-line); }
.lp-mock__chrome i { width: 10px; height: 10px; border-radius: 50%; background: #F26B6B; }
.lp-mock__chrome i:nth-child(2) { background: #F5C04E; }
.lp-mock__chrome i:nth-child(3) { background: #43C47A; }
.lp-mock__url { margin-left: 12px; flex: 1; font-size: 11.5px; color: var(--lp-muted); background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 8px; padding: 4px 10px; display: flex; gap: 6px; align-items: center; }
.lp-mock__body { display: grid; grid-template-columns: 58px 1fr; min-height: 380px; }
.lp-mock__side { background: linear-gradient(180deg, var(--lp-navy), var(--lp-navy-2)); padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.lp-mock__side span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .55); font-size: 14px; }
.lp-mock__side span.on { background: rgba(92, 124, 250, .22); color: #A5B4FC; box-shadow: inset 3px 0 0 #5C7CFA; }
.lp-mock__main { padding: 18px; display: grid; gap: 14px; align-content: start; background: var(--lp-bg); }
.lp-mock__title { display: flex; justify-content: space-between; align-items: center; }
.lp-mock__title b { font: 800 15px var(--lp-font-head); color: var(--lp-ink); }
.lp-mock__title small { font-size: 11px; color: var(--lp-muted); }
.lp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lp-kpi { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 10px; position: relative; overflow: hidden; }
.lp-kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c, var(--lp-primary)); }
.lp-kpi small { display: block; font-size: 10px; color: var(--lp-muted); font-weight: 600; }
.lp-kpi b { font: 800 17px var(--lp-font-head); color: var(--lp-ink); }
.lp-kpi em { font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--lp-green); }
.lp-mock__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.lp-panel { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 12px; }
.lp-panel h5 { margin: 0 0 10px; font: 700 11.5px var(--lp-font); color: var(--lp-ink); display: flex; justify-content: space-between; }
.lp-panel h5 span { color: var(--lp-muted); font-weight: 600; }
.lp-bars { display: flex; align-items: flex-end; gap: 7px; height: 104px; }
.lp-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--lp-primary-2), var(--lp-primary)); height: var(--h); transform-origin: bottom; animation: lp-grow 1.1s var(--lp-ease) both; }
.lp-bars i:nth-child(even) { background: linear-gradient(180deg, color-mix(in srgb, var(--lp-accent) 80%, #fff), var(--lp-accent)); opacity: .85; }
.lp-bars i:nth-child(1) { animation-delay: .1s; } .lp-bars i:nth-child(2) { animation-delay: .18s; } .lp-bars i:nth-child(3) { animation-delay: .26s; }
.lp-bars i:nth-child(4) { animation-delay: .34s; } .lp-bars i:nth-child(5) { animation-delay: .42s; } .lp-bars i:nth-child(6) { animation-delay: .5s; }
.lp-bars i:nth-child(7) { animation-delay: .58s; } .lp-bars i:nth-child(8) { animation-delay: .66s; }
@keyframes lp-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.lp-appts { display: grid; gap: 8px; }
.lp-appt { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--lp-text); }
.lp-appt .av { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 9.5px; color: #fff; background: var(--c); flex-shrink: 0; }
.lp-appt b { color: var(--lp-ink); font-size: 10.5px; display: block; line-height: 1.2; }
.lp-appt .pill { margin-left: auto; font-size: 9px; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: var(--bg); color: var(--c); }

.lp-float {
    position: absolute; z-index: 3; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 16px; box-shadow: var(--lp-shadow-lg);
    padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 13px; animation: lp-bob 6s ease-in-out infinite;
}
.lp-float b { display: block; color: var(--lp-ink); font-size: 13.5px; line-height: 1.25; }
.lp-float small { color: var(--lp-muted); font-size: 12px; }
.lp-float__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.lp-float--a { top: -26px; right: -18px; }
.lp-float--b { bottom: 54px; left: -44px; animation-delay: -2s; }
.lp-float--c { bottom: -26px; right: 36px; animation-delay: -4s; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.lp-ring { --p: 82; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--lp-primary) calc(var(--p) * 1%), var(--lp-surface-2) 0); display: grid; place-items: center; flex-shrink: 0; }
.lp-ring::after { content: attr(data-v); width: 34px; height: 34px; border-radius: 50%; background: var(--lp-surface); display: grid; place-items: center; font: 800 10.5px var(--lp-font); color: var(--lp-ink); }
.lp-sample { position: absolute; left: 14px; bottom: -34px; font-size: 11.5px; color: var(--lp-muted); }

/* ---------- stats strip ---------------------------------------------------- */
.lp-stats { margin-top: -10px; position: relative; z-index: 2; }
.lp-stats__card {
    display: grid; grid-template-columns: repeat(4, 1fr); background: var(--lp-surface); border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-lg); box-shadow: var(--lp-shadow); overflow: hidden;
}
.lp-stat { padding: 28px 26px; display: flex; gap: 16px; align-items: center; }
.lp-stat + .lp-stat { border-left: 1px solid var(--lp-line); }
.lp-stat__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--bg); color: var(--c); flex-shrink: 0; }
.lp-stat b { display: block; font: 800 30px/1 var(--lp-font-head); color: var(--lp-ink); letter-spacing: -.03em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.lp-stat span { font-size: 14px; color: var(--lp-muted); font-weight: 600; }

/* ---------- demo roles ---------------------------------------------------- */
.lp-demo { background: linear-gradient(180deg, var(--lp-bg), var(--lp-bg-2)); }
.lp-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-role {
    --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
    position: relative; text-align: left; cursor: pointer; border: 0; padding: 0; background: none; font: inherit; color: inherit;
    border-radius: 22px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(0);
    transition: transform .35s var(--lp-ease), box-shadow .35s var(--lp-ease); box-shadow: var(--lp-shadow-sm);
}
.lp-role::before { /* gradient border that lights up under the cursor */
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
    background: radial-gradient(260px circle at var(--mx) var(--my), var(--c), transparent 55%), var(--lp-line);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none; z-index: 2; transition: opacity .3s;
}
.lp-role__in {
    position: relative; height: 100%; border-radius: inherit; background: var(--lp-surface); padding: 24px 22px 20px; overflow: hidden;
    display: flex; flex-direction: column; gap: 10px; min-height: 236px;
}
.lp-role__in::before { /* soft glow under cursor */
    content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 14%, transparent), transparent 60%);
    opacity: 0; transition: opacity .35s;
}
.lp-role__in::after { /* shine sweep */
    content: ""; position: absolute; top: -60%; left: -80%; width: 50%; height: 220%; transform: rotate(20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); opacity: 0;
}
html[data-theme="dark"] .lp-role__in::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); }
.lp-role__icon {
    position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 22px;
    background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); transition: transform .45s var(--lp-ease), background .3s, color .3s, box-shadow .3s;
}
.lp-role__icon::after { content: ""; position: absolute; inset: -6px; border-radius: 20px; border: 2px solid var(--c); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .45s var(--lp-ease); }
.lp-role__name { position: relative; display: block; font: 800 1.14rem/1.2 var(--lp-font-head); color: var(--lp-ink); margin-top: 6px; letter-spacing: -.01em; }
.lp-role__desc { position: relative; display: block; font-size: 14px; color: var(--lp-muted); line-height: 1.5; flex: 1; }
.lp-role__go { position: relative; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--c); margin-top: 4px; }
.lp-role__go i { transition: transform .35s var(--lp-ease); }
.lp-role__tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-muted); z-index: 1; }

.lp-role:hover, .lp-role:focus-visible, .lp-role.is-spot { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px); box-shadow: 0 24px 50px color-mix(in srgb, var(--c) 28%, transparent); }
.lp-role:hover .lp-role__in::before, .lp-role:focus-visible .lp-role__in::before, .lp-role.is-spot .lp-role__in::before { opacity: 1; }
.lp-role:hover .lp-role__in::after, .lp-role.is-spot .lp-role__in::after { animation: lp-shine 1s var(--lp-ease); }
.lp-role:hover .lp-role__icon, .lp-role:focus-visible .lp-role__icon, .lp-role.is-spot .lp-role__icon { background: var(--c); color: #fff; transform: translateY(-3px) rotate(-8deg) scale(1.06); box-shadow: 0 12px 24px color-mix(in srgb, var(--c) 40%, transparent); }
.lp-role:hover .lp-role__icon::after, .lp-role.is-spot .lp-role__icon::after { opacity: .35; transform: scale(1); animation: lp-halo 1.6s ease-out infinite; }
.lp-role:hover .lp-role__go i, .lp-role:focus-visible .lp-role__go i, .lp-role.is-spot .lp-role__go i { transform: translateX(6px); }
.lp-role:active { transform: perspective(900px) translateY(-3px) scale(.98); }
.lp-role.is-loading .lp-role__icon i { animation: fa-spin 1s linear infinite; }
@keyframes lp-shine { from { left: -80%; opacity: 1; } to { left: 130%; opacity: 1; } }
@keyframes lp-halo { 0% { opacity: .45; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }

.lp-demo__note {
    max-width: 820px; margin: 40px auto 0; display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px;
    border-radius: var(--lp-r); background: var(--lp-surface); border: 1px solid var(--lp-line); font-size: 14.5px; color: var(--lp-text);
}
.lp-demo__note i { color: var(--lp-gold); font-size: 18px; margin-top: 2px; }
.lp-demo__note code { font: 700 13px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--lp-surface-2); border: 1px solid var(--lp-line); padding: 2px 7px; border-radius: 6px; color: var(--lp-ink); }

/* ---------- features ------------------------------------------------------ */
.lp-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 72px; }
.lp-card {
    position: relative; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg); padding: 30px;
    transition: transform .35s var(--lp-ease), box-shadow .35s var(--lp-ease), border-color .3s;
}
.lp-card:hover { transform: translateY(-6px); box-shadow: var(--lp-shadow); border-color: color-mix(in srgb, var(--c, var(--lp-primary)) 45%, var(--lp-line)); }
.lp-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--lp-primary)) 12%, transparent); margin-bottom: 20px; transition: transform .4s var(--lp-ease); }
.lp-card:hover .lp-card__icon { transform: rotate(-6deg) scale(1.08); }
.lp-card__icon img { width: 28px; height: 28px; }
html[data-theme="dark"] .lp-card__icon img { filter: brightness(1.6) saturate(.9); }
.lp-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.lp-card p { color: var(--lp-muted); }

.lp-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-mod {
    position: relative; overflow: hidden; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 20px; padding: 24px;
    transition: transform .35s var(--lp-ease), box-shadow .35s var(--lp-ease), border-color .3s;
}
.lp-mod::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); transition: transform .5s var(--lp-ease); }
.lp-mod:hover { transform: translateY(-5px); box-shadow: var(--lp-shadow); border-color: color-mix(in srgb, var(--c) 40%, var(--lp-line)); }
.lp-mod:hover::after { transform: scale(1.6); }
.lp-mod i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); margin-bottom: 16px; }
.lp-mod h4 { font-size: 1.05rem; margin-bottom: 6px; }
.lp-mod p { font-size: 14px; color: var(--lp-muted); line-height: 1.55; position: relative; z-index: 1; }
.lp-mod--wide { grid-column: span 2; }
.lp-mod--wide ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.lp-mod--wide li { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--lp-surface-2); border: 1px solid var(--lp-line); color: var(--lp-text); }

/* ---------- theme showcase ------------------------------------------------ */
.lp-modes { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.lp-modes h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.8rem); margin-bottom: 16px; }
.lp-modes p { color: var(--lp-muted); font-size: 1.08rem; margin-bottom: 24px; }
.lp-ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.lp-ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--lp-ink); }
.lp-ticks i { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; background: var(--lp-primary-soft); color: var(--lp-primary); flex-shrink: 0; margin-top: 1px; }
.lp-duo { position: relative; height: 360px; }
.lp-mini { position: absolute; width: 74%; border-radius: 16px; overflow: hidden; box-shadow: var(--lp-shadow-lg); border: 1px solid; transition: transform .6s var(--lp-ease); }
.lp-mini--light { top: 0; left: 0; background: #F3F6F8; border-color: #DDE6EC; transform: rotate(-3deg); }
.lp-mini--dark { bottom: 0; right: 0; background: #0A121D; border-color: #262A55; transform: rotate(3deg); }
.lp-duo:hover .lp-mini--light { transform: rotate(-5deg) translate(-10px, -6px); }
.lp-duo:hover .lp-mini--dark { transform: rotate(5deg) translate(10px, 6px); }
.lp-mini__bar { height: 26px; display: flex; gap: 5px; align-items: center; padding: 0 10px; }
.lp-mini--light .lp-mini__bar { background: #fff; border-bottom: 1px solid #E1E8EE; }
.lp-mini--dark .lp-mini__bar { background: #111B28; border-bottom: 1px solid #262A55; }
.lp-mini__bar i { width: 7px; height: 7px; border-radius: 50%; background: #F26B6B; }
.lp-mini__bar i:nth-child(2) { background: #F5C04E; } .lp-mini__bar i:nth-child(3) { background: #43C47A; }
.lp-mini__body { display: grid; grid-template-columns: 40px 1fr; height: 190px; }
.lp-mini__side { background: #1B1D4B; }
.lp-mini__main { padding: 12px; display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); align-content: start; }
.lp-mini__main span { height: 44px; border-radius: 9px; }
.lp-mini__main span.w { grid-column: span 3; height: 80px; }
.lp-mini--light .lp-mini__main span { background: #fff; border: 1px solid #E1E8EE; }
.lp-mini--dark .lp-mini__main span { background: #111B28; border: 1px solid #262A55; }
.lp-mini__main span.t { background: linear-gradient(135deg, rgba(59, 91, 219, .9), rgba(92, 124, 250, .8)) !important; border: 0 !important; }
.lp-mini--dark .lp-mini__main span.t { background: linear-gradient(135deg, rgba(116, 143, 252, .9), rgba(165, 180, 252, .7)) !important; }
.lp-mini__label { position: absolute; bottom: 10px; right: 12px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.lp-mini--light .lp-mini__label { background: #1B1D4B; color: #fff; }
.lp-mini--dark .lp-mini__label { background: #fff; color: #1B1D4B; }

/* ---------- why us (settings driven) -------------------------------------- */
.lp-dark { background: radial-gradient(1000px 500px at 10% 0%, rgba(92, 124, 250, .22), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(240, 140, 0, .18), transparent 60%), linear-gradient(160deg, #141539, #1B1D4B 50%, #101133); color: #CDD0EC; }
.lp-dark .lp-head h2, .lp-dark h3, .lp-dark h4 { color: #fff; }
.lp-dark .lp-head p { color: #A9AED6; }
.lp-dark .lp-eyebrow { color: #A5B4FC; }
.lp-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-why__card {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 20px; padding: 28px;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .35s var(--lp-ease), background .3s, border-color .3s;
}
.lp-why__card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .08); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.lp-why__card i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: var(--c); color: #1B1D4B; margin-bottom: 18px; }
.lp-why__card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.lp-why__card p { color: #B3B7DD; font-size: 15px; }
.lp-quote { background: linear-gradient(135deg, #3B5BDB, #5C7CFA 50%, #F08C00); border: 0; }
.lp-quote:hover { background: linear-gradient(135deg, #3B5BDB, #5C7CFA 50%, #F08C00); }
.lp-quote i { background: #fff; color: #3B5BDB; }
.lp-quote p { color: rgba(255, 255, 255, .85); }

/* ---------- pricing ------------------------------------------------------- */
.lp-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-sm); margin-top: 8px; }
.lp-toggle button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font: 700 14.5px var(--lp-font); color: var(--lp-text); cursor: pointer; transition: background .25s, color .25s; }
.lp-toggle button.is-on { background: var(--lp-primary); color: #fff; }
html[data-theme="dark"] .lp-toggle button.is-on { color: #0F1130; }
.lp-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.lp-price__save { margin-top: 16px !important; font-size: 14.5px !important; }
.lp-price__save b { color: var(--lp-green); }
.lp-price--rec { border: 2px solid var(--lp-primary); box-shadow: 0 24px 60px color-mix(in srgb, var(--lp-primary) 22%, transparent); }
.lp-price__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--lp-primary); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
html[data-theme="dark"] .lp-price__badge { color: #0F1130; }
.lp-price__limits { display: grid; gap: 8px; margin: -8px 0 20px; }
.lp-price__limits span { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--lp-text); }
.lp-price__limits i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 12px; }
.lp-price__limits b { color: var(--lp-ink); }
.lp-price__label { font-size: 12px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-muted); margin-bottom: 10px !important; }
.lp-price ul.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; grid-template-columns: none !important; margin: 0 0 14px; flex: 0 0 auto; }
.lp-chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 10px 5px 7px; border-radius: 999px; background: var(--lp-surface-2); border: 1px solid var(--lp-line); color: var(--lp-ink); }
.lp-chips li i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; background: color-mix(in srgb, var(--lp-green) 16%, transparent); color: var(--lp-green); }
.lp-price__not { font-size: 13px !important; color: var(--lp-muted); line-height: 1.5; margin-bottom: 22px !important; flex: 1; }
.lp-price__not--all { color: var(--lp-green); font-weight: 700; }
.lp-price {
    position: relative; display: flex; flex-direction: column; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 24px;
    padding: 30px; transition: transform .35s var(--lp-ease), box-shadow .35s var(--lp-ease), border-color .3s;
}
.lp-price:hover { transform: translateY(-8px); box-shadow: var(--lp-shadow-lg); border-color: var(--lp-primary); }
.lp-price h3 { font-size: 1.25rem; margin-bottom: 14px; }
.lp-price__amt { display: flex; align-items: baseline; gap: 6px; color: var(--lp-ink); margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px dashed var(--lp-line-strong); }
.lp-price__amt b { font: 800 40px/1 var(--lp-font-head); letter-spacing: -.03em; }
.lp-price__amt span { color: var(--lp-muted); font-weight: 600; font-size: 14px; }
.lp-price ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; flex: 1; align-content: start; }
.lp-price li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--lp-ink); font-weight: 500; }
.lp-price li i { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-size: 9px; background: color-mix(in srgb, var(--lp-green) 14%, transparent); color: var(--lp-green); flex-shrink: 0; }
.lp-price li.no { color: var(--lp-muted); opacity: .6; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--lp-muted) 50%, transparent); }
.lp-price li.no i { background: var(--lp-surface-2); color: var(--lp-muted); }
.lp-plan-m { display: none; }
.lp-prices.is-monthly .lp-plan-m { display: flex; }
.lp-prices.is-monthly .lp-plan-y { display: none; }

/* ---------- register ------------------------------------------------------ */
.lp-reg { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.lp-reg__pitch { position: sticky; top: 110px; }
.lp-reg__pitch h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); margin-bottom: 16px; }
.lp-reg__pitch > p { color: #B3B7DD; font-size: 1.08rem; margin-bottom: 30px; }
.lp-steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; counter-reset: s; }
.lp-steps li { display: flex; gap: 16px; align-items: flex-start; counter-increment: s; }
.lp-steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 800 15px var(--lp-font-head); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #A5B4FC; flex-shrink: 0; }
.lp-steps b { color: #fff; display: block; }
.lp-steps span { color: #A9AED6; font-size: 14.5px; }
.lp-form { background: var(--lp-surface); border-radius: 26px; padding: 34px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); color: var(--lp-text); }
.lp-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.lp-form > p { color: var(--lp-muted); margin-bottom: 24px; font-size: 15px; }
.lp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-field { display: grid; gap: 6px; }
.lp-field--full { grid-column: 1 / -1; }
.lp-field label { font-size: 13px; font-weight: 700; color: var(--lp-ink); }
.lp-form input[type="text"], .lp-form input[type="email"], .lp-form select, .lp-form textarea {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--lp-line-strong); background: var(--lp-surface);
    color: var(--lp-ink); font: 500 15px var(--lp-font); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.lp-form select { background-image: linear-gradient(45deg, transparent 50%, var(--lp-muted) 50%), linear-gradient(135deg, var(--lp-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.lp-form input::placeholder, .lp-form textarea::placeholder { color: var(--lp-muted); opacity: .8; }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus { outline: none; border-color: var(--lp-primary); box-shadow: 0 0 0 4px var(--lp-primary-soft); }
.lp-form input[readonly] { background: var(--lp-surface-2); }
.lp-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lp-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; font-size: 14.5px; }
.lp-alert i { margin-top: 3px; }
.lp-alert--ok { background: color-mix(in srgb, var(--lp-green) 12%, transparent); color: var(--lp-green); border: 1px solid color-mix(in srgb, var(--lp-green) 35%, transparent); }
.lp-alert--err { background: var(--lp-accent-soft); color: var(--lp-accent); border: 1px solid color-mix(in srgb, var(--lp-accent) 35%, transparent); }
#web_link { font-size: 13px; margin: 0; word-break: break-all; }
#web_link a, #web_link span { color: var(--lp-primary) !important; font-weight: 600; }
.lp-pay { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.lp-pay:empty { display: none; }
.lp-trial { display: flex; align-items: center; gap: 12px; margin: 20px 0; padding: 14px 16px; border-radius: 14px; background: var(--lp-primary-soft); border: 1px dashed color-mix(in srgb, var(--lp-primary) 45%, transparent); cursor: pointer; font-weight: 600; color: var(--lp-ink); }
.lp-trial input { width: 20px; height: 20px; accent-color: var(--lp-primary); cursor: pointer; flex-shrink: 0; }

/* ---------- reviews ------------------------------------------------------- */
.lp-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.lp-review { position: relative; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 22px; padding: 30px; transition: transform .35s var(--lp-ease), box-shadow .35s; }
.lp-review:hover { transform: translateY(-5px); box-shadow: var(--lp-shadow); }
.lp-review::before { content: "\201C"; position: absolute; right: 24px; top: 4px; font: 800 96px/1 Georgia, serif; color: var(--lp-primary-soft); }
.lp-review__who { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.lp-review__who img { width: 58px; height: 58px; border-radius: 16px; object-fit: cover; }
.lp-review h3 { font-size: 1.1rem; }
.lp-stars { color: var(--lp-gold); font-size: 13px; letter-spacing: 2px; margin-top: 4px; }
.lp-review p { color: var(--lp-text); font-size: 15.5px; }

/* ---------- faq ----------------------------------------------------------- */
.lp-faq { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.lp-faq__list { display: grid; gap: 12px; }
.lp-q { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 18px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.lp-q.is-open { border-color: color-mix(in srgb, var(--lp-primary) 50%, var(--lp-line)); box-shadow: var(--lp-shadow-sm); }
.lp-q__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left; font: 700 16.5px var(--lp-font-head); color: var(--lp-ink); }
.lp-q__btn:hover { color: var(--lp-primary); }
.lp-q__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--lp-primary-soft); color: var(--lp-primary); flex-shrink: 0; transition: transform .3s var(--lp-ease), background .3s, color .3s; }
.lp-q.is-open .lp-q__icon { transform: rotate(45deg); background: var(--lp-primary); color: #fff; }
.lp-q__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--lp-ease); }
.lp-q.is-open .lp-q__a { grid-template-rows: 1fr; }
.lp-q__a > div { overflow: hidden; }
.lp-q__a p { padding: 0 22px 20px; color: var(--lp-muted); }
.lp-faq__aside { position: sticky; top: 110px; text-align: center; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 24px; padding: 32px; }
.lp-faq__aside img { width: 70%; margin: 0 auto 20px; transition: transform .6s var(--lp-ease); }
.lp-faq__aside:hover img { transform: rotate(-4deg) scale(1.04); }
.lp-faq__aside p { font-weight: 700; color: var(--lp-ink); font-size: 1.15rem; margin-bottom: 18px; }

/* ---------- contact + final cta ------------------------------------------ */
.lp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp-contact__info { display: grid; gap: 14px; align-content: start; }
.lp-contact__info h3 { font-size: 1.5rem; margin-bottom: 6px; color: #fff; }
.lp-contact__info > p { color: #A9AED6; margin-bottom: 8px; }
.lp-contact__info > p b { color: #A5B4FC; display: block; font-size: 1.1rem; margin-top: 4px; }
.lp-line { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); color: #fff; font-weight: 600; transition: background .25s, transform .25s var(--lp-ease); word-break: break-word; }
.lp-line:hover { background: rgba(255, 255, 255, .09); transform: translateX(4px); }
.lp-line i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(165, 180, 252, .14); color: #A5B4FC; flex-shrink: 0; }
.lp-cta { position: relative; overflow: hidden; border-radius: 26px; padding: 40px; background: linear-gradient(135deg, #3B5BDB, #5C7CFA 55%, #F08C00); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.lp-cta::after { content: ""; position: absolute; width: 280px; height: 280px; right: -80px; top: -80px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .1); }
.lp-cta h4 { font-size: 1.8rem; color: #fff; position: relative; }
.lp-cta p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; position: relative; }
.lp-cta .lp-btn { align-self: flex-start; position: relative; }

/* ---------- footer -------------------------------------------------------- */
.lp-foot { background: #0E0F2C; color: #9A9ECB; padding: 72px 0 32px; }
.lp-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.lp-foot h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.lp-foot .lp-brand__name { color: #fff; }
.lp-foot .lp-brand__tag { color: #9A9ECB; }
.lp-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-foot a:hover { color: #A5B4FC; }
.lp-foot a.is-current { color: #fff; font-weight: 700; }
.lp-foot .flag-icon { margin-right: 8px; border-radius: 2px; }
.lp-news { display: flex; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 4px; }
.lp-news input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 10px 14px; font: 500 14px var(--lp-font); outline: none; }
.lp-news input::placeholder { color: #8A8EBF; }
.lp-news button { border: 0; border-radius: 999px; background: #5C7CFA; color: #fff; width: 42px; height: 42px; cursor: pointer; transition: transform .25s var(--lp-ease); }
.lp-news button:hover { transform: rotate(-12deg) scale(1.06); }
.lp-foot__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- floating bits ------------------------------------------------- */
.lp-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--lp-primary); color: #fff; cursor: pointer; box-shadow: var(--lp-shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--lp-ease); }
.lp-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.lp-dock { display: none; }

/* ---------- reveal on scroll ---------------------------------------------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--lp-ease), transform .8s var(--lp-ease); transition-delay: var(--d, 0s); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------------------------------------------------- */
@media (min-width: 1400px) {
    :root { --lp-max: 1280px; }
    .lp-hero { padding-top: 170px; }
}
@media (max-width: 1180px) {
    .lp-price { padding: 26px 22px; }
    .lp-price ul { grid-template-columns: 1fr; }
    .lp-nav__links a { padding: 8px 9px; font-size: 14px; }
    .lp-float--b { left: -12px; }
}
@media (max-width: 1080px) {
    .lp-nav__links, .lp-nav__actions .lp-nav__login, .lp-nav__actions .lp-btn { display: none; }
    .lp-burger { display: grid; place-items: center; }
    .lp-nav__actions { margin-left: auto; }
    .lp-hero__grid { grid-template-columns: 1fr; gap: 80px; }
    .lp-hero__copy { text-align: center; }
    .lp-hero__lead { margin-left: auto; margin-right: auto; }
    .lp-hero__ctas, .lp-trust { justify-content: center; }
    .lp-stage { max-width: 680px; margin: 0 auto; width: 100%; }
    .lp-roles { grid-template-columns: repeat(2, 1fr); }
    .lp-prices { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .lp-bento { grid-template-columns: repeat(2, 1fr); }
    .lp-modes, .lp-reg, .lp-faq { grid-template-columns: 1fr; }
    .lp-reg__pitch, .lp-faq__aside { position: static; }
    .lp-why { grid-template-columns: repeat(2, 1fr); }
    .lp-stats__card { grid-template-columns: repeat(2, 1fr); }
    .lp-stat:nth-child(3) { border-left: 0; }
    .lp-stat:nth-child(n+3) { border-top: 1px solid var(--lp-line); }
    .lp-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .lp-wrap { padding: 0 18px; }
    .lp-section { padding: 76px 0; }
    .lp-hero { padding: 116px 0 70px; }
    .lp-mock { transform: none; }
    .lp-mock__body { grid-template-columns: 44px 1fr; min-height: 0; }
    .lp-mock__side span { width: 30px; height: 30px; font-size: 12px; }
    .lp-kpis { grid-template-columns: repeat(2, 1fr); }
    .lp-mock__row { grid-template-columns: 1fr; }
    .lp-float--a { top: -30px; right: -6px; }
    .lp-float--b { display: none; }
    .lp-float--c { right: 10px; bottom: -30px; }
    .lp-highlights, .lp-why, .lp-reviews, .lp-contact, .lp-prices { grid-template-columns: 1fr; }
    .lp-bento { grid-template-columns: 1fr; }
    .lp-mod--wide { grid-column: auto; }
    .lp-fields, .lp-pay { grid-template-columns: 1fr; }
    .lp-form { padding: 24px 20px; }
    .lp-duo { height: 300px; }
    .lp-mini { width: 86%; }
    .lp-price ul { grid-template-columns: 1fr 1fr; }
    .lp-foot__grid { grid-template-columns: 1fr; }
    .lp-cta { padding: 30px 24px; }
    .lp-top { bottom: 84px; right: 16px; }
    .lp-dock {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
        padding: 8px; border-radius: 20px; background: var(--lp-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
        border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-lg); transform: translateY(130%); transition: transform .4s var(--lp-ease);
    }
    .lp-dock.is-on { transform: none; }
    .lp-dock .lp-btn { padding: 13px 10px; font-size: 14.5px; }
    body.lp { padding-bottom: 0; }
}
@media (max-width: 420px) {
    .lp-roles { grid-template-columns: 1fr; }
    .lp-stats__card { grid-template-columns: 1fr; }
    .lp-stat + .lp-stat { border-left: 0; border-top: 1px solid var(--lp-line); }
    .lp-brand__tag { display: none; }
    .lp-hero__ctas .lp-btn { width: 100%; }
}
@media (hover: none) {
    .lp-role { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp *, .lp *::before, .lp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js-reveal [data-reveal] { opacity: 1; transform: none; }
    .lp-ecg path { stroke-dashoffset: 0; }
}

/* ---------- Schoolio additions --------------------------------------------- */
/* Bootstrap is loaded for the sign-up/terms modals; keep the landing typography */
body.lp { font-family: var(--lp-font); }
.lp .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; margin: 10px 0; font-weight: 600; font-size: 14.5px; }
.lp-alert--ok { background: color-mix(in srgb, var(--lp-green) 12%, transparent); color: var(--lp-green); border: 1px solid color-mix(in srgb, var(--lp-green) 35%, transparent); }
.lp-alert--err { background: var(--lp-accent-soft); color: var(--lp-accent); border: 1px solid color-mix(in srgb, var(--lp-accent) 35%, transparent); }

/* features come from the CMS (22 items): an even grid instead of the bento spans */
.lp-bento--features { grid-template-columns: repeat(4, 1fr); }
.lp-bento--features .lp-mod i { font-size: 20px; }

/* "all demo logins" card is a link */
a.lp-role { display: block; text-decoration: none; }
.lp-role--more .lp-role__in { background: var(--lp-surface-2); border: 1.5px dashed var(--lp-line-strong); }

/* pricing on the dark band */
.lp-dark .lp-price h3, .lp-dark .lp-price b { color: var(--lp-ink); }
.lp-price__was { color: var(--lp-muted); font-size: 16px; margin-right: 4px; }
.lp-price__save { color: var(--lp-muted); }

/* FAQ: single column, CMS answers may contain HTML */
.lp-faq--single { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.lp-q__body { padding: 0 22px 20px; color: var(--lp-muted); }
.lp-q__body p:last-child { margin-bottom: 0; }

/* contact form on the dark band */
.lp-contact { align-items: start; }
.lp-form .error { color: var(--lp-accent); font-size: 12.5px; font-weight: 600; }
.lp-form .form-control { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--lp-line-strong); background: var(--lp-surface); color: var(--lp-ink); font: 500 15px var(--lp-font); }
.lp-form .form-control:focus { outline: none; border-color: var(--lp-primary); box-shadow: 0 0 0 4px var(--lp-primary-soft); }

/* footer extras */
.lp-social { display: flex !important; gap: 10px; flex-wrap: wrap; }
.lp-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: transform .25s var(--lp-ease), background .2s; }
.lp-social a:hover { background: var(--lp-primary); color: #fff; transform: translateY(-3px); }
.lp-paylogo { margin-top: 18px; max-width: 220px; opacity: .9; background: #fff; border-radius: 10px; padding: 6px 10px; }

/* Bootstrap modals (sign-up, terms) follow the theme */
.lp .modal-content { background: var(--lp-surface); color: var(--lp-text); border: 1px solid var(--lp-line); border-radius: 22px; box-shadow: var(--lp-shadow-lg); }
.lp .modal-header { border-bottom-color: var(--lp-line); padding: 18px 22px; }
.lp .modal-title { font-family: var(--lp-font-head); font-weight: 800; color: var(--lp-ink); }
.lp .modal-body label { font-size: 13px; font-weight: 700; color: var(--lp-ink); margin-bottom: 6px; }
.lp .modal-body .form-group { margin-bottom: 14px; }
.lp .modal-body .form-control, .lp .modal-body .form-select { border-radius: 12px; border: 1.5px solid var(--lp-line-strong); background-color: var(--lp-surface); color: var(--lp-ink); padding: 10px 14px; }
.lp .modal-body .form-control:focus { border-color: var(--lp-primary); box-shadow: 0 0 0 4px var(--lp-primary-soft); }
.lp .modal-body .error { color: var(--lp-accent); font-size: 12.5px; font-weight: 600; }
.lp .modal-body .card { background: var(--lp-surface-2); border: 1px solid var(--lp-line); border-radius: 16px; color: var(--lp-text); }
.lp .modal-footer { border-top-color: var(--lp-line); }
html[data-theme="dark"] .lp .btn-close { filter: invert(1) grayscale(1) brightness(1.8); }
.lp .select2-container--default .select2-selection--single { border-radius: 12px; border: 1.5px solid var(--lp-line-strong); height: 44px; background: var(--lp-surface); }
.lp .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; color: var(--lp-ink); }
.lp .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.lp .select2-dropdown { background: var(--lp-surface); color: var(--lp-ink); border-color: var(--lp-line-strong); }

@media (max-width: 1080px) { .lp-bento--features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .lp-bento--features { grid-template-columns: 1fr; } }
