:root {
    --ink: #101624;
    --black: #08090d;
    --yellow: #f37121;
    --orange: #f37121;
    --muted: #687083;
    --line: #eceef4;
    --paper: #ffffff;
    --soft: #f7f8fb;
    --pink: #ee3b8b;
    --lime: #b9f20d;
    --purple: #8338ec;
    --orange: #ff8a14;
    --teal: #16b8a6;
    --radius: 8px;
    --shadow: 0 18px 45px rgba(16, 22, 36, .12);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--soft);
}

a {
    color: inherit;
    text-decoration: none;
}

.fw-black {
    font-weight: 900;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    width: clamp(250px, 29vw, 390px);
    max-width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.btn {
    border-radius: var(--radius);
    font-weight: 800;
}

.btn-fitastic {
    border: 0;
    color: var(--black);
    background: var(--yellow);
    box-shadow: 0 10px 24px rgba(243, 113, 33, .28);
}

.btn-fitastic:hover,
.btn-fitastic:focus {
    color: var(--black);
    background: #dceb00;
}

.btn-outline-dark {
    border-color: #d8dce6;
    background: #fff;
}

.form-control,
.form-select {
    min-height: 44px;
    border-radius: var(--radius);
    border-color: #dfe3ed;
    font-weight: 650;
}

textarea.form-control {
    min-height: 88px;
}

label {
    width: 100%;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

label .form-control,
label .form-select {
    margin-top: .35rem;
    color: var(--ink);
}

.stack-form {
    display: grid;
    gap: .85rem;
}

.auth-body {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(243, 113, 33, .24), transparent 22rem),
        radial-gradient(circle at 94% 12%, rgba(243, 113, 33, .22), transparent 22rem),
        linear-gradient(135deg, #111216 0%, #08090d 54%, #171719 100%);
}

.auth-shell {
    width: min(1440px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(380px, .7fr);
    gap: 26px;
    align-items: center;
    padding: 24px 0;
}

.auth-copy {
    position: relative;
    min-width: 0;
}

.auth-hero-card {
    min-height: min(820px, calc(100vh - 48px));
    overflow: hidden;
    padding: clamp(24px, 3vw, 46px);
    border: 1px solid rgba(243, 113, 33, .22);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 74% 24%, rgba(243, 113, 33, .32), transparent 17rem),
        linear-gradient(128deg, #08090d 0%, #101116 58%, #2a1508 100%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
}

.auth-headline {
    position: relative;
    z-index: 2;
    width: min(560px, 55%);
    max-width: 620px;
    margin: 32px 0 16px;
    color: #ffffff;
    font-size: clamp(3.4rem, 5.4vw, 6.7rem);
    line-height: .8;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

.auth-headline span {
    display: block;
    white-space: normal;
}

.auth-headline .hot,
.auth-headline span:last-child:nth-child(2) {
    color: var(--yellow);
}

.auth-subtitle {
    position: relative;
    z-index: 2;
    width: min(540px, 53%);
    max-width: 560px;
    margin: 0;
    font-size: clamp(1rem, 1.9vw, 1.34rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, .84);
    font-weight: 850;
}

.auth-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 24px 0;
}

.auth-badges span,
.auth-feature-grid span,
.mini-pill,
.pill-hot {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 34px;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: .84rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(16, 22, 36, .08);
}

.auth-feature-grid {
    position: relative;
    z-index: 2;
    width: min(540px, 53%);
    max-width: 610px;
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    margin: 28px 0 0;
}

.auth-feature-grid span {
    min-height: 48px;
    justify-content: flex-start;
    color: #fff;
    border: 1px solid rgba(243, 113, 33, .32);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
    backdrop-filter: blur(8px);
}

.auth-feature-grid i {
    color: var(--yellow);
    font-size: 1.05rem;
}

.fitgirl-visual {
    position: absolute;
    z-index: 1;
    right: -70px;
    top: 0;
    bottom: 0;
    width: min(56%, 620px);
    margin: 0;
    pointer-events: none;
}

.fitgirl-visual::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -90px;
    width: 220px;
    background: linear-gradient(90deg, #08090d 0%, rgba(8, 9, 13, .78) 38%, rgba(8, 9, 13, 0) 100%);
    z-index: 2;
}

.fitgirl-visual picture,
.fitgirl-visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.fitgirl-visual img {
    object-fit: cover;
    object-position: center right;
    filter: hue-rotate(-34deg) saturate(1.08) brightness(.98);
}

.signup-kicker {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #e8ebf2;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(243, 113, 33, .2), rgba(255, 255, 255, .92)), #fff;
}

.signup-kicker span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: .28rem .55rem;
    border-radius: 999px;
    color: var(--ink);
    background: var(--yellow);
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.signup-kicker strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 950;
}

.signup-kicker p {
    margin: 6px 0 0;
    color: #4a5264;
    font-size: .9rem;
    font-weight: 750;
}

.auth-panel,
.install-panel {
    width: 100%;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 26px 62px rgba(0, 0, 0, .24);
    backdrop-filter: blur(10px);
}

.install-panel {
    max-width: 520px;
}

.fit-tabs {
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.fit-tabs .nav-link {
    border-radius: 6px;
    color: var(--muted);
    font-weight: 900;
}

.fit-tabs .nav-link.active {
    color: var(--yellow);
    background: var(--black);
}

.fit-tabs.compact .nav-link {
    padding: .42rem .68rem;
    font-size: .84rem;
}

.phone-stage {
    display: grid;
    place-items: center;
}

.phone-mock {
    position: relative;
    width: min(310px, 72vw);
    min-height: 650px;
    padding: 38px 22px 22px;
    border: 10px solid #171a20;
    border-radius: 42px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(16, 22, 36, .22);
}

.phone-top {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 94px;
    height: 24px;
    border-radius: 999px;
    background: #111;
    transform: translateX(-50%);
}

.mock-greeting {
    margin-top: 16px;
    font-size: 1.35rem;
    font-weight: 950;
}

.mock-ring {
    width: 182px;
    height: 182px;
    margin: 24px auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--lime) 0 70%, var(--purple) 70% 88%, #edf0f6 88%);
}

.mock-ring > div {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: #fff;
}

.mock-ring strong {
    font-size: 2rem;
}

.mock-ring span {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
}

.mock-row,
.mock-challenge {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: var(--radius);
    background: #f7f8fb;
    font-weight: 850;
}

.mock-challenge {
    display: grid;
    color: #fff;
    background: var(--purple);
}

.mock-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff1f7;
    font-size: .82rem;
    font-weight: 850;
}

.mock-social i {
    color: var(--pink);
}

.mock-nav {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    display: flex;
    justify-content: space-around;
    padding: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.mock-nav .bi-plus-circle-fill {
    color: var(--pink);
    transform: scale(1.45);
}

.app-body {
    background:
        linear-gradient(180deg, #f8f9fc 0%, #eef2f6 100%);
}

.app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 26px 18px;
    border-right: 1px solid #e5e8f0;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    z-index: 20;
}

.sidebar-logo {
    width: 210px;
    padding: 8px 10px;
}

.side-nav {
    display: grid;
    gap: 7px;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: var(--radius);
    color: #4e5667;
    font-weight: 900;
}

.side-nav a.active,
.side-nav a:hover {
    color: #fff;
    background: var(--ink);
}

.side-nav i {
    width: 22px;
    text-align: center;
}

.sidebar-user {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--soft);
}

.sidebar-user span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.app-main {
    width: calc(100% - 260px);
    margin-left: 260px;
    padding: 28px clamp(18px, 3vw, 42px) 56px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.topbar h1 {
    margin: 0;
    font-weight: 950;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.eyebrow {
    color: var(--pink);
    font-size: .8rem;
    font-weight: 950;
    text-transform: uppercase;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #dfe3ed;
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
}

.icon-btn.hot {
    border: 0;
    color: #fff;
    background: var(--pink);
}

.avatar,
.avatar-sm,
.avatar-xl,
.mini-avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
    font-weight: 950;
}

.avatar {
    width: 54px;
    height: 54px;
}

.avatar-sm {
    width: 42px;
    height: 42px;
    font-size: .85rem;
}

.avatar-xl {
    width: 112px;
    height: 112px;
    font-size: 2rem;
    margin-bottom: 16px;
}

.mini-avatar {
    width: 30px;
    height: 30px;
    font-size: .72rem;
}

.avatar img,
.avatar-sm img,
.avatar-xl img,
.mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-panel,
.hero-panel,
.stat-strip {
    border: 1px solid #e6e9f1;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 28px rgba(16, 22, 36, .06);
}

.section-panel {
    padding: 18px;
}

.dashboard-grid,
.goals-grid,
.friends-grid,
.profile-grid,
.feed-layout {
    display: grid;
    gap: 18px;
}

.dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
}

.hero-panel {
    grid-column: 1 / -1;
    min-height: 245px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: clamp(22px, 4vw, 38px);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(238, 59, 139, .9), rgba(131, 56, 236, .72)),
        #111624;
    overflow: hidden;
}

