/* Anka Academy shared production polish */
:root {
    --anka-ivory: #fbf7ef;
    --anka-paper: #fffdf8;
    --anka-sand: #e8dfd0;
    --anka-ink: #201d1a;
    --anka-muted: #675f55;
    --anka-amber: #e96f1a;
    --anka-gold: #c98618;
    --anka-teal: #0f766e;
    --anka-sage: #dce8da;
    --anka-line: rgba(32, 29, 26, 0.12);
    --anka-shadow: 0 18px 48px rgba(32, 29, 26, 0.12);
    --anka-soft-shadow: 0 8px 24px rgba(32, 29, 26, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(244, 240, 230, 0.96)),
        repeating-linear-gradient(90deg, rgba(32, 29, 26, 0.025) 0 1px, transparent 1px 72px);
    color: var(--anka-ink);
    letter-spacing: 0;
    cursor: auto;
}

@media (pointer: fine) {
    body {
        cursor: none;
    }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }
}

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

.clay-card,
.clay-panel {
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 8px !important;
    background: rgba(255, 253, 248, 0.84) !important;
    box-shadow: var(--anka-soft-shadow) !important;
    backdrop-filter: blur(18px);
}

.clay-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--anka-shadow) !important;
}

.clay-btn {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 22px rgba(32, 29, 26, 0.1) !important;
}

.clay-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #ea580c 58%, #b45309) !important;
    box-shadow: 0 16px 34px rgba(234, 88, 12, 0.28) !important;
}

input,
select,
textarea,
button,
a {
    letter-spacing: 0 !important;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.28) !important;
    outline-offset: 3px;
}

#navbar {
    background: rgba(251, 247, 239, 0.78) !important;
    border-bottom: 1px solid rgba(32, 29, 26, 0.08);
}

.anka-site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    background: rgba(251, 247, 239, 0.86) !important;
    border-bottom: 1px solid rgba(32, 29, 26, 0.08);
    backdrop-filter: blur(18px);
}

.anka-nav-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.anka-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: var(--anka-ink);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 800;
    text-decoration: none;
}

.anka-nav-brand strong {
    color: var(--anka-amber);
}

.anka-nav-logo {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: #fffdf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem;
    box-shadow: var(--anka-soft-shadow);
    flex: 0 0 auto;
}

.anka-nav-logo svg {
    width: 100%;
    height: 100%;
}

.anka-nav-links,
.anka-nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.anka-nav-link,
.anka-nav-login {
    color: var(--anka-ink);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.anka-nav-link:hover,
.anka-nav-login:hover,
.anka-nav-link.is-active {
    color: var(--anka-amber);
}

.anka-nav-cta,
.anka-mobile-cta {
    min-height: 2.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    color: white;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #f59e0b, #ea580c 58%, #b45309);
    box-shadow: 0 16px 34px rgba(234, 88, 12, 0.22);
}

.anka-nav-avatar {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--anka-amber);
    color: white;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--anka-soft-shadow);
}

.anka-menu-btn {
    display: none;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: var(--anka-ink);
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(32, 29, 26, 0.1);
    box-shadow: var(--anka-soft-shadow);
}

.anka-mobile-menu {
    border-top: 1px solid rgba(32, 29, 26, 0.08);
    background: rgba(255, 253, 248, 0.96);
}

.anka-mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem 1.25rem;
}

.anka-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.75rem;
    border-radius: 8px;
    color: var(--anka-ink);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.anka-mobile-link:hover {
    background: rgba(244, 240, 230, 0.86);
    color: var(--anka-amber);
}

.anka-mobile-cta {
    margin-top: 0.4rem;
}

body:has(#anka-nav-root) {
    padding-top: 5.25rem;
}

body:has(#anka-nav-root) .min-h-screen {
    min-height: calc(100vh - 5.25rem);
}

body:has(#anka-nav-root[data-overlay="true"]) {
    padding-top: 0;
}

body:has(#anka-nav-root[data-overlay="true"]) .min-h-screen {
    min-height: 100vh;
}

@media (max-width: 900px) {
    .anka-nav-links {
        display: none;
    }

    .anka-nav-actions {
        display: none;
    }

    .anka-nav-actions.is-user-action {
        display: flex;
        margin-left: auto;
    }

    .anka-menu-btn {
        display: inline-flex;
    }
}

@media (max-width: 520px) {
    .anka-nav-inner {
        padding-inline: 1rem;
    }

    .anka-nav-brand span {
        max-width: 12rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

#hero-canvas {
    display: none !important;
}

.hero-text > *,
.gs-reveal {
    opacity: 1 !important;
    transform: none !important;
}

.hero-badge {
    border-radius: 999px !important;
    border: 1px solid rgba(234, 88, 12, 0.24) !important;
    max-width: 100%;
    flex-wrap: wrap;
}

.hero-text {
    min-width: 0;
}

.hero-media {
    position: relative;
    min-height: clamp(360px, 48vw, 620px);
    overflow: hidden;
    border-radius: 8px;
    isolation: isolate;
    box-shadow: 0 28px 70px rgba(32, 29, 26, 0.18);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(32, 29, 26, 0) 42%, rgba(32, 29, 26, 0.42)),
        linear-gradient(90deg, rgba(251, 247, 239, 0.04), rgba(251, 247, 239, 0));
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-proof-strip {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hero-proof-strip span {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(32, 29, 26, 0.56);
    color: #fffdf8;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.15;
    backdrop-filter: blur(14px);
}

.trust-band {
    border-block: 1px solid var(--anka-line);
    background: rgba(255, 253, 248, 0.64);
}

.mobile-menu-fab {
    position: fixed;
    top: 16px;
    left: calc(100dvw - 62px);
    right: auto;
    z-index: 140;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(234, 88, 12, 0.28);
    border-radius: 999px;
    background: #ffffff;
    color: var(--anka-amber);
    box-shadow: 0 12px 28px rgba(32, 29, 26, 0.16);
}

@media (min-width: 768px) {
    .mobile-menu-fab {
        display: none;
    }
}

.mentor-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--anka-sage), #fff7ed 55%, #fde68a);
    color: var(--anka-ink);
    font-size: 2.25rem;
    font-weight: 900;
}

.anka-toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.anka-toast {
    width: min(360px, calc(100vw - 36px));
    border: 1px solid var(--anka-line);
    border-left: 4px solid var(--anka-teal);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--anka-shadow);
    color: var(--anka-ink);
    padding: 13px 15px;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.35;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 220ms ease, transform 220ms ease;
}

.anka-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.anka-toast[data-type="error"] {
    border-left-color: #dc2626;
}

.anka-toast[data-type="success"] {
    border-left-color: #16a34a;
}

.status-badge,
#role-badge,
#profile-role {
    letter-spacing: 0.02em !important;
}

@media (max-width: 900px) {
    .hero-media {
        min-height: 340px;
        order: -1;
    }
}

@media (max-width: 640px) {
    #mobile-menu-btn {
        display: none !important;
    }

    .mobile-menu-fab {
        display: inline-flex;
    }

    .hero-badge {
        align-self: stretch;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .hero-badge span {
        font-size: 0.68rem;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero-media {
        min-height: 340px;
    }

    .hero-proof-strip {
        grid-template-columns: 1fr;
        left: 20px;
        right: 20px;
        bottom: 12px;
    }

    .hero-proof-strip span {
        padding: 8px 10px;
        font-size: 0.72rem;
    }

    .anka-toast-stack {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .anka-toast {
        width: 100%;
    }
}
