html {
    scroll-behavior: auto;
    scroll-padding-top: calc(var(--public-anchor-offset, 118px) + 8vh);
    scrollbar-width: none;
}

/* Catalog and tutor profile pastel product pages */
.catalog-layout,
.profile-layout {
    align-items: start;
}

.catalog-filters,
.catalog-card,
.catalog-summary__item,
.profile-section-card,
.profile-side-card,
.profile-review,
.profile-proof__item {
    border: 1px solid rgba(255, 250, 241, 0.72);
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.88), rgba(249, 242, 232, 0.78)),
        rgba(255, 250, 241, 0.88);
    box-shadow:
        0 14px 30px rgba(58, 37, 28, 0.065),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.catalog-filters,
.profile-section-card,
.profile-side-card {
    border-radius: 28px;
}

.catalog-card {
    min-height: 300px;
    border-radius: 26px;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.catalog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 91, 69, 0.18);
    box-shadow: 0 20px 38px rgba(58, 37, 28, 0.1);
}

.catalog-card__avatar {
    background: linear-gradient(145deg, rgba(205, 199, 121, 0.9), rgba(242, 215, 225, 0.84));
    color: var(--color-text);
}

.catalog-card__rating,
.catalog-chip,
.metric-chip,
.profile-tag {
    border-color: rgba(36, 29, 24, 0.08);
    background: rgba(255, 250, 241, 0.72);
    color: var(--color-text-muted);
}

.catalog-chip:hover,
.profile-tag.is-accent,
.subject-chip.is-accent {
    border-color: rgba(205, 199, 121, 0.42);
    background: rgba(205, 199, 121, 0.26);
    color: var(--color-text);
}

.catalog-card__price-row {
    align-items: center;
}

.catalog-select__native {
    position: absolute;
    width: 1px !important;
    min-height: 0 !important;
    height: 1px;
    padding: 0 !important;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.catalog-select {
    position: relative;
    width: 100%;
}

.catalog-select__button {
    position: relative;
    width: 100%;
    min-height: 48px;
    padding: 0 42px 0 18px;
    border: 1px solid rgba(188, 165, 142, 0.34);
    border-radius: 16px;
    background: rgba(244, 235, 222, 0.74);
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.46),
        inset 0 -10px 18px rgba(214, 196, 174, 0.08);
    color: var(--color-text);
    font-family: var(--font-family-base);
    font-size: 0.94rem;
    line-height: 48px;
    text-align: left;
    cursor: pointer;
}

.catalog-select__button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid rgba(51, 41, 34, 0.56);
    border-bottom: 1.5px solid rgba(51, 41, 34, 0.56);
    transform: translateY(-62%) rotate(45deg);
    transition: transform 160ms ease;
}

.catalog-select.is-open .catalog-select__button {
    border-color: rgba(176, 183, 111, 0.56);
    background: rgba(248, 241, 230, 0.94);
    box-shadow:
        0 0 0 4px rgba(182, 187, 121, 0.2),
        inset 0 1px 0 rgba(255, 250, 241, 0.58);
}

.catalog-select.is-open .catalog-select__button::after {
    transform: translateY(-35%) rotate(225deg);
}

.catalog-select__list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    max-height: 256px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid rgba(220, 204, 187, 0.7);
    border-radius: 17px;
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(249, 242, 232, 0.96)),
        #fffaf1;
    box-shadow:
        0 18px 36px rgba(58, 37, 28, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.catalog-select.is-open .catalog-select__list {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.catalog-select__option {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-family-base);
    font-size: 0.9rem;
    line-height: 36px;
    text-align: left;
    cursor: pointer;
}

.catalog-select__option:hover,
.catalog-select__option.is-selected {
    background: rgba(205, 199, 121, 0.23);
    color: #4f552b;
}

.public-page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(242, 215, 225, 0.5), transparent 34%),
        radial-gradient(ellipse at 90% 14%, rgba(205, 199, 121, 0.28), transparent 30%),
        linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(247, 239, 228, 0.92));
}

.public-page-hero::after {
    content: "";
    position: absolute;
    right: clamp(18px, 6vw, 90px);
    bottom: -34px;
    width: 170px;
    height: 96px;
    border-radius: 80% 18% 80% 18%;
    background: linear-gradient(145deg, rgba(241, 186, 171, 0.72), rgba(242, 215, 225, 0.72));
    transform: rotate(-16deg);
    pointer-events: none;
}

.public-page-hero > * {
    position: relative;
    z-index: 1;
}

.profile-proof {
    gap: 14px;
}

.profile-proof__item,
.profile-review {
    border-radius: 22px;
}

.profile-side-card__price {
    background: linear-gradient(135deg, rgba(205, 199, 121, 0.26), rgba(242, 215, 225, 0.34));
}

@media (max-width: 760px) {
    .catalog-card,
    .catalog-filters,
    .profile-section-card,
    .profile-side-card {
        border-radius: 22px;
    }

    .catalog-card {
        min-height: 0;
    }
}

body.public-body {
    --landing-cream: #f3ebd8;
    --landing-soft-pink: #f9d0ce;
    --landing-olive: #b6bb79;
    --landing-flower: #f297a0;
    --landing-pistachio: #dae097;
    --landing-peony: #e9acc8;
    --landing-apricot: #f3c8ab;
    --landing-cream-yellow: #f4d77a;
    --landing-accent: #b6bb79;
    --landing-accent-strong: #7d8448;
    --landing-accent-soft: rgba(182, 187, 121, 0.26);
    --landing-accent-line: rgba(182, 187, 121, 0.4);
    --focus-ring: rgba(182, 187, 121, 0.38);
    --color-text: #2e2522;
    --color-text-muted: rgba(66, 49, 43, 0.78);
    --color-text-soft: rgba(87, 64, 57, 0.62);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(249, 208, 206, 0.52), transparent 32%),
        radial-gradient(circle at 90% 8%, rgba(218, 224, 151, 0.56), transparent 34%),
        radial-gradient(circle at 95% 24%, rgba(233, 172, 200, 0.28), transparent 30%),
        radial-gradient(circle at 92% 60%, rgba(218, 224, 151, 0.24), transparent 30%),
        radial-gradient(circle at 52% 4%, rgba(233, 172, 200, 0.3), transparent 34%),
        radial-gradient(circle at 24% 38%, rgba(244, 215, 122, 0.2), transparent 30%),
        radial-gradient(circle at 78% 44%, rgba(233, 172, 200, 0.2), transparent 28%),
        radial-gradient(circle at 46% 88%, rgba(243, 200, 171, 0.32), transparent 30%),
        linear-gradient(180deg, rgba(249, 242, 232, 0.52), rgba(249, 242, 232, 0)),
        var(--landing-cream);
    scrollbar-color: rgba(166, 171, 102, 0.7) rgba(239, 229, 215, 0.78);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body.public-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.public-body * {
    scrollbar-color: rgba(166, 171, 102, 0.7) rgba(239, 229, 215, 0.78);
    scrollbar-width: thin;
}

body.public-body *::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

body.public-body *::-webkit-scrollbar-track {
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(249, 242, 232, 0.76), rgba(232, 221, 203, 0.82));
    box-shadow: inset 0 0 0 1px rgba(188, 165, 142, 0.2);
}

body.public-body *::-webkit-scrollbar-thumb {
    border: 3px solid rgba(237, 226, 210, 0.72);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(216, 224, 151, 0.98), rgba(166, 171, 102, 0.9) 52%, rgba(125, 132, 72, 0.86));
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.44),
        0 0 10px rgba(182, 187, 121, 0.16);
}

body.public-body *::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, rgba(229, 235, 166, 1), rgba(154, 164, 88, 0.94) 52%, rgba(111, 121, 64, 0.9));
}

.landing-scroll-progress {
    --landing-scroll-progress: 0%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    width: 100%;
    height: 6px;
    padding: 1px 8px 0;
    pointer-events: none;
}

.landing-scroll-progress span {
    display: block;
    width: var(--landing-scroll-progress);
    height: 100%;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(233, 172, 200, 0.92), rgba(218, 224, 151, 0.98) 55%, rgba(182, 187, 121, 0.94));
    box-shadow:
        0 6px 16px rgba(182, 187, 121, 0.24),
        inset 0 1px 0 rgba(255, 250, 241, 0.5);
    transition:
        width 0.14s ease-out,
        opacity 0.22s ease;
}

body.public-body::before,
body.public-body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(44px);
    opacity: 0.7;
}

body.public-body::before {
    top: 8%;
    left: -94px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(249, 208, 206, 0.82), rgba(249, 208, 206, 0));
}

body.public-body::after {
    right: -24px;
    top: 18%;
    width: 390px;
    height: 390px;
    background: radial-gradient(circle, rgba(218, 224, 151, 0.84), rgba(218, 224, 151, 0));
}

body.public-body.has-modal-open {
    overflow: hidden;
}

body.public-body :is(.public-hero, .public-section, .public-section-card, .public-page-hero)[id] {
    scroll-margin-top: calc(var(--public-anchor-offset, 118px) + 8vh);
}

.public-shell {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 18px;
}

.public-shell::before,
.public-shell::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.4;
}

.public-shell::before {
    top: 7%;
    left: -2%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(243, 200, 171, 0.56), rgba(243, 200, 171, 0));
}

.public-shell::after {
    top: 12%;
    right: 2%;
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, rgba(218, 224, 151, 0.52), rgba(218, 224, 151, 0));
}

.public-main {
    display: flex;
    flex-direction: column;
    gap: 56px;
    position: relative;
    isolation: auto;
}

.public-main::before,
.public-main::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 999px;
    filter: blur(36px);
    opacity: 0.5;
}

.public-main::before {
    top: 4%;
    left: -7%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(249, 208, 206, 0.52), rgba(249, 208, 206, 0));
}

.public-main::after {
    top: 14%;
    right: -6%;
    width: 310px;
    height: 310px;
    background: radial-gradient(circle, rgba(218, 224, 151, 0.56), rgba(218, 224, 151, 0));
}

.home-page::before,
.home-page::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.home-page::before {
    top: 12%;
    right: 3%;
    width: 320px;
    height: 290px;
    border-radius: 39% 61% 54% 46% / 43% 37% 63% 57%;
    background: radial-gradient(circle at 34% 30%, rgba(243, 200, 171, 0.52), rgba(243, 200, 171, 0));
    transform: rotate(-14deg);
    filter: blur(6px);
    opacity: 0.84;
}

.home-page::after {
    top: 64%;
    left: -9%;
    width: 270px;
    height: 250px;
    border-radius: 57% 43% 38% 62% / 49% 42% 58% 51%;
    background: radial-gradient(circle at 32% 26%, rgba(233, 172, 200, 0.5), rgba(233, 172, 200, 0));
    transform: rotate(10deg);
    filter: blur(7px);
    opacity: 0.66;
}

.public-main > * {
    position: relative;
    z-index: 1;
}

.public-header {
    position: sticky;
    top: 14px;
    z-index: 50;
    margin-bottom: 22px;
}

.public-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border: 1px solid rgba(249, 242, 232, 0.72);
    border-radius: 28px;
    background: rgba(244, 236, 225, 0.76);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(58, 37, 28, 0.08);
}

.public-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    font-family: "Unbounded";
    font-weight: var(--font-weight-heading-soft);
}

.public-logo__mark {
    width: 50px;
    height: 50px;
    background-image: url('../pictures/lend/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.public-logo__text {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 0;
    min-height: 50px;
    transform: translateY(2px);
}

.public-logo__title {
    font-family: "Unbounded";
    font-size: 1.14rem;
    font-weight: var(--font-weight-heading-soft);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.public-logo__subtitle {
    font-family: "Alice";
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.08;
}

.public-menu-toggle {
    display: none;
}

.public-nav__menu {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.public-nav__links,
.public-nav__actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.public-nav--minimal-profile {
    gap: 18px;
}

.public-nav--minimal-profile .public-nav__actions {
    margin-left: auto;
}

.public-account-menu {
    position: relative;
}

.public-account-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding-left: 10px;
    padding-right: 12px;
    border-radius: 14px;
    font-family: "Unbounded";
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.public-nav__actions .public-account-menu__trigger.button--ghost {
    border-color: rgba(196, 199, 170, 0.52);
    background: linear-gradient(180deg, rgba(247, 249, 232, 0.56), rgba(240, 243, 217, 0.48));
    color: rgba(90, 95, 61, 0.84);
    box-shadow: none;
}

.public-account-menu__caret {
    margin-left: 2px;
    font-size: 0.98rem;
    line-height: 1;
    opacity: 0.72;
    transform-origin: center;
    transition:
        transform var(--transition-base),
        opacity var(--transition-base);
}

.public-account-menu__trigger[aria-expanded="true"] .public-account-menu__caret {
    transform: rotate(180deg);
    opacity: 1;
}

.public-account-menu__list {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    z-index: 80;
    display: grid;
    gap: 6px;
    min-width: 190px;
    padding: 8px;
    border: 1px solid rgba(184, 198, 143, 0.52);
    border-radius: 16px;
    background:
        linear-gradient(155deg, rgba(250, 253, 241, 0.96), rgba(239, 246, 220, 0.92)),
        rgba(243, 234, 222, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 30px rgba(69, 78, 43, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px) scale(0.98);
    transform-origin: top right;
    transition:
        opacity 0.24s ease,
        transform 0.24s ease,
        visibility 0.24s step-end;
}

.public-account-menu__list.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0s step-start;
}

.public-account-menu__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(193, 206, 151, 0.54);
    border-radius: 12px;
    background:
        linear-gradient(270deg, rgba(176, 193, 122, 0.3), rgba(176, 193, 122, 0.1) 40%, rgba(176, 193, 122, 0) 72%),
        linear-gradient(180deg, rgba(244, 236, 225, 0.97), rgba(245, 236, 226, 0.9));
    color: var(--color-text-muted);
    font-family: "Unbounded";
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        color var(--transition-base);
}

.public-account-menu__item:hover {
    border-color: rgba(176, 193, 122, 0.7);
    background:
        linear-gradient(270deg, rgba(176, 193, 122, 0.36), rgba(176, 193, 122, 0.14) 42%, rgba(176, 193, 122, 0) 74%),
        linear-gradient(180deg, rgba(253, 255, 248, 0.98), rgba(240, 246, 224, 0.92));
    color: #4b5831;
    box-shadow: inset -2px 0 0 rgba(176, 193, 122, 0.56);
}

.public-account-menu__item:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.public-nav__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 6px 10px;
    color: var(--color-text-muted);
    opacity: 0.8;
    font-family: "Unbounded";
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    transition:
        color var(--transition-base),
        opacity var(--transition-base);
}

.public-nav__links a:hover,
.public-nav__links a.is-active {
    color: var(--landing-accent-strong);
    opacity: 1;
}

.public-nav__links a:focus-visible,
.public-footer__links a:focus-visible,
.faq-item__trigger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.public-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 14px 6px 6px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 999px;
    background: rgba(249, 242, 232, 0.84);
}

.public-user-badge__avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(205, 199, 121, 0.7), rgba(242, 215, 225, 0.92));
    font-size: 0.88rem;
    font-weight: 800;
}

.public-user-badge__meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.public-user-badge__meta strong {
    font-family: "Unbounded";
    font-size: 0.98rem;
    font-weight: var(--font-weight-heading-soft);
    letter-spacing: 0;
}

.public-user-badge__meta span {
    font-family: "Alice";
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.public-nav--minimal-profile .public-user-badge,
.public-nav--minimal-profile .public-account-menu__trigger {
    min-width: 0;
}

.public-hero,
.public-page-hero,
.auth-card,
.error-card,
.public-section-card {
    border: 1px solid rgba(249, 242, 232, 0.68);
    border-radius: 32px;
    background:
        linear-gradient(145deg, rgba(249, 242, 232, 0.94), rgba(249, 248, 243, 0.82)),
        rgba(244, 236, 225, 0.78);
    backdrop-filter: blur(16px);
    box-shadow: 0 22px 56px rgba(58, 37, 28, 0.08);
}

.public-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.82fr);
    gap: 28px;
    padding: 34px;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 215, 225, 0.22), transparent 32%),
        radial-gradient(circle at 0% 100%, rgba(205, 199, 121, 0.06), transparent 28%),
        linear-gradient(135deg, rgba(249, 242, 232, 0.78), rgba(244, 236, 225, 0.68));
}

.public-hero::before,
.public-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.public-hero::before {
    width: 210px;
    height: 210px;
    left: -36px;
    bottom: -28px;
    opacity: 0.18;
    filter: blur(2px);
    background: radial-gradient(circle, rgba(249, 208, 206, 0.55), rgba(249, 208, 206, 0));
}

.public-hero::after {
    width: 230px;
    height: 230px;
    right: -44px;
    top: -34px;
    opacity: 0.1;
    filter: blur(3px);
    background: radial-gradient(circle, rgba(218, 224, 151, 0.5), rgba(218, 224, 151, 0));
}

.public-hero > * {
    position: relative;
    z-index: 1;
}

.public-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(218, 224, 151, 0.56), rgba(249, 236, 223, 0.82));
    color: rgba(78, 63, 36, 0.88);
    font-family: "Unbounded";
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(249, 242, 232, 0.52);
}

.public-hero__title {
    margin: 0 0 16px;
    font-family: "Unbounded";
    font-size: clamp(1.9rem, 3.3vw, 2.85rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.045em;
    max-width: 560px;
}

.public-hero__title .script-word {
    display: inline-block;
    margin-left: 0.08em;
    font-family: "Great Vibes";
    font-size: 1.56em;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: normal;
    white-space: nowrap;
}

.public-hero__lead,
.public-page-hero__text,
.public-section-intro p,
.auth-copy p,
.error-card__text {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.public-hero__lead {
    font-family: "Alice";
    font-size: 1.04rem;
    line-height: 1.7;
    letter-spacing: 0.005em;
    max-width: 520px;
}

.public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.public-body .button {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 16px;
    font-family: "Unbounded";
    font-weight: 500;
    letter-spacing: -0.02em;
}

.public-body .button--primary {
    border-color: var(--landing-accent-line);
    background: linear-gradient(180deg, #c4c985, #aeb56f);
    color: #2e2522;
    box-shadow: 0 14px 30px rgba(182, 187, 121, 0.26);
}

.public-body .button--primary:hover {
    box-shadow: 0 18px 32px rgba(182, 187, 121, 0.34);
}

.public-body .button:hover {
    transform: translateY(-2px);
}

.public-body .button:active {
    transform: translateY(0);
}

.public-body .button--secondary {
    background: linear-gradient(180deg, rgba(249, 247, 241, 0.98), rgba(251, 241, 233, 0.92));
    border-color: rgba(233, 172, 200, 0.24);
    color: rgba(90, 58, 69, 0.9);
    box-shadow: 0 10px 24px rgba(58, 37, 28, 0.055);
}

.public-body .button--secondary:hover {
    border-color: var(--landing-accent-line);
    background: linear-gradient(180deg, rgba(244, 236, 225, 0.98), rgba(254, 243, 237, 0.96));
    box-shadow: 0 15px 28px rgba(233, 172, 200, 0.14);
}

.public-hero .public-actions .button[data-auth-role="tutor"],
.final-cta-card__actions .button[data-auth-role="tutor"] {
    border-color: rgba(233, 172, 200, 0.44);
    background: linear-gradient(180deg, #f6c4d7, #e9acc8);
    color: #4c3040;
    box-shadow: 0 14px 28px rgba(233, 172, 200, 0.3);
}

.public-body .button--ghost {
    background: rgba(249, 242, 232, 0.55);
}

.public-nav__actions .button--ghost {
    border-color: rgba(171, 162, 122, 0.62);
    background: linear-gradient(180deg, rgba(228, 231, 182, 0.74), rgba(206, 211, 143, 0.66));
    color: #50492f;
    box-shadow:
        0 10px 22px rgba(135, 130, 90, 0.2),
        inset 0 1px 0 rgba(249, 242, 232, 0.58);
}

.public-nav__actions .button--primary {
    border-color: rgba(217, 164, 190, 0.58);
    background: linear-gradient(180deg, rgba(246, 196, 215, 0.8), rgba(233, 172, 200, 0.72));
    color: #5b3f4e;
    box-shadow:
        0 12px 24px rgba(171, 118, 142, 0.18),
        inset 0 1px 0 rgba(249, 247, 251, 0.4);
}

.public-body .button--ghost:hover {
    border-color: var(--landing-accent-line);
    background: rgba(249, 242, 232, 0.9);
    box-shadow: 0 10px 22px rgba(182, 187, 121, 0.16);
}

.public-hero__offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.hero-offer-card {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 8px;
    padding: 15px 16px;
    overflow: hidden;
    border: 1px solid rgba(223, 207, 191, 0.64);
    border-radius: 20px;
    background:
        linear-gradient(150deg, rgba(249, 242, 232, 0.92), rgba(249, 247, 242, 0.8));
    box-shadow: 0 12px 28px rgba(58, 37, 28, 0.045);
    transition:
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background-color 0.32s ease,
        background 0.36s ease;
}

.hero-offer-card::before,
.hero-offer-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.36s ease;
    z-index: 0;
}

.hero-offer-card::before {
    top: -52%;
    left: -46%;
    width: 44%;
    height: 230%;
    opacity: 0;
    transform: rotate(17deg) translateX(-165%);
    background: linear-gradient(
        90deg,
        rgba(249, 242, 232, 0) 0%,
        rgba(249, 242, 232, 0.2) 28%,
        rgba(249, 242, 232, 0.92) 52%,
        rgba(249, 242, 232, 0.24) 72%,
        rgba(249, 242, 232, 0) 100%
    );
    mix-blend-mode: screen;
    filter: blur(1px);
}

.hero-offer-card::after {
    bottom: -32px;
    left: -24px;
    width: 108px;
    height: 108px;
    opacity: 0.58;
    filter: blur(10px);
}

.hero-offer-card > * {
    position: relative;
    z-index: 1;
}

.hero-offer-card strong,
.hero-offer-card p {
    margin: 0;
}

.hero-offer-card strong {
    font-family: "Unbounded";
    font-weight: var(--font-weight-heading);
    letter-spacing: 0;
}

.hero-offer-card p {
    font-family: "Alice";
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.hero-offer-card__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-family: "Unbounded";
    font-size: 0.75rem;
    font-weight: var(--font-weight-heading-soft);
    letter-spacing: 0.01em;
    transition:
        transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.28s ease,
        color 0.28s ease;
}

.hero-offer-card--student .hero-offer-card__label {
    background: rgba(182, 187, 121, 0.24);
    color: #636a3d;
}

.hero-offer-card--student {
    background: linear-gradient(150deg, rgba(249, 242, 232, 0.94), rgba(247, 251, 232, 0.84));
}

.hero-offer-card--student::after {
    background: radial-gradient(circle, rgba(218, 224, 151, 0.56), rgba(218, 224, 151, 0));
}

.hero-offer-card--tutor .hero-offer-card__label {
    background: rgba(233, 172, 200, 0.32);
    color: #7e4f66;
}

.hero-offer-card--tutor {
    background: linear-gradient(150deg, rgba(249, 242, 232, 0.94), rgba(249, 243, 246, 0.86));
}

.hero-offer-card--tutor::after {
    background: radial-gradient(circle, rgba(233, 172, 200, 0.54), rgba(233, 172, 200, 0));
}

.public-hero__stats,
.public-kpi-grid,
.catalog-summary,
.public-card-grid,
.profile-proof,
.packages-preview,
.faq-grid {
    display: grid;
    gap: 16px;
}

.public-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.public-stat {
    padding: 18px;
    border: 1px solid rgba(36, 29, 24, 0.06);
    border-radius: 24px;
    background: rgba(249, 242, 232, 0.72);
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background-color 0.32s ease;
}

.public-stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.8rem;
    letter-spacing: -0.05em;
}

.public-stat span {
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.public-preview {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.public-preview::before,
.public-preview::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
    opacity: 0.58;
}

.public-preview::before {
    top: 10%;
    left: 1%;
    width: 128px;
    height: 128px;
    background: radial-gradient(circle, rgba(205, 223, 132, 0.62), rgba(205, 223, 132, 0));
}

.public-preview::after {
    right: 1%;
    bottom: 5%;
    width: 168px;
    height: 168px;
    background: radial-gradient(circle, rgba(239, 179, 201, 0.64), rgba(239, 179, 201, 0));
}

.app-mockup {
    --mockup-accent: #e7c89f;
    --mockup-accent-strong: #845f3f;
    --mockup-accent-soft: rgba(231, 200, 159, 0.24);
    --mockup-accent-line: rgba(229, 194, 154, 0.34);
    --mockup-surface: rgba(248, 240, 229, 0.94);
    --mockup-surface-soft: rgba(242, 232, 219, 0.82);
    --mockup-surface-border: rgba(228, 192, 153, 0.28);
    --mockup-side-accent-start: rgba(227, 181, 136, 0.3);
    --mockup-side-accent-end: rgba(201, 210, 150, 0.22);
    --mockup-right-accent-strong: rgba(243, 214, 184, 0.24);
    --mockup-right-accent-soft: rgba(223, 229, 189, 0.12);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 420px);
    height: 408px;
    border: 1px solid rgba(241, 228, 211, 0.9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 12%, rgba(236, 246, 196, 0.22), transparent 34%),
        radial-gradient(circle at 82% 82%, rgba(243, 202, 218, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(249, 241, 231, 0.98), rgba(243, 233, 222, 0.96));
    box-shadow:
        0 26px 58px rgba(138, 106, 83, 0.08),
        0 6px 18px rgba(255, 255, 255, 0.55);
    overflow: hidden;
    animation: appWindowFloat 9.6s ease-in-out infinite;
    will-change: transform;
}

.app-mockup::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 252, 0), rgba(248, 240, 230, 0.1)),
        radial-gradient(circle at 76% 18%, rgba(248, 225, 198, 0.16), transparent 38%);
}