.hero-copy h2 {
    max-width: 760px;
    margin: 16px 0 8px;
    font-size: clamp(2rem, 5vw, 4.6rem);
    line-height: .92;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-weight: 750;
}

.pill-hot {
    color: var(--ink);
    background: var(--lime);
    box-shadow: none;
}

.calorie-orbit {
    --progress: 0%;
    width: clamp(150px, 22vw, 220px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--lime) 0 var(--progress), var(--orange) var(--progress) calc(var(--progress) + 12%), rgba(255, 255, 255, .22) 0);
    animation: floaty 4s ease-in-out infinite;
}

.calorie-orbit > div {
    width: 68%;
    height: 68%;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
}

.calorie-orbit strong {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1;
}

.calorie-orbit span {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 850;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.stat-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.stat-strip div {
    min-height: 104px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 18px;
    border-right: 1px solid var(--line);
}

.stat-strip div:last-child {
    border-right: 0;
}

.stat-strip i {
    color: var(--pink);
    font-size: 1.35rem;
}

.stat-strip strong {
    font-size: 1.55rem;
    font-weight: 950;
}

.stat-strip span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 850;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.panel-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 950;
}

.panel-heading span {
    color: var(--pink);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.quick-panel,
.coach-panel {
    min-height: 520px;
}

.macro-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.switch-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    color: var(--ink);
    cursor: pointer;
}

