:root {
    --sb-shell-bg: rgba(7, 12, 32, .92);
    --sb-shell-bg-2: rgba(13, 21, 48, .88);
    --sb-shell-text: #f8fbff;
    --sb-shell-muted: rgba(226, 232, 240, .72);
    --sb-shell-dark-text: #102033;
    --sb-shell-line: rgba(255, 255, 255, .14);
    --sb-shell-purple: #7c3cff;
    --sb-shell-blue: #246bff;
    --sb-shell-cyan: #22d3ee;
    --sb-shell-ink: #050816;
    --sb-shell-card: #ffffff;
    --sb-shell-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.sb-skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 9999;
    transform: translateY(-140%);
    border-radius: 999px;
    padding: 10px 14px;
    color: white;
    background: var(--sb-shell-purple);
    text-decoration: none;
    font-weight: 900;
}

.sb-skip-link:focus {
    transform: translateY(0);
}

/* NAVBAR — darker, less trapped, more premium */
.sb-advanced-shell {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px clamp(10px, 2vw, 26px);
    pointer-events: none;
}

.sb-advanced-nav {
    pointer-events: auto;
    width: min(100%, 1320px);
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    background:
        radial-gradient(circle at 6% 0%, rgba(34, 211, 238, .20), transparent 34%),
        radial-gradient(circle at 90% 0%, rgba(124, 60, 255, .22), transparent 36%),
        linear-gradient(135deg, rgba(5, 8, 22, .96), rgba(16, 25, 54, .92));
    box-shadow: 0 22px 70px rgba(2, 6, 23, .28);
    backdrop-filter: blur(22px);
}

.sb-nav-inner {
    display: grid;
    grid-template-columns: minmax(210px, auto) minmax(0, 1fr) minmax(170px, 250px) auto auto;
    align-items: center;
    gap: clamp(8px, 1.5vw, 14px);
    padding: 12px;
    min-width: 0;
}

.sb-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: white;
    text-decoration: none;
}

.sb-nav-brand img,
.sb-nav-brand-fallback {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.sb-nav-brand-fallback {
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--sb-shell-purple), var(--sb-shell-blue));
    font-weight: 950;
}

.sb-nav-brand span {
    min-width: 0;
}

.sb-nav-brand strong {
    display: block;
    color: white;
    font-size: 1.05rem;
    line-height: 1;
    letter-spacing: -.03em;
}

.sb-nav-brand em {
    display: block;
    max-width: 260px;
    margin-top: 4px;
    color: rgba(226,232,240,.76);
    font-size: .74rem;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow: visible;
}

.sb-nav-links > a,
.sb-nav-more > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 10px 11px;
    color: rgba(226,232,240,.76);
    background: transparent;
    text-decoration: none;
    font: inherit;
    font-size: .9rem;
    font-weight: 850;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.sb-nav-links > a:hover,
.sb-nav-links > a.active,
.sb-nav-more > button:hover {
    color: white;
    background: rgba(255, 255, 255, .10);
    transform: translateY(-1px);
}

.sb-nav-more {
    position: relative;
    flex: 0 0 auto;
}

.sb-nav-more-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(260px, 92vw);
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    background: #091126;
    box-shadow: 0 24px 70px rgba(2,6,23,.36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
}

.sb-nav-more.open .sb-nav-more-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sb-nav-more-menu a {
    border-radius: 14px;
    padding: 10px 12px;
    color: rgba(226,232,240,.80);
    text-decoration: none;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.sb-nav-more-menu a:hover,
.sb-nav-more-menu a.active {
    color: white;
    background: rgba(34, 211, 238, .12);
}

.sb-nav-search {
    display: flex;
    align-items: center;
    min-width: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 4px;
    background: rgba(255,255,255,.08);
}

.sb-nav-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 8px 8px 8px 12px;
    background: transparent;
    color: white;
    font: inherit;
    font-size: .88rem;
}

.sb-nav-search input::placeholder {
    color: rgba(226,232,240,.56);
}

.sb-nav-search button {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #07101f;
    background: var(--sb-shell-cyan);
    cursor: pointer;
}

.sb-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sb-nav-actions a,
.sb-mobile-actions a,
.sb-mobile-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 9px 13px;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.sb-nav-actions .ghost,
.sb-mobile-actions a {
    color: white;
    background: rgba(255,255,255,.10);
}