.app-mockup__chrome,
.app-mockup__toolbar,
.app-widget__top,
.app-list__item,
.app-chat__message,
.app-widget__actions,
.final-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-mockup__chrome {
    display: grid;
    grid-template-columns: minmax(58px, 1fr) auto minmax(58px, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 12px;
    padding: 15px 18px 12px;
    background: linear-gradient(180deg, rgba(246, 236, 225, 0.96), rgba(240, 229, 216, 0.9));
    border-bottom: 1px solid rgba(236, 223, 208, 0.42);
}

.app-mockup__traffic {
    display: inline-flex;
    gap: 6px;
    justify-self: start;
}

.app-mockup__traffic span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.app-mockup__traffic span:nth-child(1) {
    background: #f39a96;
}

.app-mockup__traffic span:nth-child(2) {
    background: #f3ca78;
}

.app-mockup__traffic span:nth-child(3) {
    background: #8bcf8f;
}

.app-mockup__title,
.app-mockup__status,
.app-widget__eyebrow,
.app-progress__label {
    color: var(--color-text-soft);
    font-size: 0.74rem;
    font-weight: var(--font-weight-heading-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-mockup__toolbar {
    padding: 10px 18px 12px;
    flex-wrap: wrap;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(244, 235, 225, 0.84), rgba(238, 228, 216, 0.74));
    border-bottom: 1px solid rgba(236, 223, 208, 0.32);
}

.app-mockup__tabs {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-mockup__tab {
    min-height: 31px;
    padding: 0 13px;
    border: 1px solid rgba(232, 212, 189, 0.7);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(270deg, rgba(227, 181, 136, 0.16), rgba(227, 181, 136, 0.06) 40%, rgba(227, 181, 136, 0) 78%),
        linear-gradient(180deg, rgba(244, 236, 225, 0.96), rgba(239, 229, 217, 0.9));
    color: rgba(118, 94, 74, 0.82);
    font-size: 0.82rem;
    font-weight: var(--font-weight-heading-soft);
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(249, 241, 232, 0.5);
    transition:
        background-color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        color var(--transition-base),
        transform var(--transition-base);
}

.app-mockup__tab.is-active {
    border-color: rgba(224, 204, 180, 0.86);
    background:
        linear-gradient(270deg, rgba(227, 181, 136, 0.22), rgba(227, 181, 136, 0.1) 44%, rgba(227, 181, 136, 0) 78%),
        linear-gradient(180deg, rgba(243, 232, 219, 0.99), rgba(236, 225, 211, 0.94));
    color: var(--mockup-accent-strong);
    box-shadow:
        0 8px 18px rgba(176, 136, 98, 0.1);
}

.app-mockup__body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    padding: 16px 18px 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 14%, rgba(248, 225, 198, 0.14), transparent 34%),
        radial-gradient(circle at 12% 88%, rgba(236, 210, 184, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(248, 240, 229, 0.48), rgba(243, 233, 222, 0.34));
}

.app-mockup__stage {
    position: relative;
    height: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
}

.app-mockup__panel {
    position: absolute;
    inset: 0;
    display: grid;
    opacity: 0;
    transform: translateX(10px) translateY(8px) scale(0.99);
    pointer-events: none;
    transition:
        opacity 0.52s ease,
        transform 0.52s ease;
    overflow: hidden;
}

.app-mockup__panel.is-active {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    pointer-events: auto;
}

.app-mockup__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: 100%;
    align-content: start;
}

.app-mockup__stack {
    display: grid;
    gap: 12px;
    height: 100%;
    align-content: start;
}

.app-dashboard,
.app-planner,
.app-conversation {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px;
    height: 100%;
    align-content: start;
    min-height: 0;
}

.app-conversation {
    grid-template-rows: 1fr;
}

.app-conversation > .app-widget--wide {
    height: 100%;
    min-height: 0;
}

.app-panel-grid,
.app-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    min-height: 0;
}

.app-dashboard .app-panel-grid {
    grid-auto-rows: minmax(116px, 1fr);
    align-items: stretch;
}

.app-dashboard .app-panel-grid > .app-widget {
    height: 100%;
}

.app-dashboard .app-panel-grid > .app-widget,
.app-planner .app-panel-grid > .app-widget {
    gap: 10px;
    padding: 15px 16px;
    border-radius: 18px;
}

.app-planner__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.app-widget {
    display: grid;
    gap: 12px;
    padding: 16px 17px;
    border-radius: 22px;
    position: relative;
    background: linear-gradient(180deg, var(--mockup-surface), var(--mockup-surface-soft));
    border: 1px solid var(--mockup-surface-border);
    box-shadow:
        0 10px 22px rgba(140, 108, 85, 0.035),
        inset 0 1px 0 rgba(255, 248, 240, 0.42);
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    align-content: start;
}

.app-widget::before,
.app-progress-preview__item::before,
.app-mini-row::before,
.app-list__item::before,
.app-chat__message::before,
.app-thread::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 28%;
    border-radius: inherit;
    background: linear-gradient(
        270deg,
        var(--mockup-right-accent-strong) 0%,
        var(--mockup-right-accent-soft) 46%,
        rgba(249, 242, 232, 0) 100%
    );
    opacity: 0.32;
    pointer-events: none;
}

.app-widget--compact {
    grid-template-rows: auto auto auto;
    gap: 6px;
    padding: 13px 14px;
    min-height: 0;
}

.app-widget--primary {
    background: linear-gradient(180deg, var(--mockup-surface), var(--mockup-surface-soft));
}

.app-dashboard .app-panel-grid > .app-widget:nth-child(1),
.app-planner .app-panel-grid > .app-widget:nth-child(1) {
    background: linear-gradient(180deg, var(--mockup-surface), var(--mockup-surface-soft));
}

.app-dashboard .app-panel-grid > .app-widget:nth-child(2),
.app-planner .app-panel-grid > .app-widget:nth-child(2) {
    background: linear-gradient(180deg, var(--mockup-surface), var(--mockup-surface-soft));
}

.app-widget--wide {
    grid-column: 1 / -1;
    min-height: 118px;
    padding: 18px 18px 16px;
}

.app-widget__title {
    font-size: 0.96rem;
    line-height: 1.22;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.app-dashboard .app-widget--wide .app-widget__title,
.app-planner .app-widget--wide .app-widget__title {
    font-size: 1.02rem;
}

.app-widget--compact .app-widget__title {
    font-size: 0.84rem;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.app-widget__text {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.34;
    font-size: 0.75rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.app-widget__text--inline {
    display: block;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    font-size: 0.74rem;
}

.app-dashboard .app-panel-grid > .app-widget .app-widget__title,
.app-planner .app-panel-grid > .app-widget .app-widget__title {
    font-size: 0.88rem;
    line-height: 1.16;
}

.app-dashboard .app-panel-grid > .app-widget .app-widget__text,
.app-planner .app-panel-grid > .app-widget .app-widget__text {
    font-size: 0.74rem;
    line-height: 1.24;
}

.app-dashboard .app-panel-grid > .app-widget .app-widget__eyebrow,
.app-planner .app-panel-grid > .app-widget .app-widget__eyebrow {
    font-size: 0.68rem;
}

.app-dashboard .app-widget--wide .app-widget__text,
.app-planner .app-panel-grid > .app-widget .app-widget__text,
.app-list__item span {
    display: none;
}

.app-dashboard .app-widget__text--inline + .app-widget__text--inline {
    margin-top: 2px;
}

.app-dashboard .app-widget__eyebrow,
.app-dashboard .app-chip,
.app-dashboard .soft-badge {
    white-space: nowrap;
}

.app-dashboard .app-widget--compact .app-widget__top {
    margin-bottom: 2px;
}

.app-dashboard .app-widget--progress-preview .app-widget__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
}

.app-dashboard .app-widget--progress-preview .app-widget__eyebrow {
    min-width: 0;
    white-space: normal;
    font-size: 0.72rem;
    line-height: 1.18;
    letter-spacing: 0.04em;
}

.app-dashboard .app-widget--progress-preview .soft-badge {
    align-self: start;
    margin-left: 0;
}

.app-widget--progress-preview {
    gap: 6px;
    align-content: start;
}

.app-chip,
.app-status-label {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 0 8px;
    border-radius: 999px;
    position: relative;
    background:
        linear-gradient(270deg, rgba(227, 181, 136, 0.52), rgba(227, 181, 136, 0.24) 42%, rgba(227, 181, 136, 0) 76%),
        linear-gradient(180deg, rgba(246, 226, 201, 0.99), rgba(235, 205, 170, 0.94));
    border: 1px solid rgba(219, 167, 113, 0.86);
    color: var(--mockup-accent-strong);
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow:
        inset -2px 0 0 rgba(227, 181, 136, 0.68),
        inset 0 1px 0 rgba(249, 251, 242, 0.72),
        0 4px 9px rgba(170, 129, 90, 0.12);
}

.soft-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    position: relative;
    background:
        linear-gradient(270deg, rgba(227, 181, 136, 0.52), rgba(227, 181, 136, 0.24) 42%, rgba(227, 181, 136, 0) 76%),
        linear-gradient(180deg, rgba(246, 226, 201, 0.99), rgba(235, 205, 170, 0.94));
    border: 1px solid rgba(219, 167, 113, 0.86);
    color: var(--mockup-accent-strong);
    font-size: 0.68rem;
    font-weight: 800;
    box-shadow:
        inset -2px 0 0 rgba(227, 181, 136, 0.68),
        inset 0 1px 0 rgba(249, 251, 242, 0.72),
        0 3px 8px rgba(170, 129, 90, 0.1);
}

.app-profile-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.app-profile-mini > div {
    min-width: 0;
}

.app-profile-mini__avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(243, 230, 214, 0.94), rgba(232, 220, 203, 0.92));
    border: 1px solid rgba(223, 203, 178, 0.58);
    font-weight: 800;
}

.app-profile-mini strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.84rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.2;
    white-space: normal;
}

.app-profile-mini span,
.app-list__item span,
.app-chat__message span,
.product-list li,
.app-shortcuts span,
.app-checklist span {
    color: var(--color-text-muted);
    line-height: 1.42;
    font-size: 0.74rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.app-profile-mini span {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.app-dashboard .app-widget--compact {
    align-content: start;
}

.app-mini-list {
    display: grid;
    gap: 7px;
}

.app-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 26px;
    padding: 5px 8px;
    border-radius: 10px;
    position: relative;
    background: linear-gradient(180deg, var(--mockup-surface), var(--mockup-surface-soft));
    border: 1px solid var(--mockup-surface-border);
    box-shadow:
        inset 0 1px 0 rgba(249, 249, 241, 0.6),
        0 5px 11px rgba(165, 127, 94, 0.07);
    min-width: 0;
    overflow: hidden;
}

.app-mini-row span {
    color: var(--color-text-soft);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex: 0 0 auto;
}

.app-mini-row strong {
    min-width: 0;
    max-width: 62%;
    flex: 0 1 62%;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: right;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.soft-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c5cb9a;
    box-shadow: 0 0 0 6px rgba(197, 203, 154, 0.34);
}

.app-progress {
    display: grid;
    gap: 8px;
}

.app-progress--compact {
    gap: 6px;
}

.app-progress__value {
    font-size: 1.08rem;
    letter-spacing: -0.06em;
}

.app-progress__label {
    display: block;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-progress__track {
    overflow: hidden;
    height: 9px;
    border-radius: 999px;
    background: rgba(234, 216, 194, 0.62);
}

.app-progress__bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(207, 215, 149, 0.96), rgba(227, 180, 133, 0.94));
}

.app-list,
.app-chat {
    display: grid;
    gap: 12px;
    min-height: 0;
}

.app-list__item,
.app-chat__message {
    padding: 12px 14px;
    border-radius: 18px;
    position: relative;
    background: linear-gradient(180deg, var(--mockup-surface), var(--mockup-surface-soft));
    border: 1px solid var(--mockup-surface-border);
    align-items: flex-start;
    box-shadow:
        inset 0 1px 0 rgba(243, 234, 222, 0.6),
        0 7px 14px rgba(157, 121, 90, 0.065);
    overflow: hidden;
}

.app-list__item strong,
.app-chat__message strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.84rem;
}

.app-list__time {
    margin-left: auto;
    align-self: center;
    font-size: 0.84rem;
    color: rgba(95, 72, 56, 0.88);
}

.app-chat__message {
    display: grid;
    justify-content: start;
    gap: 4px;
    max-width: 88%;
}

.app-chat__message span {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.app-chat__message.is-own {
    background:
        linear-gradient(270deg, rgba(227, 181, 136, 0.48), rgba(227, 181, 136, 0.2) 42%, rgba(227, 181, 136, 0) 74%),
        linear-gradient(180deg, rgba(247, 229, 206, 0.99), rgba(236, 208, 175, 0.93));
    border-color: rgba(219, 167, 113, 0.84);
    justify-self: end;
    box-shadow:
        inset -2px 0 0 rgba(227, 181, 136, 0.64),
        inset 0 1px 0 rgba(249, 252, 246, 0.74),
        0 8px 16px rgba(157, 121, 90, 0.12);
}

.app-chat__message.is-own strong,
.app-chat__message.is-own span {
    color: var(--mockup-accent-strong);
}

.app-chat__composer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 6px 8px 6px 14px;
    border: 1px solid rgba(223, 203, 178, 0.64);
    border-radius: 16px;
    background: rgba(243, 234, 222, 0.88);
    box-shadow: inset 0 1px 0 rgba(244, 236, 225, 0.76);
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

.app-chat__send {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mockup-accent-soft);
    color: var(--mockup-accent-strong);
    font-size: 0.88rem;
    font-weight: 800;
}

.app-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-chat__header strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.92rem;
}