.switch-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--pink);
}

.form-hint,
.muted-empty {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 750;
}

.coach-chat {
    height: 455px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 12px;
}

.coach-messages {
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.coach-message {
    display: flex;
}

.coach-message span {
    max-width: 86%;
    padding: 12px 14px;
    border-radius: var(--radius);
    color: #fff;
    background: var(--ink);
    font-weight: 750;
}

.coach-message.is-user {
    justify-content: flex-end;
}

.coach-message.is-user span {
    background: var(--pink);
}

.coach-form,
.comment-form,
.search-row {
    display: flex;
    gap: 8px;
}

.chart-panel {
    min-height: 250px;
}

.badge-panel {
    grid-column: 1 / -1;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.reward-badge {
    min-height: 136px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcff;
}

.reward-badge i {
    color: var(--orange);
    font-size: 1.8rem;
}

.reward-badge strong {
    font-weight: 950;
}

.reward-badge span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 750;
}

.feed-layout {
    grid-template-columns: minmax(280px, 420px) minmax(0, 720px);
    align-items: start;
}

.composer {
    position: sticky;
    top: 20px;
}

.composer-head {
    display: flex;
    gap: 12px;
}

.composer-actions {
    display: grid;
    grid-template-columns: 1fr 120px auto;
    gap: 8px;
    align-items: center;
}

.file-pill {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed #cfd5e2;
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    cursor: pointer;
}

.file-pill input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.feed-list {
    display: grid;
    gap: 16px;
}

.post-head,
.friend-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-head span,
.friend-row span {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 780;
}

.post-text {
    margin: 16px 0;
    color: #252c3a;
    font-weight: 720;
}

.post-image {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: var(--radius);
}

.reaction-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.reaction-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.reaction-btn.active {
    border-color: var(--pink);
    background: #ffe8f2;
}

.reaction-count,
.comment-count {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 850;
}

.comments-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.comment-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.comment-bubble {
    min-width: 0;
    padding: 8px 10px;
    border-radius: var(--radius);
    background: #f4f6fa;
}

.comment-bubble strong {
    display: block;
    font-size: .82rem;
}

.comment-bubble p {
    margin: 0;
    color: #2a3140;
    font-size: .9rem;
}

.comment-form {
    margin-top: 12px;
}

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

.wide {
    grid-column: 1 / -1;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.photo-grid figure {
    margin: 0;
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
}

.photo-grid figcaption {
    margin-top: 4px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 750;
}

.user-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.friend-row {
    min-height: 58px;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcff;
}

.friend-row > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.inline-actions {
    display: flex;
    gap: 6px;
}

.profile-avatar-preview {
    display: flex;
    justify-content: center;
}

.fit-alert {
    border: 0;
    border-radius: var(--radius);
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(16, 22, 36, .06);
}

.mobile-nav {
    display: none;
}

@media (max-width: 1080px) {
    .dashboard-grid,
    .feed-layout,
    .goals-grid,
    .friends-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .wide,
    .badge-panel,
    .hero-panel,
    .stat-strip {
        grid-column: auto;
    }

    .composer {
        position: static;
    }

    .auth-headline,
    .auth-subtitle,
    .auth-feature-grid {
        width: min(540px, 58%);
    }

    .fitgirl-visual {
        right: -110px;
        width: 60%;
    }
}

@media (max-width: 880px) {
    .auth-shell {
        grid-template-columns: 1fr;
        align-items: start;
        padding-top: 24px;
    }

    .auth-hero-card {
        min-height: auto;
    }

    .auth-headline,
    .auth-subtitle,
    .auth-feature-grid {
        width: 100%;
        max-width: none;
    }

    .fitgirl-visual {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 320px;
        margin: 22px 0 -18px;
        border-radius: var(--radius);
        overflow: hidden;
    }

    .fitgirl-visual::before {
        inset: auto 0 0 0;
        width: auto;
        height: 120px;
        background: linear-gradient(0deg, #08090d 0%, rgba(8, 9, 13, 0) 100%);
    }

    .auth-copy .phone-mock {
        display: none;
    }

    .app-sidebar {
        display: none;
    }

    .app-main {
        width: 100%;
        margin-left: 0;
        padding: 18px 14px 86px;
    }

    .topbar {
        align-items: flex-start;
    }

    .top-actions .btn {
        display: none;
    }

    .mobile-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        padding: 8px;
        border: 1px solid rgba(223, 227, 237, .82);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, .92);
        box-shadow: 0 18px 40px rgba(16, 22, 36, .16);
        backdrop-filter: blur(10px);
    }

    .mobile-nav a {
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 6px;
        color: var(--muted);
    }

    .mobile-nav a.active {
        color: #fff;
        background: var(--ink);
    }
}

@media (max-width: 680px) {
    .auth-shell {
        width: min(100% - 22px, 560px);
    }

    .auth-headline {
        font-size: clamp(2.55rem, 16vw, 4.2rem);
        line-height: .88;
    }

    .brand-logo {
        width: min(100%, 330px);
    }

    .auth-headline span {
        white-space: normal;
    }

    .auth-feature-grid {
        grid-template-columns: 1fr;
    }

    .phone-mock {
        min-height: 540px;
        transform: scale(.92);
        transform-origin: top center;
    }

    .hero-panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .calorie-orbit {
        justify-self: center;
    }

    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-strip div {
        border-bottom: 1px solid var(--line);
    }

    .stat-strip div:nth-child(2n) {
        border-right: 0;
    }

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

    .composer-actions {
        grid-template-columns: 1fr;
    }

    .coach-chat {
        height: 390px;
    }
}

/* Public landing: custom layout, no Bootstrap dependency. */
.auth-body {
    background: #f5f1e9;
}

.auth-topbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 clamp(18px, 3vw, 48px);
    background: #fff;
    box-shadow: 0 1px 0 rgba(29, 29, 27, .08);
}

