/* SchoolPlus SaaS website v2 */
:root {
    --ink: #15244d;
    --ink-2: #3a4a72;
    --muted: #5d6a8a;
    --paper: #ffffff;
    --wash: #f2f5fb;
    --rule: #d6deee;
    --ok: #1d9a68;
    --brand: #ff5722;
    --brand-deep: #e64a19;
    --radius-s: 10px;
    --radius-l: 22px;
    --wrap: 1180px;
    --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --body: "Hind", "Segoe UI", system-ui, sans-serif;
}

/* Base */
body.sp {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
:where(.sp) h1, :where(.sp) h2, :where(.sp) h3 { font-family: var(--display); color: var(--ink); margin: 0; }
:where(.sp) p { margin: 0; }
:where(.sp) a { color: inherit; }
.sp img { max-width: 100%; }
.sp :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sp-wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.sp-skip:focus { left: 12px; }

.sp-h2 {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 700;
    max-width: 22ch;
}
.sp-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sp-head p { color: var(--muted); max-width: 42ch; }
.sp-kicker { color: var(--brand-deep); font-weight: 600; margin-bottom: 8px; }
.sp-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.sp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; min-height: 44px; padding: 10px 20px;
    border: 2px solid var(--brand); border-radius: 999px;
    background: var(--brand); color: #fff !important;
    font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.sp-btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.sp-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--rule); }
.sp-btn--ghost:hover { background: var(--wash); border-color: var(--ink-2); }
.sp-btn--lg { min-height: 52px; padding: 14px 26px; font-size: 1.05rem; }

/* Header */
.sp-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--rule); }
.sp-header__row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.sp-brand img { height: 40px; width: auto; display: block; }
.sp-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.sp-nav > a, .sp-menu summary { text-decoration: none; color: var(--ink-2); font-weight: 500; cursor: pointer; }
.sp-nav > a:hover, .sp-menu summary:hover { color: var(--ink); }
.sp-nav__actions { display: flex; gap: 10px; margin-left: 8px; }
.sp-menu { position: relative; }
.sp-menu summary { list-style: none; }
.sp-menu summary::-webkit-details-marker { display: none; }
.sp-menu summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sp-menu__list { position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 6px; box-shadow: 0 12px 30px rgba(21,36,77,.12); display: grid; }
.sp-menu__list a { padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.sp-menu__list a:hover { background: var(--wash); }
.sp-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; position: relative; }
.sp-burger__bar, .sp-burger__bar::before, .sp-burger__bar::after { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--ink); content: ""; transition: transform .2s ease; }
.sp-burger__bar { top: 21px; }
.sp-burger__bar::before { left: 0; top: -6px; }
.sp-burger__bar::after { left: 0; top: 6px; }

/* Hero */
.sp-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.sp-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sp-hero h1 {
    font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 800;
    max-width: 14ch;
}
.sp-lead { margin-top: 22px; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 52ch; }
.sp-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.sp-try { display: grid; gap: 6px; margin-top: 36px; max-width: 420px; color: var(--muted); font-size: .95rem; }
.sp-try input {
    font: 500 1.05rem var(--body); color: var(--ink);
    padding: 12px 14px; border: 1.5px dashed var(--ink-2); border-radius: var(--radius-s); background: #fff;
}
.sp-try input:focus { outline: none; border-style: solid; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }

/* Phone mockup: the signature element */
.sp-hero__device { display: flex; justify-content: center; position: relative; }
.sp-hero__device::before {
    content: ""; position: absolute; inset: 8% -20% -10% 12%;
    background:
        repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
    border-left: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
    z-index: 0;
}
.sp-phone {
    position: relative; z-index: 1;
    width: min(300px, 80vw);
    background: var(--ink); border-radius: 44px; padding: 12px;
    box-shadow: 0 30px 60px -20px rgba(21,36,77,.45);
}
.sp-phone__screen { min-height: 460px; background: #f7f9fd; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; }
.sp-app__bar { display: flex; align-items: center; gap: 12px; padding: 28px 18px 16px; background: var(--brand); color: #fff; }
.sp-app__crest {
    flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--brand-deep);
    display: grid; place-items: center; font: 800 1rem var(--display);
}
.sp-app__name { display: block; font: 700 1.05rem/1.2 var(--display); overflow-wrap: anywhere; transition: opacity .2s ease; }
.sp-app__sub { display: block; font-size: .8rem; opacity: .85; }
.sp-app__greet { padding: 16px 18px 6px; display: grid; }
.sp-app__greet span { font-size: .8rem; color: var(--muted); }
.sp-app__greet strong { font: 700 1rem var(--display); }
.sp-app__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 14px; }
.sp-tile { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; background: #fff; border: 1px solid var(--rule); border-radius: 14px; font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.sp-ico { width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--brand) 14%, #fff); position: relative; }
.sp-ico::after { content: ""; position: absolute; inset: 7px; border: 2px solid var(--brand-deep); border-radius: 3px; }
.sp-ico--hw::after { border-radius: 2px 2px 6px 6px; }
.sp-ico--fee::after { border-radius: 50%; }
.sp-ico--res::after { border-width: 0 0 2px 2px; border-radius: 0; }
.sp-ico--tt::after { border-style: dashed; }
.sp-ico--bus::after { border-radius: 6px 6px 2px 2px; }
.sp-app__notice { margin: 10px 14px 34px; padding: 12px 14px; background: #fff; border-left: 4px solid var(--ok); border-radius: 10px; }
.sp-app__notice span { font-size: .72rem; font-weight: 600; color: var(--ok); }
.sp-app__notice p { font-size: .85rem; line-height: 1.35; color: var(--ink); }

/* Roles */
.sp-roles { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.sp-roles .sp-h2 { color: #fff; }
.sp-roles__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0 0; }
.sp-roles__list > div { padding: 6px 24px 6px 0; margin-right: 24px; border-right: 1px solid rgba(255,255,255,.18); }
.sp-roles__list > div:last-child { border-right: 0; margin-right: 0; }
.sp-roles dt { font: 700 1.2rem var(--display); margin-bottom: 8px; }
.sp-roles dt::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--brand); margin-bottom: 14px; }
.sp-roles dd { margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; }

/* Features */
.sp-features { padding: clamp(64px, 8vw, 112px) 0; }
.sp-features__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sp-features__grid li { display: flex; align-items: center; gap: 14px; padding: 20px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-weight: 600; color: var(--ink); }
.sp-features__grid img { width: 28px; height: 28px; flex: none; }

/* Showcase (admin managed) */
.sp-showcase { padding: clamp(56px, 7vw, 96px) 0; background: var(--wash); }
.sp-showcase--flip { background: var(--paper); }
.sp-showcase__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sp-showcase--flip .sp-showcase__media { order: -1; }
.sp-showcase__tabs { display: grid; gap: 8px; margin-top: 28px; }
.sp-tab { text-align: left; background: transparent; border: 0; border-left: 3px solid var(--rule); padding: 10px 16px; display: grid; gap: 2px; cursor: pointer; color: var(--muted); }
.sp-tab strong { font: 700 1.08rem var(--display); color: var(--ink-2); }
.sp-tab[aria-selected="true"] { border-left-color: var(--brand); color: var(--ink-2); }
.sp-tab[aria-selected="true"] strong { color: var(--ink); }
.sp-showcase__media img { width: 100%; border-radius: var(--radius-l); display: block; }

/* About */
.sp-about { padding: clamp(64px, 8vw, 112px) 0; background: var(--wash); }
.sp-about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.sp-about__grid--solo { grid-template-columns: 1fr; }
.sp-about__grid--solo .sp-checks { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sp-about__text { margin-top: 20px; color: var(--ink-2); max-width: 62ch; }
.sp-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.sp-checks li { position: relative; padding-left: 32px; font-weight: 600; }
.sp-checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); }
.sp-checks li::after { content: ""; position: absolute; left: 7px; top: 9px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sp-about__img { border-radius: var(--radius-l); width: 100%; height: auto; }

/* Steps */
.sp-steps { padding: clamp(64px, 8vw, 112px) 0; }
.sp-steps__list { list-style: none; counter-reset: step; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sp-steps__list li { counter-increment: step; position: relative; padding-top: 64px; }
.sp-steps__list li::before {
    content: counter(step); position: absolute; top: 0; left: 0;
    width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink);
    display: grid; place-items: center; font: 800 1.2rem var(--display);
}
.sp-steps__list li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 60px; right: -20px; border-top: 2px dashed var(--rule); }
.sp-steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.sp-steps p { color: var(--ink-2); }