.app-chat__header span {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.app-chat {
    min-height: 0;
}

.app-conversation .app-chat {
    margin-top: 6px;
    overflow: hidden;
    padding-right: 0;
    padding-top: 6px;
    gap: 8px;
    align-content: start;
}

.app-thread-list__items {
    display: grid;
    gap: 8px;
}

.app-thread {
    display: grid;
    gap: 2px;
    padding: 12px;
    border-radius: 16px;
    position: relative;
    background: linear-gradient(180deg, var(--mockup-surface), var(--mockup-surface-soft));
    border: 1px solid var(--mockup-surface-border);
    overflow: hidden;
}

.app-thread.is-active {
    background: linear-gradient(180deg, var(--mockup-surface), var(--mockup-surface-soft));
    border-color: var(--mockup-accent-line);
}

.app-thread.is-active::before,
.app-chat__message.is-own::before {
    opacity: 0.9;
}

.app-conversation > .app-widget--wide {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
    gap: 10px;
    padding: 12px;
}

.app-conversation .app-chat__header {
    display: none;
}

.app-conversation .app-chat__message {
    padding: 9px 11px;
}

.app-thread strong {
    font-size: 0.88rem;
}

.app-thread span {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.app-shortcuts,
.app-checklist,
.faq-list,
.product-list {
    display: grid;
    gap: 10px;
}

.app-shortcuts span,
.app-checklist span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(247, 240, 232, 0.74);
    font-weight: 700;
}

.review-card__rating {
    margin-bottom: 0;
    color: #d7853d;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: 0.1em;
    transition:
        transform 0.32s ease,
        opacity 0.32s ease;
}

.dashboard-preview {
    padding: 22px;
    border-radius: 28px;
    background: rgba(36, 29, 24, 0.92);
    color: #fff;
    box-shadow: 0 20px 40px rgba(36, 29, 24, 0.18);
}

.dashboard-preview__header,
.dashboard-preview__row,
.subject-cloud,
.catalog-chips,
.profile-tags,
.package-card__features,
.profile-review__meta,
.public-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-preview__header {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dashboard-preview__pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(249, 242, 232, 0.14);
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-preview__panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-preview__row {
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(249, 242, 232, 0.08);
}

.dashboard-preview__row strong {
    font-size: 0.96rem;
}

.dashboard-preview__row span {
    color: rgba(249, 242, 232, 0.72);
    font-size: 0.84rem;
}

.public-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.public-section-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.public-section-intro h2,
.public-page-hero__title,
.auth-copy h1,
.error-card__title {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 2.8vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.public-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.public-card {
    padding: 24px;
    border: 1px solid rgba(218, 201, 188, 0.5);
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(249, 242, 232, 0.96), rgba(249, 246, 241, 0.84));
    box-shadow: 0 18px 42px rgba(58, 37, 28, 0.05);
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background-color 0.32s ease;
}

@media (hover: hover) {
    .public-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 24px 42px rgba(58, 37, 28, 0.08);
        border-color: var(--landing-accent-line);
        background: rgba(249, 242, 232, 0.88);
    }

    .public-stat:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 34px rgba(58, 37, 28, 0.07);
        border-color: rgba(182, 187, 121, 0.24);
        background: rgba(249, 242, 232, 0.84);
    }

    .testimonial-card:hover {
        transform: translateY(-4px);
        border-color: rgba(203, 172, 137, 0.72);
        background:
            radial-gradient(circle at 88% 12%, rgba(233, 172, 200, 0.2), transparent 34%),
            linear-gradient(165deg, rgba(252, 248, 241, 0.97), rgba(247, 238, 226, 0.94));
        box-shadow:
            inset 0 1px 0 rgba(252, 248, 241, 0.78),
            inset 0 -20px 36px rgba(218, 224, 151, 0.1);
    }

    .public-card.testimonial-card:hover {
        box-shadow:
            inset 0 1px 0 rgba(249, 242, 232, 0.78),
            inset 0 -20px 36px rgba(218, 224, 151, 0.1);
    }

    .hero-offer-card:hover {
        border-color: rgba(213, 195, 167, 0.82);
        box-shadow:
            0 18px 30px rgba(58, 37, 28, 0.08),
            inset 0 1px 0 rgba(249, 242, 232, 0.8);
        background: linear-gradient(150deg, rgba(249, 242, 232, 0.96), rgba(249, 244, 239, 0.86));
    }

    .hero-offer-card:hover .hero-offer-card__label {
        transform: scale(1.03);
    }

    .hero-offer-card:hover::before {
        opacity: 0.98;
        animation: heroGlassSweep 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .hero-offer-card:hover::after {
        transform: translateX(12px) scale(1.15);
        opacity: 0.9;
    }

    .public-nav__links a:hover,
    .public-footer__links a:hover {
        color: var(--landing-accent-strong);
        opacity: 1;
    }

    .public-body .button--primary:hover {
        transform: translateY(-2px);
        background: linear-gradient(180deg, #cbd18e, #b4bc73);
        box-shadow:
            0 18px 32px rgba(182, 187, 121, 0.34),
            inset 0 1px 0 rgba(249, 242, 232, 0.38);
    }

    .public-body .button--secondary:hover {
        transform: translateY(-2px);
        border-color: var(--landing-accent-line);
        background: linear-gradient(180deg, rgba(244, 236, 225, 0.98), rgba(254, 243, 237, 0.96));
        box-shadow: 0 14px 28px rgba(233, 172, 200, 0.16);
    }

    .public-hero .public-actions .button[data-auth-role="tutor"]:hover,
    .final-cta-card__actions .button[data-auth-role="tutor"]:hover {
        transform: translateY(-2px);
        border-color: rgba(233, 172, 200, 0.52);
        background: linear-gradient(180deg, #f9d0e1, #edb7cf);
        box-shadow:
            0 18px 32px rgba(233, 172, 200, 0.34),
            inset 0 1px 0 rgba(249, 242, 232, 0.36);
    }

    .public-body .button--ghost:hover {
        transform: translateY(-1px);
        background: rgba(249, 242, 232, 0.92);
        border-color: var(--landing-accent-line);
        box-shadow: 0 10px 20px rgba(182, 187, 121, 0.14);
    }

    .public-nav__actions .button--ghost:hover {
        transform: translateY(-2px);
        border-color: rgba(183, 173, 131, 0.78);
        background: linear-gradient(180deg, rgba(233, 236, 193, 0.84), rgba(214, 220, 156, 0.76));
        box-shadow:
            0 16px 26px rgba(136, 131, 91, 0.24),
            inset 0 1px 0 rgba(249, 242, 232, 0.54);
    }

    .public-nav__actions .button--primary:hover {
        transform: translateY(-2px);
        border-color: rgba(220, 172, 196, 0.7);
        background: linear-gradient(180deg, rgba(249, 209, 225, 0.86), rgba(237, 184, 208, 0.78));
        box-shadow:
            0 18px 30px rgba(174, 123, 147, 0.22),
            inset 0 1px 0 rgba(249, 248, 252, 0.42);
    }

    .public-nav__actions .public-account-menu__trigger.button--ghost:hover {
        border-color: rgba(185, 190, 150, 0.6);
        background: linear-gradient(180deg, rgba(250, 252, 238, 0.72), rgba(243, 246, 222, 0.64));
        color: rgba(84, 90, 58, 0.9);
        box-shadow: none;
    }

    .app-mockup__tab:hover {
        transform: translateY(-1px);
        background:
            linear-gradient(270deg, rgba(227, 181, 136, 0.42), rgba(227, 181, 136, 0.16) 40%, rgba(227, 181, 136, 0) 72%),
            linear-gradient(180deg, rgba(248, 236, 220, 0.97), rgba(240, 221, 197, 0.93));
        border-color: rgba(221, 173, 123, 0.82);
        box-shadow:
            inset -2px 0 0 rgba(227, 181, 136, 0.58),
            0 8px 16px rgba(161, 130, 102, 0.14);
    }

    .faq-item:hover {
        transform: translateY(-6px);
        border-color: var(--landing-accent-line);
        box-shadow: 0 22px 38px rgba(58, 37, 28, 0.065);
        background: rgba(249, 242, 232, 0.9);
    }

    .faq-item__trigger:hover {
        background: rgba(249, 242, 232, 0.72);
        color: var(--landing-accent-strong);
        padding-left: 24px;
    }

    .faq-item__trigger:hover::after,
    .faq-item__trigger:hover::before {
        color: var(--landing-accent);
    }

    .faq-item__trigger:hover::after {
        transform: translateY(-50%) rotate(52deg) scale(1.04);
    }

    .faq-item.is-open .faq-item__trigger:hover::before {
        transform: translateY(-50%) rotate(-8deg) scale(1.03);
    }

    .benefit-card:hover {
        transform: translateY(-10px) scale(1.025);
        border-color: rgba(213, 196, 169, 0.82);
        background:
            linear-gradient(160deg, rgba(252, 247, 238, 0.99), rgba(249, 244, 238, 0.93));
        box-shadow:
            0 30px 54px rgba(58, 37, 28, 0.095),
            inset 0 1px 0 rgba(255, 255, 255, 0.62);
    }

    .testimonial-card:hover .testimonial-card__avatar {
        transform: scale(1.06) rotate(-2deg);
        box-shadow: 0 10px 18px rgba(233, 172, 200, 0.2);
    }

    .testimonial-card:hover .review-card__rating {
        transform: scale(1.03);
        opacity: 1;
    }

    .pricing-card:hover .pricing-card__cta {
        transform: translateY(-1px) scale(1.01);
        border-color: rgba(182, 187, 121, 0.52);
        background: linear-gradient(180deg, #d3da94, #bec779);
        box-shadow:
            0 16px 26px rgba(182, 187, 121, 0.26),
            inset 0 1px 0 rgba(249, 242, 232, 0.34);
        filter: saturate(1.05);
    }

    .pricing-card:hover,
    .pricing-card[data-reveal].is-revealed:hover,
    .pricing-card.is-featured:hover,
    .pricing-card.is-featured[data-reveal].is-revealed:hover {
        transform: translateY(-6px) scale(1.01);
        border-color: rgba(182, 187, 121, 0.48);
        box-shadow: 0 28px 48px rgba(58, 37, 28, 0.085);
        background: linear-gradient(160deg, rgba(249, 242, 232, 0.98), rgba(248, 250, 232, 0.92));
    }

    .pricing-card:hover::before {
        transform: translate(-6px, 8px) scale(1.08);
        opacity: 0.92;
    }

}

.public-card h3,
.catalog-card__name,
.profile-review__name,
.package-card--pricing h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
}

.public-card p,
.catalog-card__meta,
.catalog-card__about,
.profile-side-card__text,
.package-card__target,
.auth-bullet,
.faq-card p {
    color: var(--color-text-muted);
    line-height: 1.65;
}

.subject-cloud {
    gap: 12px;
}

.public-card-grid--steps,
.public-card-grid--features,
.audience-grid {
    display: grid;
    gap: 16px;
}

.public-card-grid--steps {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.public-card-grid--features {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.public-card-grid--reviews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    --stack-x: 0px;
    --stack-y: 0px;
    --stack-rotate: 0deg;
    transform-origin: center bottom;
    will-change: transform;
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-card h3,
.benefit-card p {
    transition:
        color 0.28s ease,
        opacity 0.28s ease;
}

.benefit-card__visual {
    position: relative;
    display: grid;
    place-items: center;
    height: clamp(188px, 14.2vw, 224px);
    min-height: 188px;
    aspect-ratio: 16 / 10;
    margin-bottom: 22px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    border-radius: 24px;
    border: 1px solid rgba(226, 212, 196, 0.72);
    background:
        linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(247, 239, 228, 0.94)),
        linear-gradient(180deg, rgba(252, 248, 243, 0.98), rgba(247, 240, 232, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -24px 42px rgba(216, 199, 179, 0.12),
        0 14px 28px rgba(58, 37, 28, 0.055);
}

.benefit-card__visual::before,
.benefit-card__visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 3;
    border-radius: inherit;
}

.benefit-card__visual::before {
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 34%, rgba(255, 244, 220, 0.16) 66%, transparent),
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 48%, rgba(135, 108, 83, 0.08));
    opacity: 0.48;
    transform: none;
}

.benefit-card__visual::after {
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow:
        inset 0 0 0 1px rgba(110, 89, 72, 0.035),
        inset 0 20px 34px rgba(255, 255, 255, 0.18);
    opacity: 0.9;
}

.benefit-card__visual > img,
.benefit-card__visual > picture,
.benefit-card__visual > video {
    position: absolute;
    inset: 7px;
    z-index: 1;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    border-radius: 19px;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: saturate(0.98) contrast(0.99) brightness(1.01);
    transform: translate3d(0, 0, 0) scale(1.035);
    backface-visibility: hidden;
}

.benefit-card__visual--target {
    background:
        linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(247, 239, 228, 0.94)),
        linear-gradient(180deg, rgba(252, 248, 243, 0.98), rgba(247, 240, 232, 0.94));
}

.benefit-card__visual--format {
    background:
        linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(247, 239, 228, 0.94)),
        linear-gradient(180deg, rgba(252, 248, 243, 0.98), rgba(247, 240, 232, 0.94));
}

.benefit-card__visual--progress {
    background:
        linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(247, 239, 228, 0.94)),
        linear-gradient(180deg, rgba(252, 248, 243, 0.98), rgba(247, 240, 232, 0.94));
}

.benefit-card__visual--tools {
    background:
        linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(247, 239, 228, 0.94)),
        linear-gradient(180deg, rgba(252, 248, 243, 0.98), rgba(247, 240, 232, 0.94));
}

.audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    transition:
        grid-template-columns 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.audience-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    --scenario-slide: 0px;
    transform-origin: center center;
    will-change: transform;
}

.audience-card::before {
    content: "";
    position: absolute;
    inset: auto -14% -22% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    opacity: 0.48;
    pointer-events: none;
    filter: blur(14px);
    z-index: 0;
}

.audience-card--student::before {
    background: radial-gradient(circle, rgba(218, 224, 151, 0.62), rgba(218, 224, 151, 0));
}

.audience-card--tutor::before {
    background: radial-gradient(circle, rgba(233, 172, 200, 0.58), rgba(233, 172, 200, 0));
}

.audience-card > * {
    position: relative;
    z-index: 1;
}

.audience-card__media {
    display: grid;
    gap: 12px;
    align-self: stretch;
}

.audience-card__icon {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 268px;
    padding: 0;
    overflow: hidden;
    align-self: stretch;
    border-radius: 28px;
    background: transparent;
    box-shadow: 0 16px 30px rgba(58, 37, 28, 0.08);
}

.audience-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 268px;
    border-radius: 28px;
    object-fit: cover;
    object-position: center top;
    transform: translate3d(0, 0, 0) scale(1.04);
    transform-origin: center center;
    backface-visibility: hidden;
}

.audience-card--student .audience-card__icon img {
    object-position: center 22%;
}

.audience-card--tutor .audience-card__icon img {
    object-position: center 16%;
}

.audience-card__content {
    display: grid;
    align-content: center;
    gap: 10px;
}

.audience-card__content h3,
.audience-card .public-eyebrow--compact,
.audience-card .product-list li {
    transition:
        color 0.28s ease,
        opacity 0.28s ease;
}

.scenario-section {
    gap: 34px;
}

.scenario-section .public-section-intro {
    margin-bottom: 6px;
}

.scenario-flip-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.62fr) minmax(520px, 1fr);
    gap: clamp(22px, 3vw, 46px);
    align-items: center;
}

.scenario-flip-copy {
    display: grid;
    align-content: center;
    gap: 16px;
    min-height: 360px;
}

.scenario-flip-copy h3 {
    max-width: 560px;
    margin: 0;
    font-family: "Great Vibes";
    font-size: clamp(3.35rem, 6.1vw, 6.45rem);
    font-weight: 400;
    line-height: 0.94;
    color: var(--color-text);
}

.scenario-title-line {
    display: block;
    white-space: nowrap;
}

.scenario-flip-copy p {
    max-width: 460px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.scenario-role-switch {
    --switch-button-width: 132px;
    --switch-gap: 6px;
    --switch-travel: calc(var(--switch-button-width) + var(--switch-gap));
    --switch-motion: 0.58s;
    --switch-motion-ease: cubic-bezier(0.34, 0.96, 0.36, 1);
    --switch-height: 40px;
    --switch-blob-x: 0px;
    --switch-blob-fill: linear-gradient(180deg, rgba(218, 224, 151, 0.78), rgba(246, 239, 218, 0.88));
    --switch-blob-shadow: rgba(142, 137, 91, 0.16);
    position: relative;
    display: inline-flex;
    width: fit-content;
    gap: var(--switch-gap);
    margin-top: 8px;
    padding: 6px;
    border: 1px solid rgba(218, 201, 188, 0.58);
    border-radius: 999px;
    background: rgba(249, 242, 232, 0.72);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 14px 30px rgba(58, 37, 28, 0.055);
}

.scenario-role-switch__filter {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.scenario-role-switch__blob-layer {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    left: 6px;
    z-index: 0;
    pointer-events: none;
}

.scenario-role-switch__liquid {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.scenario-role-switch__liquid-body {
    filter: url("#scenarioSwitchGoo");
}

.scenario-role-switch__liquid-shape {
    fill: url("#scenarioSwitchLiquidGradient");
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    will-change: opacity, transform;
}

.scenario-role-switch__liquid-shape--source {
    opacity: 1;
    transform: scale(1);
}

.scenario-role-switch__liquid-shape--stream {
    transform-origin: left center;
    transform: scaleX(0.04);
}

.scenario-role-switch__liquid-shape--target {
    transform: scale(0.2, 0.92);
}

.scenario-flip-layout.is-flipped .scenario-role-switch__liquid-shape--source {
    opacity: 0;
    transform: scale(0.2, 0.92);
}

.scenario-flip-layout.is-flipped .scenario-role-switch__liquid-shape--target {
    opacity: 1;
    transform: scale(1);
}

.scenario-flip-layout.is-flipped .scenario-role-switch {
    --switch-blob-x: var(--switch-travel);
    --switch-blob-fill: linear-gradient(180deg, rgba(249, 209, 225, 0.86), rgba(237, 184, 208, 0.8));
    --switch-blob-shadow: rgba(174, 123, 147, 0.18);
}

.scenario-flip-layout.is-flipping-forward .scenario-role-switch__liquid-shape--source {
    animation: scenarioLiquidSourceForward var(--switch-motion) var(--switch-motion-ease) both;
}

.scenario-flip-layout.is-flipping-back .scenario-role-switch__liquid-shape--source {
    animation: scenarioLiquidTargetBack var(--switch-motion) var(--switch-motion-ease) both;
}

.scenario-flip-layout.is-flipping-forward .scenario-role-switch__liquid-shape--stream {
    transform-origin: left center;
    animation: scenarioLiquidStreamForward var(--switch-motion) var(--switch-motion-ease) both;
}

.scenario-flip-layout.is-flipping-back .scenario-role-switch__liquid-shape--stream {
    transform-origin: right center;
    animation: scenarioLiquidStreamBack var(--switch-motion) var(--switch-motion-ease) both;
}

.scenario-flip-layout.is-flipping-forward .scenario-role-switch__liquid-shape--target {
    animation: scenarioLiquidTargetForward var(--switch-motion) var(--switch-motion-ease) both;
}

.scenario-flip-layout.is-flipping-back .scenario-role-switch__liquid-shape--target {
    animation: scenarioLiquidSourceBack var(--switch-motion) var(--switch-motion-ease) both;
}

.scenario-role-switch__button {
    position: relative;
    z-index: 3;
    width: var(--switch-button-width);
    min-height: var(--switch-height);
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(68, 52, 46, 0.72);
    cursor: pointer;
    font-family: "Unbounded";
    font-size: 0.82rem;
    font-weight: var(--font-weight-heading-soft);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.28s ease,
        color 0.28s ease,
        box-shadow 0.28s ease;
}

.scenario-role-switch__button.is-active {
    color: #4e5330;
}

.scenario-flip-layout.is-flipped .scenario-role-switch__button.is-active {
    color: #7e4f66;
}

.scenario-flip-stage {
    position: relative;
    min-height: 420px;
    perspective: 1800px;
}

.scenario-flip-card {
    --scenario-card-lift: 0px;
    --scenario-card-rotation: 0deg;
    position: relative;
    width: 100%;
    min-height: 420px;
    cursor: pointer;
    outline: none;
    transform: translateZ(0);
}

.scenario-flip-layout.is-flipped .scenario-flip-card {
    --scenario-card-rotation: 180deg;
}

.scenario-flip-card:focus-visible {
    border-radius: 30px;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.scenario-flip-card__inner {
    position: absolute;
    inset: 0;
    height: 100%;
    transform-style: preserve-3d;
    transform: translate3d(0, var(--scenario-card-lift), 0) rotateY(var(--scenario-card-rotation));
    transform-origin: center center;
    transition: transform 1.02s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.scenario-flip-card__face {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 420px;
    margin: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    pointer-events: none;
    opacity: 1;
    will-change: transform;
    transition:
        box-shadow 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease;
}

.scenario-flip-card__face--front {
    transform: rotateY(0deg) translateZ(1px);
}

.scenario-flip-card__face--back {
    transform: rotateY(180deg) translateZ(1px);
}

.scenario-flip-layout.is-flipped .scenario-flip-card__face--front {
    transform: rotateY(0deg) translateZ(1px);
}

.scenario-flip-layout.is-flipped .scenario-flip-card__face--back {
    transform: rotateY(180deg) translateZ(1px);
}

.scenario-flip-card .audience-card {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 30px;
    min-height: 420px;
    padding: 30px;
    border-radius: 30px;
    box-shadow:
        0 26px 58px rgba(58, 37, 28, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.scenario-flip-card .audience-card__icon {
    min-height: 318px;
}

.scenario-flip-card .audience-card__icon img {
    min-height: 318px;
}

.scenario-flip-card .audience-card__media {
    grid-column: 1;
    grid-row: 1;
}

.scenario-flip-card .audience-card__content {
    gap: 12px;
    grid-column: 2;
    grid-row: 1;
}

.scenario-flip-card .product-list {
    gap: 18px;
}

.scenario-card-hint {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    margin-top: 14px;
    min-height: 28px;
    padding: 0 11px 0 7px;
    border: 1px solid rgba(218, 201, 188, 0.58);
    border-radius: 999px;
    background: rgba(249, 242, 232, 0.74);
    color: rgba(87, 64, 57, 0.68);
    font-size: 0.82rem;
    line-height: 1.25;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.scenario-card-hint__icon {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(218, 224, 151, 0.2);
}

.scenario-card-hint__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    overflow: visible;
}

.scenario-card-hint__icon path {
    fill: none;
    stroke: rgba(78, 83, 48, 0.78);
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.scenario-card-hint__ring {
    opacity: 0.55;
}

.scenario-flip-layout.is-flipped .scenario-card-hint__icon {
    background: rgba(233, 172, 200, 0.22);
}

.scenario-flip-layout.is-flipped .scenario-card-hint__icon path {
    stroke: rgba(126, 79, 102, 0.78);
}

.scenario-flip-layout.is-flipped .scenario-card-hint {
    color: rgba(112, 70, 91, 0.72);
}

.public-eyebrow--compact {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 0.72rem;
}

.product-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.product-list li {
    position: relative;
    padding-left: 18px;
}

.product-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--landing-accent);
}

.pricing-note {
    margin: 0;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    width: fit-content;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(218, 224, 151, 0.48), rgba(249, 236, 223, 0.86));
    color: #6c7040;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(249, 242, 232, 0.5);
}

.pricing-layout {
    display: grid;
    gap: 18px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pricing-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(222, 205, 191, 0.66);
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(249, 242, 232, 0.98), rgba(249, 247, 241, 0.88));
    box-shadow: 0 18px 40px rgba(58, 37, 28, 0.055);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background-color 0.32s ease,
        background 0.36s ease;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: -28px;
    right: -34px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(233, 172, 200, 0.3), rgba(233, 172, 200, 0));
    opacity: 0.7;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.34s ease;
    z-index: 0;
}

.pricing-card > * {
    position: relative;
    z-index: 1;
}

.pricing-card.is-featured {
    border-color: var(--landing-accent-line);
    background:
        linear-gradient(155deg, rgba(249, 242, 232, 0.98), rgba(248, 250, 232, 0.92));
    box-shadow: 0 22px 42px rgba(182, 187, 121, 0.14);
}

.pricing-card__head {
    display: grid;
    gap: 10px;
}

.pricing-card__head h3,
.pricing-card__price,
.pricing-card__footer {
    transition:
        color 0.28s ease;
}

.pricing-card__badge,
.testimonial-card__tag,
.testimonial-card__subject,
.pricing-card__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(249, 240, 228, 0.9), rgba(248, 243, 220, 0.92));
    color: rgba(84, 63, 49, 0.88);
    font-size: 0.8rem;
    font-weight: 800;
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.28s ease,
        color 0.28s ease;
    box-shadow: inset 0 1px 0 rgba(249, 242, 232, 0.48);
}

.pricing-card__head h3 {
    margin: 0;
    font-size: 1.2rem;
}

.pricing-card__head p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 0;
}

.pricing-card__price::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 6px;
    pointer-events: none;
    opacity: 0.9;
    background: no-repeat center / 100% 100%
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3.7 C12 3.2 26 2.3 40 3.0 C56 3.8 72 4.2 88 3.6 C105 3.0 122 2.2 140 2.8 C156 3.4 173 4.2 190 3.7 C207 3.1 224 2.3 242 2.9 C258 3.5 273 4.2 289 3.8 C300 3.5 310 3.1 320 3.6' fill='none' stroke='%23dcc9ae' stroke-width='1.25' stroke-linecap='round'/%3E%3C/svg%3E");
}

.pricing-card__price strong {
    font-size: 2rem;
    letter-spacing: -0.06em;
    line-height: 1;
}

.pricing-card__price span {
    color: var(--color-text-muted);
    font-size: 0.86rem;
    line-height: 1;
    margin-bottom: 0;
    white-space: nowrap;
}

.pricing-card__badge,
.pricing-card__label {
    border: 1px solid rgba(182, 187, 121, 0.42);
    background: linear-gradient(180deg, rgba(214, 222, 166, 0.76), rgba(193, 205, 133, 0.66));
    color: #5d6538;
    box-shadow: inset 0 1px 0 rgba(249, 242, 232, 0.45);
}