.auth-topbar .brand-logo {
    width: 170px;
    flex: 0 0 auto;
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 44px);
    margin-left: 8px;
    color: #1d1d1b;
    font-size: 1.02rem;
    font-weight: 850;
}

.auth-cta {
    margin-left: auto;
    min-width: 128px;
    min-height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    color: #fff;
    background: #5b2bbd;
    font-weight: 950;
    text-transform: uppercase;
}

.auth-shell {
    width: 100%;
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
    gap: 0;
    align-items: stretch;
    padding: 0;
}

.auth-hero-card {
    min-height: calc(100vh - 76px);
    display: grid;
    align-content: center;
    overflow: hidden;
    padding: clamp(36px, 5vw, 86px);
    border: 0;
    border-radius: 0;
    background: #101510;
    box-shadow: none;
}

.auth-hero-content {
    position: relative;
    z-index: 3;
    width: min(560px, 46vw);
}

.auth-headline {
    width: 100%;
    max-width: 620px;
    margin: 0 0 18px;
    color: #1d1d1b;
    font-size: clamp(3.9rem, 6.1vw, 7.2rem);
    line-height: .86;
    text-transform: uppercase;
}

.auth-headline .hot,
.auth-headline span:last-child:nth-child(2) {
    color: #fff;
}

.auth-subtitle {
    width: 100%;
    max-width: 590px;
    color: #1d1d1b;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 850;
}

.auth-feature-grid {
    width: 100%;
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.auth-feature-grid span {
    min-height: 48px;
    padding: 11px 14px;
    border: 0;
    border-radius: 6px;
    color: #1d1d1b;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 22px rgba(29, 29, 27, .12);
    font-size: .84rem;
    font-weight: 950;
    backdrop-filter: none;
}

.fitgirl-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
}

.fitgirl-visual::before {
    content: "";
    position: absolute;
    inset: 0 47% 0 0;
    z-index: 2;
    width: auto;
    background: linear-gradient(90deg, rgba(16, 21, 16, .98) 0%, rgba(16, 21, 16, .9) 62%, rgba(16, 21, 16, 0) 100%);
}

.fitgirl-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: none;
}

.auth-panel {
    width: min(100% - 48px, 440px);
    align-self: center;
    justify-self: center;
    padding: 26px;
    border: 1px solid #e5e0d7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(29, 29, 27, .12);
}

.signup-kicker {
    background: #fff4e9;
    border-color: #ffd8bd;
}

.signup-kicker span {
    background: #d7ff00;
    color: #1d1d1b;
}

.fit-tabs {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 4px;
}

.fit-tabs {
    border: 1px solid #ebe5dd;
    background: #fff;
}

.nav-item {
    flex: 1;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.g-2 {
    gap: 8px;
}

.col-sm-4 {
    grid-column: span 4;
}

.w-100 {
    width: 100%;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    font-weight: 800;
}

.alert-danger {
    color: #7a1e12;
    background: #ffe6df;
}

.alert-success {
    color: #124522;
    background: #e8f8ed;
}

.alert-warning {
    color: #5b3b00;
    background: #fff2cc;
}

@media (max-width: 1120px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-hero-card {
        min-height: 680px;
    }

    .auth-hero-content {
        width: min(580px, 58vw);
    }

    .auth-panel {
        margin: 28px auto 40px;
    }
}

@media (max-width: 760px) {
    .auth-topbar {
        min-height: auto;
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .auth-topbar .brand-logo {
        width: 150px;
    }

    .auth-nav {
        order: 3;
        width: 100%;
        gap: 14px;
        overflow-x: auto;
        font-size: .9rem;
    }

    .auth-cta {
        min-width: 104px;
        min-height: 40px;
        font-size: .86rem;
    }

    .auth-shell,
    .auth-hero-card {
        min-height: auto;
    }

    .auth-hero-card {
        padding: 28px 18px 0;
    }

    .auth-hero-content {
        width: 100%;
    }

    .auth-headline {
        font-size: clamp(3.1rem, 15vw, 4.7rem);
    }

    .auth-feature-grid {
        grid-template-columns: 1fr;
    }

    .fitgirl-visual {
        position: relative;
        height: 310px;
        margin: 24px -18px 0;
    }

    .fitgirl-visual::before {
        inset: 0 0 56% 0;
        background: linear-gradient(180deg, #101510 0%, rgba(16, 21, 16, 0) 100%);
    }

    .auth-panel {
        width: calc(100% - 24px);
        margin: 18px auto 32px;
        padding: 18px;
    }

    .col-sm-4 {
        grid-column: span 12;
    }
}

/* Public landing v2: Basic-Fit inspired, light and custom CSS only. */
.auth-body {
    overflow-x: hidden;
    color: #1d1d1b;
    background: #f6f1e8;
}

.auth-body .btn {
    min-height: 48px;
    display: inline-grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: .72rem 1rem;
    font-size: .98rem;
    font-weight: 950;
    cursor: pointer;
}

.auth-body .btn-fitastic {
    color: #fff;
    background: #5a27c8;
    box-shadow: 0 12px 28px rgba(90, 39, 200, .24);
}

.auth-body .btn-fitastic:hover,
.auth-body .btn-fitastic:focus {
    color: #fff;
    background: #46209c;
}

.auth-body .btn-outline-dark {
    color: #1d1d1b;
    border-color: #1d1d1b;
    background: #fff;
}

.auth-utility {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 4vw, 56px);
    padding: 8px 20px;
    color: #2a2926;
    background: #f0e9dd;
    border-bottom: 1px solid #e6ddcf;
    font-size: .92rem;
    font-weight: 850;
}

.auth-utility span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.auth-utility span::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d7ff00;
}

.auth-topbar {
    min-height: 78px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 46px);
    padding: 0 clamp(20px, 4vw, 64px);
    background: #fff;
    box-shadow: 0 1px 0 rgba(29, 29, 27, .08);
}