.sb-nav-actions .solid,
.sb-mobile-actions .solid {
    color: white;
    background: linear-gradient(135deg, var(--sb-shell-purple), var(--sb-shell-blue));
    box-shadow: 0 12px 26px rgba(36,107,255,.26);
}

.sb-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 16px;
    background: rgba(255,255,255,.10);
    cursor: pointer;
}

.sb-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: white;
}

.sb-mobile-panel {
    display: none;
    padding: 0 12px 12px;
}

.sb-mobile-panel.open {
    display: grid;
    gap: 12px;
}

.sb-mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.sb-mobile-search input {
    min-width: 0;
    min-height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 0 12px;
    color: white;
    background: rgba(255,255,255,.08);
    font: inherit;
}

.sb-mobile-search input::placeholder {
    color: rgba(226,232,240,.58);
}

.sb-mobile-links {
    display: grid;
    gap: 6px;
}

.sb-mobile-links a {
    border-radius: 16px;
    padding: 12px;
    color: white;
    background: rgba(255,255,255,.08);
    text-decoration: none;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.sb-mobile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* FOOTER — sectioned, spacious, no overflow */
.sb-advanced-footer {
    position: relative;
    margin-top: clamp(56px, 8vw, 110px);
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 18% 0%, rgba(34, 211, 238, .28), transparent 34%),
        radial-gradient(circle at 82% 22%, rgba(124, 60, 255, .36), transparent 36%),
        linear-gradient(135deg, #040716, #0e1735 52%, #07101f);
}

.sb-footer-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sb-footer-glow.one {
    width: 420px;
    height: 420px;
    right: -130px;
    top: -180px;
    border: 1px solid rgba(255,255,255,.13);
}

.sb-footer-glow.two {
    width: 260px;
    height: 260px;
    left: -80px;
    bottom: 70px;
    background: rgba(34,211,238,.08);
    filter: blur(8px);
}

.sb-footer-inner {
    position: relative;
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: clamp(42px, 7vw, 76px) clamp(16px, 4vw, 34px) 26px;
}

.sb-footer-top-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(22px, 4vw, 42px);
    align-items: stretch;
    padding-bottom: 26px;
}

.sb-footer-brand-block,
.sb-footer-action-card,
.sb-footer-value-strip article,
.sb-footer-group {
    min-width: 0;
    overflow: hidden;
}

.sb-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    color: white;
    text-decoration: none;
}