.pricing-card__features {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pricing-card__features li {
    position: relative;
    padding-left: 18px;
    color: var(--color-text-muted);
    line-height: 1.55;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--landing-accent);
}

.pricing-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto minmax(8.1em, auto) auto;
    gap: 16px;
    height: 100%;
    min-width: 0;
    border: 1px solid rgba(213, 190, 165, 0.62);
    background:
        radial-gradient(circle at 88% 12%, rgba(233, 172, 200, 0.16), transparent 32%),
        linear-gradient(165deg, rgba(251, 247, 240, 0.96), rgba(245, 236, 223, 0.93));
    box-shadow:
        inset 0 1px 0 rgba(252, 248, 241, 0.74),
        inset 0 -18px 34px rgba(218, 224, 151, 0.09);
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background-color 0.32s ease;
}

.public-card.testimonial-card {
    box-shadow:
        inset 0 1px 0 rgba(249, 242, 232, 0.74),
        inset 0 -18px 34px rgba(218, 224, 151, 0.09);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    left: -24px;
    bottom: -26px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.46;
    filter: blur(9px);
    background: radial-gradient(circle, rgba(205, 199, 121, 0.34), rgba(205, 199, 121, 0));
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-card__top {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
}

.testimonial-card__footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 34px;
    overflow: hidden;
}

.testimonial-card__tag,
.testimonial-card__subject {
    flex: 0 1 auto;
    max-width: min(58%, 220px);
    min-width: 0;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(205, 173, 133, 0.7);
    background: linear-gradient(145deg, rgba(246, 231, 208, 0.92), rgba(236, 211, 178, 0.9));
    box-shadow: inset -1px 0 0 rgba(205, 173, 133, 0.34);
    color: rgba(104, 73, 44, 0.92);
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-card__avatar {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    aspect-ratio: 1;
    border: 1px solid rgba(249, 242, 232, 0.72);
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(205, 199, 121, 0.66), rgba(242, 215, 225, 0.72));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        0 10px 18px rgba(83, 61, 48, 0.08);
    font-weight: 800;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.testimonial-card__avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 250, 241, 0.12), transparent 46%),
        linear-gradient(180deg, rgba(249, 242, 232, 0.08), rgba(91, 67, 54, 0.08));
    box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.18);
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    display: block;
    transform: scale(1.2);
    filter: saturate(0.96) contrast(0.98);
}

.testimonial-card__meta {
    display: grid;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.testimonial-card__meta strong {
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-card__meta span {
    overflow: hidden;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-card__rating {
    justify-self: end;
    white-space: nowrap;
}

.testimonial-card p {
    min-height: 8.1em;
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.62;
    padding-top: 2px;
}

.reviews-nav {
    display: none;
}

.reviews-slider {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 10px 8px 8px;
    margin: 0 -8px;
    background: transparent;
}

.public-body .reviews-slider {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.public-body .reviews-slider::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.reviews-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 3);
    gap: 18px;
    align-items: stretch;
    padding-bottom: 0;
}

.reviews-track > * {
    scroll-snap-align: start;
}

.subject-chip,
.catalog-chip,
.profile-tag,
.metric-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 999px;
    background: rgba(249, 242, 232, 0.78);
    font-size: 0.88rem;
    font-weight: 700;
}

.subject-chip.is-accent,
.package-badge.is-accent {
    background: var(--landing-accent-soft);
    border-color: var(--landing-accent-line);
}

.catalog-layout,
.profile-layout,
.auth-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.4fr);
    gap: 20px;
    align-items: start;
}

.catalog-filters,
.profile-side-card,
.auth-card,
.faq-card,
.comparison-card {
    padding: 22px;
}

.catalog-filters {
    position: sticky;
    top: 104px;
}

.catalog-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.catalog-range {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-range__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.catalog-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-summary__item {
    padding: 16px 18px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 22px;
    background: rgba(249, 242, 232, 0.74);
}

.catalog-summary__item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.catalog-summary__item span {
    color: var(--color-text-muted);
    font-size: 0.84rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 28px;
    background: rgba(249, 242, 232, 0.76);
}

.catalog-card__top,
.catalog-card__price-row,
.profile-hero__meta,
.profile-side-card__actions,
.package-card__footer,
.auth-demo-grid,
.error-card__actions,
.public-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-card__avatar {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(205, 199, 121, 0.75), rgba(242, 215, 225, 0.95));
    font-size: 1.1rem;
    font-weight: 800;
}

.catalog-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(205, 199, 121, 0.24);
    color: #5b6030;
    font-size: 0.84rem;
    font-weight: 800;
}

.catalog-card__price {
    font-size: 1.55rem;
    letter-spacing: -0.05em;
}

.catalog-card__price span {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.catalog-card__trial-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(205, 199, 121, 0.38);
    border-radius: 14px;
    background: rgba(205, 199, 121, 0.12);
    color: #5f6535;
    font-size: 0.86rem;
}

.catalog-card__trial-price strong {
    color: var(--color-text);
    font-family: var(--font-family-heading);
    font-size: 1rem;
}

.catalog-empty {
    padding: 24px;
    border: 1px dashed rgba(36, 29, 24, 0.16);
    border-radius: 24px;
    text-align: center;
    color: var(--color-text-muted);
}

.public-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.75fr);
    gap: 18px;
    padding: 28px;
}

.public-page-hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.public-page-hero__fact {
    padding: 16px;
    border: 1px solid rgba(36, 29, 24, 0.06);
    border-radius: 22px;
    background: rgba(249, 242, 232, 0.74);
}

.public-page-hero__fact strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.25rem;
}

.profile-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.82fr);
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-section-card,
.profile-side-card,
.comparison-card,
.faq-card,
.auth-card,
.error-card {
    border: 1px solid rgba(249, 242, 232, 0.68);
    border-radius: 28px;
    background: rgba(244, 236, 225, 0.78);
    box-shadow: 0 18px 38px rgba(58, 37, 28, 0.08);
}

.profile-section-card {
    padding: 22px;
}

.profile-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-proof__item {
    padding: 16px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 22px;
    background: rgba(249, 242, 232, 0.74);
}

.profile-proof__item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.4rem;
}

.profile-list,
.profile-schedule,
.package-card__features {
    padding: 0;
    margin: 0;
    list-style: none;
}

.profile-list li,
.profile-schedule li {
    position: relative;
    padding-left: 18px;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.profile-list li::before,
.profile-schedule li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent-pink);
}

.profile-review-grid,
.packages-grid-public,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-review {
    padding: 18px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 22px;
    background: rgba(249, 242, 232, 0.74);
}

.profile-review__meta {
    justify-content: flex-start;
    margin-bottom: 10px;
}

.profile-review__meta span,
.package-card__label,
.comparison-row span,
.comparison-row small {
    color: var(--color-text-muted);
    font-size: 0.84rem;
}

.profile-review__result {
    margin-top: 12px;
    color: #55683a;
    font-size: 0.86rem;
    font-weight: 800;
}

.profile-side-card {
    position: sticky;
    top: 104px;
}

.profile-side-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 14px 0;
}

.profile-side-card__price strong {
    font-size: 2rem;
    letter-spacing: -0.05em;
}

.profile-side-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 22px;
}

.profile-side-card__slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 18px;
    background: rgba(249, 242, 232, 0.8);
}

.packages-preview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.package-card--pricing {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 28px;
    background: rgba(249, 242, 232, 0.78);
}

.package-card--pricing.is-featured {
    position: relative;
    border-color: var(--landing-accent-line);
    box-shadow: 0 24px 42px rgba(182, 187, 121, 0.14);
}

.package-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: fit-content;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(205, 199, 121, 0.24);
    color: #55683a;
    font-size: 0.8rem;
    font-weight: 800;
}

.package-card__price {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.package-card__price strong {
    font-size: 2.2rem;
    letter-spacing: -0.06em;
}

.package-card__price del {
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.package-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-card__features li {
    position: relative;
    padding-left: 18px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.package-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--landing-accent);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.faq-list {
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(36, 29, 24, 0.06);
    border-radius: 24px;
    background: rgba(249, 242, 232, 0.8);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(58, 37, 28, 0.04);
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background-color 0.32s ease;
}

.faq-item__trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 20px 52px 20px 22px;
    border: 0;
    background: transparent;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        padding-left var(--transition-base);
}

.faq-item__trigger::before,
.faq-item__trigger::after {
    position: absolute;
    top: 50%;
    right: 18px;
    color: var(--color-text-soft);
    font-size: 1.2rem;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        color 0.32s ease;
}

.faq-item__trigger::after {
    content: "+";
    transform: translateY(-50%) rotate(45deg) scale(1);
    opacity: 1;
}

.faq-item__trigger::before {
    content: "?";
    transform: translateY(-50%) rotate(-34deg) scale(0.4);
    opacity: 0;
}

.faq-item.is-open .faq-item__trigger::after {
    transform: translateY(-50%) rotate(92deg) scale(0.42);
    opacity: 0;
}

.faq-item.is-open .faq-item__trigger::before {
    transform: translateY(-50%) rotate(0deg) scale(1);
    opacity: 1;
}

.faq-item__content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease;
}

.faq-item.is-open .faq-item__content {
    max-height: 460px;
    opacity: 1;
}

.faq-item__body {
    padding: 0 22px 0;
    min-height: 0;
    transition: padding-bottom 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-item__body {
    padding-bottom: 20px;
}

.faq-item__body p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.65;
    opacity: 1;
}

.final-cta-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-top: 8px;
    padding: 28px;
    border: 1px solid rgba(218, 201, 188, 0.54);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 18%, rgba(218, 224, 151, 0.32), transparent 28%),
        radial-gradient(circle at 88% 30%, rgba(233, 172, 200, 0.28), transparent 30%),
        linear-gradient(145deg, rgba(249, 242, 232, 0.98), rgba(249, 245, 239, 0.9));
    box-shadow: 0 18px 36px rgba(58, 37, 28, 0.06);
    align-items: flex-end;
}

.final-cta-card::before,
.final-cta-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
    z-index: 0;
}

.final-cta-card::before {
    top: -24px;
    right: 12%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(233, 172, 200, 0.36), rgba(233, 172, 200, 0));
}

.final-cta-card::after {
    bottom: -48px;
    left: -12px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(218, 224, 151, 0.38), rgba(218, 224, 151, 0));
}

.final-cta-card > * {
    position: relative;
    z-index: 1;
}

.final-cta-card h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.final-cta-card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.final-cta-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.final-cta-card__actions .button {
    width: 320px;
    min-width: 320px;
    justify-content: center;
}

.public-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 16px;
    overflow-y: auto;
}

.public-modal[hidden] {
    display: none;
}

.public-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 18, 14, 0.28);
    backdrop-filter: blur(10px);
}

.public-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: none;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(249, 242, 232, 0.82);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(249, 244, 235, 0.98), rgba(244, 236, 225, 0.94)),
        rgba(244, 236, 225, 0.96);
    box-shadow:
        0 30px 70px rgba(58, 37, 28, 0.16),
        inset 0 1px 0 rgba(255, 250, 241, 0.62);
}

.public-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(36, 29, 24, 0.1);
    border-radius: 12px;
    background: rgba(249, 242, 232, 0.94);
    color: var(--color-text);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base),
        background-color var(--transition-base);
}

.public-modal__close:hover {
    transform: translateY(-1px) scale(1.02);
    border-color: var(--landing-accent-line);
    background: rgba(249, 242, 232, 1);
    box-shadow: 0 14px 24px rgba(182, 187, 121, 0.16);
}

.public-modal__close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.public-modal__view {
    display: none;
}

.public-modal__view.is-active {
    display: block;
    animation: appPanelFade 0.32s ease both;
}

.public-modal__dialog h2 {
    margin: 0 0 10px;
    padding-right: 52px;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    letter-spacing: -0.04em;
}

.public-modal__lead {
    margin: 0 0 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.public-modal__form {
    display: grid;
    gap: 12px;
}

.public-body .form-field__label {
    color: rgba(46, 37, 34, 0.94);
    font-size: 0.96rem;
    line-height: 1.25;
}

.public-body .input,
.public-body .textarea,
.public-body .select {
    border-color: rgba(188, 165, 142, 0.34);
    background-color: rgba(244, 235, 222, 0.74);
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.46),
        inset 0 -10px 18px rgba(214, 196, 174, 0.08);
}

.public-body .input:focus,
.public-body .textarea:focus,
.public-body .select:focus {
    border-color: rgba(176, 183, 111, 0.56);
    background-color: rgba(248, 241, 230, 0.94);
    box-shadow:
        0 0 0 4px rgba(182, 187, 121, 0.22),
        inset 0 1px 0 rgba(255, 250, 241, 0.58);
}

.public-modal .input,
.public-modal .textarea {
    border-color: rgba(188, 165, 142, 0.4);
    background:
        linear-gradient(180deg, rgba(247, 239, 228, 0.96), rgba(239, 229, 215, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.54),
        0 8px 18px rgba(58, 37, 28, 0.035);
}

.public-modal .input:focus,
.public-modal .textarea:focus {
    border-color: rgba(176, 183, 111, 0.6);
    background:
        linear-gradient(180deg, rgba(250, 243, 232, 0.98), rgba(242, 234, 220, 0.94));
    box-shadow:
        0 0 0 4px rgba(182, 187, 121, 0.2),
        inset 0 1px 0 rgba(255, 250, 241, 0.62);
}

.public-body .input:autofill,
.public-body .textarea:autofill,
.public-body .select:autofill {
    color: var(--color-text);
    caret-color: var(--color-text);
    border-color: rgba(176, 183, 111, 0.56);
    background: rgba(244, 235, 222, 0.9);
}

.public-body .input:-webkit-autofill,
.public-body .input:-webkit-autofill:hover,
.public-body .input:-webkit-autofill:focus,
.public-body .textarea:-webkit-autofill,
.public-body .textarea:-webkit-autofill:hover,
.public-body .textarea:-webkit-autofill:focus,
.public-body .select:-webkit-autofill,
.public-body .select:-webkit-autofill:hover,
.public-body .select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-text);
    caret-color: var(--color-text);
    border-color: rgba(176, 183, 111, 0.56);
    box-shadow:
        0 0 0 1000px rgba(244, 235, 222, 0.94) inset,
        0 0 0 4px rgba(182, 187, 121, 0.18),
        inset 0 1px 0 rgba(255, 250, 241, 0.58);
    transition:
        background-color 9999s ease-in-out 0s,
        color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.public-body .input[aria-invalid="true"] {
    border-color: rgba(233, 142, 173, 0.72);
    box-shadow:
        0 0 0 4px rgba(233, 172, 200, 0.16),
        inset 0 1px 0 rgba(255, 250, 241, 0.52);
}

.public-body .input.is-password-match {
    border-color: rgba(164, 173, 91, 0.74);
    box-shadow:
        0 0 0 4px rgba(182, 187, 121, 0.18),
        inset 0 1px 0 rgba(255, 250, 241, 0.58);
}

.public-body .input.is-password-valid {
    border-color: rgba(164, 173, 91, 0.66);
}

.password-checklist {
    --password-progress: 0%;
    display: grid;
    gap: 8px;
    margin-top: -3px;
}

.password-checklist__bar {
    position: relative;
    display: block;
    height: 8px;
    overflow: hidden;
    border: 1px solid rgba(188, 165, 142, 0.3);
    border-radius: 999px;
    background: rgba(232, 221, 203, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.48),
        inset 0 -5px 10px rgba(190, 169, 144, 0.08);
}

.password-checklist__fill {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--password-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(196, 183, 151, 0.58), rgba(216, 205, 179, 0.62));
    transition:
        width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.24s ease,
        opacity 0.24s ease;
}

.password-checklist__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.password-checklist__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(188, 165, 142, 0.32);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(247, 239, 228, 0.86), rgba(236, 224, 208, 0.68));
    color: var(--color-text-soft);
    font-family: "Alice";
    font-size: 0.82rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
}

.password-checklist__item::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: rgba(188, 165, 142, 0.56);
    box-shadow: 0 0 0 3px rgba(188, 165, 142, 0.08);
    transition:
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.password-checklist.is-short .password-checklist__fill {
    background: linear-gradient(90deg, rgba(233, 172, 200, 0.82), rgba(242, 151, 160, 0.76));
}

.password-checklist.is-length-valid .password-checklist__fill,
.password-checklist.is-complete .password-checklist__fill {
    background: linear-gradient(90deg, rgba(164, 173, 91, 0.88), rgba(218, 224, 151, 0.96));
}

.password-checklist.is-mismatch .password-checklist__fill {
    background: linear-gradient(90deg, rgba(233, 172, 200, 0.82), rgba(242, 151, 160, 0.76));
}

.password-checklist__item.is-done {
    border-color: rgba(164, 173, 91, 0.5);
    background:
        linear-gradient(180deg, rgba(228, 232, 166, 0.5), rgba(210, 218, 128, 0.32));
    color: #69723f;
    box-shadow: inset 0 1px 0 rgba(255, 250, 241, 0.46);
}

.password-checklist__item.is-done::before {
    background: rgba(164, 173, 91, 0.92);
    box-shadow: 0 0 0 3px rgba(182, 187, 121, 0.16);
}

.password-checklist__item.is-error {
    border-color: rgba(233, 142, 173, 0.48);
    background:
        linear-gradient(180deg, rgba(250, 229, 238, 0.74), rgba(239, 200, 216, 0.42));
    color: #8c4f68;
}

.password-checklist__item.is-error::before {
    background: rgba(233, 142, 173, 0.92);
    box-shadow: 0 0 0 3px rgba(233, 172, 200, 0.16);
}

.public-modal__form--register {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
    align-items: start;
}

.public-modal__form--register > input[type="hidden"],
.public-modal__form--register > .password-checklist,
.public-modal__form--register .form-field--full,
.public-modal__form--register .lesson-feedback,
.public-modal__form--register .button-group,
.public-modal__form--register .public-modal__hint {
    grid-column: 1 / -1;
}

.public-modal__form > .lesson-feedback {
    order: -1;
}

.public-modal__switch {
    width: 100%;
    margin-top: 18px;
    border-color: rgba(177, 184, 112, 0.52);
    background:
        linear-gradient(180deg, rgba(232, 236, 185, 0.74), rgba(214, 220, 155, 0.62)),
        rgba(249, 242, 232, 0.78);
    color: #4f5632;
    box-shadow:
        0 12px 24px rgba(135, 130, 90, 0.16),
        inset 0 1px 0 rgba(255, 250, 241, 0.48);
}

.public-modal__switch:hover {
    border-color: rgba(171, 178, 103, 0.72);
    background:
        linear-gradient(180deg, rgba(238, 242, 194, 0.86), rgba(204, 211, 139, 0.74)),
        rgba(249, 242, 232, 0.86);
    color: #454d2b;
    box-shadow:
        0 16px 28px rgba(135, 130, 90, 0.22),
        inset 0 1px 0 rgba(255, 250, 241, 0.58);
}

.public-modal__hint {
    margin: 2px 0 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.public-body .lesson-feedback {
    margin: 0;
    color: #8c4f68;
    font-family: "Alice";
    font-size: 0.94rem;
    line-height: 1.35;
}

.public-body .lesson-feedback:empty {
    display: none;
}

.public-body .lesson-feedback:not(:empty) {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(233, 142, 173, 0.34);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(250, 229, 238, 0.7), rgba(239, 200, 216, 0.34)),
        rgba(249, 242, 232, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.48),
        0 8px 18px rgba(120, 78, 89, 0.05);
}

.public-body .lesson-feedback:not(:empty)::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(233, 142, 173, 0.92);
    box-shadow: 0 0 0 4px rgba(233, 172, 200, 0.14);
}

.public-modal__text-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--landing-accent-strong);
    font-weight: 700;
    cursor: pointer;
    transition:
        color var(--transition-base),
        opacity var(--transition-base);
}

.public-modal__text-link:hover {
    color: var(--landing-accent);
}

.public-modal__text-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
    border-radius: 8px;
}

.subject-multiselect {
    position: relative;
    display: grid;
    gap: 10px;
}

.subject-multiselect__control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    padding: 10px;
    border: 1px solid rgba(188, 165, 142, 0.36);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(247, 239, 228, 0.94), rgba(239, 229, 215, 0.86));
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.5),
        0 8px 18px rgba(58, 37, 28, 0.03);
    cursor: text;
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        background-color var(--transition-base);
}

.subject-multiselect:focus-within .subject-multiselect__control {
    border-color: rgba(176, 183, 111, 0.6);
    box-shadow:
        0 0 0 4px rgba(182, 187, 121, 0.2),
        inset 0 1px 0 rgba(255, 250, 241, 0.62);
    background:
        linear-gradient(180deg, rgba(250, 243, 232, 0.98), rgba(242, 234, 220, 0.94));
}

.subject-multiselect__chips {
    flex: 0 1 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    max-width: 58%;
    min-height: 0;
    max-height: 30px;
    overflow-x: hidden;
    overflow-y: hidden;
    scrollbar-color: rgba(166, 171, 102, 0.56) transparent;
    scrollbar-width: thin;
}

.subject-multiselect.is-empty .subject-multiselect__chips {
    display: none;
}

.subject-choice-chip,
.subject-selection-summary {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    max-width: 100%;
    padding: 0 7px 0 10px;
    border-radius: 999px;
    background: var(--landing-accent-soft);
    border: 1px solid var(--landing-accent-line);
    color: var(--landing-accent-strong);
    font-size: 0.82rem;
    font-weight: 700;
}

.subject-selection-summary {
    flex: 1 1 auto;
    min-width: 0;
}

.subject-selection-summary strong,
.subject-selection-summary span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.subject-selection-summary strong {
    flex: 0 0 auto;
}

.subject-selection-summary span {
    flex: 1 1 auto;
    color: rgba(99, 105, 57, 0.78);
}