.auth-topbar .brand-logo {
    width: clamp(148px, 13vw, 210px);
    flex: 0 0 auto;
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 60px);
    margin-left: 4px;
    color: #1d1d1b;
    font-size: 1.02rem;
    font-weight: 900;
}

.auth-nav a:hover,
.auth-nav a:focus {
    color: #d7ff00;
}

.auth-cta {
    min-width: 132px;
    min-height: 50px;
    margin-left: auto;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    color: #fff;
    background: #5a27c8;
    font-weight: 950;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(90, 39, 200, .2);
}

.auth-shell {
    width: 100%;
    min-height: calc(100vh - 120px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    gap: 0;
    align-items: stretch;
    padding: 0;
}

.auth-hero-card {
    position: relative;
    min-height: calc(100vh - 120px);
    display: grid;
    align-content: center;
    overflow: hidden;
    padding: clamp(40px, 6vw, 92px);
    border: 0;
    border-radius: 0;
    background: #fffaf1;
    box-shadow: none;
}

.auth-hero-card::before {
    content: "";
    position: absolute;
    inset: 0 22% 0 0;
    z-index: 0;
    background: linear-gradient(135deg, #101510 0%, #242d1a 100%);
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
}

.auth-hero-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 220px;
    height: 120px;
    z-index: 1;
    opacity: .55;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .9) 2px, transparent 2px);
    background-size: 18px 18px;
}

.auth-hero-content {
    position: relative;
    z-index: 3;
    width: min(540px, 45%);
}