/* Pricing */
.sp-pricing { padding: clamp(64px, 8vw, 112px) 0; background: var(--wash); }
.sp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: start; }
.sp-plan { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 28px 24px; display: grid; gap: 18px; }
.sp-plan--pick { border: 2px solid var(--brand); box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--brand) 60%, transparent); }
.sp-plan header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sp-plan h3 { font-size: 1.35rem; }
.sp-plan__tag { font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--wash); color: var(--ink-2); }
.sp-plan--pick .sp-plan__tag { background: var(--brand); color: #fff; }
.sp-plan__price strong { font: 800 2.4rem/1 var(--display); letter-spacing: -0.02em; }
.sp-plan__price span { color: var(--muted); }
.sp-plan__limits { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-weight: 600; }
.sp-plan__features { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: .95rem; color: var(--ink-2); }
.sp-plan__features li { padding-left: 22px; position: relative; }
.sp-plan__features li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 6px; height: 10px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sp-plan__missing summary { cursor: pointer; color: var(--muted); font-size: .95rem; }
.sp-plan__missing ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: .92rem; }
.sp-custom { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border: 1.5px dashed var(--ink-2); border-radius: var(--radius-l); background: #fff; }
.sp-custom h3 { font-size: 1.25rem; }
.sp-custom p { color: var(--ink-2); max-width: 60ch; }
.sp-empty { color: var(--muted); }

/* Schools */
.sp-schools { padding: 40px 0; border-bottom: 1px solid var(--rule); }
.sp-schools__title { color: var(--muted); margin-bottom: 14px !important; }
.sp-schools__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.sp-schools__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.sp-schools__list img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* FAQ */
.sp-faq { padding: clamp(64px, 8vw, 112px) 0; }
.sp-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.sp-faq__list details { border-bottom: 1px solid var(--rule); }
.sp-faq__list details:first-child { border-top: 1px solid var(--rule); }
.sp-faq__list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; }
.sp-faq__list summary::-webkit-details-marker { display: none; }
.sp-faq__list summary h3 { font: 600 1.12rem/1.35 var(--display); }
.sp-faq__list summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.sp-faq__list details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.sp-faq__list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 66ch; }