.subject-choice-chip__remove {
    position: relative;
    display: grid;
    flex: 0 0 18px;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(249, 242, 232, 0.92);
    color: var(--landing-accent-strong);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.subject-choice-chip__remove::before,
.subject-choice-chip__remove::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.subject-choice-chip__remove::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.subject-choice-chip__remove::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.subject-choice-chip__remove:hover {
    background: rgba(249, 242, 232, 1);
}

.subject-multiselect__search {
    flex: 1 1 180px;
    min-width: 0;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--color-text);
    font-size: 0.95rem;
    padding: 2px;
}

.subject-multiselect__search:focus {
    outline: none;
}

.subject-multiselect__search::placeholder {
    color: var(--color-text-soft);
}

.subject-multiselect__toggle {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(176, 183, 111, 0.46);
    border-radius: 12px;
    background: rgba(249, 242, 232, 0.72);
    color: var(--landing-accent-strong);
    cursor: pointer;
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        background-color var(--transition-base);
}

.subject-multiselect__toggle::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--transition-base);
}

.subject-multiselect__toggle:hover {
    border-color: var(--landing-accent-line);
    background: rgba(249, 242, 232, 0.96);
    box-shadow: 0 8px 18px rgba(123, 132, 69, 0.12);
}

.subject-multiselect__toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(182, 187, 121, 0.24);
}

.subject-multiselect.is-open .subject-multiselect__toggle::before {
    transform: translateY(2px) rotate(-135deg);
}

.subject-multiselect__list {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    bottom: auto;
    left: 0;
    z-index: 32;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 104px;
    overflow-y: auto;
    scrollbar-color: rgba(166, 171, 102, 0.68) rgba(237, 226, 210, 0.7);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    padding: 8px 10px 10px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(247, 239, 228, 0.98), rgba(240, 230, 216, 0.96));
    box-shadow:
        0 16px 28px rgba(58, 37, 28, 0.08),
        inset 0 1px 0 rgba(255, 250, 241, 0.52);
}

.subject-multiselect__list::-webkit-scrollbar {
    width: 12px;
}

.subject-multiselect__list::-webkit-scrollbar-track {
    margin: 8px 0;
    border-radius: 999px;
    background: rgba(232, 221, 203, 0.72);
}

.subject-multiselect__list::-webkit-scrollbar-thumb {
    border: 3px solid rgba(232, 221, 203, 0.72);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(188, 194, 126, 0.9), rgba(135, 144, 78, 0.76));
}

.subject-multiselect__list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(203, 210, 141, 0.96), rgba(122, 132, 68, 0.86));
}

.subject-multiselect.is-open .subject-multiselect__list {
    display: grid;
    animation: appPanelFade 0.24s ease both;
}

.subject-option {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 12px;
    background: rgba(249, 242, 232, 0.88);
    color: var(--color-text);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        background-color var(--transition-base);
}

.subject-option:hover {
    transform: translateY(-1px);
    border-color: var(--landing-accent-line);
    box-shadow: 0 10px 20px rgba(182, 187, 121, 0.12);
}

.subject-option.is-selected {
    border-color: var(--landing-accent-line);
    background: var(--landing-accent-soft);
    color: var(--landing-accent-strong);
}

.subject-option__mark {
    min-width: 14px;
    text-align: right;
}

.subject-multiselect__empty {
    grid-column: 1 / -1;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px dashed rgba(36, 29, 24, 0.12);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.pricing-card__cta {
    min-width: 126px;
    width: 100%;
    border-color: var(--landing-accent-line);
    background: linear-gradient(180deg, #c8cd8a, #b4bc73);
    color: #2e2522;
    box-shadow: 0 12px 24px rgba(182, 187, 121, 0.22);
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.28s ease,
        border-color 0.28s ease,
        filter 0.28s ease;
}

.pricing-card .button--secondary {
    border-color: var(--landing-accent-line);
    background: linear-gradient(180deg, #c8cd8a, #b4bc73);
    color: #2e2522;
}

.pricing-card.is-featured .button--primary {
    border-color: var(--landing-accent-line);
}

.pricing-card.is-featured:not(:hover) .pricing-card__badge,
.pricing-card.is-featured:not(:hover) .pricing-card__label {
    border: 1px solid rgba(182, 187, 121, 0.42);
    background: linear-gradient(180deg, rgba(214, 222, 166, 0.76), rgba(193, 205, 133, 0.66));
    color: #5d6538;
    box-shadow: inset 0 1px 0 rgba(249, 242, 232, 0.45);
}

.pricing-card .pricing-card__cta:hover {
    background: linear-gradient(180deg, #d0d694, #bcc47b);
}

.pricing-card:hover .pricing-card__features li {
    transform: none;
}

#pricing {
    position: relative;
    isolation: auto;
    overflow: visible;
    --pricing-glass-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='.11'%3E%3Ccircle cx='6' cy='7' r='.9'/%3E%3Ccircle cx='22' cy='14' r='.7'/%3E%3Ccircle cx='39' cy='10' r='.8'/%3E%3Ccircle cx='58' cy='18' r='.7'/%3E%3Ccircle cx='72' cy='9' r='.8'/%3E%3Ccircle cx='12' cy='30' r='.7'/%3E%3Ccircle cx='31' cy='27' r='.9'/%3E%3Ccircle cx='47' cy='34' r='.7'/%3E%3Ccircle cx='67' cy='29' r='.8'/%3E%3Ccircle cx='8' cy='50' r='.8'/%3E%3Ccircle cx='25' cy='47' r='.7'/%3E%3Ccircle cx='43' cy='56' r='.9'/%3E%3Ccircle cx='61' cy='49' r='.7'/%3E%3Ccircle cx='74' cy='60' r='.8'/%3E%3Ccircle cx='18' cy='68' r='.7'/%3E%3Ccircle cx='36' cy='72' r='.8'/%3E%3Ccircle cx='54' cy='66' r='.7'/%3E%3Ccircle cx='69' cy='74' r='.9'/%3E%3Ccircle cx='14' cy='12' r='.55'/%3E%3Ccircle cx='28' cy='6' r='.5'/%3E%3Ccircle cx='51' cy='12' r='.55'/%3E%3Ccircle cx='63' cy='24' r='.5'/%3E%3Ccircle cx='18' cy='40' r='.5'/%3E%3Ccircle cx='37' cy='43' r='.55'/%3E%3Ccircle cx='56' cy='38' r='.5'/%3E%3Ccircle cx='11' cy='61' r='.55'/%3E%3Ccircle cx='29' cy='63' r='.5'/%3E%3Ccircle cx='49' cy='58' r='.55'/%3E%3Ccircle cx='63' cy='69' r='.5'/%3E%3Ccircle cx='9' cy='20' r='.42'/%3E%3Ccircle cx='33' cy='18' r='.38'/%3E%3Ccircle cx='44' cy='24' r='.42'/%3E%3Ccircle cx='70' cy='34' r='.38'/%3E%3Ccircle cx='5' cy='67' r='.4'/%3E%3Ccircle cx='24' cy='54' r='.38'/%3E%3Ccircle cx='41' cy='66' r='.42'/%3E%3Ccircle cx='58' cy='52' r='.38'/%3E%3C/g%3E%3C/svg%3E");
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#pricing::before {
    content: none;
}

#pricing > * {
    position: relative;
    z-index: 1;
}

#pricing .public-section-intro h2 {
    display: block;
    color: var(--color-text);
    margin-bottom: 18px;
}

#pricing .pricing-note {
    order: 3;
    align-self: center;
    margin: 0;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    width: fit-content;
    max-width: min(100%, 860px);
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(182, 187, 121, 0.34);
    background: linear-gradient(135deg, rgba(218, 224, 151, 0.48), rgba(249, 236, 223, 0.86));
    color: #6c7040;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(249, 242, 232, 0.5);
}

#pricing .pricing-grid {
    order: 2;
    position: relative;
    isolation: auto;
    margin-top: 16px;
    gap: 14px;
    padding-top: 34px;
}

#pricing .pricing-grid::before {
    content: "Тарифы";
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center;
    font-family: "Unbounded";
    font-size: clamp(4.2rem, 13vw, 8.4rem);
    font-weight: var(--font-weight-heading);
    line-height: 0.8;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: rgba(226, 156, 189, 0.46);
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

#pricing .pricing-grid::after {
    content: none;
    position: absolute;
    inset: -20px -10px -8px;
    pointer-events: none;
    z-index: 0;
}

#pricing .pricing-card,
#pricing .pricing-card.is-featured {
    position: relative;
    z-index: 2;
    overflow: hidden;
    isolation: auto;
    min-height: 390px;
    grid-template-rows: auto auto 1fr auto;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background:
        var(--pricing-glass-noise),
        linear-gradient(180deg, rgba(249, 242, 232, 0.52), rgba(249, 242, 232, 0.34)) !important;
    background-image:
        var(--pricing-glass-noise),
        linear-gradient(180deg, rgba(249, 242, 232, 0.52), rgba(249, 242, 232, 0.34)) !important;
    background-size: 68px 68px, 100% 100%;
    background-repeat: repeat, no-repeat;
    background-position: 0 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        0 10px 22px rgba(83, 61, 48, 0.024);
    backdrop-filter: blur(3px) saturate(1.04);
    -webkit-backdrop-filter: blur(3px) saturate(1.04);
}

#pricing .pricing-card::after {
    content: none;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

#pricing .pricing-card::before {
    content: none;
    position: absolute;
    top: -36px;
    right: -34px;
    left: auto;
    transform: translate3d(0, 0, 0) scale(1);
    width: 144px;
    height: 144px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    transition:
        transform 0.62s cubic-bezier(0.18, 0.85, 0.28, 1),
        opacity 0.42s ease,
        filter 0.42s ease;
}

#pricing .pricing-card > * {
    position: relative;
    z-index: 2;
}

#pricing .pricing-card.is-featured::after {
    content: none;
}

#pricing .pricing-card__head h3 {
    color: rgba(64, 46, 37, 0.96);
}

#pricing .pricing-card__head p {
    color: rgba(92, 69, 55, 0.82);
    font-size: 0.9rem;
}

#pricing .pricing-card__badge {
    border: 1px solid rgba(155, 124, 102, 0.12);
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.86), rgba(249, 242, 232, 0.74));
    color: rgba(82, 60, 47, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 8px 18px rgba(83, 61, 48, 0.055);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#pricing .pricing-card__price {
    padding-bottom: 14px;
}

#pricing .pricing-card__price strong {
    color: rgba(59, 43, 35, 0.96);
    font-size: 2.2rem;
}

#pricing .pricing-card__price span {
    color: rgba(98, 74, 60, 0.78);
}

#pricing .pricing-card__price::after {
    height: 1px;
    opacity: 1;
    background: linear-gradient(90deg, rgba(155, 124, 102, 0), rgba(155, 124, 102, 0.42), rgba(155, 124, 102, 0));
}

#pricing .pricing-card__features li {
    color: rgba(86, 65, 53, 0.9);
    padding-left: 16px;
}

#pricing .pricing-card__features li::before {
    width: 6px;
    height: 6px;
    top: 10px;
    background: radial-gradient(circle, rgba(244, 215, 122, 0.92), rgba(182, 187, 121, 0.84));
    box-shadow: 0 0 7px rgba(182, 187, 121, 0.24);
}

#pricing .pricing-card__footer {
    display: block;
    margin-top: 6px;
}

#pricing .pricing-card__label {
    display: none;
}

#pricing .pricing-card__cta {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    background: linear-gradient(180deg, #c8cd8a, #b4bc73);
    border: 1px solid rgba(182, 187, 121, 0.58);
    color: #2e2522;
    box-shadow:
        inset 0 1px 0 rgba(227, 221, 186, 0.42),
        0 10px 18px rgba(182, 187, 121, 0.24);
}

#pricing .pricing-card.is-featured .pricing-card__cta {
    background: linear-gradient(180deg, #c8cd8a, #b4bc73);
    border-color: rgba(182, 187, 121, 0.58);
    color: #2e2522;
}

#pricing .pricing-card .pricing-card__cta:hover {
    background: linear-gradient(180deg, #d0d694, #bcc47b);
    border-color: rgba(182, 187, 121, 0.66);
    filter: brightness(1.02);
}

#pricing .pricing-card.is-featured .pricing-card__cta:hover {
    background: linear-gradient(180deg, #d0d694, #bcc47b);
}

#pricing .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        0 14px 30px rgba(83, 61, 48, 0.028);
    background:
        var(--pricing-glass-noise),
        linear-gradient(180deg, rgba(249, 242, 232, 0.58), rgba(249, 242, 232, 0.4)) !important;
    background-image:
        var(--pricing-glass-noise),
        linear-gradient(180deg, rgba(249, 242, 232, 0.58), rgba(249, 242, 232, 0.4)) !important;
    background-size: 64px 64px, 100% 100%;
    background-repeat: repeat, no-repeat;
    background-position: 0 0;
    backdrop-filter: blur(3px) saturate(1.05);
    -webkit-backdrop-filter: blur(3px) saturate(1.05);
}

#pricing .pricing-card:hover::after {
    content: none;
}

#pricing .pricing-card:hover::before {
    content: none;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.role-card {
    --role-accent: var(--landing-accent);
    --role-accent-strong: var(--landing-accent-strong);
    --role-bg: linear-gradient(150deg, rgba(248, 250, 229, 0.94), rgba(249, 242, 232, 0.9));
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    align-items: start;
    gap: 10px;
    min-height: 214px;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--role-accent) 42%, rgba(36, 29, 24, 0.08));
    border-radius: 24px;
    background: var(--role-bg);
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.58),
        0 14px 30px rgba(58, 37, 28, 0.055);
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color var(--transition-base),
        background-color var(--transition-base);
}

.role-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(125deg, rgba(255, 250, 241, 0.42), transparent 42%),
        linear-gradient(300deg, color-mix(in srgb, var(--role-accent) 24%, transparent), transparent 58%);
    opacity: 0.92;
}

.role-card--student {
    --role-accent: #b6bb79;
    --role-accent-strong: #69723f;
    --role-bg: linear-gradient(150deg, rgba(248, 251, 229, 0.96), rgba(245, 238, 226, 0.9));
}

.role-card--tutor {
    --role-accent: #e9acc8;
    --role-accent-strong: #8c4f68;
    --role-bg: linear-gradient(150deg, rgba(253, 238, 246, 0.96), rgba(246, 236, 225, 0.9));
}

.role-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--role-accent) 72%, rgba(36, 29, 24, 0.08));
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.68),
        0 22px 36px rgba(58, 37, 28, 0.09);
}

.role-card:focus-visible {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.68),
        0 0 0 4px color-mix(in srgb, var(--role-accent) 32%, transparent),
        0 22px 36px rgba(58, 37, 28, 0.09);
}

.role-card__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid color-mix(in srgb, var(--role-accent) 54%, rgba(255, 250, 241, 0.72));
    border-radius: 16px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--role-accent) 46%, rgba(255, 250, 241, 0.82)), rgba(255, 250, 241, 0.42));
    color: var(--role-accent-strong);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 12px 22px color-mix(in srgb, var(--role-accent) 20%, transparent);
}

.role-card__icon::before {
    content: "";
    width: 19px;
    height: 23px;
    border: 2px solid currentColor;
    border-radius: 5px;
    box-shadow: inset 5px 0 0 color-mix(in srgb, currentColor 18%, transparent);
}

.role-card--tutor .role-card__icon::before {
    width: 24px;
    height: 17px;
    border-radius: 6px;
    box-shadow: inset 0 -5px 0 color-mix(in srgb, currentColor 16%, transparent);
}

.role-card--tutor .role-card__icon::after {
    content: "";
    width: 14px;
    height: 2px;
    margin-top: -2px;
    border-radius: 999px;
    background: currentColor;
}

.role-card strong {
    color: var(--role-accent-strong);
    font-size: 1.08rem;
}

.role-card > span:not(.role-card__icon):not(.role-card__note) {
    color: var(--color-text-muted);
    line-height: 1.55;
}

.role-card__note {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid color-mix(in srgb, var(--role-accent) 48%, rgba(36, 29, 24, 0.08));
    border-radius: 999px;
    background: color-mix(in srgb, var(--role-accent) 20%, rgba(255, 250, 241, 0.74));
    color: var(--role-accent-strong);
    font-family: "Unbounded";
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(5px);
    transition:
        opacity 0.72s ease,
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.72s ease;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.benefit-card[data-reveal] {
    opacity: 0;
    transform: translate3d(var(--stack-x), var(--stack-y), 0) rotate(var(--stack-rotate)) scale(0.9);
    filter: blur(6px);
    transition:
        opacity 0.82s ease,
        transform 0.92s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.82s ease,
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background 0.32s ease;
}

.benefit-card[data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    filter: blur(0);
}

.audience-card[data-reveal] {
    opacity: 1;
    transform: translate3d(var(--scenario-slide), 14px, 0) scale(0.99);
    filter: saturate(0.94);
    transition:
        opacity 0.58s ease,
        transform 0.76s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.58s ease,
        box-shadow 0.44s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.34s ease,
        background 0.34s ease;
}

.audience-card[data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.audience-card--student {
    --scenario-slide: -18px;
}

.audience-card--tutor {
    --scenario-slide: 18px;
}

.public-card-grid--features .benefit-card:nth-child(1) {
    --stack-x: 342px;
    --stack-y: 44px;
    --stack-rotate: -8deg;
}

.public-card-grid--features .benefit-card:nth-child(2) {
    --stack-x: 116px;
    --stack-y: 24px;
    --stack-rotate: -3deg;
}

.public-card-grid--features .benefit-card:nth-child(3) {
    --stack-x: -116px;
    --stack-y: 24px;
    --stack-rotate: 3deg;
}

.public-card-grid--features .benefit-card:nth-child(4) {
    --stack-x: -342px;
    --stack-y: 44px;
    --stack-rotate: 8deg;
}

@media (hover: hover) {
    .scenario-role-switch__button:hover {
        transform: translateY(-1px);
        color: var(--landing-accent-strong);
    }

    .scenario-role-switch__button[data-scenario-side="tutor"]:hover {
        color: #7e4f66;
    }

    .scenario-flip-layout:not(.is-flipping) .scenario-flip-card:hover {
        --scenario-card-lift: -5px;
    }

    .scenario-flip-layout:not(.is-flipping):not(.is-flipped) .scenario-flip-card:hover .scenario-flip-card__face--front,
    .scenario-flip-layout.is-flipped:not(.is-flipping) .scenario-flip-card:hover .scenario-flip-card__face--back {
        border-color: rgba(213, 196, 169, 0.82);
        box-shadow:
            0 32px 62px rgba(58, 37, 28, 0.105),
            inset 0 1px 0 rgba(255, 255, 255, 0.68);
    }

    .audience-grid:has(.audience-card--student:hover) {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .audience-grid:has(.audience-card--tutor:hover) {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .audience-grid:hover .audience-card[data-reveal].is-revealed {
        opacity: 0.6;
        transform: scale(0.975);
        filter: saturate(0.88);
    }

    .audience-card[data-reveal].is-revealed:hover {
        opacity: 1;
        transform: translateY(-8px) scale(1.012);
        filter: none;
        z-index: 3;
        border-color: rgba(213, 196, 169, 0.82);
        background:
            linear-gradient(160deg, rgba(252, 247, 238, 0.99), rgba(249, 244, 238, 0.92));
        box-shadow:
            0 30px 54px rgba(58, 37, 28, 0.09),
            inset 0 1px 0 rgba(255, 255, 255, 0.58);
    }

    .benefit-card[data-reveal].is-revealed:hover {
        transform: translateY(-10px) scale(1.025);
        z-index: 3;
    }

    .public-card-grid--features:hover .benefit-card[data-reveal].is-revealed:not(:hover) {
        opacity: 0.58;
        transform: scale(0.965);
        filter: saturate(0.86);
    }
}

#features[data-reveal],
#features[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
}

.scenario-flip-layout[data-reveal],
.scenario-flip-layout[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
}

@keyframes scenarioLiquidSourceForward {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    36% {
        opacity: 0.9;
        transform: scale(0.96, 1);
    }
    68% {
        opacity: 0.34;
        transform: scale(0.66, 0.98);
    }
    100% {
        opacity: 0;
        transform: scale(0.2, 0.92);
    }
}

@keyframes scenarioLiquidSourceBack {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    36% {
        opacity: 0.9;
        transform: scale(0.96, 1);
    }
    68% {
        opacity: 0.34;
        transform: scale(0.66, 0.98);
    }
    100% {
        opacity: 0;
        transform: scale(0.2, 0.92);
    }
}

@keyframes scenarioLiquidStreamForward {
    0% {
        opacity: 0;
        transform: scaleX(0.03);
    }
    22% {
        opacity: 0.38;
        transform: scaleX(0.42);
    }
    48% {
        opacity: 0.78;
        transform: scaleX(1);
    }
    72% {
        opacity: 0.34;
        transform: scaleX(0.5);
    }
    100% {
        opacity: 0;
        transform: scaleX(0.04);
    }
}

@keyframes scenarioLiquidStreamBack {
    0% {
        opacity: 0;
        transform: scaleX(0.03);
    }
    22% {
        opacity: 0.38;
        transform: scaleX(0.42);
    }
    48% {
        opacity: 0.78;
        transform: scaleX(1);
    }
    72% {
        opacity: 0.34;
        transform: scaleX(0.5);
    }
    100% {
        opacity: 0;
        transform: scaleX(0.04);
    }
}

@keyframes scenarioLiquidTargetForward {
    0% {
        opacity: 0;
        transform: scale(0.2, 0.92);
    }
    32% {
        opacity: 0.2;
        transform: scale(0.44, 0.94);
    }
    66% {
        opacity: 0.88;
        transform: scale(1.05, 1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scenarioLiquidTargetBack {
    0% {
        opacity: 0;
        transform: scale(0.2, 0.92);
    }
    32% {
        opacity: 0.2;
        transform: scale(0.44, 0.94);
    }
    66% {
        opacity: 0.88;
        transform: scale(1.05, 1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.comparison-card h3,
.faq-card h3 {
    margin: 0 0 10px;
}

.comparison-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid rgba(36, 29, 24, 0.08);
}

.comparison-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.auth-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.auth-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-bullet {
    padding: 16px 18px;
    border: 1px solid rgba(36, 29, 24, 0.08);
    border-radius: 22px;
    background: rgba(249, 242, 232, 0.74);
}

.auth-bullet strong {
    display: block;
    margin-bottom: 6px;
    color: var(--color-text);
}

.auth-demo-grid {
    justify-content: flex-start;
}

.auth-demo-grid .button {
    min-width: 150px;
}

.auth-card {
    padding: 24px;
}

.auth-card .form-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.auth-card .form-field {
    margin-bottom: 14px;
}

.auth-form-footer {
    margin-top: 18px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.error-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 220px);
}

.error-card {
    width: min(860px, 100%);
    padding: 52px 56px;
    text-align: center;
}

.error-card__code {
    margin: 0 0 10px;
    font-size: clamp(4.8rem, 11vw, 8.5rem);
    letter-spacing: -0.08em;
}

.error-card__actions {
    justify-content: center;
    margin-top: 22px;
}

.legal-page {
    gap: 30px;
}

.legal-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.legal-card,
.legal-note {
    border: 1px solid rgba(249, 242, 232, 0.68);
    border-radius: 28px;
    background: rgba(244, 236, 225, 0.78);
    box-shadow: 0 18px 38px rgba(58, 37, 28, 0.08);
}

.legal-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px;
}

.legal-card h2 {
    margin: 0;
    font-family: "Unbounded";
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: var(--font-weight-heading);
    line-height: 1.14;
    letter-spacing: 0;
}

.legal-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.68;
}

.legal-note {
    display: grid;
    align-content: center;
    gap: 8px;
    min-height: 100%;
    padding: 24px;
}

.legal-note strong {
    font-family: "Unbounded";
    font-size: 1.35rem;
    font-weight: var(--font-weight-heading);
    line-height: 1.1;
    letter-spacing: 0;
}

.legal-note span,
.legal-note small {
    color: var(--color-text-muted);
    line-height: 1.5;
}

.legal-note small {
    color: var(--color-text-soft);
}

.legal-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    padding-left: 20px;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.58;
}

.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.66em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--landing-accent);
}

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.public-footer {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 22px;
    padding: 0;
    border: 1px solid rgba(255, 250, 241, 0.2);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255, 250, 241, 0.12), rgba(242, 233, 219, 0.06)),
        rgba(244, 236, 225, 0.055);
    box-shadow:
        0 12px 28px rgba(58, 37, 28, 0.02),
        inset 0 1px 0 rgba(255, 250, 241, 0.16);
}