.auth-headline {
    width: 100%;
    max-width: 640px;
    margin: 0 0 22px;
    color: #1d1d1b;
    font-size: clamp(3.6rem, 5.8vw, 7.4rem);
    line-height: .88;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-headline span {
    display: block;
}

.auth-headline .hot,
.auth-headline span:last-child:nth-child(2) {
    color: #fff;
}

.auth-subtitle {
    width: 100%;
    max-width: 560px;
    margin: 0;
    color: #1d1d1b;
    font-size: clamp(1.04rem, 1.35vw, 1.22rem);
    line-height: 1.45;
    font-weight: 850;
}

.auth-feature-grid {
    width: 100%;
    max-width: 560px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 28px 0 0;
}

.auth-feature-grid span {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    color: #1d1d1b;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 22px rgba(29, 29, 27, .12);
    font-size: .9rem;
    font-weight: 950;
    backdrop-filter: none;
}

.auth-feature-grid span::before {
    content: "";
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border-radius: 50%;
    background: #5a27c8;
}

.fitgirl-visual {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 2;
    width: 54%;
    height: 100%;
    margin: 0;
    clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.fitgirl-visual::before {
    content: none;
}

.fitgirl-visual picture,
.fitgirl-visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.fitgirl-visual img {
    object-fit: cover;
    object-position: center right;
    filter: none;
}

.auth-panel {
    width: min(420px, calc(100% - 40px));
    align-self: center;
    justify-self: center;
    margin: 34px 0;
    padding: 28px;
    border: 1px solid #e6ded1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 56px rgba(29, 29, 27, .13);
    backdrop-filter: none;
}

.signup-kicker {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #ffd0ae;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff0df 0%, #fff 100%);
}

.signup-kicker span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: .32rem .62rem;
    border-radius: 999px;
    color: #1d1d1b;
    background: #d7ff00;
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.signup-kicker strong {
    display: block;
    color: #101624;
    font-size: 1.18rem;
    line-height: 1.2;
    font-weight: 950;
}

.signup-kicker p {
    margin: 8px 0 0;
    color: #545b69;
    font-size: .95rem;
    line-height: 1.45;
    font-weight: 760;
}

.fit-tabs {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 5px;
    border: 1px solid #ebe5dd;
    border-radius: 8px;
    background: #fff;
}

.fit-tabs .nav-item {
    flex: 1 1 0;
}

.fit-tabs .nav-link {
    width: 100%;
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: #666d7c;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 950;
    cursor: pointer;
}

.fit-tabs .nav-link.active {
    color: #fff;
    background: #1d1d1b;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .tab-pane.active {
    display: block;
}

.auth-body .form-control,
.auth-body .form-select {
    min-height: 48px;
    width: 100%;
    border: 1px solid #dbe1ea;
    border-radius: 8px;
    padding: .65rem .78rem;
    background: #fff;
    color: #101624;
    font: inherit;
    font-weight: 750;
}

.auth-body label {
    display: block;
    width: 100%;
    color: #697183;
    font-size: .84rem;
    font-weight: 900;
}

.auth-body label .form-control,
.auth-body label .form-select {
    margin-top: .38rem;
}

.auth-body .stack-form {
    display: grid;
    gap: .88rem;
}

.auth-body .row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.auth-body .g-2 {
    gap: 8px;
}

.auth-body .col-sm-4 {
    grid-column: span 4;
}

.auth-body .w-100 {
    width: 100%;
}

.auth-body .mb-4 {
    margin-bottom: 1.5rem;
}

.auth-body .alert {
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    font-weight: 850;
}

.auth-body .alert-danger {
    color: #7a1e12;
    background: #ffe6df;
}

.auth-body .alert-success {
    color: #124522;
    background: #e8f8ed;
}

.auth-body .alert-warning {
    color: #5b3b00;
    background: #fff2cc;
}

@media (max-width: 1320px) {
    .auth-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-hero-card {
        min-height: 680px;
    }

    .auth-panel {
        margin: 28px auto 44px;
    }
}

@media (max-width: 860px) {
    .auth-utility {
        justify-content: flex-start;
        gap: 18px;
        overflow-x: auto;
    }

    .auth-topbar {
        min-height: auto;
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .auth-topbar .brand-logo {
        width: 150px;
    }

    .auth-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        overflow-x: auto;
        font-size: .92rem;
    }

    .auth-cta {
        min-width: 110px;
        min-height: 42px;
        font-size: .88rem;
    }

    .auth-hero-card {
        min-height: auto;
        display: block;
        padding: 32px 18px 0;
    }

    .auth-hero-card::before {
        inset: 0;
        clip-path: none;
    }

    .auth-hero-content {
        width: 100%;
        max-width: 640px;
    }

    .auth-headline {
        font-size: clamp(3.1rem, 14vw, 5.2rem);
    }

    .fitgirl-visual {
        position: relative;
        width: calc(100% + 36px);
        height: 350px;
        margin: 28px -18px 0;
        clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    }

    .auth-panel {
        width: calc(100% - 24px);
        margin: 18px auto 34px;
        padding: 18px;
    }

    .auth-body .col-sm-4 {
        grid-column: span 12;
    }
}

/* Public landing v3: Fitastic neon identity from the supplied banner/logo. */
.auth-body {
    color: #f5f7ed;
    background: #f4f1e8;
}

.auth-body .btn-fitastic {
    color: #11150f;
    background: #d7ff00;
    box-shadow: 0 12px 28px rgba(215, 255, 0, .22);
}

.auth-body .btn-fitastic:hover,
.auth-body .btn-fitastic:focus {
    color: #11150f;
    background: #c7f000;
}

.auth-body .btn-outline-dark {
    color: #11150f;
    border-color: #11150f;
    background: #fff;
}

.auth-utility {
    color: rgba(245, 247, 237, .88);
    background: #0d110e;
    border-bottom: 1px solid rgba(215, 255, 0, .18);
}

.auth-utility span::before {
    background: #d7ff00;
    box-shadow: 0 0 12px rgba(215, 255, 0, .72);
}

.auth-topbar {
    min-height: 82px;
    background: #121611;
    box-shadow: 0 1px 0 rgba(215, 255, 0, .16);
}

.auth-topbar .brand-logo {
    width: clamp(190px, 18vw, 260px);
}

.auth-nav {
    color: #f5f7ed;
}

.auth-nav a:hover,
.auth-nav a:focus {
    color: #d7ff00;
}

.auth-cta {
    color: #11150f;
    background: #d7ff00;
    box-shadow: 0 10px 24px rgba(215, 255, 0, .2);
}

.auth-shell {
    min-height: calc(100vh - 124px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    background: #f4f1e8;
}

.auth-hero-card {
    min-height: calc(100vh - 124px);
    background: #101510;
}

.auth-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(13, 17, 14, .98) 0%, rgba(13, 17, 14, .94) 26%, rgba(13, 17, 14, .55) 51%, rgba(13, 17, 14, .06) 82%),
        linear-gradient(180deg, rgba(13, 17, 14, .18), rgba(13, 17, 14, .74));
    clip-path: none;
}

.auth-hero-card::after {
    opacity: .55;
    background-image: radial-gradient(circle, rgba(215, 255, 0, .62) 2px, transparent 2px);
}

.auth-hero-content {
    z-index: 4;
    width: min(590px, 48%);
}

.auth-headline {
    color: #fff;
    text-shadow: 0 12px 40px rgba(0, 0, 0, .42);
}

.auth-headline .hot,
.auth-headline span:last-child:nth-child(2) {
    color: #d7ff00;
}

.auth-subtitle {
    color: rgba(245, 247, 237, .9);
}

.auth-feature-grid span {
    color: #f5f7ed;
    background: rgba(17, 21, 15, .72);
    border: 1px solid rgba(215, 255, 0, .22);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
}

.auth-feature-grid span::before {
    background: #d7ff00;
    box-shadow: 0 0 12px rgba(215, 255, 0, .68);
}

.fitgirl-visual {
    inset: 0;
    z-index: 1;
    width: 100%;
    clip-path: none;
}

.fitgirl-visual::before {
    content: none;
}

.fitgirl-visual img {
    object-position: center right;
}

.auth-panel {
    border-color: rgba(17, 21, 15, .12);
    background: #fff;
    box-shadow: 0 24px 56px rgba(17, 21, 15, .14);
}

.signup-kicker {
    border-color: rgba(215, 255, 0, .44);
    background: linear-gradient(135deg, rgba(215, 255, 0, .18), #fff 70%);
}

.signup-kicker span {
    color: #11150f;
    background: #d7ff00;
}

.fit-tabs .nav-link.active {
    color: #d7ff00;
    background: #11150f;
}

@media (max-width: 1320px) {
    .auth-hero-card {
        min-height: 640px;
    }

    .auth-hero-content {
        width: min(590px, 55%);
    }
}

@media (max-width: 860px) {
    .auth-topbar .brand-logo {
        width: 184px;
    }

    .auth-hero-card {
        padding: 32px 18px 0;
    }

    .auth-hero-card::before {
        background:
            linear-gradient(180deg, rgba(13, 17, 14, .98) 0%, rgba(13, 17, 14, .9) 34%, rgba(13, 17, 14, .3) 68%, rgba(13, 17, 14, .06) 100%);
    }

    .auth-hero-content {
        width: 100%;
        max-width: 640px;
    }

    .fitgirl-visual {
        position: relative;
        width: calc(100% + 36px);
        height: 360px;
        margin: 28px -18px 0;
        clip-path: none;
    }
}

/* Public landing v4: keep the logo faithful and make desktop/mobile framing sane. */
.auth-utility {
    display: none;
}

.auth-topbar {
    min-height: 108px;
    padding: 0 clamp(18px, 3vw, 50px);
}

.auth-topbar .brand-logo {
    width: clamp(154px, 13vw, 188px);
}

.auth-nav {
    gap: clamp(24px, 5vw, 74px);
}

.auth-shell {
    min-height: calc(100vh - 108px);
    grid-template-columns: minmax(0, 1fr) minmax(350px, 440px);
}

.auth-hero-card {
    min-height: calc(100vh - 108px);
    padding: clamp(34px, 4.8vw, 74px);
}

.auth-hero-card::before {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(13, 17, 14, .98) 0%, rgba(13, 17, 14, .94) 34%, rgba(13, 17, 14, .48) 58%, rgba(13, 17, 14, .08) 100%),
        linear-gradient(180deg, rgba(13, 17, 14, .1), rgba(13, 17, 14, .52));
}

.auth-hero-content {
    width: min(520px, 47%);
}

.auth-headline {
    font-size: clamp(3.2rem, 4.7vw, 6.1rem);
    line-height: .9;
}

.fitgirl-visual {
    inset: 0 0 0 auto;
    width: 66%;
}

.fitgirl-visual img {
    object-position: right center;
}

@media (max-width: 1320px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    }

    .auth-hero-content {
        width: min(480px, 47%);
    }

    .auth-headline {
        font-size: clamp(3rem, 4.4vw, 5.2rem);
    }
}