/* Apps */
.sp-apps { padding: clamp(56px, 7vw, 88px) 0; background: var(--brand); color: #fff; }
.sp-apps .sp-h2 { color: #fff; }
.sp-apps p { margin-top: 12px; max-width: 48ch; opacity: .92; }
.sp-apps__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.sp-apps__links { display: grid; gap: 12px; }
.sp-store { display: grid; gap: 2px; min-width: 290px; padding: 14px 20px; border-radius: 16px; background: var(--ink); color: #fff !important; text-decoration: none; }
.sp-store span { font-size: .8rem; opacity: .75; }
.sp-store strong { font: 700 1.05rem var(--display); }
.sp-store:hover { background: #0e1938; }

/* Contact */
.sp-contact { padding: clamp(64px, 8vw, 112px) 0; }
.sp-contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.sp-contact__grid > div > p { margin-top: 14px; color: var(--ink-2); max-width: 42ch; }
.sp-contact__info { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.sp-contact__info li { display: grid; }
.sp-contact__info li > span:first-child { font-size: .85rem; color: var(--muted); }
.sp-contact__info a { font-weight: 600; text-decoration: none; }
.sp-form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--wash); }
.sp-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.sp-form input:not([type=submit]), .sp-form textarea { font: 400 1rem var(--body); color: var(--ink); padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: #fff; }
.sp-form input:focus, .sp-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.sp-form .sp-btn { justify-self: start; }

/* Footer */
.sp-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 0 0 28px; }
.sp-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.sp-footer a:hover, .sp-footer a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sp-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.sp-footer__cta-title { margin: 0 !important; font: 700 clamp(1.35rem, 2.4vw, 1.9rem)/1.2 var(--display); color: #fff; }
.sp-footer__cta-sub { margin: 6px 0 0 !important; color: rgba(255,255,255,.7); }
.sp-footer__grid { display: grid; grid-template-columns: 1.5fr .9fr 1fr 1.35fr 1fr; gap: 36px 28px; padding-top: 48px; }
.sp-footer img { height: 40px; width: auto; background: #fff; padding: 6px 10px; border-radius: var(--radius-s); }
.sp-footer__tag { margin: 16px 0 0 !important; font: 600 1.05rem/1.4 var(--display); color: #fff; max-width: 34ch; }
.sp-footer__text { margin-top: 10px; font-size: .88rem; line-height: 1.55; color: rgba(255,255,255,.6); max-width: 42ch;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sp-footer__text p { margin: 0; }
.sp-footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sp-footer__head { margin: 0 0 4px !important; font: 700 .95rem var(--display); color: #fff; }
.sp-footer__mail { overflow-wrap: anywhere; font-size: .95rem; }
.sp-footer__addr { font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.65); }
.sp-footer__legal { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
    margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: rgba(255,255,255,.6); }
.sp-footer__social { display: flex; gap: 20px; }
@media (max-width: 1100px) {
    .sp-footer__grid { grid-template-columns: repeat(4, 1fr); }
    .sp-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .sp-footer__cta { padding: 32px 0; }
    .sp-footer__cta .sp-btn { width: 100%; }
    .sp-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 36px; }
    .sp-footer__legal { flex-direction: column; align-items: flex-start; }
}

/* Registration modal (shared partial) */
.formModal .modal-content { border: 0; border-radius: var(--radius-l); overflow: hidden; margin: 0; }
.formModal .rightSide { padding: 0; }
.formModal .modal-header { padding: 22px 28px; border-bottom: 1px solid var(--rule); }
.formModal .modal-title { font: 700 1.4rem var(--display); color: var(--ink); }
.formModal .modal-body { padding: 24px 28px 28px; }
.formModal .headingWrapper span { display: block; font: 700 1.1rem var(--display); color: var(--ink); margin-bottom: 14px; }
.formModal .inputWrapper { display: grid; gap: 6px; margin-bottom: 16px; }
.formModal .inputWrapper label, .formModal .form-group > label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.formModal input:not([type=checkbox]):not([type=radio]):not([type=submit]), .formModal select, .formModal textarea {
    font: 400 1rem var(--body); color: var(--ink); padding: 11px 14px; border: 1px solid var(--rule); border-radius: var(--radius-s); width: 100%;
}
.formModal input:focus, .formModal select:focus, .formModal textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.formModal .commonBtn, .formModal input[type=submit], .formModal button[type=submit] {
    background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 12px 28px; font: 600 1rem var(--body); cursor: pointer;
}
.formModal .commonBtn:hover, .formModal input[type=submit]:hover { background: var(--brand-deep); }

/* Responsive */
@media (max-width: 1024px) {
    .sp-roles__list { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .sp-roles__list > div:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 920px) {
    .sp-burger { display: block; }
    .sp-nav {
        position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
        gap: 4px; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 20px 30px rgba(21,36,77,.1);
    }
    .sp-nav.is-open { display: flex; }
    .sp-nav > a, .sp-menu summary { padding: 10px 4px; }
    .sp-menu__list { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
    .sp-nav__actions { margin: 10px 0 0; }
    .sp-nav__actions .sp-btn { flex: 1; }
    .sp-header.is-open .sp-burger__bar { background: transparent; }
    .sp-header.is-open .sp-burger__bar::before { transform: translateY(6px) rotate(45deg); }
    .sp-header.is-open .sp-burger__bar::after { transform: translateY(-6px) rotate(-45deg); }
    .sp-hero__grid, .sp-about__grid, .sp-showcase__grid, .sp-faq__grid, .sp-contact__grid, .sp-apps__grid { grid-template-columns: 1fr; }
    .sp-showcase--flip .sp-showcase__media { order: 0; }
    .sp-hero__device::before { inset: 6% -10% -6% 6%; }
    .sp-steps__list { grid-template-columns: 1fr; gap: 28px; }
    .sp-steps__list li { padding: 0 0 0 68px; min-height: 48px; }
    .sp-steps__list li:not(:last-child)::after { top: 56px; left: 23px; right: auto; bottom: -24px; border-top: 0; border-left: 2px dashed var(--rule); }
    .sp-store { min-width: 0; }
}
@media (max-width: 560px) {
    body.sp { font-size: 1rem; }
    .sp-roles__list { grid-template-columns: 1fr; }
    .sp-roles__list > div { border-right: 0; margin-right: 0; padding-right: 0; }
    .sp-hero__cta .sp-btn { flex: 1 1 100%; }
    .sp-features__grid { grid-template-columns: 1fr 1fr; }
    .sp-features__grid li { padding: 16px 12px; gap: 10px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
[dir="rtl"] .sp-tab { text-align: right; border-left: 0; border-right: 3px solid var(--rule); }
[dir="rtl"] .sp-tab[aria-selected="true"] { border-right-color: var(--brand); }

.formModal .sp-trial { display: flex !important; align-items: center; gap: 8px; padding: 12px 14px; margin: 4px 0 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--wash); font-weight: 600; color: var(--ink); }
.formModal .sp-trial input { width: 18px; height: 18px; accent-color: var(--brand); }