.public-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 18px clamp(28px, 3vw, 42px);
}

.public-footer__side {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 20px;
    min-width: max-content;
}

.public-footer__copy {
    color: var(--color-text-muted);
    font-family: "Alice";
    font-size: 1rem;
    line-height: 1.5;
}

.public-footer__block {
    display: grid;
    align-content: start;
    row-gap: 12px;
    min-width: 0;
    min-height: 0;
    padding: 0;
}

.public-footer__block + .public-footer__block {
    border-left: 0;
}

.public-footer__nav-wrap {
    padding-left: 0;
}

.public-footer__meta {
    justify-items: end;
    padding-right: 0;
    transform: translateX(-264px);
}

.public-footer__heading {
    display: block;
    padding: 0;
    margin-bottom: 0;
    color: rgba(66, 49, 43, 0.68);
    font-family: "Unbounded";
    font-size: 0.7rem;
    font-weight: 500;
    font-variation-settings: "wght" 500;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.public-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 14px;
}

.public-footer__copy {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    white-space: nowrap;
}

.public-footer__meta .public-footer__row {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.public-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.public-footer__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(66, 49, 43, 0.08);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.28);
    color: rgba(66, 49, 43, 0.74);
    opacity: 1;
    font-family: "Alice";
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base),
        opacity var(--transition-base),
        transform var(--transition-base),
        text-decoration-color var(--transition-base);
}

.public-footer__links a:hover {
    border-color: rgba(182, 187, 121, 0.36);
    background: rgba(218, 224, 151, 0.18);
    color: var(--landing-accent-strong);
    opacity: 1;
    text-decoration: none;
    transform: translateY(-1px);
}

.public-footer__socials {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
}

.public-footer__social {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(66, 49, 43, 0.1);
    border-radius: 50%;
    background: rgba(255, 250, 241, 0.34);
    color: rgba(66, 49, 43, 0.72);
    line-height: 1;
    cursor: pointer;
    transition:
        background-color var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base),
        transform var(--transition-base);
}

.public-footer__social svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.public-footer__social:hover {
    border-color: var(--landing-accent-line);
    background: rgba(255, 250, 241, 0.42);
    color: var(--landing-accent-strong);
    transform: translateY(-1px);
}

.public-footer__social:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.public-scroll-top {
    position: fixed;
    right: clamp(16px, 2.6vw, 30px);
    bottom: clamp(16px, 3.4vh, 30px);
    z-index: 58;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(66, 49, 43, 0.12);
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.88), rgba(242, 233, 219, 0.82));
    color: rgba(86, 92, 50, 0.88);
    box-shadow:
        0 16px 32px rgba(58, 37, 28, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
    transition:
        opacity 0.24s ease,
        visibility 0.24s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color var(--transition-base),
        background-color var(--transition-base),
        color var(--transition-base),
        box-shadow var(--transition-base);
}

.public-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.public-scroll-top svg {
    width: 22px;
    height: 22px;
}

.public-scroll-top:hover {
    border-color: var(--landing-accent-line);
    color: var(--landing-accent-strong);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 20px 34px rgba(58, 37, 28, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.public-scroll-top:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px var(--focus-ring),
        0 16px 32px rgba(58, 37, 28, 0.1);
}

/* Landing Typography System */
.public-logo,
.public-logo__title,
.public-logo__subtitle,
.public-nav__links a,
.public-account-menu__trigger,
.public-account-menu__item,
.public-user-badge__meta strong,
.public-user-badge__meta span,
.public-hero__lead,
.public-page-hero__text,
.public-section-intro p,
.auth-copy p,
.error-card__text,
.public-card p,
.catalog-card__meta,
.catalog-card__about,
.profile-side-card__text,
.package-card__target,
.auth-bullet,
.faq-card p,
.hero-offer-card p,
.scenario-flip-copy p,
.scenario-card-hint,
.audience-card .product-list li,
.pricing-card__head p,
.pricing-card__features li,
.pricing-card__price span,
.testimonial-card p,
.testimonial-card__meta span,
.profile-review__meta,
.profile-review__meta span,
.public-footer__copy,
.public-footer__links a,
.comparison-card p,
.final-cta-card p,
.pricing-note,
.role-card span,
.public-modal__lead {
    font-family: "Alice";
    letter-spacing: 0;
}

.public-logo__title,
.public-nav__links a,
.public-account-menu__trigger,
.public-account-menu__item,
.public-user-badge__meta strong,
.public-body .button,
.public-footer__links a {
    font-weight: var(--font-weight-heading-soft);
}

.public-eyebrow,
.public-eyebrow--compact,
.hero-offer-card__label,
.pricing-card__badge,
.pricing-card__label,
.testimonial-card__tag,
.testimonial-card__subject,
.public-hero__title,
.public-section-intro h2,
.public-page-hero__title,
.auth-copy h1,
.error-card__title,
.public-card h3,
.catalog-card__name,
.package-card--pricing h3,
.benefit-card h3,
.audience-card__content h3,
.hero-offer-card strong,
.public-stat strong,
.pricing-card__head h3,
.pricing-card__price strong,
.testimonial-card__meta strong,
.comparison-card h3,
.faq-card h3,
.faq-item__trigger,
.final-cta-card h2,
.role-card strong,
.public-modal__dialog h2 {
    font-family: "Unbounded";
    letter-spacing: 0;
    font-weight: var(--font-weight-heading);
}

.public-eyebrow,
.public-eyebrow--compact,
.hero-offer-card__label,
.pricing-card__badge,
.pricing-card__label,
.testimonial-card__tag,
.testimonial-card__subject {
    font-weight: var(--font-weight-heading-soft);
    letter-spacing: 0.02em;
}

.public-body .button {
    font-family: var(--font-family-heading);
    font-weight: 300;
    font-variation-settings: "wght" 300;
    letter-spacing: 0;
}

.public-logo__title {
    font-family: var(--font-family-heading);
    font-size: 1.24rem;
    font-weight: var(--font-weight-heading-soft);
    line-height: 0.94;
    letter-spacing: 0.01em;
}

.app-mockup__title {
    font-family: var(--font-family-heading);
    color: rgba(63, 45, 32, 0.76);
    justify-self: center;
    font-size: 0.86rem;
    font-weight: var(--font-weight-heading-soft);
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.app-mockup__status {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 6px;
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(130, 145, 74, 0.36);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(249, 253, 231, 0.96), rgba(232, 239, 196, 0.74));
    color: rgba(78, 93, 41, 0.88);
    font-family: "Unbounded";
    font-size: 0.68rem;
    font-weight: var(--font-weight-heading-soft);
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 6px 12px rgba(95, 111, 47, 0.08);
}

.app-mockup__status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #82914a;
    box-shadow: 0 0 0 4px rgba(130, 145, 74, 0.12);
}

.app-widget__eyebrow,
.app-progress__label {
    font-family: "Unbounded";
    font-weight: var(--font-weight-heading-soft);
}

.app-mockup {
    font-family: "Alice";
}

.app-mockup {
    width: min(100%, 404px);
    height: auto;
    min-height: 332px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 250, 244, 0.2));
    box-shadow:
        0 18px 42px rgba(75, 50, 35, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(22px) saturate(118%);
}

.app-mockup::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: none;
    pointer-events: none;
}

.app-mockup::after {
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(247, 236, 225, 0.02));
}

.app-mockup__chrome {
    position: relative;
    z-index: 2;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 18px 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 250, 244, 0.12));
    border-bottom: 1px solid rgba(67, 49, 36, 0.045);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

.app-mockup__traffic span {
    border: 1px solid rgba(67, 49, 36, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 1px 2px rgba(67, 49, 36, 0.07);
}

.app-mockup__toolbar,
.app-mockup__stage,
.app-mockup__panel,
.app-widget,
.app-list,
.app-chat {
    display: none;
}

.app-mockup__body {
    position: relative;
    z-index: 1;
    padding: 16px 18px 18px;
    background: transparent;
}

.app-mockup__summary {
    display: grid;
    gap: 16px;
}

.app-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.app-summary-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 250, 244, 0.24));
    box-shadow:
        0 5px 14px rgba(91, 65, 47, 0.025),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(16px);
}

.app-summary-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 24%, rgba(230, 238, 193, 0.26), transparent 38%),
        radial-gradient(circle at 18% 82%, rgba(244, 209, 222, 0.2), transparent 42%);
    opacity: 0.18;
}

.app-summary-card--hero {
    min-height: 136px;
    padding: 20px 22px 18px;
    border-color: rgba(255, 255, 255, 0.5);
    background:
        linear-gradient(135deg, rgba(239, 246, 205, 0.22), rgba(255, 255, 255, 0.42) 48%, rgba(248, 214, 224, 0.1));
    box-shadow:
        inset 5px 0 0 rgba(242, 154, 150, 0.52),
        0 5px 14px rgba(91, 65, 47, 0.025),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.app-summary-card--stat {
    min-height: 112px;
    align-content: start;
    gap: 8px;
}

.app-summary-card--accent {
    border-color: rgba(255, 255, 255, 0.48);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(247, 218, 228, 0.28));
}

.app-summary-card__eyebrow {
    position: relative;
    z-index: 1;
    color: rgba(76, 59, 45, 0.74);
    font-family: var(--font-family-heading);
    font-size: 0.66rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-summary-card__value,
.app-summary-card__number {
    position: relative;
    z-index: 1;
    color: #2c211a;
    font-family: var(--font-family-heading);
    letter-spacing: 0;
}

.app-summary-card__value {
    font-size: 1.34rem;
    font-weight: 400;
    line-height: 1.14;
}

.app-summary-card__number {
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1;
}

.app-summary-card__text {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(70, 55, 43, 0.76);
    font-family: "Alice";
    font-size: 0.9rem;
    line-height: 1.34;
}

.app-summary-card--stat .app-summary-card__text {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(70, 55, 43, 0.68);
    font-size: 0.78rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.app-mockup__tab,
.app-widget__title,
.app-widget__text,
.app-profile-mini strong,
.app-profile-mini span,
.app-progress-preview__item span,
.app-progress-preview__item strong,
.app-chip,
.app-status-label,
.soft-badge,
.app-list__item strong,
.app-list__item span,
.app-chat__message strong,
.app-chat__message span,
.app-chat__header strong,
.app-chat__header span,
.app-thread strong,
.app-thread span,
.app-mini-row span,
.app-mini-row strong,
.app-chat__composer,
.app-shortcuts span,
.app-checklist span {
    font-family: "Alice";
    letter-spacing: 0;
    text-transform: none;
}

.audience-card .product-list li {
    font-size: 1.08rem;
    line-height: 1.78;
}

.pricing-card__head h3,
#pricing .pricing-card__head h3 {
    font-family: "Unbounded";
    font-size: 1.38rem;
    font-weight: var(--font-weight-heading);
    letter-spacing: 0;
    line-height: 1.04;
}

.public-logo__subtitle,
.public-user-badge__meta span,
.hero-offer-card p,
.testimonial-card p,
.pricing-card__head p,
.pricing-card__features li,
.comparison-card p,
.final-cta-card p,
.pricing-note {
    line-height: 1.62;
}

.public-header .public-nav__links a,
.public-header .public-nav__actions .button,
.public-header .public-nav__actions .public-account-menu__trigger,
.public-header .public-account-menu__item,
.public-header .public-menu-toggle {
    min-height: 44px;
    font-family: "Unbounded" !important;
    font-size: 0.9rem !important;
    font-weight: 300 !important;
    letter-spacing: 0 !important;
    line-height: 1;
}

@media (max-width: 1180px) {
    .public-hero,
    .public-page-hero,
    .catalog-layout,
    .profile-layout,
    .auth-layout,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .catalog-filters,
    .profile-side-card {
        position: static;
    }

    .packages-preview,
    .public-card-grid,
    .profile-proof,
    .comparison-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .scenario-flip-layout {
        grid-template-columns: 1fr;
    }

    .scenario-flip-copy {
        min-height: 0;
    }

    .final-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-footer__main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
        padding: 16px clamp(24px, 3vw, 34px);
    }

    .public-footer__meta {
        grid-column: auto;
        justify-items: end;
        padding: 0;
        border-left: 0;
        border-top: 0;
    }
}

@media (max-width: 1024px) {
    .public-menu-toggle {
        display: inline-flex;
    }

    .public-nav {
        align-items: flex-start;
    }

    .public-nav__menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid rgba(249, 242, 232, 0.72);
        border-radius: 24px;
        background: rgba(244, 236, 225, 0.92);
        box-shadow: 0 18px 38px rgba(58, 37, 28, 0.1);
    }

    .public-nav.is-open .public-nav__menu {
        display: flex;
    }

    .public-nav__links,
    .public-nav__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .public-account-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
    }

    .public-account-menu__list {
        position: static;
        width: min(100%, 208px);
        min-width: 0;
        margin-top: 0;
        max-height: 0;
        padding: 0;
        border-width: 0;
        border-radius: 14px;
        box-shadow: none;
        background: rgba(247, 252, 236, 0.92);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(0);
        overflow: hidden;
        transition:
            max-height 0.28s ease,
            opacity 0.22s ease,
            margin-top 0.22s ease,
            padding 0.22s ease,
            border-width 0.22s ease;
    }

    .public-account-menu__list.is-open {
        margin-top: 8px;
        max-height: 220px;
        padding: 8px;
        border-width: 1px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .public-nav__links a,
    .public-nav__actions .button,
    .public-user-badge {
        width: 100%;
        justify-content: flex-start;
    }

    .public-nav__actions .public-account-menu__trigger {
        justify-content: space-between;
    }

    .catalog-grid,
    .profile-review-grid,
    .faq-grid,
    .public-card-grid--reviews {
        grid-template-columns: 1fr;
    }

    .reviews-track {
        grid-auto-columns: calc((100% - 16px) / 2);
    }

    .public-hero {
        grid-template-columns: 1fr;
    }

    .packages-preview,
    .audience-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .public-modal {
        place-items: start center;
        padding: 10px;
    }

    .public-shell {
        width: min(100%, calc(100% - 20px));
        padding-top: 12px;
    }

    .public-main {
        gap: 40px;
    }

    #pricing {
        padding: 0;
        border-radius: 0;
    }

    #pricing .pricing-card {
        min-height: 0;
        padding: 18px;
        border-radius: 20px;
    }

    #pricing .pricing-card::before {
        top: -20px;
        right: -16px;
        width: 116px;
        height: 116px;
    }

    #pricing .pricing-grid {
        padding-top: 22px;
    }

    #pricing .pricing-grid::before {
        top: -12px;
        font-size: clamp(2.6rem, 15vw, 4.4rem);
    }

    .public-main::before,
    .public-main::after {
        opacity: 0.3;
        filter: blur(46px);
    }

    .home-page::before,
    .home-page::after {
        opacity: 0.42;
        filter: blur(10px);
    }

    .public-hero,
    .public-page-hero,
    .public-card,
    .auth-card,
    .error-card,
    .legal-card,
    .legal-note,
    .public-section-card,
    .profile-section-card,
    .profile-side-card,
    .comparison-card,
    .faq-card {
        padding: 20px;
        border-radius: 24px;
    }

    .public-hero__title {
        font-size: clamp(1.72rem, 7.6vw, 2.15rem);
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

    .public-hero__title .script-word {
        font-size: 1.42em;
    }

    .scenario-role-switch {
        --switch-button-width: min(132px, calc((100vw - 58px) / 2));
    }

    .scenario-role-switch__button {
        padding: 0 12px;
        font-size: 0.78rem;
    }

    .public-hero__lead {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .public-hero__stats,
    .catalog-summary,
    .public-page-hero__facts,
    .packages-preview,
    .public-card-grid,
    .profile-proof,
    .comparison-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .public-card-grid--features .benefit-card {
        --stack-x: 0px;
        --stack-y: 34px;
        --stack-rotate: 0deg;
    }

    .public-footer {
        padding: 0;
        border-radius: 22px;
    }

    .public-footer__main {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-items: start;
        padding: 18px 24px;
    }

    .public-footer__block {
        width: 100%;
        min-height: 0;
        padding: 0;
        border-left: 0;
    }

    .public-footer__side {
        display: grid;
        justify-self: start;
        gap: 10px;
        min-width: 0;
        width: 100%;
    }

    .public-footer__block + .public-footer__block {
        padding-top: 14px;
        border-left: 0;
        border-top: 1px solid rgba(66, 49, 43, 0.1);
    }

    .public-footer__meta {
        justify-items: start;
    }

    .public-footer__meta .public-footer__row {
        justify-content: flex-start;
    }

    .public-footer__copy {
        justify-self: start;
    }

    .public-footer__links,
    .public-footer__socials,
    .public-footer__row {
        justify-content: flex-start;
    }

    .public-scroll-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }

    .app-mockup__toolbar,
    .app-mockup__chrome,
    .app-mockup__body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .app-mockup__body {
        padding-bottom: 14px;
    }

    .app-mockup__grid,
    .app-dashboard__grid,
    .app-planner__meta {
        grid-template-columns: 1fr;
    }

    .app-panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .app-mockup__panel {
        inset: 0;
    }

    .app-mockup__toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-mockup__tabs {
        width: 100%;
    }

    .app-mockup__tab {
        flex: 1 1 auto;
    }

    .final-cta-card {
        padding: 22px;
    }

    .public-modal__dialog {
        width: min(100%, 100%);
        max-height: none;
        padding: 16px;
        border-radius: 20px;
    }

    .public-modal__form--register {
        grid-template-columns: 1fr;
    }

    .public-modal__form--register .form-field--password {
        order: 1;
    }

    .public-modal__form--register .form-field--password-confirm {
        order: 2;
    }

    .public-modal__form--register > .password-checklist {
        order: 3;
        margin-top: -4px;
    }

    .public-modal__form--register .form-field--full {
        order: 4;
    }

    .public-modal__form--register .lesson-feedback {
        order: -1;
    }

    .public-modal__form--register .button-group {
        order: 6;
    }

    .public-modal__form--register .public-modal__hint {
        order: 7;
    }

    .role-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        grid-template-columns: 1fr;
        --scenario-slide: 0px;
    }

    .scenario-flip-stage,
    .scenario-flip-card,
    .scenario-flip-card__face,
    .scenario-flip-card .audience-card {
        min-height: 650px;
    }

    .scenario-flip-card .audience-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
        border-radius: 24px;
    }

    .scenario-flip-card .audience-card__media,
    .scenario-card-hint,
    .scenario-flip-card .audience-card__content {
        grid-column: 1;
        grid-row: auto;
    }

    .audience-card__icon {
        width: min(100%, 240px);
        min-height: 228px;
    }

    .audience-card__icon img {
        min-height: 228px;
    }

    .scenario-flip-card .audience-card__icon,
    .scenario-flip-card .audience-card__icon img {
        width: 100%;
        min-height: 260px;
    }

    .scenario-card-hint {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .app-mockup {
        width: min(100%, 384px);
        height: auto;
        min-height: 300px;
    }

    .app-summary-grid {
        gap: 12px;
    }

    .app-summary-card {
        padding: 16px;
        border-radius: 22px;
    }

    .app-summary-card--hero {
        min-height: 118px;
        padding: 18px;
    }

    .app-summary-card__value {
        font-size: 1.2rem;
    }

    .app-summary-card__number {
        font-size: 1.86rem;
    }

    .app-widget__text {
        font-size: 0.74rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .reviews-track {
        grid-auto-columns: minmax(88%, 1fr);
    }

    .public-hero__offers {
        grid-template-columns: 1fr;
    }

    .subject-multiselect.is-open .subject-multiselect__list {
        grid-template-columns: 1fr;
        max-height: 104px;
    }
}

@keyframes appWindowFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes appPanelFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes appBarPulse {
    0%,
    100% {
        filter: saturate(1);
    }
    50% {
        filter: saturate(1.15);
    }
}

@keyframes heroGlassSweep {
    0% {
        transform: rotate(17deg) translateX(-165%);
        opacity: 0;
    }
    16% {
        opacity: 0.78;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(17deg) translateX(335%);
        opacity: 0;
    }
}

/* Public landing polish and performance pass */
body.public-body::before,
body.public-body::after,
.public-shell::before,
.public-shell::after,
.public-main::before,
.public-main::after,
.home-page::before,
.home-page::after {
    display: none;
}

.public-nav,
.public-preview,
.app-mockup,
.public-card,
.public-section-card,
.benefit-card,
.audience-card,
.pricing-card,
.public-footer,
.public-modal__backdrop,
.public-modal__dialog,
.subject-multiselect__list {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.app-mockup {
    animation: none;
    will-change: auto;
}

[data-reveal],
.benefit-card[data-reveal],
.audience-card[data-reveal] {
    filter: none;
    transition:
        opacity 0.36s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-revealed,
.benefit-card[data-reveal].is-revealed,
.audience-card[data-reveal].is-revealed {
    filter: none;
}

.public-modal {
    place-items: center;
    padding: clamp(16px, 3vw, 32px);
    overflow: hidden;
}

.public-modal__backdrop {
    background: rgba(27, 21, 18, 0.52);
}

.public-modal__dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(92, 70, 56, 0.12);
    border-radius: 22px;
    background: #fbf5ec;
    box-shadow: 0 24px 54px rgba(31, 24, 20, 0.22);
    scrollbar-width: thin;
    animation: none;
}

.public-modal[data-auth-active-view="role"] .public-modal__dialog {
    width: min(660px, calc(100vw - 32px));
}

.public-modal[data-auth-active-view="register"] .public-modal__dialog {
    width: min(760px, calc(100vw - 32px));
}

.public-modal__dialog h2 {
    margin-bottom: 8px;
    padding-right: 42px;
    font-size: clamp(1.42rem, 2.4vw, 1.9rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.public-modal__lead {
    max-width: 58ch;
    margin-bottom: 18px;
    line-height: 1.5;
}

.public-modal__close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.9);
    font-size: 0;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        transform 0.18s ease;
}

.public-modal__close::before,
.public-modal__close::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.public-modal__close::before {
    transform: rotate(45deg);
}

.public-modal__close::after {
    transform: rotate(-45deg);
}

.public-modal__close:hover {
    transform: translateY(-1px);
    box-shadow: none;
}

.public-modal__view.is-active {
    animation: none;
}

.public-modal__form {
    gap: 12px;
}

.public-modal__form--register {
    column-gap: 12px;
    row-gap: 12px;
}

.public-modal .input,
.public-modal .textarea,
.public-modal .subject-multiselect__control {
    min-height: 50px;
    border-radius: 14px;
    background: #fffaf3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.public-modal .input:focus,
.public-modal .textarea:focus,
.public-modal .subject-multiselect:focus-within .subject-multiselect__control {
    background: #fffdf8;
    box-shadow: 0 0 0 4px rgba(182, 187, 121, 0.2);
}

.public-modal .button-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.public-modal[data-auth-active-view="login"] .button-group {
    grid-template-columns: 1fr;
}

.public-modal .button {
    min-height: 46px;
}

.role-grid {
    gap: 12px;
    margin-top: 14px;
}

.role-card {
    min-height: 0;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.62),
        0 10px 20px rgba(58, 37, 28, 0.045);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.role-card:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 241, 0.66),
        0 14px 26px rgba(58, 37, 28, 0.07);
}

.role-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: none;
}