@media (max-width: 1080px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-hero-card {
        min-height: 620px;
    }

    .auth-hero-content {
        width: min(560px, 56%);
    }

    .auth-panel {
        margin: 26px auto 42px;
    }
}

@media (max-width: 760px) {
    .auth-topbar {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px 14px;
        padding: 10px 14px 12px;
    }

    .auth-topbar .brand-logo {
        width: 128px;
    }

    .auth-nav {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        overflow-x: auto;
        padding-top: 4px;
        font-size: .82rem;
        white-space: nowrap;
    }

    .auth-cta {
        min-width: 94px;
        min-height: 38px;
        font-size: .78rem;
    }

    .auth-hero-card {
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding: 24px 16px 0;
    }

    .auth-hero-card::before {
        display: none;
    }

    .auth-hero-card::after {
        width: 150px;
        height: 92px;
    }

    .auth-hero-content {
        width: 100%;
        max-width: none;
    }

    .auth-headline {
        margin-bottom: 14px;
        font-size: clamp(2.55rem, 12.2vw, 4.15rem);
        line-height: .93;
    }

    .auth-subtitle {
        max-width: none;
        font-size: .98rem;
        line-height: 1.42;
    }

    .auth-feature-grid {
        gap: 8px;
        margin-top: 18px;
    }

    .auth-feature-grid span {
        min-height: 40px;
        padding: 9px 12px;
        font-size: .8rem;
    }

    .fitgirl-visual {
        position: relative;
        inset: auto;
        width: calc(100% + 32px);
        height: clamp(250px, 72vw, 380px);
        margin: 22px -16px 0;
        border-top: 1px solid rgba(215, 255, 0, .16);
    }

    .fitgirl-visual img {
        object-position: right center;
    }

    .auth-panel {
        width: calc(100% - 20px);
        margin: 16px auto 30px;
        padding: 16px;
    }
}

