/* Landing-only stylesheet: welcome content plus its shared header and footer. */
:root {
--dark-bg:             #0D1117;
    --dark-elevated:       #161B22;
    --dark-surface:        #1E2938;
    --modal-solid-bg:      #161B22;
    --dark-text-primary:   #F8FAFC;
    --border-subtle:       rgba(255, 255, 255, 0.1);
    --scrollbar-size:      8px;
    --scrollbar-track:     transparent;
    --scrollbar-thumb:     rgba(148, 163, 184, 0.28);
    --scrollbar-thumb-hover: rgba(168, 85, 247, 0.52);
    --ui-font:             -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
background: var(--dark-bg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: clip;
    width: 100%;
}

html {
overflow-x: clip;
    width: 100%;
    background: var(--dark-bg);
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: var(--scrollbar-size);
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    min-height: 44px;
    border: 2px solid var(--dark-bg);
    border-radius: 999px;
    background: var(--scrollbar-thumb);
    background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
    background-clip: padding-box;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
    min-height: 44px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--scrollbar-thumb);
    background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
    background-clip: content-box;
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

body:not(.chat-page) .header-chats-btn {
display: none;
}

.site-header {
position: sticky;
    top: 0;
    margin: 0;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.06);
    height: 60px;
    z-index: 1100;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    will-change: backdrop-filter;
    transform: translateZ(0);
    transition: all 0.3s ease;
}

body.welcome-page .site-header {
background: #06080c;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.welcome-page .site-header.header-scrolled {
background: #06080c;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
}

body.welcome-page .logo-link {
color: #ffffff;
}

body.welcome-page .nav-btn.register {
color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: transparent;
}

.header-container {
margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
    height: 100%;
    position: relative;
}

.logo-group {
display: flex;
        align-items: center;
        gap: 20px;
}

.logo h1,
.logo-title {
font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-style: normal;
}

.logo-link {
color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
width: 39px;
    height: 39px;
    vertical-align: middle;
    overflow: visible;
}

.login-nav ul {
list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}