.sb-footer-brand img {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    border-radius: 22px;
    object-fit: contain;
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.sb-footer-brand span {
    min-width: 0;
}

.sb-footer-brand strong {
    display: block;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    letter-spacing: -.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-footer-brand em {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.74);
    font-style: normal;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.sb-footer-brand-block p {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.72);
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.sb-footer-action-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    padding: clamp(20px, 3vw, 28px);
    background:
        radial-gradient(circle at 100% 0%, rgba(34,211,238,.16), transparent 34%),
        rgba(255,255,255,.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.sb-footer-action-card span {
    color: var(--sb-shell-cyan);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.sb-footer-action-card h2 {
    margin: 10px 0 8px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
}

.sb-footer-action-card p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.70);
    line-height: 1.6;
}

.sb-footer-action-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sb-footer-action-card a {
    display: inline-flex;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 15px;
    color: #061022;
    background: var(--sb-shell-cyan);
    text-decoration: none;
    font-weight: 950;
}

.sb-footer-action-card a.soft {
    color: white;
    background: rgba(255,255,255,.12);
}

.sb-footer-value-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.sb-footer-value-strip article {
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 22px;
    padding: 16px;
    background: rgba(255,255,255,.06);
}

.sb-footer-value-strip strong {
    display: block;
    margin-bottom: 6px;
    color: white;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.sb-footer-value-strip span {
    display: block;
    color: rgba(255,255,255,.68);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.sb-footer-link-section {
    padding-top: 30px;
}

.sb-footer-section-heading {
    display: grid;
    gap: 5px;
    margin-bottom: 18px;
}

.sb-footer-section-heading span {
    color: var(--sb-shell-cyan);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.sb-footer-section-heading h2 {
    max-width: 680px;
    margin: 0;
    color: white;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

.sb-footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.sb-footer-group {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    padding: 18px;
    background: rgba(255,255,255,.055);
    min-height: 100%;
}

.sb-footer-group h3 {
    margin: 0 0 12px;
    color: white;
    font-size: .9rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.sb-footer-group ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sb-footer-group a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    padding: 9px 10px;
    color: rgba(255,255,255,.72);
    background: transparent;
    text-decoration: none;
    font-weight: 760;
    line-height: 1.45;
}

.sb-footer-group a span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.sb-footer-group a i {
    opacity: .5;
    font-style: normal;
    transition: transform .18s ease;
}

.sb-footer-group a:hover {
    color: white;
    background: rgba(255,255,255,.08);
}

.sb-footer-group a:hover i {
    transform: translateX(2px);
}

.sb-footer-newsletter p {
    margin: 0 0 14px;
    color: rgba(255,255,255,.70);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.sb-footer-newsletter form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
}

.sb-footer-newsletter input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    padding: 10px;
    color: white;
    background: transparent;
    font: inherit;
}

.sb-footer-newsletter input::placeholder {
    color: rgba(255,255,255,.54);
}

.sb-footer-newsletter button {
    border: 0;
    border-radius: 14px;
    padding: 10px 14px;
    color: #061022;
    background: var(--sb-shell-cyan);
    font-weight: 950;
    cursor: pointer;
}

.sb-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.sb-footer-socials a {
    border-radius: 999px;
    padding: 8px 10px;
    color: white;
    background: rgba(255,255,255,.10);
}

.sb-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.64);
    font-size: .92rem;
}

.sb-footer-bottom p {
    margin: 0;
    overflow-wrap: anywhere;
}

.sb-footer-bottom a {
    color: white;
    font-weight: 900;
    text-decoration: none;
}

/* anti-overflow polish for public cards/boxes */
.studybuddy-site *,
.sb-site *,
.sb-section *,
.sb-card *,
.app-card *,
.preview-card *,
[class*="card"],
[class*="panel"] {
    min-width: 0;
}

.studybuddy-site p,
.studybuddy-site h1,
.studybuddy-site h2,
.studybuddy-site h3,
.studybuddy-site a,
.sb-section p,
.sb-section h1,
.sb-section h2,
.sb-section h3,
.app-card p,
.preview-card p {
    overflow-wrap: anywhere;
}

.studybuddy-site img,
.sb-site img,
.sb-section img,
.app-card img,
.preview-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1180px) {
    .sb-nav-inner {
        grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
    }

    .sb-nav-links,
    .sb-nav-search,
    .sb-nav-actions {
        display: none;
    }

    .sb-nav-toggle {
        display: block;
        justify-self: end;
    }

    .sb-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .sb-advanced-shell {
        padding: 8px;
    }

    .sb-advanced-nav {
        border-radius: 22px;
    }

    .sb-nav-inner {
        gap: 8px;
    }

    .sb-nav-brand em {
        max-width: 190px;
    }

    .sb-footer-top-section {
        grid-template-columns: 1fr;
    }

    .sb-footer-value-strip {
        grid-template-columns: 1fr;
    }

    .sb-footer-grid {
        grid-template-columns: 1fr;
    }

    .sb-footer-newsletter form {
        grid-template-columns: 1fr;
    }

    .sb-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .sb-nav-brand strong {
        font-size: .98rem;
    }

    .sb-nav-brand em {
        max-width: 145px;
    }

    .sb-nav-brand img,
    .sb-nav-brand-fallback {
        width: 42px;
        height: 42px;
        border-radius: 15px;
    }

    .sb-footer-brand {
        align-items: flex-start;
    }

    .sb-footer-brand strong {
        white-space: normal;
    }

    .sb-footer-action-card div {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* === StudyBuddy interactive shell polish === */
.sb-advanced-shell {
    transition: padding .25s ease, transform .25s ease;
}

.sb-advanced-shell.is-scrolled {
    padding-top: 7px;
    padding-bottom: 7px;
}

.sb-advanced-shell.is-scrolled .sb-advanced-nav {
    border-color: rgba(34, 211, 238, .22);
    box-shadow: 0 20px 70px rgba(2, 6, 23, .38);
}

.sb-nav-brand {
    position: relative;
    isolation: isolate;
    transition: transform .22s ease;
}

.sb-nav-brand:hover {
    transform: translateY(-1px) scale(1.01);
}

.sb-nav-brand img,
.sb-footer-brand img {
    transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.sb-nav-brand:hover img,
.sb-footer-brand:hover img {
    transform: rotate(-4deg) scale(1.06);
    box-shadow: 0 14px 32px rgba(34, 211, 238, .18);
    filter: drop-shadow(0 8px 18px rgba(34, 211, 238, .20));
}

.sb-nav-links > a,
.sb-nav-more > button,
.sb-mobile-links a {
    position: relative;
    overflow: hidden;
}

.sb-nav-links > a::before,
.sb-nav-more > button::before,
.sb-mobile-links a::before {
    content: "";
    position: absolute;
    inset: auto 13px 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sb-shell-cyan), var(--sb-shell-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.sb-nav-links > a:hover::before,
.sb-nav-links > a.active::before,
.sb-nav-more > button:hover::before,
.sb-mobile-links a:hover::before,
.sb-mobile-links a.active::before {
    transform: scaleX(1);
}

.sb-nav-links > a::after,
.sb-nav-more > button::after,
.sb-mobile-links a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.16) 45%, transparent 75%);
    transform: translateX(-120%);
    transition: transform .55s ease;
}

.sb-nav-links > a:hover::after,
.sb-nav-more > button:hover::after,
.sb-mobile-links a:hover::after {
    transform: translateX(120%);
}

.sb-nav-search {
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.sb-nav-search:focus-within,
.sb-nav-search:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, .36);
    background: rgba(255,255,255,.12);
    box-shadow: 0 12px 28px rgba(34, 211, 238, .10);
}

.sb-nav-search button,
.sb-footer-newsletter button,
.sb-footer-action-card a,
.sb-nav-actions a,
.sb-mobile-actions a {
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.sb-nav-search button:hover,
.sb-footer-newsletter button:hover,
.sb-footer-action-card a:hover,
.sb-nav-actions a:hover,
.sb-mobile-actions a:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 16px 36px rgba(34, 211, 238, .20);
}

.sb-ripple {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    pointer-events: none;
    background: rgba(255,255,255,.45);
    transform: translate(-50%, -50%) scale(1);
    animation: sbRipple .55s ease-out forwards;
}

@keyframes sbRipple {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(16);
    }
}

.sb-nav-more-menu {
    transform-origin: top right;
}

.sb-nav-more.open .sb-nav-more-menu {
    animation: sbMenuPop .18s ease-out both;
}

@keyframes sbMenuPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sb-footer-action-card,
.sb-footer-value-strip article,
.sb-footer-group {
    position: relative;
    isolation: isolate;
    transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.sb-footer-action-card::before,
.sb-footer-value-strip article::before,
.sb-footer-group::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    z-index: -1;
    background:
        radial-gradient(
            260px circle at var(--mx, 50%) var(--my, 50%),
            rgba(34, 211, 238, .20),
            transparent 42%
        );
    opacity: 0;
    transition: opacity .24s ease;
}

.sb-footer-action-card:hover,
.sb-footer-value-strip article:hover,
.sb-footer-group:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, .26);
    background: rgba(255,255,255,.085);
    box-shadow: 0 22px 54px rgba(2, 6, 23, .22);
}