.role-card__note {
    min-height: 28px;
    white-space: normal;
}

.password-checklist {
    gap: 7px;
}

.password-checklist__items {
    gap: 8px;
}

.password-checklist__item {
    min-width: 0;
    white-space: normal;
}

.public-modal .subject-multiselect__list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 170px;
    margin-top: 8px;
    background: #fffaf3;
    box-shadow: 0 12px 24px rgba(58, 37, 28, 0.08);
}

.public-modal__switch {
    margin-top: 14px;
    box-shadow: none;
}

.public-modal__switch:hover {
    box-shadow: none;
}

@media (hover: hover) {
    .audience-grid:has(.audience-card--student:hover),
    .audience-grid:has(.audience-card--tutor:hover) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .audience-grid:hover .audience-card[data-reveal].is-revealed,
    .public-card-grid--features:hover .benefit-card[data-reveal].is-revealed:not(:hover) {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* Auth modal rebuild: full-screen overlay with one predictable layout */
.public-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100dvh;
    padding: 24px;
    overflow: hidden;
}

.public-modal[hidden] {
    display: none;
}

.public-modal__backdrop {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 18% 14%, rgba(233, 172, 200, 0.22), transparent 30%),
        radial-gradient(circle at 82% 22%, rgba(218, 224, 151, 0.26), transparent 32%),
        rgba(42, 32, 27, 0.62);
}

.public-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    width: min(980px, calc(100vw - 48px));
    min-height: min(640px, calc(100dvh - 48px));
    max-height: calc(100dvh - 48px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: clamp(32px, 4vw, 52px);
    border: 1px solid rgba(255, 250, 241, 0.62);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 250, 241, 0.98), rgba(247, 239, 228, 0.96));
    box-shadow:
        0 34px 80px rgba(28, 21, 17, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    scrollbar-width: thin;
}

.public-modal[data-auth-active-view="login"] .public-modal__dialog {
    width: min(720px, calc(100vw - 48px));
    min-height: auto;
}

.public-modal[data-auth-active-view="role"] .public-modal__dialog {
    width: min(900px, calc(100vw - 48px));
}

.public-modal[data-auth-active-view="register"] .public-modal__dialog {
    width: min(1040px, calc(100vw - 48px));
}

.public-modal__close {
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.96);
    box-shadow:
        0 10px 24px rgba(58, 37, 28, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.public-modal__dialog h2 {
    max-width: none;
    margin: 0 52px 12px 0;
    padding-right: 0;
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    line-height: 1.12;
}

.public-modal[data-auth-active-view="role"] .public-modal__dialog h2 {
    max-width: 760px;
}

.public-modal[data-auth-active-view="login"] .public-modal__dialog h2 {
    max-width: 520px;
}

.public-modal__lead {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(66, 49, 43, 0.78);
    font-size: 1rem;
    line-height: 1.62;
}

.public-modal__form {
    display: grid;
    gap: 18px;
}

.public-modal__form--register {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 18px;
}

.public-modal .form-field {
    gap: 8px;
}

.public-modal .input,
.public-modal .textarea,
.public-modal .subject-multiselect__control {
    min-height: 58px;
    border: 1px solid rgba(166, 140, 115, 0.24);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.public-modal .input:focus,
.public-modal .textarea:focus,
.public-modal .subject-multiselect:focus-within .subject-multiselect__control {
    border-color: rgba(176, 183, 111, 0.58);
    background: #fffdf8;
    box-shadow: 0 0 0 4px rgba(182, 187, 121, 0.2);
}

.public-modal .button-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 4px;
}

.public-modal[data-auth-active-view="login"] .button-group {
    grid-template-columns: 1fr;
}

.public-modal .button {
    min-height: 52px;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.role-card {
    min-height: 238px;
    gap: 14px;
    padding: 24px;
    border-radius: 24px;
}

.role-card__icon {
    width: 48px;
    height: 48px;
}

.role-card > span:not(.role-card__icon):not(.role-card__note) {
    max-width: 34ch;
    line-height: 1.58;
}

.role-card__note {
    min-height: 32px;
}

.public-modal__switch {
    margin-top: 20px;
}

.password-checklist {
    margin: -4px 0 0;
}

.password-checklist__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-modal .subject-multiselect__list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 190px;
    margin-top: 10px;
    border-radius: 16px;
}

.public-modal__hint {
    margin-top: 0;
}

.public-modal .lesson-feedback:not(:empty) {
    border-radius: 16px;
}

@media (max-width: 760px) {
    .public-modal {
        padding: 0;
        place-items: stretch;
    }

    .public-modal__dialog,
    .public-modal[data-auth-active-view="login"] .public-modal__dialog,
    .public-modal[data-auth-active-view="role"] .public-modal__dialog,
    .public-modal[data-auth-active-view="register"] .public-modal__dialog {
        width: 100vw;
        min-height: 100dvh;
        max-height: 100dvh;
        padding: 28px 20px 32px;
        border: 0;
        border-radius: 0;
    }

    .public-modal__close {
        top: 18px;
        right: 16px;
    }

    .public-modal__dialog h2,
    .public-modal[data-auth-active-view="role"] .public-modal__dialog h2,
    .public-modal[data-auth-active-view="login"] .public-modal__dialog h2,
    .public-modal[data-auth-active-view="register"] .public-modal__dialog h2 {
        max-width: calc(100% - 54px);
        margin-right: 54px;
        font-size: clamp(1.35rem, 6vw, 1.72rem);
        line-height: 1.16;
    }

    .public-modal__lead {
        max-width: none;
        margin-bottom: 22px;
        font-size: 0.98rem;
    }

    .role-grid,
    .public-modal__form--register,
    .public-modal .button-group,
    .public-modal[data-auth-active-view="login"] .button-group {
        grid-template-columns: 1fr;
    }

    .role-card {
        min-height: 0;
        padding: 20px;
    }

    .public-modal .subject-multiselect__list {
        grid-template-columns: 1fr;
        max-height: 210px;
    }
}

@media (max-width: 760px) {
    .public-modal {
        place-items: center;
        padding: 10px;
    }

    .public-modal__dialog,
    .public-modal[data-auth-active-view="role"] .public-modal__dialog,
    .public-modal[data-auth-active-view="register"] .public-modal__dialog {
        width: min(100%, calc(100vw - 20px));
        max-height: calc(100dvh - 20px);
        padding: 18px;
        border-radius: 18px;
    }

    .public-modal__dialog h2 {
        padding-right: 38px;
        font-size: 1.35rem;
    }

    .public-modal__lead {
        margin-bottom: 14px;
        font-size: 0.96rem;
    }

    .public-hero__title .script-word {
        display: block;
    }

    .public-modal .button-group,
    .public-modal[data-auth-active-view="login"] .button-group {
        grid-template-columns: 1fr;
    }

    .public-modal .subject-multiselect__list {
        grid-template-columns: 1fr;
        max-height: 156px;
    }
}

/* Warm section surfaces: align non-hero landing sections with the modal tone. */
body.public-body {
    --section-warm-panel: linear-gradient(180deg, rgba(255, 247, 238, 0.99), rgba(250, 236, 219, 0.98));
    --section-warm-panel-soft: linear-gradient(180deg, rgba(255, 245, 235, 0.99), rgba(247, 231, 213, 0.96));
    --section-warm-field: linear-gradient(180deg, rgba(255, 247, 238, 0.98), rgba(246, 230, 211, 0.94));
    --section-warm-border: rgba(228, 194, 160, 0.74);
    --section-warm-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.68),
        0 14px 30px rgba(58, 37, 28, 0.04);
}

body.public-body :is(
    .public-main .public-card,
    .public-main .benefit-card,
    .public-main .benefit-card__visual,
    .public-main .audience-card,
    .public-main .comparison-card,
    .public-main .faq-item,
    .public-main .catalog-filters,
    .public-main .catalog-summary__item,
    .public-main .catalog-card,
    .public-main .profile-review,
    .public-main .profile-side-card__slot,
    .public-main .legal-card,
    .public-main .legal-note,
    .public-main .public-section-card
) {
    border-color: var(--section-warm-border) !important;
    background: var(--section-warm-panel) !important;
    box-shadow: var(--section-warm-shadow) !important;
}

body.public-body .public-main .benefit-card__visual,
body.public-body .public-main .catalog-summary__item,
body.public-body .public-main .catalog-card,
body.public-body .public-main .profile-side-card__slot,
body.public-body .public-main .faq-item.is-open {
    background: var(--section-warm-panel-soft) !important;
}

body.public-body .public-main .faq-item__trigger:hover,
body.public-body .public-main .public-card:hover,
body.public-body .public-main .faq-item:hover,
body.public-body .public-main .benefit-card:hover,
body.public-body .public-main .audience-card:hover,
body.public-body .public-main .comparison-card:hover {
    background: var(--section-warm-panel-soft) !important;
}

body.public-body .public-main .faq-item.is-open .faq-item__trigger:hover {
    background: transparent !important;
}

body.public-body .public-main .testimonial-card {
    border-color: rgba(223, 187, 150, 0.74) !important;
    background:
        radial-gradient(circle at 88% 12%, rgba(239, 188, 145, 0.18), transparent 32%),
        var(--section-warm-panel-soft) !important;
    box-shadow:
        inset 0 1px 0 rgba(252, 248, 241, 0.72),
        inset 0 -18px 34px rgba(226, 210, 173, 0.08) !important;
}

body.public-body .public-main .testimonial-card::before {
    background: radial-gradient(circle, rgba(232, 190, 128, 0.4), rgba(232, 190, 128, 0)) !important;
}

body.public-body .public-main :is(
    .testimonial-card__tag,
    .testimonial-card__subject,
    .catalog-card__rating,
    .package-badge
) {
    background: var(--section-warm-field) !important;
    border-color: rgba(219, 181, 141, 0.72) !important;
}

body.public-body .public-main .testimonial-card__tag,
body.public-body .public-main .testimonial-card__subject {
    color: rgba(112, 106, 68, 0.96) !important;
    border-color: rgba(209, 201, 149, 0.76) !important;
    background: linear-gradient(145deg, rgba(232, 225, 186, 0.98), rgba(217, 208, 157, 0.95)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 251, 243, 0.56),
        0 4px 10px rgba(201, 191, 140, 0.18) !important;
}

body.public-body .public-main .testimonial-card__subject {
    color: rgba(112, 106, 68, 0.96) !important;
    border-color: rgba(209, 201, 149, 0.76) !important;
    background: linear-gradient(145deg, rgba(232, 225, 186, 0.98), rgba(217, 208, 157, 0.95)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 251, 245, 0.56),
        0 4px 10px rgba(201, 191, 140, 0.18) !important;
}

body.public-body .public-main .public-card-grid--features .benefit-card,
body.public-body .public-main .public-card-grid--features .benefit-card__visual,
body.public-body .public-main .public-card-grid--features .benefit-card__visual--target,
body.public-body .public-main .public-card-grid--features .benefit-card__visual--format,
body.public-body .public-main .public-card-grid--features .benefit-card__visual--progress,
body.public-body .public-main .public-card-grid--features .benefit-card__visual--tools {
    border-color: var(--section-warm-border) !important;
    background: var(--section-warm-panel-soft) !important;
    box-shadow: var(--section-warm-shadow) !important;
}

body.public-body .public-main .scenario-flip-card__face,
body.public-body .public-main .scenario-flip-card .audience-card {
    border-color: var(--section-warm-border) !important;
    background: var(--section-warm-panel-soft) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.68),
        0 18px 38px rgba(58, 37, 28, 0.05) !important;
}

/* Responsive polish: mobile and tablet only, without touching desktop layout. */
@media (max-width: 1024px) {
    .public-section-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-section-intro h2 {
        margin-bottom: 6px;
    }

    .public-preview {
        justify-self: center;
        width: min(100%, 460px);
    }

    .app-mockup {
        width: 100%;
    }

    .scenario-flip-layout {
        gap: 18px;
    }

    .scenario-flip-copy {
        gap: 14px;
    }
}

@media (max-width: 1024px) {
    .public-header {
        top: 0;
        z-index: 60;
        margin-bottom: 18px;
        padding-top: 8px;
    }

    .public-nav {
        position: relative;
        isolation: isolate;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 0;
    }

    .public-menu-toggle {
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 14px;
        border: 1px solid rgba(228, 209, 184, 0.9);
        background: linear-gradient(180deg, rgba(250, 244, 236, 0.98), rgba(243, 232, 219, 0.96));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.7),
            0 8px 18px rgba(58, 37, 28, 0.06);
    }

    .public-menu-toggle svg {
        width: 21px;
        height: 21px;
    }

    .public-logo {
        flex: 1 1 0;
        min-width: 0;
        max-width: calc(100% - 56px);
    }

    .public-nav__menu {
        display: none;
        position: static;
        z-index: auto;
        flex: 1 0 100%;
        width: 100%;
        margin-top: 12px;
        padding: 16px;
        border-color: rgba(231, 214, 190, 0.92);
        background:
            linear-gradient(180deg, rgba(251, 245, 237, 0.98), rgba(243, 232, 219, 0.96));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.72),
            0 18px 36px rgba(58, 37, 28, 0.12);
        backdrop-filter: blur(18px);
    }

    .public-nav.is-open .public-nav__menu {
        display: flex;
    }

    .public-nav__links,
    .public-nav__actions {
        width: 100%;
    }

    .public-nav--minimal-profile {
        flex-wrap: nowrap;
    }

    .public-nav--minimal-profile .public-nav__actions {
        width: auto;
        margin-left: auto;
    }

    .public-nav.is-open .public-menu-toggle {
        border-color: rgba(198, 184, 143, 0.94);
        background:
            linear-gradient(180deg, rgba(240, 232, 205, 0.98), rgba(232, 222, 190, 0.96));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.62),
            0 10px 20px rgba(58, 37, 28, 0.08);
    }

    .public-account-menu {
        align-items: stretch;
        width: 100%;
    }

    .public-nav__actions .public-account-menu__trigger {
        width: 100%;
    }

    .public-account-menu__list {
        width: 100%;
        min-width: 0;
        margin-inline: 0;
    }

    .public-hero {
        grid-template-columns: 1fr !important;
    }

    .public-hero__content,
    .public-preview {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

@media (max-width: 760px) {
    html,
    body {
        overflow-x: hidden;
    }

    .public-shell {
        width: min(100%, calc(100% - 20px));
        padding-top: 14px;
    }

    .public-main {
        gap: 58px;
    }

    .public-hero,
    .public-section,
    .public-page-hero,
    .public-card-grid,
    .pricing-grid,
    .faq-list {
        gap: 30px;
    }

    .public-section-intro {
        gap: 18px;
    }

    .public-eyebrow,
    .public-eyebrow--compact {
        min-height: 34px;
        padding: 0 14px;
    }

    .public-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .public-actions .button,
    .final-cta-card__actions .button {
        width: 100%;
        min-width: 0;
    }

    .public-hero__offers {
        gap: 12px;
    }

    .hero-offer-card {
        padding: 18px;
    }

    .public-preview {
        display: none !important;
    }

    .app-mockup {
        display: none !important;
    }

    .app-summary-card--hero {
        min-height: 0;
    }

    .public-card-grid--features .benefit-card {
        padding: 20px;
    }

    .benefit-card__visual {
        min-height: 180px;
    }

    .scenario-role-switch {
        --switch-gap: 4px;
        --switch-button-width: calc((100% - var(--switch-gap)) / 2);
        --switch-height: 44px;
        width: 100%;
        max-width: 100%;
        padding: 4px;
    }

    .scenario-role-switch__button {
        flex: 1 1 0;
        width: var(--switch-button-width);
        min-width: 0;
        padding-inline: 8px;
        font-size: 0.78rem;
        justify-content: center;
        text-align: center;
    }

    .scenario-flip-copy {
        min-height: 0;
        gap: 12px;
    }

    .scenario-flip-copy h3 {
        max-width: 320px;
        font-size: clamp(2.45rem, 14vw, 4rem);
        line-height: 0.84;
    }

    .scenario-flip-copy p {
        max-width: none;
        font-size: 1rem;
        line-height: 1.58;
    }

    .scenario-flip-stage,
    .scenario-flip-card,
    .scenario-flip-card__face,
    .scenario-flip-card .audience-card {
        min-height: 640px;
    }

    .scenario-flip-card .audience-card {
        gap: 16px;
        padding: 18px;
        overflow: hidden;
    }

    .scenario-flip-card .audience-card__media {
        justify-self: center;
        width: 100%;
        max-width: 320px;
    }

    .scenario-flip-card .audience-card__content {
        align-content: start;
        gap: 10px;
    }

    .scenario-flip-card .audience-card__icon,
    .scenario-flip-card .audience-card__icon img {
        min-height: 216px;
        border-radius: 24px;
        object-position: center 18%;
    }

    .scenario-flip-card .product-list {
        gap: 12px;
    }

    .scenario-flip-card .product-list li {
        padding-left: 16px;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .scenario-card-hint {
        font-size: 0.82rem;
        min-height: 24px;
        padding: 0 10px 0 6px;
    }

    .reviews-slider {
        padding: 14px 0 10px;
        margin-inline: 0;
        scroll-padding-inline: 9%;
    }

    .reviews-track {
        gap: 14px;
        grid-auto-columns: minmax(82%, 1fr);
        justify-content: start;
    }

    .testimonial-card {
        grid-template-rows: auto minmax(7.6em, auto) auto;
        gap: 14px;
        padding: 20px;
        opacity: 0.56;
        transform: scale(0.95);
        transition:
            transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.28s ease,
            box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .testimonial-card.is-active {
        opacity: 1;
        transform: scale(1);
    }

    .testimonial-card.is-side {
        box-shadow:
            inset 0 1px 0 rgba(249, 242, 232, 0.64),
            inset 0 -12px 26px rgba(218, 224, 151, 0.05);
    }

    .testimonial-card p {
        min-height: 0;
    }

    .reviews-track > * {
        scroll-snap-align: center;
    }

    .faq-item__trigger {
        padding: 18px 54px 18px 18px;
    }

    .faq-item__body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .public-footer__links,
    .public-footer__socials,
    .public-footer__row {
        width: 100%;
    }

    .public-footer__links {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .public-hero {
        gap: 24px;
        padding: 24px;
    }

    .public-hero__title {
        max-width: none;
        font-size: clamp(1.58rem, 6.6vw, 1.96rem);
        line-height: 1.04;
    }

    .public-hero__title .script-word {
        display: inline !important;
        margin-left: 0.1em;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .public-shell {
        width: min(100%, calc(100% - 28px));
    }

    .public-hero,
    .public-page-hero,
    .public-card,
    .auth-card,
    .error-card,
    .legal-card,
    .legal-note,
    .public-section-card,
    .profile-section-card,
    .profile-side-card,
    .comparison-card,
    .faq-card {
        padding: 26px;
        border-radius: 22px;
    }

    .public-hero__title {
        font-size: clamp(1.5rem, 7.2vw, 1.84rem);
    }

    .public-logo {
        gap: 10px;
    }

    .public-logo__mark {
        width: 38px;
        height: 38px;
    }

    .public-logo__text {
        min-height: 38px;
    }

    .public-logo__title {
        font-size: 1rem;
    }

    .public-logo__subtitle {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .public-nav {
        gap: 12px;
        padding: 17px;
    }

    #pricing {
        padding-inline: 4px;
    }

    #pricing .public-section-intro {
        padding-inline: 2px;
    }

    #pricing .pricing-grid {
        margin-top: 20px;
        padding-top: 28px;
    }

    #pricing .pricing-card {
        padding: 22px;
        border-radius: 22px;
    }

    .public-main {
        gap: 52px;
    }

    .public-hero,
    .public-section,
    .public-page-hero,
    .public-card-grid,
    .pricing-grid,
    .faq-list {
        gap: 28px;
    }

    .reviews-slider {
        padding: 14px 2px 10px;
        margin-inline: 0;
        scroll-padding-inline: 0;
    }

    .reviews-track {
        gap: 0;
        grid-auto-columns: 100%;
    }

    .public-hero__lead,
    .public-section-intro p,
    .scenario-flip-copy p,
    .testimonial-card p,
    .faq-item__body p {
        font-size: 0.94rem;
        line-height: 1.58;
    }

    .public-body .button {
        min-height: 48px;
        padding-inline: 16px;
    }

    .hero-offer-card strong,
    .benefit-card h3,
    .scenario-flip-card .audience-card h3,
    .faq-item__trigger {
        font-size: 1.02rem;
    }

    .scenario-role-switch__button {
        font-size: 0.76rem;
        padding-inline: 10px;
    }

    .scenario-role-switch {
        --switch-height: 42px;
    }

    .scenario-flip-copy h3 {
        max-width: 280px;
        font-size: clamp(2.15rem, 13.4vw, 3.2rem);
        line-height: 0.82;
    }

    .scenario-flip-copy p {
        display: none;
    }

    .public-hero__title .script-word {
        font-size: 1.32em;
    }

    .scenario-flip-stage,
    .scenario-flip-card,
    .scenario-flip-card__face,
    .scenario-flip-card .audience-card {
        min-height: 620px;
    }

    .scenario-flip-card .audience-card__icon,
    .scenario-flip-card .audience-card__icon img {
        min-height: 188px;
    }

    .scenario-flip-card .audience-card__icon {
        aspect-ratio: 1 / 0.98;
        max-width: 100%;
        padding: 0;
        margin-inline: auto;
        background: transparent;
    }

    .scenario-flip-card .audience-card__icon img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: center 10%;
        transform: scale(1.12);
        border-radius: 22px;
    }

    .scenario-flip-card .audience-card--student .audience-card__icon img,
    .scenario-flip-card .audience-card--tutor .audience-card__icon img {
        object-position: center top;
    }

    .scenario-flip-card .product-list li {
        font-size: 0.92rem;
        line-height: 1.46;
    }

    .scenario-flip-card .audience-card__content {
        gap: 8px;
        align-content: start;
    }

    .scenario-card-hint {
        font-size: 0.76rem;
        line-height: 1.3;
    }

    .scenario-card-hint__icon {
        width: 20px;
        height: 20px;
    }

    .scenario-card-hint__icon svg {
        width: 20px;
        height: 20px;
    }

    .testimonial-card__top {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
    }

    .review-card__rating {
        grid-column: 2;
        justify-self: start;
    }

    .testimonial-card__footer {
        flex-wrap: wrap;
        gap: 7px;
    }

    .testimonial-card__tag,
    .testimonial-card__subject {
        max-width: 100%;
    }

    .public-scroll-top {
        right: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 1024px) {
    #pricing .pricing-card__head {
        width: 100%;
        justify-items: center;
        text-align: center;
    }

    #pricing .pricing-card__footer {
        align-items: flex-start;
        gap: 14px;
    }

    #pricing .pricing-card__price {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    #pricing .pricing-card__price strong {
        font-size: 2.05rem;
    }
}