.nav-btn {
color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.nav-btn:hover {
background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.register {
background: rgba(255, 255, 255, 0.15);
}

.register:hover {
background: rgba(255, 255, 255, 0.35);
}

.user-menu {
position: relative;
	z-index: 1050; /* Поверх всех других элементов */
}

.user-menu-trigger {
width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-menu-trigger:hover {
background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05) translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-menu-trigger svg {
width: 32px;
    height: 32px;
    /* Добавь vertical-align: middle; */
    vertical-align: middle;
}

.dropdown-menu {
display: none;
    position: absolute;
    top: 100%;
    right: 8px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
    min-width: 150px;
    z-index: 1050;
}

.dropdown-menu.show {
display: block;
}

.dropdown-menu a {
display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu a:hover {
background-color: #f5f5f5;
}

.user-menu:hover .dropdown-menu {
display: block;
}

.welcome-container {
background: transparent; /* Убираем фон у контейнера, так как он теперь сзади */
    min-height: calc(100vh - 80px);
    position: relative;
}

.cta-button.primary {
display: block;
    padding: 18px 24px;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #1a1a2e;
    background: linear-gradient(135deg, #7fff00, #66e600);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0px 8px 16px -4px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.cta-button.primary:hover {
transform: translateY(-2px);
    box-shadow: 0px 10px 20px -4px rgba(0, 0, 0, 0.25);
}

.cta-button.primary:active {
transform: translateY(1px);
    box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.2);
}

.site-footer {
background: #573f5f;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
list-style: none;
    padding: 0;
}

.footer-section ul li {
margin-bottom: 10px;
}

.footer-section ul li a {
color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
color: #fff;
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.header-chats-btn {
border-radius: 50px;
    height: 40px;
    font-weight: 700;
    font-size: 13px;
    padding: 0 20px;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-chats-btn:hover {
background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.header-chats-btn i {
font-size: 14px;
    opacity: 0.8;
}

.header-chats-btn::before {
content: '';
    position: absolute;
    left: -30px; /* Защитная зона слева */
    top: -10px;
    bottom: -10px;
    width: 30px;
    background: transparent;
    z-index: 1001;
    pointer-events: none; /* Не блокируем клики */
}

.mobile-only {
display: none;
}

@media screen and (max-width: 1230px) {
.welcome-container {
padding-top: 100px;
}

.cta-button.primary {
padding: 18px 24px;
        font-size: 1.125rem;
}

.site-header {
position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        z-index: 1100;
        height: 56px;
        padding: 0 10px;
        margin: 0;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.08);


        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.12);
        will-change: backdrop-filter;
        transform: translateZ(0);
}

body.welcome-page .site-header {
box-shadow: none;
        border-color: transparent;
}

body.welcome-page .site-header.header-scrolled {
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
        border-color: rgba(255, 255, 255, 0.12);
}

.header-container {
display: flex;
        align-items: center;
        justify-content: space-between; /* Changed from flex-start to use full width */
        flex-wrap: nowrap;
        gap: 5px;
        width: 100%;
        position: relative;
        height: 100%;
}

.logo {
flex-shrink: 0;
        margin-right: 4px;
        order: 0;
        flex: 0 0 auto;
}

.logo h1,
.logo-title {
font-size: 1.3rem;
        line-height: 1.1;
        text-align: left;
        margin: 0;
}

.nav-btn.register {
display: flex;
        /* min-width: 90px;
           This will be handled by specific rules or inherited if not overridden for .header-subject-btn */
        background: rgba(255,255,255,0.15);
        border: none;
        border-radius: 6px;
        /* padding: 8px 12px;
           This will be handled by specific rules or inherited */
        cursor: pointer;
        align-items: center;
        justify-content: center;
        height: 41px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 500;
        box-sizing: border-box;
        margin-right: 8px; /* Общий правый отступ */
        /* margin-left: 8px;  УДАЛЕНО отсюда, будет задано специфично */
}

.nav-btn.register {
/* Специфичные стили для кнопки "Регистрация/Вход" */
        min-width: 90px; /* Ширина для кнопки "Регистрация/Вход" */
        padding: 8px 12px; /* Отступы для кнопки "Регистрация/Вход" */
        margin-left: 8px; /* ДОБАВЛЕНО: левый отступ для кнопки "Регистрация/Вход" */
}

body.welcome-page .nav-btn.register {
background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.75);
        min-width: auto;
        padding: 6px 16px;
        font-weight: 400;
        opacity: 1;
}

.login-nav {
order: 2;
        margin-left: auto;
        flex: 0 0 auto;
}

.login-nav ul {
display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 0;
}

.nav-btn {
padding: 8px 7px;
        font-size: 15px;
}

.mobile-only {
display: block;
}

.logo-icon {
width: 30px;
        height: 30px;
}

}

.user-menu-trigger.desktop-icon {
display: inline-flex;
}

.user-menu-trigger.mobile-icon {
display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    vertical-align: middle;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

@media screen and (max-width: 1230px) {
.user-menu-trigger.desktop-icon {
display: none;
}

.user-menu-trigger.mobile-icon {
display: inline-flex;
}

.user-menu:hover .dropdown-menu {
display: none;
}

.user-menu .dropdown-menu.show {
display: block;
}
}

.desktop-only {
display: flex;
}

@media screen and (max-width: 1230px) {
.desktop-only {
display: none !important;
}

.dropdown-menu a.desktop-only,
.dropdown-menu .desktop-only {
display: none !important;
}

.dropdown-menu a.mobile-only {
display: block !important;
}

.dropdown-menu .mobile-only {
display: block !important;
}
}

@media (max-width: 1230px) {
body:not(.chat-page) .mobile-only .dropdown-textbook-link,
body:not(.chat-page) .mobile-only .dropdown-saved-chats-link {
display: none !important;
}

body:not(.chat-page) .mobile-only hr {
display: none !important;
}
}

@media (max-width: 1230px) {
.logo-group {
gap: 8px;
}

.nav-btn.register {
display: flex;
        min-width: 80px;
        background: rgba(255,255,255,0.15);
        border: none;
        border-radius: 6px;
        padding: 8px 10px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        height: 41px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 500;
        box-sizing: border-box;
        margin-right: 4px;
        margin-left: 4px;
}

.login-nav {
order: 2;
        margin-left: auto;
}

.header-container {
display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
}

}

body.welcome-page {
/* Typography */
    --wp-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wp-font-mono: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
    --wp-font-hand: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;

    /* Backgrounds */
    --wp-bg-elevated:  #161B22;
    --wp-obsidian-core: #05070B;

    /* Text */
    --wp-text-primary:   #F8FAFC;
    --wp-text-secondary: #94A3B8;
    --wp-text-muted:     #64748B;

    /* Accent colours */
    --wp-accent-solid:    #9A83FF;

    --wp-blue-dim:  #6366F1;
    --wp-live:      var(--wp-accent-solid);

    /* Borders */
    --wp-border-subtle: rgba(255, 255, 255, 0.1);
}

body.welcome-page {
background:
        radial-gradient(ellipse 68% 12% at 88% 2%, rgba(112, 92, 255, .09) 0%, rgba(82, 68, 176, .035) 43%, transparent 76%),
        radial-gradient(ellipse 72% 13% at 8% 18%, rgba(99, 102, 241, .105) 0%, rgba(67, 82, 178, .045) 46%, transparent 76%),
        radial-gradient(ellipse 60% 10% at 94% 23%, rgba(224, 83, 157, .075) 0%, transparent 74%),
        radial-gradient(ellipse 60% 15% at 4% 40%, rgba(41, 110, 164, .045) 0%, transparent 72%),
        radial-gradient(ellipse 68% 18% at 96% 67%, rgba(202, 76, 151, .055) 0%, transparent 74%),
        linear-gradient(180deg, #05070B 0%, #070A10 42%, #06080D 75%, #05070B 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-family: var(--wp-font);
    font-size: 19px;
    line-height: 1.5;
    color: var(--wp-text-primary);
}

body.welcome-page .site-header,
body.welcome-page .profile-modal {
    font-family: var(--ui-font);
}

body.welcome-page .site-header.header-scrolled {
border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

body.welcome-page .welcome-container {
background: transparent;
}

.landing-switcher {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    margin: 32px auto 0;
    font-family: var(--wp-font);
}
/* Раз в 5 секунд по вопросу медленно проходит волна фирменного градиента.
   Края градиента белые, поэтому в покое надпись остаётся просто белой. */
.landing-switcher__label {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    background-image: linear-gradient(100deg,
        #FFFFFF 0%, #FFFFFF 34%,
        #C4B5FD 42%, #F0ABFC 50%, #F472B6 58%,
        #FFFFFF 66%, #FFFFFF 100%);
    background-size: 300% 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: landingSwitcherSheen 5s ease-in-out infinite;
}
@keyframes landingSwitcherSheen {
    0%, 40% { background-position: 0 0; }
    90%, 100% { background-position: 100% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-switcher__label {
        animation: none;
        -webkit-text-fill-color: #FFFFFF;
    }
}
.landing-switcher__control {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 100px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 24px rgba(0, 0, 0, .22);
}
.landing-switcher__item {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border: 1px solid transparent;
    border-radius: 100px;
    color: #A9B4C6;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.landing-switcher__item:not(.is-active):hover {
    color: #CBD5E1;
}
.landing-switcher__item.is-active {
    color: #FFFFFF;
    background: rgba(168, 85, 247, .28);
    border-color: rgba(192, 132, 252, .56);
    box-shadow: 0 0 0 1px rgba(168, 85, 247, .14), 0 0 18px rgba(168, 85, 247, .24);
}

@media screen and (max-width: 1230px) {
    .landing-switcher {
        margin-top: 0;
    }
}

@media screen and (max-width: 640px) {
    .landing-switcher {
        width: min(100% - 40px, 260px);
        gap: 10px;
    }
    .landing-switcher__label {
        font-size: 18px;
    }
    .landing-switcher__control {
        width: 100%;
        padding: 3px;
    }
    .landing-switcher__item {
        flex: 1 1 0;
        min-height: 34px;
        padding: 9px 12px;
        font-size: 14px;
    }
}

body.welcome-page .logo-link {
color: var(--wp-text-primary);
}

body.welcome-page .nav-btn.register {
color: var(--wp-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    opacity: 1;
}

body.welcome-page .nav-btn.register:hover {
background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    opacity: 1;
}

body.welcome-page .login-nav .nav-btn:not(.register) {
border: none;
    background: transparent;
    opacity: 0.6;
}

body.welcome-page .login-nav .nav-btn:not(.register):hover {
background: transparent;
    opacity: 0.85;
}

body.welcome-page .login-nav .nav-btn {
color: var(--wp-text-primary);
}

body.welcome-page .nav-btn:hover,
body.welcome-page .header-chats-btn:hover {
background: rgba(255, 255, 255, 0.07);
}

body.welcome-page .cta-button.primary {
background: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #F472B6 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 24px 4px rgba(154, 131, 255, 0.45);
    border-radius: 100px;
    display: inline-block;
    width: auto;
}

body.welcome-page .cta-button.primary:hover {
box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3), 0 0 36px 8px rgba(154, 131, 255, 0.6);
    transform: translateY(-3px);
}

.how {
--live: var(--wp-live);
    --chalk: var(--wp-text-primary);
    --muted: var(--wp-text-secondary);
    --muted-2: var(--wp-text-muted);

    padding: 94px 0 96px;
    color: var(--chalk);
}

.how-wrap {
max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

body.welcome-page .how,
body.welcome-page .how * {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.how-head {
position: relative;
    max-width: 760px;
    margin: 0 auto 62px;
    text-align: center;
}

.how-kicker {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 19px;
}

.how-kicker::before,
.how-kicker::after {
content: "";
    width: min(140px, 15vw);
    height: 1px;
}

.how-kicker::before {
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2));
}

.how-kicker::after {
background: linear-gradient(90deg, rgba(255, 255, 255, .2), transparent);
}

body.welcome-page .how-kicker b {
display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-family: var(--wp-font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.welcome-page .how-h2,
body.welcome-page .how-h2 * {
font-family: "Unbounded", sans-serif;
}

body.welcome-page .how-h2 {
margin: 0;
    color: #ECEEF7;
    font-size: clamp(22px, 2.25vw, 31px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
    text-wrap: balance;
}

body.welcome-page .how-hl {
color: transparent;
    background: #B69CFF;
    background-clip: text;
    -webkit-background-clip: text;
    font: inherit;
}

.how-step {
display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 52px;
    align-items: center;
    margin-bottom: 38px;
}

.how-step:last-of-type,
.how-step:nth-last-child(2) {
margin-bottom: 0;
}

.how-step--rev .how-copy {
order: 2;
}

.how-step--rev {
margin-bottom: 25px;
}

.how-step--rev .how-visual {
order: 1;
}

@media (min-width: 981px) {
.how-step--rev {
column-gap: 84px;
}
}

body.welcome-page .how-num {
display: inline-flex;
    margin-bottom: 13px;
    padding: 0 1px 5px;
    gap: 2px;
    border-bottom: 1px solid rgba(154, 131, 255, .34);
    color: var(--wp-accent-solid);
    font-family: var(--wp-font-mono);
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
    line-height: 1;
    text-shadow: 0 0 17px rgba(154, 131, 255, .46);
}

body.welcome-page .how-zero {
position: relative;
    display: inline-block;
    font-family: inherit;
}

.how-zero::after {
content: "";
    position: absolute;
    top: 52%;
    left: 50%;
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 5px currentColor;
    transform: translate(-50%, -50%);
}

body.welcome-page .how-title {
margin: 0 0 12px;
    font-family: var(--wp-font);
    font-size: clamp(19px, 1.95vw, 25px);
    font-weight: 700;
    line-height: 1.26;
    letter-spacing: -.015em;
}

.how-text {
max-width: 396px;
    margin: 0;
    color: var(--muted);
    font-size: 17.5px;
    line-height: 1.58;
}

.how-text b {
color: var(--chalk);
    font-weight: 600;
}

.how-aside {
max-width: 340px;
    margin-top: 18px;
    padding-left: 14px;
    border-left: 2px solid rgba(154, 131, 255, .45);
    color: var(--muted-2);
    font-size: 15px;
    line-height: 1.45;
}

.how-aside b {
color: var(--muted);
    font-weight: 600;
}

.how-frame {
position: relative;
    overflow: hidden;
    width: calc(100% + 116px);
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image:
        linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.how-step--rev .how-frame {
margin-left: -116px;
}

.how-visual {
--how-visual-glow: rgba(124, 92, 255, .09);
    position: relative;
    isolation: isolate;
    transform: scale(.92);
    transform-origin: center;
}

.how-step--rev .how-visual {
--how-visual-glow: rgba(154, 131, 255, .07);
}

.how-visual::before {
content: "";
    position: absolute;
    inset: 18% 7%;
    z-index: -1;
    border-radius: 50%;
    box-shadow: 0 0 54px 18px var(--how-visual-glow);
    filter: blur(9px);
    opacity: .8;
    pointer-events: none;
}

.how-step:nth-last-child(2) .how-visual::before {
content: none;
}

.how-f1 {
height: 190px;
}

.how-tiles {
position: absolute;
    top: -30px;
    left: -100px;
    width: calc(100% + 186px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    transform: rotate(-2deg);
}

.how-tiles span {
display: grid;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    color: #8D94AB;
    font-size: 13px;
    font-weight: 600;
    opacity: .72;
}

.how-tiles span.is-on {
border-color: rgba(124, 92, 255, .62);
    background: linear-gradient(120deg, rgba(124, 92, 255, .44), rgba(242, 104, 166, .3));
    color: #fff;
    box-shadow:
        0 0 0 4px rgba(124, 92, 255, .14),
        0 16px 34px -12px rgba(124, 92, 255, .95);
    opacity: 1;
}

.how-f2 {
height: 300px;
}

.how-geo {
position: absolute;
    inset: -7px auto -9px 96px;
    width: 360px;
    overflow: hidden;
    opacity: .9;
    transform: rotate(-1.6deg) scale(1.12);
    transform-origin: center;
    background-image:
        linear-gradient(rgba(180, 187, 218, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 187, 218, .055) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent);
}

.how-geo-circle {
position: absolute;
    top: 40px;
    left: -64px;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(237, 240, 254, .8);
    border-radius: 50%;
}

.how-geo-chord {
position: absolute;
    top: 62px;
    left: 110px;
    width: 2px;
    height: 176px;
    background: rgba(237, 240, 254, .88);
}

.how-geo-radius {
position: absolute;
    top: 149px;
    left: 46px;
    width: 65px;
    height: 2px;
    background: rgba(154, 131, 255, .76);
}

.how-geo-point {
position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EDF0FE;
    transform: translate(-50%, -50%);
}

.how-geo-point--o {
left: 46px; top: 150px;
}

.how-geo-point--a {
left: 111px; top: 62px;
}

.how-geo-point--b {
left: 111px; top: 238px;
}

.how-geo-point--m {
left: 111px; top: 150px; background: var(--live);
}

body.welcome-page .how-geo-label {
position: absolute;
    color: #B4BBDA;
    font-family: var(--wp-font-hand);
    font-size: 20px;
    font-weight: 700;
}

.how-geo-label--o {
left: 28px; top: 151px;
}

.how-geo-label--a {
left: 118px; top: 48px;
}

.how-geo-label--b {
left: 118px; top: 230px;
}

body.welcome-page .how-geo-label--m {
left: 116px; top: 143px; color: var(--live);
}

.how-focus-glow {
position: absolute;
    top: 16px;
    right: -72px;
    width: 590px;
    height: 276px;
    background: radial-gradient(closest-side, rgba(124, 92, 255, .16), transparent 74%);
}

.how-work {
position: absolute;
    top: -72px;
    left: 340px;
    width: calc(100% - 210px);
    transform: rotate(-.65deg) scale(1.035);
    transform-origin: left center;
}

body.welcome-page .how-work-line {
width: max-content;
    min-width: 560px;
    margin-bottom: 0;
    color: #EDF0FE;
    font-family: var(--wp-font-hand);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.08;
    white-space: nowrap;
    transform-origin: left center;
}

.how-work-line--1 {
opacity: .1;
    filter: blur(2px);
    transform: rotate(-.6deg);
}

.how-work-line--2 {
opacity: .2;
    filter: blur(1.45px);
    transform: rotate(.4deg);
}

.how-work-line--3 {
opacity: .16;
    filter: blur(1.65px);
    transform: rotate(-.3deg);
}

.how-work-line--4 {
opacity: .48;
    filter: blur(.85px);
    transform: rotate(.6deg);
}

.how-work-line--5 {
opacity: 1;
    filter: none;
    transform: rotate(-.5deg);
}

.how-work-line--6 {
opacity: 1;
    filter: none;
    transform: rotate(.25deg);
}

.how-f3 {
height: 320px;
}

.how-f3 {
-webkit-mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 5%, #000 18%, #000 82%, rgba(0, 0, 0, .28) 95%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .42) 6%, #000 17%, #000 83%, rgba(0, 0, 0, .38) 94%, transparent 100%);
    mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 5%, #000 18%, #000 82%, rgba(0, 0, 0, .28) 95%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .42) 6%, #000 17%, #000 83%, rgba(0, 0, 0, .38) 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.how-f3::before {
content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background: radial-gradient(
        ellipse 72% 68% at 50% 49%,
        transparent 52%,
        rgba(5, 7, 11, .1) 68%,
        rgba(5, 7, 11, .36) 84%,
        rgba(5, 7, 11, .72) 100%
    );
}

.how-route {
position: absolute;
    top: 17px;
    left: 48px;
    width: 430px;
    height: 70px;
}

.how-route-road {
position: absolute;
    top: 32px;
    right: 24px;
    left: 24px;
    height: 6px;
    border-top: 2px solid rgba(205, 209, 226, .5);
    border-radius: 50% 45% 0 0 / 100% 80% 0 0;
    transform: rotate(-.35deg) scaleY(.82);
}

.how-route-road::after {
content: "";
    position: absolute;
    top: 2px;
    right: 2%;
    left: 1%;
    border-top: 1px solid rgba(205, 209, 226, .18);
    border-radius: 45% 50% 0 0 / 80% 100% 0 0;
    transform: rotate(.7deg);
}

body.welcome-page .how-route-city {
position: absolute;
    top: 2px;
    z-index: 2;
    color: #B8BED1;
    font-family: var(--wp-font-hand);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    transform: rotate(-3deg);
}

.how-route-city::after {
content: "";
    position: absolute;
    top: 28px;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #D7DAE8;
    transform: translateX(-50%);
}

.how-route-city--a {
left: 17px;
}

.how-route-city--b {
right: 17px;
    transform: rotate(2deg);
}

body.welcome-page .how-route-distance {
position: absolute;
    top: -4px;
    left: 50%;
    color: #929AB1;
    font-family: var(--wp-font-hand);
    font-size: 18px;
    font-weight: 600;
    transform: translateX(-50%) rotate(1deg);
}

body.welcome-page .how-route-speed {
position: absolute;
    top: 44px;
    color: #B5BBD0;
    font-family: var(--wp-font-hand);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

body.welcome-page .how-route-speed b {
color: inherit;
    font-family: var(--wp-font-hand);
    font-weight: 600;
}

body.welcome-page .how-route-speed i {
display: inline-block;
    margin: 0 3px;
    font-family: var(--wp-font-hand);
    font-size: 20px;
    font-style: normal;
    line-height: 1;
}

.how-route-speed--there {
left: 72px;
    transform: rotate(-2deg);
}

.how-route-speed--there i {
color: var(--wp-accent-solid);
}

.how-route-speed--back {
right: 65px;
    transform: rotate(1.5deg);
}

.how-route-speed--back i {
color: var(--live);
}

.how-times {
position: absolute;
    top: 91px;
    left: 112px;
    display: flex;
    align-items: center;
    gap: 42px;
    transform: rotate(-.8deg);
}

.how-time {
display: flex;
    align-items: center;
    gap: 8px;
    color: #EDF0FE;
    font-family: var(--wp-font-hand);
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.how-time--back {
transform: rotate(.7deg);
}

body.welcome-page .how-time-name {
font-family: var(--wp-font-hand);
}

.how-time-name {
color: #B4BBDA;
}

.how-frac {
display: inline-grid;
    min-width: 55px;
    grid-template-rows: auto auto;
    text-align: center;
    line-height: .78;
}

body.welcome-page .how-frac > span {
font-family: var(--wp-font-hand);
}

.how-frac > span:first-child {
padding: 0 6px 3px;
    border-bottom: 2px solid rgba(237, 240, 254, .82);
}

.how-frac > span:last-child {
padding-top: 4px;
    color: #DDE1F2;
}

.how-student {
position: absolute;
    right: 46px;
    bottom: 112px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    max-width: calc(100% - 68px);
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px 15px 5px 15px;
    background: rgba(255, 255, 255, .10);
    box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .9);
}

.how-student > .student-mic-icon {
flex: none;
    color: #D8DDEA;
    width: 13px;
    height: 13px;
}

.how-student-name {
margin-bottom: 1px;
    color: #D8DDEA;
    font-size: 10.5px;
    font-weight: 700;
}

.how-student-msg {
color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.how-voice {
position: absolute;
    right: -28px;
    bottom: 23px;
    left: 164px;
    display: flex;
    align-items: center;
    gap: 0;
}

.how-orb {
position: relative;
    display: grid;
    flex: none;
    z-index: 2;
    width: 64px;
    height: 64px;
    margin-right: -13px;
    place-items: center;
    border: 1px solid rgba(154, 131, 255, .58);
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 34%, rgba(128, 255, 227, .18), transparent 32%),
        radial-gradient(closest-side, rgba(77, 224, 192, .18), rgba(8, 31, 31, .82));
    box-shadow:
        0 0 0 7px rgba(154, 131, 255, .035),
        0 0 38px 7px rgba(154, 131, 255, .13),
        inset 0 0 18px rgba(154, 131, 255, .08);
}

.how-orb::before,
.how-orb::after {
content: "";
    position: absolute;
    border: 1px solid rgba(154, 131, 255, .13);
    border-radius: 50%;
}

.how-orb::before {
inset: -7px;
}

.how-orb::after {
inset: 7px;
    border-color: rgba(154, 131, 255, .09);
}

.how-wf {
display: flex;
    height: 26px;
    align-items: center;
    gap: 3px;
}

.how-wf i {
width: 3px;
    border-radius: 3px;
    background: var(--live);
}

.how-bubble {
position: relative;
    max-width: 402px;
    padding: 17px 22px 18px 31px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-left-color: rgba(154, 131, 255, .24);
    border-radius: 26px 28px 26px 9px;
    background:
        radial-gradient(90% 150% at 0 50%, rgba(77, 224, 192, .10), transparent 48%),
        linear-gradient(135deg, rgba(72, 50, 120, .48), rgba(72, 31, 65, .42)),
        rgba(14, 15, 24, .86);
    box-shadow:
        0 24px 54px -24px rgba(0, 0, 0, .95),
        0 0 34px -22px rgba(154, 131, 255, .5),
        inset 0 1px 0 rgba(255, 255, 255, .045);
    transform: rotate(.22deg);
}

.how-bubble::before {
content: "";
    position: absolute;
    top: 50%;
    left: -7px;
    width: 15px;
    height: 15px;
    border-bottom: 1px solid rgba(154, 131, 255, .18);
    border-left: 1px solid rgba(154, 131, 255, .18);
    border-radius: 0 0 0 4px;
    background: rgba(26, 35, 43, .96);
    transform: translateY(-50%) rotate(45deg);
}

.how-vname {
display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
}

.how-vname::before {
content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 8px rgba(154, 131, 255, .75);
}

.how-vmsg {
color: #F5F6FF;
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.42;
    letter-spacing: -.005em;
    text-wrap: balance;
}

.how-cta {
margin-top: 74px;
    text-align: center;
}

@media (max-width: 980px) {
.how-step {
grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 29px;
}

.how-step--rev {
margin-bottom: 19px;
}

.how-step--rev .how-copy {
order: 1;
}

.how-step--rev .how-visual {
order: 2;
}

.how-frame {
width: calc(100% + 72px);
        margin-left: -36px;
}

.how-step--rev .how-frame {
margin-left: -36px;
}

.how-f1 {
height: 172px;
}

.how-f2 {
height: 274px;
}

.how-f3 {
height: 296px;
}

.how-route {
width: 404px;
}

.how-times {
left: 98px;
        gap: 34px;
}

.how-time {
font-size: 29px;
}

.how-voice {
left: 132px;
        gap: 0;
}

.how-bubble {
max-width: 370px;
}

.how-vmsg {
font-size: 15.5px;
}
}

@media (max-width: 600px) {
.how {
padding: 62px 0 72px;
}

.how-wrap {
padding: 0 18px;
}

.how-head {
margin-bottom: 54px;
}

.how-f1 {
height: 150px;
}

.how-f2 {
height: 236px;
}

.how-f3 {
height: 280px;
}

.how-tiles span {
height: 36px;
        font-size: 12px;
}

.how-geo {
top: -19px;
        left: -8px;
        width: 310px;
        transform: rotate(-1.8deg) scale(.92);
        transform-origin: center;
}

.how-focus-glow {
top: 14px;
        right: -90px;
        width: 390px;
        height: 220px;
}

.how-work {
top: -45px;
        left: 178px;
        width: calc(100% - 72px);
        transform: rotate(-.75deg) scale(1.02);
}

body.welcome-page .how-work-line {
min-width: 430px;
        margin-bottom: 0;
        font-size: 31px;
        line-height: 1.08;
}

.how-route {
top: 13px;
        right: 29px;
        left: 29px;
        width: auto;
        height: 68px;
}

body.welcome-page .how-route-city {
top: 0;
        width: auto;
        height: auto;
        font-size: 20px;
}

.how-route-city--a {
left: 10px;
}

.how-route-city--b {
right: 10px;
}

.how-route-road {
top: 29px;
        right: 18px;
        left: 18px;
}

body.welcome-page .how-route-distance {
font-size: 16px;
}

body.welcome-page .how-route-speed {
top: 40px;
        font-size: 17px;
}

body.welcome-page .how-route-speed i {
margin: 0 2px;
        font-size: 17px;
}

.how-route-speed--there {
left: 56px;
}

.how-route-speed--back {
right: 50px;
}

.how-times {
top: 82px;
        left: 94px;
        gap: 24px;
}

.how-time {
gap: 5px;
        font-size: 24px;
}

.how-frac {
min-width: 42px;
}

.how-voice {
right: 18px;
        bottom: 18px;
        left: 16px;
        gap: 0;
}

.how-student {
right: 18px;
        bottom: 92px;
        max-width: calc(100% - 36px);
        padding: 8px 11px;
}

.how-student-msg {
font-size: 12.5px;
}

.how-orb {
width: 48px;
        height: 48px;
        margin-right: -10px;
}

.how-bubble {
max-width: none;
        padding: 13px 14px 14px 23px;
        border-radius: 22px 22px 22px 8px;
}

.how-vmsg {
font-size: 14px;
}
}

.p3 {
padding: 72px 0 76px;
    color: var(--wp-text-primary);
}

.p3-wrap {
max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
}

body.welcome-page .p3,
body.welcome-page .p3 * {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.p3-head {
margin-bottom: 28px;
    text-align: center;
}

.p3-kicker {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.p3-kicker::before,
.p3-kicker::after {
content: "";
    width: min(140px, 15vw);
    height: 1px;
}

.p3-kicker::before {
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2));
}

.p3-kicker::after {
background: linear-gradient(90deg, rgba(255, 255, 255, .2), transparent);
}

body.welcome-page .p3-kicker b {
color: var(--wp-text-secondary);
    font-family: var(--wp-font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.welcome-page .p3-h2,
body.welcome-page .p3-h2 * {
font-family: "Unbounded", sans-serif;
}

body.welcome-page .p3-h2 {
margin: 0;
    color: #ECEEF7;
    font-size: clamp(22px, 2.25vw, 31px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
    text-wrap: balance;
}

body.welcome-page .p3-hl {
color: transparent;
    background: #B69CFF;
    background-clip: text;
    -webkit-background-clip: text;
    font: inherit;
}

.p3-lead,
.p3-pain,
.p3-out {
font-family: var(--wp-font);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

.p3-lead {
max-width: 660px;
    margin: 18px auto 0;
    color: var(--wp-text-secondary);
    text-align: center;
}

.p3-lead b,
.p3-out b {
color: var(--wp-text-primary);
    font-family: inherit;
    font-weight: 600;
}

.p3-frame {
position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1120px;
    height: 300px;
    margin: 34px auto 0;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image:
        linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.p3-glow {
position: absolute;
    top: 52%;
    left: 36%;
    width: 640px;
    height: 340px;
    background: radial-gradient(closest-side, rgba(124, 92, 255, .16), transparent 74%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.p3-scene {
position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 54px;
    padding: 0 40px;
}

body.welcome-page .p3-hand,
body.welcome-page .p3-hand * {
font-family: var(--wp-font-hand);
}

.p3-hand {
flex: none;
    color: #E4E9FB;
    font-weight: 600;
    white-space: nowrap;
}

.p3-hand i {
display: inline-block;
    font-style: normal;
}

.p3-l1 {
font-size: 48px;
    line-height: 1.24;
    opacity: .42;
    filter: blur(.5px);
    transform: rotate(-1.1deg);
}

.p3-l2 {
margin-top: 8px;
    font-size: 50px;
    line-height: 1.24;
    opacity: .9;
    transform: rotate(-1.5deg);
}

.p3-l3 {
display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    font-size: 52px;
    line-height: 1.24;
    transform: rotate(-1.2deg);
}

.p3-mark {
display: inline-block;
    padding: 2px 11px;
    border-radius: 10px;
    background: rgba(245, 165, 36, .16);
    box-shadow: inset 0 -4px 0 0 rgba(245, 165, 36, .85);
}

.p3-pen {
flex: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--wp-blue-dim);
    box-shadow: 0 0 20px 5px rgba(124, 92, 255, .55);
}

.p3-voice {
display: grid;
    flex: none;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px 16px;
    width: min(434px, 100%);
    margin-top: 18px;
}

.p3-student {
display: flex;
    grid-column: 1 / -1;
    justify-self: end;
    align-items: center;
    gap: 9px;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px 15px 5px 15px;
    background: rgba(255, 255, 255, .10);
    box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .9);
}

.p3-student > .student-mic-icon {
flex: none;
    color: #D8DDEA;
    width: 13px;
    height: 13px;
}

.p3-student-name {
margin-bottom: 1px;
    color: #D8DDEA;
    font-size: 10.5px;
    font-weight: 700;
}

.p3-student-msg {
color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.p3-orb {
position: relative;
    display: grid;
    flex: none;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(154, 131, 255, .42);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(77, 224, 192, .20), rgba(77, 224, 192, .05));
    box-shadow: 0 0 38px 8px rgba(154, 131, 255, .12);
}

.p3-wf {
display: flex;
    align-items: center;
    gap: 3px;
    height: 26px;
}

.p3-wf i {
width: 3px;
    border-radius: 3px;
    background: var(--wp-live);
}

.how-wf i:nth-child(1),
.p3-wf i:nth-child(1) { height: 9px; }

.how-wf i:nth-child(2),
.p3-wf i:nth-child(2) { height: 17px; }

.how-wf i:nth-child(3),
.p3-wf i:nth-child(3) { height: 25px; }

.how-wf i:nth-child(4),
.p3-wf i:nth-child(4) { height: 14px; }

.how-wf i:nth-child(5),
.p3-wf i:nth-child(5) { height: 20px; }

.p3-bubble {
min-width: 0;
    max-width: 360px;
    padding: 15px 19px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px 18px 18px 6px;
    background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(242, 104, 166, .16));
    box-shadow: 0 28px 52px -22px rgba(0, 0, 0, .92);
}

.p3-name {
margin-bottom: 6px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
}

.p3-msg {
color: #F5F6FF;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

.j1 {
transform: rotate(1.6deg) translateY(-1.1px);
}

.j2 {
transform: rotate(-1.3deg) translateY(1.2px);
}

.j3 {
transform: rotate(.7deg) translateY(.6px);
}

.j4 {
transform: rotate(-1.9deg) translateY(-.5px);
}

.j5 {
transform: rotate(1.1deg) translateY(1.4px);
}

.j6 {
transform: rotate(-.6deg) translateY(-1.3px);
}

.j7 {
transform: rotate(2deg) translateY(.4px);
}

.j8 {
transform: rotate(-1deg) translateY(-.8px);
}

.p3-cards {
display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 14px;
}

.p3-card {
position: relative;
    overflow: hidden;
    padding: 30px 32px;
    border: 1px solid var(--wp-border-subtle);
    border-radius: 18px;
    background: rgba(255, 255, 255, .02);
}

.p3-card::before {
content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--wp-blue-dim), transparent);
}

.p3-card::after {
content: "";
    position: absolute;
    top: -46px;
    right: -46px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(
        closest-side,
        color-mix(in srgb, var(--wp-blue-dim) 13%, transparent),
        transparent
    );
    pointer-events: none;
}

.p3-ic {
display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border: 1px solid color-mix(in srgb, var(--wp-accent-solid) 20%, transparent);
    border-radius: 14px;
    color: var(--wp-accent-solid);
    background: color-mix(in srgb, var(--wp-accent-solid) 10%, transparent);
}

.p3-pain {
margin: 0 0 10px;
    color: var(--wp-text-secondary);
}

body.welcome-page .p3-fix {
margin: 0;
    color: var(--wp-text-primary);
    font-family: var(--wp-font);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.p3-out {
margin: 34px 0 0;
    color: var(--wp-text-secondary);
    text-align: center;
}

.final-cta {
padding: clamp(112px, 12vw, 160px) 0 clamp(120px, 13vw, 176px);
}

.final-cta .p3-out {
margin-top: 72px;
}

@media (max-width: 1100px) {
.p3-frame {
height: 258px;
}

.p3-scene {
gap: 38px;
        padding: 0 24px;
}

.p3-l1 {
font-size: 36px;
}

.p3-l2 {
font-size: 38px;
}

.p3-l3 {
font-size: 40px;
}

.p3-bubble {
max-width: 300px;
}

.p3-msg {
font-size: 15px;
}

.p3-voice {
width: min(374px, 100%);
        margin-top: 12px;
}
}

@media (max-width: 820px) {
.p3-frame {
overflow: visible;
        height: auto;
        max-width: none;
        margin: 34px 0 0;
        -webkit-mask-image: none;
        mask-image: none;
}

.p3-glow {
display: none;
}

.p3-scene {
position: relative;
        inset: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 0;
}

.p3-hand {
max-width: 100%;
        white-space: normal;
}

.p3-voice {
flex: 0 1 auto;
        width: 100%;
        margin-top: 0;
}

.p3-student {
justify-self: start;
        margin-left: 0;
}

.p3-bubble {
max-width: none;
}
}

@media (max-width: 760px) {
.p3-cards {
grid-template-columns: 1fr;
        gap: 14px;
}
}

@media (max-width: 600px) {
.p3 {
padding: 52px 0 56px;
}

.p3-wrap {
padding: 0 18px;
}

.p3-lead,
.p3-pain,
.p3-out {
font-size: 18px;
}

.p3-hand {
max-width: none;
        white-space: nowrap;
}

.p3-l1 {
font-size: 26px;
}

.p3-l2 {
font-size: 28px;
}

.p3-l3 {
font-size: 30px;
}

.p3-msg {
font-size: 14.5px;
}

.p3-orb {
width: 48px;
        height: 48px;
}

body.welcome-page .p3-fix {
font-size: 18px;
}
}

.q {
padding: 94px 0 100px;
    color: var(--wp-text-primary);
}

.q-wrap {
max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
}

body.welcome-page .q,
body.welcome-page .q * {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.q-head {
margin-bottom: 52px;
    text-align: center;
}

.q-kicker {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 19px;
}

.q-kicker::before,
.q-kicker::after {
content: "";
    width: min(140px, 15vw);
    height: 1px;
}

.q-kicker::before {
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2));
}

.q-kicker::after {
background: linear-gradient(90deg, rgba(255, 255, 255, .2), transparent);
}

body.welcome-page .q-kicker b {
color: var(--wp-text-secondary);
    font-family: var(--wp-font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.welcome-page .q-h2 {
margin: 0;
    color: var(--wp-text-primary);
    font-family: "Unbounded", sans-serif;
    font-size: clamp(22px, 2.25vw, 31px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
    text-wrap: balance;
}

body.welcome-page .q-hl {
display: inline-block;
    color: transparent;
    background: #B69CFF;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font: inherit;
}

.q-list {
max-width: 840px;
    margin: 0 auto;
    border-top: 1px solid var(--wp-border-subtle);
}

.q-item {
border-bottom: 1px solid var(--wp-border-subtle);
}

.q-item summary {
position: relative;
    padding: 24px 46px 24px 2px;
    color: var(--wp-text-primary);
    font-size: 18.5px;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
    transition: color .18s ease;
}

.q-item summary::-webkit-details-marker {
display: none;
}

.q-item summary:hover {
color: #fff;
}

.q-item summary:focus-visible {
outline: 2px solid var(--wp-accent-solid);
    outline-offset: 4px;
}

.q-item summary::after {
content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 11px;
    height: 11px;
    border-right: 2px solid var(--wp-text-secondary);
    border-bottom: 2px solid var(--wp-text-secondary);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .22s ease, border-color .18s ease;
}

.q-item[open] summary::after {
border-color: var(--wp-accent-solid);
    transform: translateY(-30%) rotate(225deg);
}

.q-a {
margin: 0;
    padding: 0 60px 26px 2px;
    color: var(--wp-text-secondary);
    font-size: 16.5px;
    line-height: 1.62;
}

.q-a b {
color: var(--wp-text-primary);
    font-weight: 600;
}

.q-a + .q-a {
margin-top: 12px;
    padding-top: 0;
}

@media (max-width: 600px) {
.q {
padding: 64px 0 74px;
}

.q-wrap {
padding: 0 18px;
}

.q-item summary {
padding: 21px 38px 21px 0;
        font-size: 17px;
}

.q-a {
padding: 0 30px 22px 0;
        font-size: 16px;
}
}

body.welcome-page .site-footer {
background: #090C11;
    border-top: 1px solid var(--wp-border-subtle);
}

@media screen and (max-width: 1230px) {
body.welcome-page .nav-btn.register {
background: transparent;
        border: none;
        color: var(--wp-text-primary);
        opacity: 0.7;
}
}

@media screen and (max-width: 600px) {
body.welcome-page .cta-button.primary {
display: block;
        width: 100%;
}
}

body.welcome-page .site-header {
will-change: auto;
    transform: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.welcome-page .cta-button.primary:hover {
box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.26),
        0 0 18px 4px rgba(154, 131, 255, 0.28);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce), (max-width: 768px), (hover: none) and (pointer: coarse) {
body.welcome-page .site-header,
body.welcome-page .cta-button.primary {
transition: none;
        animation: none;
}

body.welcome-page .site-header.header-scrolled {
box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

body.welcome-page .cta-button.primary:hover {
transform: none;
        filter: none;
}
}

.hero2 {
--hero2-bg-base: var(--wp-obsidian-core);
    --hero2-bg-surface: var(--wp-bg-elevated);
    --hero2-ink: var(--wp-text-primary);
    --hero2-muted: var(--wp-text-secondary);
    --hero2-muted-2: var(--wp-text-muted);
    --hero2-brand-a: #6366F1;
    --hero2-brand-b: #F472B6;
    --hero2-border: var(--wp-border-subtle);
    --hero2-live: var(--wp-live);

    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 1360px;
    margin: 0 auto;
    padding: 20px 20px 56px;
    color: var(--hero2-ink);
}

@media screen and (min-width: 1231px) {
.hero2 {
grid-template-columns: 1fr 1.16fr;
        gap: 72px;
        align-items: center;
        padding: 42px 40px 78px;
}

.hero2-board-shell {
max-width: none;
}
}

body.welcome-page .hero2,
body.welcome-page .hero2 * {
font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Рамка бейджа — ровный фирменный сиреневый, без переливающегося
   конического градиента (то же самое на лендинге для репетиторов). */
.hero2-eyebrow {
display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 22px 10px 14px;
    border: 1.4px solid #B69CFF;
    border-radius: 100px;
    background: rgba(182, 156, 255, .06);
    box-shadow: 0 0 18px rgba(154, 131, 255, .16);
    font-size: 17px;
    font-weight: 600;
    color: var(--hero2-muted);
    margin-bottom: 26px;
}

.hero2-eyebrow-icon {
height: 32px;
    width: auto;
    flex-shrink: 0;
    /* The 3D pen reads as a flat purple blob at small sizes — a soft violet
       glow underneath lifts it off the pill and restores presence. */
    filter:
        drop-shadow(0 0 8px rgba(124, 58, 237, 0.55))
        drop-shadow(0 2px 6px rgba(99, 102, 241, 0.45));
}

.hero2-eyebrow-label {
color: #F5F5F7;
}

/* Мобильный бейдж — заметно компактнее и строго в одну строку. */
@media (max-width: 640px) {
    .hero2-eyebrow {
        gap: 7px;
        padding: 5px 13px 5px 8px;
        border-width: 1px;
        font-size: 12.5px;
        margin-bottom: 18px;
        white-space: nowrap;
    }
    .hero2-eyebrow-icon {
        height: 19px;
    }
}

body.welcome-page .hero2-title,
body.welcome-page .hero2-title * {
font-family: 'Unbounded', sans-serif;
}

.hero2-title {
font-weight: 700;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.14;
    letter-spacing: -.02em;
    margin: 0 0 24px;
}

.hero2-ln {
display: block;
}

.hero2-ln:last-of-type {
white-space: nowrap;
}

.hero2-hl {
position: relative;
    white-space: nowrap;
    background: #B69CFF;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero2-hl-underline {
position: absolute;
    left: -3%;
    right: -3%;
    bottom: -.26em;
    width: 106%;
    height: .5em;
    overflow: visible;
}

.hero2-hl-underline path {
stroke-width: 5;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
    animation: hero2Draw 1s .55s ease forwards;
}

.hero2-sub {
font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.6;
    color: #D8DEEA;
    font-weight: 500;
    max-width: 560px;
    margin: 0 0 30px;
}

.hero2-sub b {
color: #FFFFFF;
    font-weight: 800;
    letter-spacing: -.01em;
    text-shadow: 0 0 14px rgba(255, 255, 255, .26);
}

.hero2-cta-row {
display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero2-micro {
font-size: 16px;
    color: var(--hero2-muted-2);
    display: inline-flex;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.hero2-micro-check {
flex: none;
    color: var(--wp-accent-solid);
}

.student-mic-icon {
display: block;
    flex: none;
}

.hero2-board-shell {
min-width: 0;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.hero2-board {
position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--hero2-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent), var(--hero2-bg-surface);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(124, 92, 255, .08);
}

.hero2-paper {
position: relative;
    display: grid;
    grid-template-rows: auto minmax(88px, 1fr) 50px 92px;
    row-gap: 10px;
    padding: 12px 24px 0;
    height: 510px;
}

.hero2-glow {
position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(500px 240px at 74% 6%, rgba(124, 92, 255, .13), transparent 60%);
}

.hero2-task-card {
position: relative;
    z-index: 1;
    align-self: flex-start;
    width: min(470px, 76%);
    padding: 12px 15px 7px;
    border-radius: 12px;
    border: 1px solid var(--hero2-border);
    background: var(--hero2-bg-base);
    box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .7);
}

.hero2-tc-title {
font-weight: 700;
    font-size: 13px;
    color: var(--hero2-ink);
    margin-bottom: 7px;
}

.hero2-tc-text {
font-size: 11.5px;
    line-height: 1.45;
    color: var(--hero2-muted);
    margin-bottom: 3px;
}

.hero2-tc-fig {
display: block;
    width: min(100%, 320px);
    margin: -2px auto -5px;
    overflow: visible;
}

.hero2-tc-circle {
fill: none;
    stroke: rgba(225, 230, 245, .74);
    stroke-width: 1.7;
}

.hero2-tc-tangent {
fill: none;
    stroke: rgba(225, 230, 245, .62);
    stroke-width: 1.7;
}

.hero2-tc-chord {
fill: none;
    stroke: #F3F5FF;
    stroke-width: 2.25;
    stroke-linecap: round;
}

.hero2-tc-radii {
fill: none;
    stroke: rgba(173, 182, 210, .48);
    stroke-width: 1.8;
    stroke-linecap: round;
    transition: stroke .32s ease, stroke-width .32s ease, filter .32s ease;
}

.hero2-tc-right {
fill: none;
    stroke: rgba(225, 230, 245, .52);
    stroke-width: 1.45;
    stroke-linejoin: round;
}

.hero2-tc-angle-given {
fill: none;
    stroke: var(--hero2-brand-b);
    stroke-width: 2.2;
    stroke-linecap: round;
}

.hero2-tc-angle-answer {
fill: none;
    stroke: var(--hero2-live);
    stroke-width: 2.2;
    stroke-linecap: round;
    opacity: 0;
    transition: opacity .28s ease;
}

.hero2-tc-degree,
.hero2-tc-answer,
.hero2-tc-labels text {
font-family: var(--wp-font);
    font-weight: 600;
}

.hero2-tc-degree {
fill: var(--hero2-brand-b);
    font-size: 11px;
}

.hero2-tc-answer {
fill: var(--hero2-live);
    font-size: 10.5px;
    opacity: 0;
    transition: opacity .28s ease;
}

.hero2-tc-points circle {
fill: #F3F5FF;
    transition: fill .28s ease, filter .28s ease;
}

.hero2-tc-labels text {
fill: #E9ECF8;
    font-size: 13px;
    font-style: italic;
}

.hero2-tc-labels .hero2-tc-tangent-label {
fill: rgba(225, 230, 245, .62);
}

.hero2-tc-fig.is-reading .hero2-tc-radii,
.hero2-tc-fig.is-solved .hero2-tc-radii {
stroke: var(--hero2-live);
    stroke-width: 2.8;
    filter: drop-shadow(0 0 5px rgba(154, 131, 255, .55));
}

.hero2-tc-fig.is-reading .hero2-tc-points circle:first-child,
.hero2-tc-fig.is-solved .hero2-tc-points circle:first-child {
fill: var(--hero2-live);
    filter: drop-shadow(0 0 4px rgba(154, 131, 255, .65));
}

.hero2-tc-fig.is-reading .hero2-tc-radii {
animation: hero2RadiiRead .72s ease-in-out 1;
}

.hero2-tc-fig.is-solved .hero2-tc-angle-answer,
.hero2-tc-fig.is-solved .hero2-tc-answer {
opacity: 1;
}

.hero2-tc-src {
text-align: right;
    font-size: 9.5px;
    color: var(--hero2-muted-2);
    margin-top: 4px;
}

body.welcome-page .hero2-hand,
body.welcome-page .hero2-hand * {
font-family: var(--wp-font-hand);
    font-weight: 600;
}

body.welcome-page .hero2-hand {
position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1.35em 1.35em;
    align-content: center;
    row-gap: 2px;
    min-height: 0;
    overflow: hidden;
    color: #DDE2F7;
    font-size: 32px;
    line-height: 1.38;
    margin: 0;
    align-self: stretch;
}

.hero2-hand-line {
display: block;
    margin: 0;
    min-height: 0;
    transition: opacity .45s ease;
}

.hero2-hand-q {
color: var(--hero2-brand-b);
}

.hero2-ch {
opacity: 0;
    animation: hero2Ink .14s ease forwards;
}

.hero2-pen {
position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hero2-brand-a);
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, .7));
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    will-change: transform;
    transition: transform .08s linear, opacity .25s ease;
}

.hero2-pen.is-writing {
opacity: 1;
    animation: hero2PenPulse 1s ease-in-out infinite;
}

.hero2-pen.no-anim {
transition: opacity .25s ease;
}

.hero2-student {
position: relative;
    z-index: 1;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: flex-end;
    padding-inline: 14px;
    pointer-events: none;
}

.hero2-student-bubble {
display: flex;
    gap: 8px;
    align-items: center;
    width: max-content;
    max-width: 310px;
    min-height: 44px;
    padding: 8px 12px;
    box-sizing: border-box;
    border-radius: 14px 14px 4px 14px;
    background: rgba(255, 255, 255, .095);
    border: 1px solid rgba(255, 255, 255, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.hero2-student-bubble.is-shown {
opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .30);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.hero2-student-mic {
flex: none;
    color: #D8DDEA;
    width: 14px;
    height: 14px;
    opacity: .82;
}

.hero2-student-bubble.is-speaking .hero2-student-mic {
animation: hero2StudentMic .7s ease-in-out infinite alternate;
}

.hero2-student-body {
min-width: 0;
}

.hero2-student-label {
font-size: 11px;
    font-weight: 700;
    color: #E4E8F2;
    margin-bottom: 1px;
}

.hero2-student-msg {
font-size: 14.5px;
    line-height: 1.3;
    color: #FFFFFF;
    font-weight: 600;
}

.hero2-student-cursor {
display: inline-block;
    width: 1.5px;
    height: 1em;
    margin-left: 1px;
    vertical-align: -2px;
    background: rgba(232, 234, 245, .75);
    animation: hero2Blink .8s steps(1) infinite;
}

.hero2-voice {
position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 92px;
    min-height: 92px;
    width: calc(100% + 48px);
    margin-inline: -24px;
    padding: 10px 24px;
    box-sizing: border-box;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(99, 102, 241, .035), rgba(242, 104, 166, .025)),
        linear-gradient(180deg, rgba(20, 24, 35, .88), rgba(12, 15, 23, .97));
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px 0 rgba(99, 102, 241, .035);
}

.hero2-voice-icon {
position: relative;
    flex: none;
    width: 24px;
    height: 24px;
    transition: opacity .28s ease;
}

.hero2-wave {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    height: 100%;
}

.hero2-wave span {
width: 3.5px;
    border-radius: 3px;
    background: var(--hero2-live);
    height: 7px;
    animation: none;
}

.hero2-voice-body {
flex: 1;
    min-width: 0;
}

.hero2-voice-label {
font-size: 12.5px;
    letter-spacing: .01em;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 3px;
}

.hero2-voice-msg {
font-size: 16px;
    line-height: 1.38;
    color: #FAF9FF;
    font-weight: 500;
    height: 50px;
    overflow: hidden;
    white-space: pre-line;
    transition: opacity .18s ease;
}

.hero2-voice-msg.is-switching {
opacity: .35;
}

.hero2-cursor {
display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--hero2-live);
    margin-left: 1px;
    vertical-align: -2px;
    animation: hero2Blink .8s steps(1) infinite;
}

.hero2-voice-mic-big {
display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero2-voice-icon .hero2-wave {
display: none;
}

.hero2-voice.is-speaking .hero2-voice-icon .hero2-wave {
display: flex;
}

.hero2-voice.is-speaking .hero2-wave span {
animation-name: hero2Eq;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.hero2-voice.is-speaking .hero2-wave span:nth-child(2) {
animation-delay: .15s;
}

.hero2-voice.is-speaking .hero2-wave span:nth-child(3) {
animation-delay: .30s;
}

.hero2-voice.is-speaking .hero2-wave span:nth-child(4) {
animation-delay: .45s;
}

.hero2-voice.is-speaking .hero2-wave span:nth-child(5) {
animation-delay: .20s;
}

.hero2-voice.is-listening .hero2-voice-icon .hero2-voice-mic-big {
display: flex;
    color: var(--hero2-live);
    opacity: .58;
}

.hero2-voice.is-analyzing .hero2-voice-icon .hero2-voice-mic-big {
display: flex;
    color: var(--hero2-live);
    animation: hero2MicPulse .45s ease-in-out 1;
}

.hero2-board.is-resetting .hero2-hand-line,
.hero2-board.is-resetting .hero2-student-bubble {
opacity: 0;
    transition-duration: .28s;
}

.hero2-sr {
position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media screen and (max-width: 1230px) {
.hero2-task-card {
width: min(400px, 82%);
}
}

@media screen and (max-width: 600px) {
.hero2-paper {
height: 510px;
        padding: 16px 16px 0;
}

.hero2-task-card {
width: 100%;
}

body.welcome-page .hero2-hand {
font-size: 22px;
}

.hero2-voice-msg {
height: 50px;
        font-size: 12.8px;
        line-height: 1.3;
}

.hero2-student {
padding-inline: 0;
}

.hero2-student-bubble {
max-width: 92%;
        min-height: 44px;
        padding: 8px 11px;
        gap: 10px;
}

.hero2-student-msg {
font-size: 13px;
}

.hero2-voice {
gap: 8px;
        width: calc(100% + 32px);
        margin-inline: -16px;
        padding: 8px 12px;
}

.hero2-cta-row {
width: 100%;
        align-items: stretch;
}

body.welcome-page .hero2 .cta-button.primary {
padding: 16px 14px;
        font-size: 16px;
        letter-spacing: 0;
}

.hero2-micro {
justify-content: center;
}
}

@media screen and (max-width: 340px) {
.hero2-title {
font-size: 24px;
}
}

@media (prefers-reduced-motion: reduce) {
.hero2 *,
.hero2 *::before,
.hero2 *::after {
animation-duration: .001s;
        animation-iteration-count: 1;
        transition: none;
}

.hero2-hl-underline path {
stroke-dashoffset: 0;
}

.hero2-ch {
opacity: 1;
}

.hero2-pen {
display: none;
}
}

body {
background: var(--dark-bg);
}

.site-footer {
background: #0B1120;
    border-top: 1px solid var(--border-subtle);
}

.footer-section p {
color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a {
color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a:hover {
color: #ffffff;
}

.footer-bottom p {
color: rgba(255, 255, 255, 0.45);
}

.dropdown-menu {
background: var(--dark-elevated);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.dropdown-menu a,
.dropdown-menu .dropdown-profile-btn {
color: var(--dark-text-primary);
}

.dropdown-menu a.desktop-only {
display: block;
}

.dropdown-menu a.mobile-only,
.dropdown-menu .mobile-only {
display: none;
}

.dropdown-menu a:hover,
.dropdown-menu .dropdown-profile-btn:hover {
background: var(--dark-surface);
    color: var(--dark-text-primary);
}

.dropdown-menu > * + *,
.dropdown-menu .mobile-menu-section > * + * {
position: relative;
}

.dropdown-menu > * + *::before,
.dropdown-menu .mobile-menu-section > * + *::before {
content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.10) 25%,
        rgba(255, 255, 255, 0.20) 50%,
        rgba(255, 255, 255, 0.10) 75%,
        transparent
    );
    pointer-events: none;
}

.site-header .plus-header-btn {
border: 1px solid rgba(154, 131, 255, 0.4);
    background: rgba(154, 131, 255, 0.08);
    border-radius: 100px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.site-header .plus-header-btn span,
.site-header .plus-header-btn i {
background: linear-gradient(135deg, #6366F1, #A855F7, #F472B6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-header .plus-header-btn:hover {
background: rgba(154, 131, 255, 0.15);
    box-shadow: 0 0 12px rgba(154, 131, 255, 0.2);
}

.dropdown-menu .mobile-plus-link {
font-weight: 600;
}

.dropdown-menu .mobile-plus-link .plus-gradient-text {
background: linear-gradient(135deg, #6366F1, #A855F7, #F472B6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-overlay {
position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);


    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.profile-overlay--hidden {
opacity: 0;
    pointer-events: none;
}

.profile-modal {
position: relative;
    width: 100%;
    max-width: 400px;
    padding: 24px;
    border-radius: 24px;
    background: var(--modal-solid-bg);
    border: 1px solid var(--border-subtle);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.64),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    margin: 16px;
}

#cancel-sub-overlay > div {
background: var(--modal-solid-bg) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.64),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

#cancel-sub-overlay p {
color: rgba(255, 255, 255, 0.82) !important;
}

#cancel-sub-dismiss {
background: #161B22 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#cancel-sub-dismiss:hover {
background: #202938 !important;
    color: #ffffff !important;
}

.profile-close-btn {
position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.profile-close-btn:hover {
color: #fff;
}

.profile-identity {
display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    flex-shrink: 0;
}

.profile-id {
    color: rgba(255, 255, 255, 0.5);
    font-family: ui-monospace, Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.profile-info {
display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.profile-email {
color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-badge {
display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
}

.profile-divider {
height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

.profile-subscription {
text-align: left;
}

.sub-motivation {
color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 4px;
    letter-spacing: 0.01em;
}

.sub-active-text {
color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin: 0 0 4px;
}

.sub-days-left,
.sub-renewal-period {
color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin: 0 0 4px;
}

.sub-state-plus {
display: none;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-stat-tile {
    padding: 16px 20px;
}

.profile-stat-tile:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-stat-tile:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-stat-tile-label {
    margin-bottom: 10px;
    color: #6F89B4;
    font-family: ui-monospace, Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
}

.profile-stat-tile-value,
.profile-stat-tile-inline {
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.profile-stat-tile-days-chart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
}

.profile-stat-tile-day-dot {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(100, 116, 139, 0.82);
    border-radius: 999px;
    background: transparent;
}

.profile-stat-tile-day-dot-active {
    border-color: transparent;
    background: #A855F7;
}

.profile-stat-tile-weekly-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    margin-top: 3px;
}

.profile-stat-tile-week-column {
    width: 29px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.profile-stat-tile-week-bar-wrap {
    height: 44px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.profile-stat-tile-week-bar {
    width: 7px;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.4);
}

.profile-stat-tile-week-bar-current {
    background: linear-gradient(180deg, #A855F7, #6366F1);
}

.profile-stat-tile-week-value {
    margin-top: 6px;
    color: #64748B;
    font-family: ui-monospace, Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
}

.profile-btn-row {
display: flex;
    gap: 8px;
    margin-top: 10px;
    align-items: center;
    justify-content: space-between;
}

.btn-profile-primary {
display: inline-block;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #F8FAFC;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 100px;
    background-image: linear-gradient(rgba(25, 30, 40, 1), rgba(25, 30, 40, 1)),
                      linear-gradient(135deg, #6366F1, #F472B6);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-profile-primary:hover {
box-shadow: 0 4px 15px rgba(154, 131, 255, 0.2);
    filter: brightness(1.1);
}

.profile-actions {
display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-link-logout {
color: #94A3B8;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.action-link-logout:hover {
color: #fff;
}

.action-link-delete {
color: #7F1D1D;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.action-link-delete:hover {
color: #EF4444;
}

.auth-provider-badge {
position: absolute;
    bottom: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #1E293B;
    border: 2px solid #0D1117;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp-accent-solid);
    font-size: 12px;
}

.dropdown-profile-btn {
display: block;
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #333;
    font-size: inherit;
    font-family: inherit;
}

.dropdown-profile-btn:hover {
background-color: #f5f5f5;
}

@media screen and (max-width: 480px) {
.profile-modal {
padding: 20px 16px;
}
}

@keyframes hero2Draw {
to { stroke-dashoffset: 0; }
}

@keyframes hero2RadiiRead {
0%, 100% { opacity: 1; }
    50% { opacity: .58; }
}

@keyframes hero2Ink {
to { opacity: 1; }
}

@keyframes hero2PenPulse {
0%, 100% { opacity: 1; }
    50% { opacity: .75; }
}

@keyframes hero2StudentMic {
to {
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(216, 221, 234, .45));
    }
}

@keyframes hero2Eq {
0%, 100% { height: 6px; }
    50% { height: 26px; }
}

@keyframes hero2Blink {
50% { opacity: 0; }
}

@keyframes hero2MicPulse {
0%, 100% { opacity: .58; }
    50% { opacity: .95; }
}