.sb-footer-action-card:hover::before,
.sb-footer-value-strip article:hover::before,
.sb-footer-group:hover::before {
    opacity: 1;
}

.sb-footer-group a {
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.sb-footer-group a:hover {
    transform: translateX(3px);
}

.sb-footer-value-strip article strong {
    position: relative;
    display: inline-block;
}

.sb-footer-value-strip article strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sb-shell-cyan), transparent);
    transform: scaleX(.35);
    transform-origin: left;
    transition: transform .2s ease;
}

.sb-footer-value-strip article:hover strong::after {
    transform: scaleX(1);
}

.sb-footer-newsletter input {
    transition: background .18s ease, box-shadow .18s ease;
}

.sb-footer-newsletter form:focus-within {
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .16);
}

.sb-footer-bottom a {
    position: relative;
}

.sb-footer-bottom a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    border-radius: 999px;
    background: var(--sb-shell-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
}

.sb-footer-bottom a:hover::after {
    transform: scaleX(1);
}

@media (hover: none) {
    .sb-footer-action-card:hover,
    .sb-footer-value-strip article:hover,
    .sb-footer-group:hover,
    .sb-nav-brand:hover,
    .sb-nav-search button:hover,
    .sb-footer-newsletter button:hover,
    .sb-footer-action-card a:hover,
    .sb-nav-actions a:hover,
    .sb-mobile-actions a:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-ripple {
        display: none;
    }

    .sb-nav-more.open .sb-nav-more-menu {
        animation: none;
    }
}
/* === End StudyBuddy interactive shell polish === */