@media (max-width: 760px) {
    .public-shell {
        width: min(100%, calc(100% - 24px));
    }

    .public-main {
        gap: 64px;
    }

    .public-section,
    .public-page-hero,
    .public-card-grid,
    .pricing-grid,
    .faq-list {
        gap: 24px;
    }

    .public-section-intro {
        gap: 14px;
    }

    .faq-list {
        gap: 12px;
    }

    .faq-item {
        border-radius: 20px;
    }

    .faq-item__trigger {
        padding: 13px 42px 13px 14px;
        font-size: 0.91rem;
        line-height: 1.3;
    }

    .faq-item__trigger::before,
    .faq-item__trigger::after {
        right: 14px;
        font-size: 0.98rem;
    }

    .faq-item__body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .faq-item.is-open .faq-item__body {
        padding-bottom: 12px;
    }

    .faq-item__body p {
        font-size: 0.88rem;
        line-height: 1.48;
    }

    .public-footer {
        padding: 0;
    }

    .public-footer__main {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 24px;
    }

    .public-footer__block {
        gap: 10px;
        padding-top: 0;
        padding-inline: 0;
        border-left: 0 !important;
    }

    .public-footer__side {
        display: grid;
        justify-self: start;
        gap: 10px;
        min-width: 0;
        width: 100%;
    }

    .public-footer__heading {
        margin-bottom: 2px;
        font-size: 0.84rem;
    }

    .public-footer__links {
        gap: 8px;
    }

    .public-footer__meta {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-items: start;
    }

    .public-footer__meta .public-footer__row {
        gap: 8px;
        justify-content: flex-start;
    }

    .public-footer__copy {
        display: block;
        width: 100%;
        margin-top: 4px;
        white-space: normal;
        justify-self: start;
    }

    .public-footer__links a,
    .public-footer__copy {
        font-size: 0.91rem;
        line-height: 1.42;
    }

    .public-footer__socials {
        gap: 8px;
    }

    .public-footer__social {
        width: 38px;
        height: 38px;
    }

    #pricing {
        padding-inline: 10px;
    }

    #pricing .pricing-grid {
        gap: 18px;
        margin-top: 18px;
        padding-top: 24px;
    }

    #pricing .pricing-card {
        min-height: 0;
        padding: 22px 20px;
        gap: 16px;
    }

    #pricing .pricing-card__head {
        gap: 8px;
    }

    #pricing .pricing-card__head p,
    #pricing .pricing-card__features li {
        font-size: 0.94rem;
        line-height: 1.54;
    }

    #pricing .pricing-card__price {
        align-items: baseline;
        justify-content: center;
        gap: 8px 10px;
    }

    #pricing .pricing-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #pricing .pricing-card__label,
    #pricing .pricing-card__cta {
        width: 100%;
        justify-content: center;
    }

    .public-menu-toggle {
        margin-left: auto;
        color: #5e5148;
    }

    .public-menu-toggle svg {
        display: block;
    }

    .public-menu-toggle svg path {
        stroke: #5e5148;
    }
}

@media (max-width: 480px) {
    .public-shell {
        width: min(100%, calc(100% - 32px));
    }

    .public-main {
        gap: 58px;
    }

    .faq-list {
        gap: 10px;
    }

    .faq-item {
        border-radius: 18px;
    }

    .faq-item__trigger {
        padding: 12px 38px 12px 12px;
        font-size: 0.88rem;
    }

    .faq-item__trigger::before,
    .faq-item__trigger::after {
        right: 12px;
        font-size: 0.92rem;
    }

    .faq-item__body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .faq-item.is-open .faq-item__body {
        padding-bottom: 10px;
    }

    .faq-item__body p {
        font-size: 0.84rem;
        line-height: 1.44;
    }

    .public-footer {
        padding: 0;
    }

    .public-footer__main {
        grid-template-columns: 1fr;
        gap: 14px 16px;
        padding: 16px 22px;
    }

    .public-footer__links {
        gap: 7px;
    }

    .public-footer__links a,
    .public-footer__copy {
        font-size: 0.88rem;
    }

    .public-footer__social {
        width: 36px;
        height: 36px;
    }

    #pricing {
        padding-inline: 12px;
    }

    #pricing .pricing-grid {
        gap: 16px;
        margin-top: 16px;
        padding-top: 22px;
    }

    #pricing .pricing-card {
        padding: 20px 18px;
        border-radius: 20px;
        gap: 14px;
    }

    #pricing .pricing-card__head h3 {
        font-size: 1.5rem;
    }

    #pricing .pricing-card__head p,
    #pricing .pricing-card__features li {
        font-size: 0.91rem;
        line-height: 1.5;
    }

    #pricing .pricing-card__price strong {
        font-size: clamp(1.72rem, 10.5vw, 2rem);
    }

    .public-nav {
        gap: 10px;
        padding: 16px;
    }

    .public-logo {
        max-width: calc(100% - 54px);
    }

    .public-logo__subtitle {
        max-width: 22ch;
    }

    .public-hero__title {
        max-width: none;
        width: 100%;
        font-size: clamp(1.24rem, 6.1vw, 1.48rem);
        line-height: 1.04;
    }

    .public-hero__title .script-word {
        display: inline-block !important;
        white-space: nowrap !important;
        font-size: 1.68em !important;
        margin-left: 0.14em !important;
        margin-right: 0.06em !important;
        vertical-align: baseline;
    }

    .reviews-slider {
        overflow: hidden;
        padding: 10px 0 8px;
        margin-inline: 0;
        scroll-padding-inline: 0;
    }

    .reviews-track {
        gap: 0;
        grid-auto-columns: 100%;
        justify-content: start;
    }

    .reviews-track > * {
        scroll-snap-align: center;
    }

    .testimonial-card {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 425px) {
    .public-actions {
        gap: 10px;
    }

    .public-actions .button,
    .final-cta-card__actions .button {
        white-space: normal;
        text-align: center;
        padding-inline: 14px;
    }

    .public-hero__title {
        font-size: 1.08rem;
        line-height: 1.02;
    }

    .public-hero__title .script-word {
        font-size: 1.74em !important;
        line-height: 1 !important;
        margin-left: 0.14em !important;
        margin-right: 0.06em !important;
    }
}

@media (max-width: 375px) {
    .public-shell {
        width: min(100%, calc(100% - 24px));
    }

    .public-logo {
        max-width: calc(100% - 46px);
    }

    .public-logo__title {
        font-size: 0.96rem;
    }

    .public-logo__subtitle {
        font-size: 0.72rem;
        max-width: 16ch;
    }

    .public-hero__title {
        font-size: 1.02rem;
        line-height: 1.02;
    }

    .public-hero__title .script-word {
        font-size: 1.66em !important;
        line-height: 1 !important;
        margin-left: 0.12em !important;
        margin-right: 0.05em !important;
    }

    .hero-offer-card {
        padding: 16px;
    }

    .public-hero__lead {
        font-size: 0.91rem;
    }
}

@media (max-width: 320px) {
    .public-shell {
        width: min(100%, calc(100% - 20px));
    }

    .public-nav {
        gap: 8px;
        padding: 14px;
    }

    .public-logo {
        max-width: calc(100% - 42px);
    }

    .public-logo__mark {
        width: 34px;
        height: 34px;
    }

    .public-logo__title {
        font-size: 0.92rem;
    }

    .public-logo__subtitle {
        font-size: 0.66rem;
        max-width: 14ch;
    }

    .public-menu-toggle {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .public-menu-toggle svg {
        width: 18px;
        height: 18px;
    }

    .public-hero__title {
        font-size: 0.96rem;
        line-height: 1.02;
    }

    .public-hero__title .script-word {
        font-size: 1.52em !important;
        line-height: 1 !important;
        margin-left: 0.1em !important;
        margin-right: 0.04em !important;
    }
}

/* Stability fixes for Safari/macOS: avoid orphaned title marks, janky FAQ panels and modal-only scrollbars. */
.testimonial-card::before {
    filter: none;
}

.scenario-role-switch__liquid-body {
    filter: none;
}

#pricing .pricing-card,
#pricing .pricing-card.is-featured {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

@media (min-width: 761px) {
    .public-modal[data-auth-active-view="role"] .public-modal__dialog {
        width: min(760px, calc(100vw - 48px));
        min-height: 0;
        max-height: none;
        overflow: hidden;
        padding: clamp(28px, 3vw, 40px);
    }

    .public-modal[data-auth-active-view="role"] .role-grid {
        margin-top: 16px;
    }

    .public-modal[data-auth-active-view="role"] .role-card {
        min-height: 190px;
        padding: 20px;
    }
}

@media (max-width: 760px) {
    .public-hero__title {
        font-size: clamp(1.9rem, 8.8vw, 2.45rem) !important;
        line-height: 1.03;
    }

    .public-modal[data-auth-active-view="role"] {
        place-items: center;
        padding: 12px;
    }

    .public-modal[data-auth-active-view="role"] .public-modal__dialog {
        width: min(100%, calc(100vw - 24px));
        min-height: 0;
        max-height: calc(100dvh - 24px);
        overflow: hidden;
        padding: 18px;
        border-radius: 18px;
    }

    .public-modal[data-auth-active-view="role"] .public-modal__dialog h2 {
        margin-bottom: 8px;
        padding-right: 38px;
        font-size: clamp(1.32rem, 5.4vw, 1.62rem);
        line-height: 1.12;
    }

    .public-modal[data-auth-active-view="role"] .public-modal__lead {
        margin-bottom: 12px;
        font-size: 0.92rem;
        line-height: 1.42;
    }

    .public-modal[data-auth-active-view="role"] .role-grid {
        gap: 10px;
        margin-top: 10px;
    }

    .public-modal[data-auth-active-view="role"] .role-card {
        gap: 7px;
        min-height: 0;
        padding: 14px;
        border-radius: 16px;
    }

    .public-modal[data-auth-active-view="role"] .role-card__icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .public-modal[data-auth-active-view="role"] .role-card__note {
        min-height: 26px;
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .public-hero__title {
        font-size: clamp(1.58rem, 10vw, 2.05rem) !important;
    }
}

@media (max-width: 425px) {
    .public-hero__title {
        font-size: 1.46rem !important;
    }
}

@media (max-width: 375px) {
    .public-hero__title {
        font-size: 1.32rem !important;
    }
}

@media (max-width: 320px) {
    .public-hero__title {
        font-size: 1.22rem !important;
    }
}

@media (min-width: 921px) and (max-width: 1024px) {
    html,
    body {
        overflow-x: hidden;
    }

    .public-shell {
        width: min(100%, calc(100% - 32px));
        padding-top: 8px;
        overflow: visible;
    }

    .public-header {
        top: 8px;
        margin-bottom: 12px;
    }

    .public-nav {
        position: relative;
        z-index: 80;
        flex-wrap: wrap;
        align-items: center;
        overflow: visible;
        padding: 12px 14px;
        border-radius: 24px;
    }

    .public-menu-toggle {
        display: inline-flex !important;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        margin-left: auto;
        padding: 0;
        color: #5f5148;
        border: 1px solid rgba(226, 205, 180, 0.9);
        border-radius: 18px;
        background: rgba(255, 250, 241, 0.78);
    }

    .public-menu-toggle svg {
        display: block;
        width: 34px;
        height: 34px;
    }

    .public-menu-toggle svg path {
        stroke: currentColor;
        stroke-width: 2.2;
    }

    .public-nav__menu {
        display: none !important;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        z-index: 100;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 0;
        padding: 14px;
        border: 1px solid rgba(231, 214, 190, 0.92);
        border-radius: 22px;
        background: rgba(251, 245, 237, 0.98);
        box-shadow: 0 18px 36px rgba(58, 37, 28, 0.12);
    }

    .public-nav.is-open .public-nav__menu {
        display: flex !important;
    }

    .public-nav__links,
    .public-nav__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .public-nav__links a,
    .public-nav__actions .button,
    .public-nav__actions .public-account-menu__trigger {
        width: 100%;
        justify-content: flex-start;
    }

    .public-logo {
        flex: 1 1 0;
        min-width: 0;
        max-width: calc(100% - 66px);
    }

    .public-logo__mark {
        width: 42px;
        height: 42px;
    }

    .public-logo__text {
        min-height: 42px;
    }

    .public-logo__title {
        font-size: 1rem;
    }

    .public-logo__subtitle {
        max-width: none;
        font-size: 0.78rem;
        line-height: 1.16;
        white-space: nowrap;
    }

    .public-hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr) !important;
        align-items: center;
        gap: 18px;
        padding: 30px;
    }

    .public-hero__content,
    .public-preview {
        grid-column: auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .public-hero__title {
        max-width: 590px;
        font-size: clamp(2.18rem, 4vw, 2.55rem) !important;
        line-height: 1.08;
    }

    .public-hero__title br {
        display: block;
    }

    .public-hero__title .script-word {
        display: inline !important;
        white-space: nowrap;
        font-size: 1.08em !important;
        margin-left: 0.08em;
    }

    .public-hero__lead {
        max-width: 500px;
        font-size: 1rem;
    }

    .public-hero__offers {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-offer-card {
        padding: 18px;
    }

    .public-preview {
        justify-self: center;
        width: min(100%, 320px) !important;
    }

    .app-mockup {
        width: 100%;
        height: 340px;
        border-radius: 28px;
    }

    .app-summary-card--hero {
        display: grid;
        min-height: 112px;
        padding: 16px 18px 14px;
    }

    .app-summary-card {
        padding: 14px;
        border-radius: 16px;
    }

    .app-summary-card--stat {
        min-height: 92px;
    }

    .app-summary-card__value {
        font-size: 1.08rem;
    }

    .app-summary-card__number {
        font-size: 1.75rem;
    }

    .app-summary-card__text {
        font-size: 0.76rem;
        line-height: 1.24;
    }

    .scenario-flip-layout {
        grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
        align-items: start;
        gap: 20px;
    }

    .scenario-flip-copy {
        grid-column: 1;
        grid-row: 1;
        min-height: 0;
        align-content: start;
    }

    .scenario-flip-stage {
        grid-column: 2;
        grid-row: 1;
        min-height: 420px;
    }

    .scenario-flip-copy h3 {
        max-width: none;
        font-size: clamp(2.9rem, 4.7vw, 3.6rem);
        line-height: 0.9;
    }

    .scenario-title-line {
        display: block;
    }

    .scenario-title-line + .scenario-title-line {
        margin-left: 0;
    }

    #pricing .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 18px;
    }

    #pricing .pricing-card,
    #pricing .pricing-card.is-featured {
        width: 100%;
        min-height: 360px;
        padding: 22px;
    }

    #pricing .pricing-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 18px) / 2);
    }

    .reviews-slider {
        overflow-x: auto;
        overflow-y: visible;
        padding: 10px 0 12px;
        margin-inline: 0;
        scroll-padding-inline: 0;
    }

    .reviews-track {
        grid-auto-columns: calc((100% - 18px) / 2);
        gap: 18px;
    }

    .testimonial-card {
        opacity: 1;
        transform: none;
        min-width: 0;
        overflow: visible;
    }

    .testimonial-card p {
        min-height: 7.2em;
    }

    .public-footer__main {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 24px;
    }

    .public-footer__block,
    .public-footer__block + .public-footer__block,
    .public-footer__meta {
        grid-column: auto;
        grid-row: auto;
        padding: 0;
        border-top: 0 !important;
        border-left: 0 !important;
    }

    .public-footer__nav-wrap {
        border-left: 0 !important;
        padding-left: 0;
    }

    .public-footer__meta {
        grid-column: 1 / -1;
        padding-top: 6px;
        justify-items: start;
    }

    .public-footer__copy {
        justify-self: start;
    }

    .public-footer__meta .public-footer__row {
        justify-content: flex-start;
    }

    .faq-item,
    .faq-item__trigger,
    .faq-item__content,
    .faq-item__body {
        transition-duration: 0.28s;
    }

    .faq-item:hover {
        transform: none;
    }
}

@media (max-width: 1024px) {
    .public-header,
    .public-nav {
        overflow: visible;
    }

    .public-nav {
        position: relative;
    }

    .public-nav__menu {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 100;
        width: 100%;
        margin-top: 0 !important;
    }

    .public-nav.is-open .public-nav__menu {
        display: flex !important;
    }

    .public-footer__block,
    .public-footer__block + .public-footer__block,
    .public-footer__meta {
        border-top: 0 !important;
        border-left: 0 !important;
    }
}

/* Desktop/Laptop adaptive stabilization */
.public-shell {
    width: min(1400px, calc(100% - 32px));
}

.public-nav,
.public-nav__menu,
.public-nav__links,
.public-nav__actions,
.public-section-intro {
    min-width: 0;
}

.public-nav__menu,
.public-nav__links,
.public-nav__actions,
.public-section-intro {
    flex-wrap: wrap;
}

.profile-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
}

.catalog-grid,
.profile-review-grid {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

@media (max-width: 1440px) {
    .public-shell {
        width: min(1280px, calc(100% - 28px));
    }

    .public-nav {
        gap: clamp(0.75rem, 1.2vw, 1.25rem);
        padding: 0.875rem 1rem;
    }

    .profile-layout {
        grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.84fr);
    }
}