/* Public landing v5: bright Fitastic pop direction from the latest reference. */
.auth-body {
    color: #172033;
    background:
        radial-gradient(circle at 7% 12%, rgba(238, 45, 131, .36), transparent 25rem),
        radial-gradient(circle at 92% 4%, rgba(185, 242, 13, .72), transparent 25rem),
        linear-gradient(135deg, #fff7e8 0%, #ffe3ef 45%, #e8ff2c 100%);
}

.auth-topbar {
    min-height: 92px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(238, 45, 131, .14);
    box-shadow: 0 12px 34px rgba(31, 23, 44, .08);
}

.auth-topbar .brand-logo {
    width: clamp(170px, 15vw, 230px);
}

.auth-nav {
    color: #172033;
    font-weight: 950;
}

.auth-nav a:hover,
.auth-nav a:focus {
    color: #ec2d83;
}

.auth-cta,
.auth-body .btn-fitastic {
    color: #fff;
    background: #ec2d83;
    box-shadow: 0 14px 30px rgba(236, 45, 131, .28);
}

.auth-cta:hover,
.auth-cta:focus,
.auth-body .btn-fitastic:hover,
.auth-body .btn-fitastic:focus {
    color: #fff;
    background: #cf1d72;
}

.auth-body .btn-outline-dark {
    color: #172033;
    border-color: #dfe3ed;
    background: #fff;
}

.auth-shell {
    min-height: calc(100vh - 92px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    background: transparent;
}

.auth-hero-card {
    min-height: calc(100vh - 92px);
    padding: clamp(34px, 4.8vw, 78px);
    background: #fff4e3;
}

.auth-hero-card::before {
    z-index: 2;
    display: block;
    background:
        linear-gradient(90deg, rgba(255, 246, 231, .98) 0%, rgba(255, 246, 231, .9) 38%, rgba(255, 246, 231, .46) 57%, rgba(255, 246, 231, 0) 78%),
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 214, 236, .24));
}

.auth-hero-card::after {
    opacity: .75;
    background-image: radial-gradient(circle, rgba(236, 45, 131, .32) 2px, transparent 2px);
}

.auth-hero-content {
    z-index: 4;
    width: min(560px, 47%);
}

.auth-headline {
    color: #172033;
    font-size: clamp(3.2rem, 4.9vw, 6.35rem);
    text-shadow: none;
}

.auth-headline .hot,
.auth-headline span:last-child:nth-child(2) {
    color: #ec2d83;
}

.auth-subtitle {
    color: #27334b;
}

.auth-feature-grid {
    max-width: 590px;
}

.auth-feature-grid span {
    color: #172033;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(238, 45, 131, .12);
    box-shadow: 0 14px 28px rgba(31, 23, 44, .1);
}

.auth-feature-grid span::before {
    background: #b9f20d;
    box-shadow: 0 0 0 4px rgba(185, 242, 13, .24);
}

.fitgirl-visual {
    inset: 0;
    width: 100%;
}

.fitgirl-visual img {
    object-position: right center;
}

.auth-panel {
    border-color: rgba(238, 45, 131, .12);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 58px rgba(31, 23, 44, .14);
}

.signup-kicker {
    border-color: rgba(185, 242, 13, .5);
    background: linear-gradient(135deg, rgba(185, 242, 13, .22), rgba(255, 255, 255, .96) 55%, rgba(238, 45, 131, .08));
}

.signup-kicker span {
    color: #172033;
    background: #b9f20d;
}

.fit-tabs .nav-link.active {
    color: #fff;
    background: #172033;
}

@media (max-width: 1320px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    }

    .auth-hero-content {
        width: min(520px, 48%);
    }

    .auth-headline {
        font-size: clamp(2.9rem, 4.4vw, 5.35rem);
    }
}

@media (max-width: 1080px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-hero-card {
        min-height: 650px;
    }

    .auth-hero-content {
        width: min(560px, 58%);
    }
}

@media (max-width: 760px) {
    .auth-topbar {
        min-height: auto;
        padding: 10px 14px 12px;
    }

    .auth-topbar .brand-logo {
        width: 148px;
    }

    .auth-nav {
        color: #27334b;
        font-size: .82rem;
    }

    .auth-cta {
        min-width: 94px;
        min-height: 38px;
        font-size: .78rem;
    }

    .auth-hero-card {
        min-height: auto;
        padding: 24px 16px 0;
        background:
            linear-gradient(180deg, rgba(255, 246, 231, .96), rgba(255, 222, 239, .9) 48%, rgba(185, 242, 13, .2)),
            #fff4e3;
    }

    .auth-hero-card::before {
        display: none;
    }

    .auth-hero-content {
        width: 100%;
    }

    .auth-headline {
        font-size: clamp(2.45rem, 11.4vw, 4rem);
        line-height: .94;
    }

    .auth-subtitle {
        font-size: .98rem;
    }

    .fitgirl-visual {
        position: relative;
        width: calc(100% + 32px);
        height: clamp(265px, 78vw, 420px);
        margin: 20px -16px 0;
        border-top: 0;
    }

    .fitgirl-visual img {
        object-position: 72% center;
    }
}
