* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface-soft: #f0f1f4;
    --surface-hover: #f7f7f9;

    --text: #111317;
    --text-soft: #393d45;
    --muted: #747983;
    --muted-light: #9ca1aa;

    --border: #e4e6ea;
    --border-strong: #d9dce2;

    --black: #111317;
    --black-soft: #202329;

    --green: #159b67;
    --green-soft: #eaf8f1;

    --purple: #6657dd;
    --purple-soft: #efedff;

    --yellow: #b67c09;
    --yellow-soft: #fff4d8;

    --red: #c64e4e;
    --red-soft: #ffe8e8;

    --blue: #3478d6;
    --blue-soft: #eaf2ff;

    --shadow-xs:
        0 2px 7px rgba(17, 19, 23, 0.035);

    --shadow-sm:
        0 7px 22px rgba(17, 19, 23, 0.055);

    --shadow-md:
        0 15px 45px rgba(17, 19, 23, 0.075);

    --shadow-lg:
        0 28px 70px rgba(17, 19, 23, 0.11);

    --radius-sm: 9px;
    --radius-md: 13px;
    --radius-lg: 17px;
    --radius-xl: 23px;
}


/* =========================================================
   DARK THEME
========================================================= */

html[data-theme="dark"] {

    --bg: #0c0d0f;
    --surface: #14161a;
    --surface-soft: #1d2025;
    --surface-hover: #191c20;

    --text: #f4f5f7;
    --text-soft: #d3d6dc;
    --muted: #9298a2;
    --muted-light: #6f747d;

    --border: #292c32;
    --border-strong: #353942;

    --black: #f4f5f7;
    --black-soft: #ffffff;

    --green: #38c58d;
    --green-soft: rgba(56, 197, 141, 0.11);

    --purple: #9b91ff;
    --purple-soft: rgba(155, 145, 255, 0.12);

    --yellow: #e4b345;
    --yellow-soft: rgba(228, 179, 69, 0.11);

    --red: #ef7777;
    --red-soft: rgba(239, 119, 119, 0.11);

    --blue: #74a8f2;
    --blue-soft: rgba(116, 168, 242, 0.11);

    --shadow-xs:
        0 2px 7px rgba(0, 0, 0, 0.15);

    --shadow-sm:
        0 7px 22px rgba(0, 0, 0, 0.18);

    --shadow-md:
        0 15px 45px rgba(0, 0, 0, 0.23);

    --shadow-lg:
        0 28px 70px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   BASE
========================================================= */

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--bg);
    color: var(--text);

    font-size: 14px;

    line-height: 1.55;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
a,
input,
textarea,
select {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   APP SHELL
========================================================= */

.app-shell {
    min-height: 100vh;
    display: flex;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: 255px;

    display: flex;
    flex-direction: column;

    background: var(--surface);

    border-right: 1px solid var(--border);

    padding: 22px 15px 16px;

    z-index: 100;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;

    gap: 11px;

    padding:
        4px
        10px
        28px;
}

.brand-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--text);
    color: var(--surface);

    box-shadow:
        0 6px 18px
        rgba(17, 19, 23, 0.08);
}

.brand-mark svg {
    width: 19px;
    height: 19px;
    stroke-width: 2;
}

.brand-name {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 21px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.6px;
}

.brand-name span {
    color: var(--purple);
}

.brand-tagline {
    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;

    font-weight: 500;
}


/* Labels */

.sidebar-label {
    padding:
        15px
        12px
        8px;

    color: var(--muted-light);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.35px;
}


/* Navigation */

.side-nav {
    display: grid;
    gap: 3px;
}

.nav-item {
    width: 100%;

    border: 0;

    display: flex;
    align-items: center;

    gap: 11px;

    padding:
        10px
        12px;

    border-radius: 10px;

    color: var(--muted);

    background: transparent;

    text-align: left;

    font-size: 12px;

    font-weight: 650;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.nav-item svg {
    width: 17px;
    height: 17px;

    flex: 0 0 auto;

    stroke-width: 1.9;
}

.nav-item:hover {
    color: var(--text);
    background: var(--surface-soft);
}

.nav-item:active {
    transform: scale(0.985);
}

.nav-item.active {
    background: var(--text);
    color: var(--surface);

    box-shadow:
        var(--shadow-xs);
}


/* Creator card */

.sidebar-bottom {
    margin-top: auto;
}

.creator-card {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 11px;

    border:
        1px solid
        var(--border);

    border-radius: 13px;

    background: var(--surface-soft);

    transition:
        border-color 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.creator-card:hover {
    transform: translateY(-1px);
    border-color: var(--border-strong);
    background: var(--surface-hover);
}

.creator-icon {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 9px;

    background: var(--text);
    color: var(--surface);
}

.creator-icon svg {
    width: 15px;
    height: 15px;
}

.creator-info {
    min-width: 0;
    flex: 1;
}

.creator-info strong {
    display: block;

    font-size: 10px;

    font-weight: 750;
}

.creator-info span {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 8px;
}

.creator-arrow {
    width: 13px;
    height: 13px;

    color: var(--muted);
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.main-content {
    width: calc(100% - 255px);

    min-width: 0;

    margin-left: 255px;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    position: sticky;

    top: 0;

    z-index: 70;

    height: 67px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        0 31px;

    background:
        color-mix(
            in srgb,
            var(--surface) 92%,
            transparent
        );

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

    border-bottom:
        1px solid
        var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;

    gap: 8px;

    min-width: 0;

    color: var(--muted);

    font-size: 11px;
}

.breadcrumb span {
    white-space: nowrap;
}

.breadcrumb strong {
    color: var(--text);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.breadcrumb svg {
    width: 13px;
    height: 13px;
}

.topbar-actions {
    display: flex;
    align-items: center;

    gap: 7px;
}

.icon-button {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background: var(--surface);

    color: var(--text);

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.icon-button svg {
    width: 16px;
    height: 16px;
}

.icon-button:hover {
    background: var(--surface-soft);
    border-color: var(--border-strong);
}

.icon-button:active {
    transform: scale(0.96);
}

.mobile-menu {
    display: none;
}


/* Top Preparation */

.top-link-button {
    height: 35px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding:
        0 11px;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background: var(--surface);

    color: var(--text);

    font-size: 10px;

    font-weight: 700;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.top-link-button svg {
    width: 15px;
    height: 15px;
}

.top-link-button:hover {
    background: var(--surface-soft);
    border-color: var(--border-strong);
}


/* Instagram */

.top-instagram {
    height: 35px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding:
        0 11px;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background: var(--surface);

    color: var(--text);

    font-size: 10px;

    font-weight: 700;

    transition:
        background 0.18s ease,
        border-color 0.18s ease;
}

.top-instagram svg {
    width: 14px;
    height: 14px;
}

.top-instagram:hover {
    background: var(--surface-soft);
    border-color: var(--border-strong);
}


/* =========================================================
   PAGE CONTAINER
========================================================= */

.page-container {
    width: 100%;

    max-width: 1320px;

    margin:
        0 auto;

    padding:
        34px
        32px
        70px;
}


/* =========================================================
   VIEW SYSTEM
========================================================= */

.view {
    display: none;

    animation:
        fadeIn
        0.22s
        ease;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.section-label {
    display: inline-block;

    color: var(--purple);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 1.35px;
}

.page-heading {
    display: flex;
    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 29px;
}

.page-heading h1 {
    margin-top: 7px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 43px;

    font-weight: 700;

    letter-spacing: -2.2px;

    line-height: 1;
}

.page-heading p {
    margin-top: 8px;

    max-width: 660px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   DASHBOARD HERO
========================================================= */

.dashboard-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(285px, 0.72fr);

    gap: 14px;

    margin-bottom: 48px;
}


/* Main hero */

.hero-main {
    position: relative;

    overflow: hidden;

    padding:
        43px
        43px
        33px;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-xl);

    background: var(--surface);

    box-shadow: var(--shadow-sm);
}

.hero-main::before {
    content: "";

    position: absolute;

    width: 370px;
    height: 370px;

    border-radius: 50%;

    border:
        1px solid
        var(--border);

    right: -190px;
    top: -180px;

    opacity: 0.55;

    pointer-events: none;
}

.hero-main::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    border:
        1px solid
        var(--border);

    right: -55px;
    bottom: -95px;

    opacity: 0.4;

    pointer-events: none;
}

.eyebrow {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--purple);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 1.45px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 4px
        color-mix(
            in srgb,
            var(--green) 13%,
            transparent
        );
}

.hero-main h1 {
    position: relative;

    z-index: 2;

    max-width: 810px;

    margin:
        19px 0
        17px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            43px,
            5vw,
            68px
        );

    font-weight: 700;

    line-height: 0.99;

    letter-spacing: -3.4px;
}

.hero-main h1 span {
    color: var(--purple);
}

.hero-description {
    position: relative;

    z-index: 2;

    max-width: 700px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;
}


/* Hero actions */

.hero-actions {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}

.primary-button,
.secondary-button {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        0 15px;

    border-radius: 10px;

    border:
        1px solid
        transparent;

    font-size: 10px;

    font-weight: 760;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.primary-button {
    background: var(--text);
    color: var(--surface);

    box-shadow:
        0 6px 17px
        rgba(17, 19, 23, 0.08);
}

.primary-button:hover {
    transform: translateY(-1px);
}

.secondary-button {
    background: var(--surface-soft);

    border-color:
        var(--border);

    color: var(--text);
}

.secondary-button:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
}

.primary-button svg,
.secondary-button svg {
    width: 14px;
    height: 14px;
}


/* Hero metrics */

.hero-metrics {
    position: relative;

    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    gap: 31px;

    margin-top: 32px;

    padding-top: 23px;

    border-top:
        1px solid
        var(--border);
}

.metric {
    display: flex;
    flex-direction: column;

    gap: 1px;
}

.metric strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 21px;

    line-height: 1;

    letter-spacing: -0.7px;
}

.metric span {
    color: var(--muted);

    font-size: 9px;
}


/* =========================================================
   DASHBOARD PROGRESS CARD
========================================================= */

.dashboard-progress-card {
    position: relative;

    padding:
        29px
        27px;

    border-radius: var(--radius-xl);

    background: var(--text);

    color: var(--surface);

    overflow: hidden;

    box-shadow: var(--shadow-md);
}

.dashboard-progress-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,0.08);

    left: -115px;
    top: -85px;
}

.progress-card-header {
    display: flex;
    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;
}

.card-label {
    display: block;

    color: color-mix(
        in srgb,
        var(--surface) 50%,
        transparent
    );

    font-size: 8px;

    font-weight: 850;

    letter-spacing: 1.45px;
}

.progress-card-header h3 {
    margin-top: 4px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 17px;

    letter-spacing: -0.3px;
}

.progress-card-header > svg {
    width: 18px;
    height: 18px;

    color: var(--purple);

    opacity: 0.95;
}


/* Circle */

.progress-circle-wrapper {
    display: grid;
    place-items: center;

    padding:
        28px 0
        24px;
}

.progress-circle {
    --progress: 0;

    position: relative;

    width: 162px;
    height: 162px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        conic-gradient(
            var(--purple)
            calc(var(--progress) * 1%),
            rgba(255,255,255,0.10)
            0
        );

    transform: rotate(-8deg);
}

.progress-circle::before {
    content: "";

    position: absolute;

    width: 131px;
    height: 131px;

    border-radius: 50%;

    background: var(--text);
}

.progress-circle-inner {
    position: relative;

    z-index: 2;

    text-align: center;

    transform: rotate(8deg);
}

.progress-circle-inner strong {
    display: block;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 31px;

    line-height: 1;
}

.progress-circle-inner span {
    display: block;

    margin-top: 4px;

    color:
        color-mix(
            in srgb,
            var(--surface) 50%,
            transparent
        );

    font-size: 9px;
}


/* Progress stats */

.progress-card-stats {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    padding:
        14px 0;

    border-top:
        1px solid
        rgba(255,255,255,0.10);

    border-bottom:
        1px solid
        rgba(255,255,255,0.10);
}

.progress-card-stats div {
    display: flex;
    flex-direction: column;
}

.progress-card-stats span {
    color:
        color-mix(
            in srgb,
            var(--surface) 46%,
            transparent
        );

    font-size: 9px;
}

.progress-card-stats strong {
    margin-top: 2px;

    font-size: 12px;
}


/* Progress bar */

.progress-bar-area {
    margin-top: 16px;
}

.progress-bar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 8px;
}

.progress-bar-heading span {
    color:
        color-mix(
            in srgb,
            var(--surface) 48%,
            transparent
        );

    font-size: 9px;
}

.progress-bar-heading strong {
    font-size: 9px;
}

.progress-track {
    position: relative;

    width: 100%;

    height: 8px;

    overflow: hidden;

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--text) 88%,
            white
        );
}

.progress-fill {
    position: relative;

    height: 100%;

    width: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            #a298ff
        );

    transition:
        width 0.55s
        cubic-bezier(.22, 1, .36, 1);
}

.progress-fill::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 24px;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.45)
        );

    opacity: 0.6;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin:
        44px
        0
        16px;
}

.section-heading-row h2 {
    margin-top: 6px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 27px;

    letter-spacing: -1.1px;

    line-height: 1.1;
}

.text-button {
    border: 0;

    background: transparent;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 750;
}

.text-button:hover {
    color: var(--text);
}

.text-button svg {
    width: 14px;
    height: 14px;
}


/* =========================================================
   TODAY FOCUS
========================================================= */

.today-focus-card {
    display: grid;

    grid-template-columns:
        68px
        minmax(0, 1fr)
        42px;

    align-items: center;

    gap: 18px;

    padding:
        21px 22px;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    box-shadow: var(--shadow-xs);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.today-focus-card:hover {
    transform: translateY(-1px);

    border-color:
        var(--border-strong);

    box-shadow: var(--shadow-sm);
}

.today-number {
    width: 61px;

    display: flex;
    flex-direction: column;

    align-items: center;

    padding:
        9px 5px;

    border:
        1px solid
        var(--border);

    border-radius: 11px;

    background: var(--surface-soft);
}

.today-number span {
    font-size: 8px;

    color: var(--muted);

    font-weight: 800;

    letter-spacing: 1px;
}

.today-number strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 24px;

    line-height: 1.05;

    letter-spacing: -0.7px;
}

.level-badge {
    display: inline-flex;
    align-items: center;

    padding:
        4px 7px;

    border-radius: 6px;

    background: var(--purple-soft);

    color: var(--purple);

    font-size: 8px;

    font-weight: 850;

    letter-spacing: 1px;
}

.today-content h3 {
    margin-top: 5px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 18px;

    letter-spacing: -0.4px;
}

.today-content p {
    margin-top: 3px;

    max-width: 670px;

    color: var(--muted);

    font-size: 10px;
}

.round-arrow {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: var(--surface-soft);

    color: var(--text);

    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.round-arrow:hover {
    transform: translateY(-2px);

    background: var(--text);

    color: var(--surface);
}

.round-arrow svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   ROADMAP
========================================================= */

.roadmap-grid {
    display: grid;

    grid-template-columns:
        repeat(10, minmax(0, 1fr));

    gap: 7px;
}

.roadmap-day {
    appearance: none;

    width: 100%;

    min-width: 0;

    padding:
        11px 7px;

    border:
        1px solid
        var(--border);

    border-radius: 11px;

    background: var(--surface);

    color: var(--text);

    text-align: center;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.roadmap-day:hover:not(:disabled) {
    transform: translateY(-2px);

    border-color:
        color-mix(
            in srgb,
            var(--purple) 42%,
            var(--border)
        );
}

.roadmap-day strong {
    display: block;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 14px;
}

.roadmap-day span {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 7px;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.roadmap-day.done {
    background: var(--text);

    border-color: var(--text);

    color: var(--surface);
}

.roadmap-day.done span {
    color:
        color-mix(
            in srgb,
            var(--surface) 55%,
            transparent
        );
}

.roadmap-day.locked {
    opacity: 0.5;
}


/* =========================================================
   CHALLENGE
========================================================= */

.challenge-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        270px;

    gap: 15px;
}

.challenge-filters {
    display: flex;

    gap: 5px;
}

.filter-button {
    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background: var(--surface);

    color: var(--muted);

    padding:
        8px
        10px;

    font-size: 9px;

    font-weight: 750;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.filter-button:hover {
    background: var(--surface-soft);
}

.filter-button.active {
    background: var(--text);

    color: var(--surface);

    border-color:
        var(--text);
}


/* Day list */

.day-list {
    display: grid;

    gap: 7px;
}

.day-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        54px
        minmax(0, 1fr)
        75px;

    align-items: center;

    gap: 14px;

    padding:
        14px 16px;

    border:
        1px solid
        var(--border);

    border-radius: 13px;

    background: var(--surface);

    color: var(--text);

    text-align: left;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.day-row:hover:not(:disabled) {
    transform: translateX(2px);

    border-color:
        color-mix(
            in srgb,
            var(--purple) 45%,
            var(--border)
        );

    box-shadow:
        var(--shadow-xs);
}

.day-row:disabled {
    opacity: 0.55;
}

.day-row.completed {
    border-color:
        color-mix(
            in srgb,
            var(--green) 40%,
            var(--border)
        );
}

.day-index {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 14px;

    font-weight: 700;

    color: var(--muted);
}

.day-row h3 {
    font-size: 12px;

    font-weight: 720;
}

.day-row p {
    margin-top: 2px;

    color: var(--muted);

    font-size: 9px;
}

.day-row-status {
    text-align: right;

    color: var(--muted);

    font-size: 9px;

    font-weight: 750;
}

.day-row.completed
.day-row-status {
    color: var(--green);
}


/* Challenge side */

.challenge-sidebar {
    display: grid;

    align-content: start;

    gap: 9px;
}

.challenge-summary-card,
.challenge-tip-card {
    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background: var(--surface);

    padding: 18px;
}

.challenge-summary-card {
    box-shadow: var(--shadow-xs);
}

.challenge-summary-card > strong {
    float: right;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 17px;
}

.challenge-summary-card
.progress-track {
    margin-top: 17px;

    background: var(--surface-soft);
}

.challenge-summary-card p {
    margin-top: 11px;

    color: var(--muted);

    font-size: 9px;

    line-height: 1.65;
}

.challenge-tip-card {
    display: flex;

    align-items: flex-start;

    gap: 11px;
}

.challenge-tip-card > svg {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    color: var(--purple);
}

.challenge-tip-card strong {
    display: block;

    font-size: 10px;
}

.challenge-tip-card p {
    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;

    line-height: 1.65;
}


/* =========================================================
   DAY DETAIL
========================================================= */

.back-link {
    border: 0;

    background: transparent;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 23px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 750;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.back-link:hover {
    color: var(--text);

    transform: translateX(-2px);
}

.back-link svg {
    width: 14px;
    height: 14px;
}

.day-detail-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 22px;

    padding-bottom: 24px;

    border-bottom:
        1px solid
        var(--border);

    margin-bottom: 20px;
}

.day-detail-label {
    display: inline-block;

    color: var(--purple);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 1.35px;
}

.day-detail-header h1 {
    margin-top: 7px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 41px;

    line-height: 1;

    letter-spacing: -2px;
}

.day-detail-header p {
    max-width: 720px;

    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;
}

.day-score {
    min-width: 104px;

    padding:
        13px
        16px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background: var(--surface);

    text-align: right;
}

.day-score span {
    display: block;

    color: var(--muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .9px;
}

.day-score strong {
    display: block;

    margin-top: 3px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 19px;
}


/* Problem layout */

.problem-page-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        260px;

    gap: 15px;

    align-items: start;
}

.problem-list {
    display: grid;

    gap: 11px;
}


/* Problem card */

.problem-card {
    position: relative;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background: var(--surface);

    padding: 20px;

    box-shadow: var(--shadow-xs);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.problem-card:hover {
    border-color:
        var(--border-strong);

    box-shadow:
        var(--shadow-sm);
}

.problem-card.solved {
    border-color:
        color-mix(
            in srgb,
            var(--green) 47%,
            var(--border)
        );

    background:
        color-mix(
            in srgb,
            var(--surface) 97%,
            var(--green)
        );
}


/* Top */

.problem-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.problem-num {
    color: var(--muted);

    font-size: 8px;

    font-weight: 850;

    letter-spacing: 1.25px;
}

.difficulty {
    display: inline-flex;
    align-items: center;

    min-height: 19px;

    padding:
        0 7px;

    border-radius: 5px;

    font-size: 7px;

    font-weight: 850;

    letter-spacing: .8px;
}

.difficulty.easy {
    color: var(--green);
    background: var(--green-soft);
}

.difficulty.medium {
    color: var(--yellow);
    background: var(--yellow-soft);
}

.difficulty.hard {
    color: var(--red);
    background: var(--red-soft);
}


/* Problem text */

.problem-card h3 {
    margin-top: 13px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 18px;

    line-height: 1.2;

    letter-spacing: -.35px;
}

.problem-card > p {
    max-width: 850px;

    margin-top: 6px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.75;
}


/* Actions */

.problem-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 16px;

    padding-top: 13px;

    border-top:
        1px solid
        var(--border);
}

.tiny-button {
    min-height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding:
        0 10px;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background: var(--surface);

    color: var(--text);

    font-size: 8px;

    font-weight: 750;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.tiny-button:hover {
    background: var(--surface-soft);
    border-color: var(--border-strong);
}

.tiny-button svg {
    width: 13px;
    height: 13px;
}

.tiny-button.solve {
    background: var(--text);
    border-color: var(--text);
    color: var(--surface);
}

.problem-card.solved
.tiny-button.solve {
    background: var(--green);

    border-color: var(--green);

    color: white;
}


/* =========================================================
   PROBLEM TEST CASES
========================================================= */

.test-case-section {
    margin-top: 18px;

    padding-top: 17px;

    border-top:
        1px solid
        var(--border);
}

.test-case-title {
    display: flex;
    align-items: center;

    gap: 7px;

    color: var(--text);

    font-size: 10px;

    font-weight: 800;
}

.test-case-title svg {
    width: 14px;
    height: 14px;

    color: var(--purple);
}

.test-cases {
    display: grid;

    gap: 7px;

    margin-top: 10px;
}

.test-case {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.3fr;

    gap: 7px;

    padding: 10px;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background: var(--surface-soft);
}

.test-case-column {
    min-width: 0;
}

.test-case-column span {
    display: block;

    margin-bottom: 3px;

    color: var(--muted);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .75px;
}

.test-case-column code {
    display: block;

    overflow: hidden;

    color: var(--text);

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 9px;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.test-case-column p {
    color: var(--muted);

    font-size: 8px;

    line-height: 1.45;
}


/* =========================================================
   PROBLEM EXPLANATION
========================================================= */

.problem-explanation {
    margin-top: 15px;

    padding:
        15px;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--purple) 22%,
            var(--border)
        );

    border-radius: 11px;

    background:
        color-mix(
            in srgb,
            var(--purple-soft) 55%,
            var(--surface)
        );
}

.problem-explanation-head {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 7px;
}

.problem-explanation-head svg {
    width: 14px;
    height: 14px;

    color: var(--purple);
}

.problem-explanation-head strong {
    font-size: 9px;

    font-weight: 850;

    letter-spacing: .3px;
}

.problem-explanation p {
    color: var(--text-soft);

    font-size: 9px;

    line-height: 1.7;
}


/* =========================================================
   HINT
========================================================= */

.problem-hint {
    display: none;

    margin-top: 13px;

    padding:
        12px;

    border-radius: 9px;

    background: var(--yellow-soft);

    color: var(--text-soft);

    font-size: 9px;

    line-height: 1.6;
}

.problem-hint.visible {
    display: block;
}

.problem-hint strong {
    color: var(--yellow);
}


/* =========================================================
   PROBLEM RESOURCES
========================================================= */

.problem-resources {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 15px;
}

.resource-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    min-height: 32px;

    padding:
        0 10px;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background: var(--surface);

    color: var(--text);

    font-size: 8px;

    font-weight: 750;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.resource-action:hover {
    transform: translateY(-1px);

    background: var(--surface-soft);

    border-color: var(--border-strong);
}

.resource-action svg {
    width: 14px;
    height: 14px;
}

.resource-action.youtube {
    color: #d94141;
}

.resource-action.solve-link {
    color: var(--blue);
}

.resource-action.notes-link {
    color: var(--purple);
}

.resource-action.disabled {
    opacity: .42;

    pointer-events: none;
}


/* =========================================================
   REVISION
========================================================= */

.revision-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 15px;

    padding-top: 13px;

    border-top:
        1px solid
        var(--border);
}

.revision-text {
    display: flex;
    align-items: center;

    gap: 7px;

    min-width: 0;
}

.revision-text svg {
    width: 14px;
    height: 14px;

    color: var(--purple);

    flex: 0 0 auto;
}

.revision-text span {
    color: var(--muted);

    font-size: 9px;
}

.revision-button {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    min-height: 30px;

    padding:
        0 10px;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background: var(--surface);

    color: var(--text);

    font-size: 8px;

    font-weight: 760;

    white-space: nowrap;
}

.revision-button:hover {
    background: var(--surface-soft);
}

.revision-button svg {
    width: 13px;
    height: 13px;
}

.revision-button.revised {
    background: var(--green-soft);

    border-color:
        color-mix(
            in srgb,
            var(--green) 40%,
            var(--border)
        );

    color: var(--green);
}


/* =========================================================
   RIGHT LEARNING RAIL
========================================================= */

.problem-learning-rail {
    display: grid;

    gap: 9px;

    align-content: start;
}

.rail-card {
    position: relative;

    padding:
        18px;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background: var(--surface);

    box-shadow: var(--shadow-xs);
}

.rail-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    margin-bottom: 14px;

    border-radius: 9px;

    background: var(--surface-soft);
}

.rail-icon svg {
    width: 16px;
    height: 16px;
}

.rail-label {
    display: block;

    color: var(--purple);

    font-size: 8px;

    font-weight: 850;

    letter-spacing: 1px;
}

.rail-card h3 {
    margin-top: 5px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 16px;
}

.rail-card p {
    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;

    line-height: 1.65;
}


/* =========================================================
   RESOURCES / NOTES
========================================================= */

.resource-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.resource-card {
    padding:
        25px;

    border:
        1px solid
        var(--border);

    border-radius: 17px;

    background: var(--surface);

    box-shadow: var(--shadow-xs);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.resource-card:hover {
    transform: translateY(-2px);

    box-shadow: var(--shadow-sm);

    border-color: var(--border-strong);
}

.resource-card-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    border-radius: 11px;

    background: var(--surface-soft);
}

.resource-card-icon svg {
    width: 18px;
    height: 18px;
}

.resource-card h3 {
    margin-top: 6px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 23px;

    letter-spacing: -.6px;
}

.resource-card p {
    margin:
        6px 0
        19px;

    max-width: 470px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   RESOURCE MANAGEMENT GRID
========================================================= */

.resource-management-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 11px;
}

.resource-management-card {
    border:
        1px solid
        var(--border);

    background: var(--surface);

    border-radius: 15px;

    padding: 18px;

    box-shadow: var(--shadow-xs);
}

.resource-management-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.resource-management-card h3 {
    margin-top: 12px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 17px;
}

.resource-management-card p {
    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;
}

.resource-management-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 15px;
}


/* =========================================================
   VIDEO RESOURCE
========================================================= */

.video-resource {
    position: relative;

    overflow: hidden;

    margin-top: 14px;

    border-radius: 11px;

    background: #101216;

    min-height: 145px;

    display: grid;
    place-items: center;

    color: white;
}

.video-resource::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(102, 87, 221, 0.5),
            transparent 35%
        ),

        linear-gradient(
            130deg,
            #101216,
            #1d1e26
        );
}

.video-resource-button {
    position: relative;
    z-index: 2;

    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    border: 0;

    border-radius: 50%;

    background: white;

    color: #111317;

    box-shadow:
        0 8px 28px
        rgba(0,0,0,.22);
}

.video-resource-button svg {
    width: 18px;
    margin-left: 2px;
}


/* =========================================================
   PROGRESS PAGE
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 9px;

    margin-bottom: 20px;
}

.stat-card {
    position: relative;

    min-height: 118px;

    padding: 18px;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background: var(--surface);

    box-shadow: var(--shadow-xs);
}

.stat-card > span {
    display: block;

    color: var(--muted);

    font-size: 8px;

    font-weight: 850;

    letter-spacing: .8px;
}

.stat-card > strong {
    display: block;

    margin-top: 6px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 29px;

    line-height: 1;

    letter-spacing: -1px;
}

.stat-card > svg {
    position: absolute;

    right: 17px;
    top: 17px;

    width: 16px;
    height: 16px;

    color: var(--purple);
}


/* Progress table */

.progress-table {
    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background: var(--surface);

    box-shadow: var(--shadow-xs);
}

.progress-row {
    display: grid;

    grid-template-columns:
        60px
        minmax(0, 1fr)
        120px
        45px;

    align-items: center;

    gap: 13px;

    padding:
        13px
        17px;

    border-bottom:
        1px solid
        var(--border);
}

.progress-row:last-child {
    border-bottom: 0;
}

.progress-row > strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 10px;
}

.progress-row > span {
    overflow: hidden;

    color: var(--muted);

    font-size: 9px;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.progress-mini {
    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: var(--surface-soft);
}

.progress-mini > div {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            #9d95ff
        );

    transition: width .4s ease;
}


/* =========================================================
   BOOKMARKS
========================================================= */

.bookmark-list {
    display: grid;

    gap: 8px;
}

.bookmark-card {
    display: flex;
    align-items: center;

    gap: 12px;

    padding:
        14px 16px;

    border:
        1px solid
        var(--border);

    border-radius: 13px;

    background: var(--surface);

    box-shadow: var(--shadow-xs);
}

.bookmark-card > svg {
    width: 16px;
    height: 16px;

    color: var(--purple);

    flex: 0 0 auto;
}

.bookmark-card strong {
    display: block;

    font-size: 10px;
}

.bookmark-card span {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 8px;
}

.empty-state {
    padding: 45px 20px;

    border:
        1px dashed
        var(--border-strong);

    border-radius: 15px;

    background: var(--surface);

    color: var(--muted);

    text-align: center;

    font-size: 10px;
}


/* =========================================================
   PREPARATION COMING SOON
========================================================= */

.coming-soon-page {
    min-height:
        calc(
            100vh - 220px
        );

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding:
        50px 20px;

    text-align: center;
}

.coming-soon-icon {
    width: 67px;
    height: 67px;

    display: grid;
    place-items: center;

    margin-bottom: 21px;

    border-radius: 18px;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    box-shadow: var(--shadow-sm);
}

.coming-soon-icon svg {
    width: 27px;
    height: 27px;

    color: var(--purple);
}

.coming-soon-page h1 {
    margin-top: 10px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 40px;

    letter-spacing: -1.8px;
}

.coming-soon-page p {
    max-width: 520px;

    margin:
        10px
        auto
        22px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.75;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    max-width: 1320px;

    margin:
        0 auto;

    padding:
        0
        32px
        28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: var(--muted);

    font-size: 9px;
}

.site-footer strong {
    color: var(--text);
}

.site-footer a {
    display: inline-flex;
    align-items: center;

    gap: 4px;
}

.site-footer a:hover {
    color: var(--text);
}

.site-footer svg {
    width: 12px;
    height: 12px;
}


/* =========================================================
   TOAST
========================================================= */

.toast {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 500;

    display: flex;
    align-items: center;

    gap: 8px;

    min-height: 39px;

    padding:
        0 13px;

    border-radius: 10px;

    background: var(--text);

    color: var(--surface);

    box-shadow: var(--shadow-md);

    font-size: 9px;

    opacity: 0;

    transform:
        translateY(15px);

    pointer-events: none;

    transition:
        opacity .22s ease,
        transform .22s ease;
}

.toast.show {
    opacity: 1;

    transform:
        translateY(0);
}

.toast svg {
    width: 14px;
    height: 14px;

    color: var(--green);
}


/* =========================================================
   SIDEBAR OVERLAY
========================================================= */

.sidebar-overlay {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 90;

    background:
        rgba(0,0,0,.35);

    backdrop-filter:
        blur(2px);
}


/* =========================================================
   SCROLLBAR
========================================================= */

* {
    scrollbar-width: thin;

    scrollbar-color:
        var(--border-strong)
        transparent;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background:
        var(--border-strong);

    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background:
        var(--muted-light);
}


/* =========================================================
   FOCUS
========================================================= */

button:focus-visible,
a:focus-visible {
    outline:
        2px solid
        var(--purple);

    outline-offset:
        2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .sidebar {
        width: 225px;
    }

    .main-content {
        width: calc(100% - 225px);

        margin-left: 225px;
    }

    .page-container {
        padding:
            28px
            23px
            60px;
    }

    .dashboard-hero {
        grid-template-columns:
            minmax(0, 1fr)
            310px;
    }

    .roadmap-grid {
        grid-template-columns:
            repeat(6, minmax(0, 1fr));
    }

    .problem-page-layout {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .problem-learning-rail {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-management-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE SIDEBAR
========================================================= */

@media (max-width: 850px) {

    .sidebar {
        width: 255px;

        transform:
            translateX(-100%);

        box-shadow:
            var(--shadow-lg);
    }

    .sidebar.open {
        transform:
            translateX(0);
    }

    .sidebar-overlay.active {
        display: block;
    }

    .main-content {
        width: 100%;

        margin-left: 0;
    }

    .mobile-menu {
        display: grid;
    }

    .topbar {
        padding:
            0
            16px;
    }

    .top-link-button span,
    .top-instagram span {
        display: none;
    }

    .top-link-button,
    .top-instagram {
        width: 35px;
        padding: 0;

        justify-content: center;
    }

    .page-container {
        padding:
            22px
            16px
            52px;
    }

    .page-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 22px;
    }

    .page-heading h1 {
        font-size: 36px;
    }

    .dashboard-hero {
        grid-template-columns: 1fr;

        margin-bottom: 37px;
    }

    .hero-main {
        padding:
            31px
            27px;
    }

    .hero-main h1 {
        font-size: 49px;

        letter-spacing: -2.8px;
    }

    .section-heading-row {
        margin-top: 35px;
    }

    .today-focus-card {
        grid-template-columns:
            56px
            minmax(0,1fr)
            39px;
    }

    .today-number {
        width: 53px;
    }

    .today-number strong {
        font-size: 21px;
    }

    .challenge-layout {
        grid-template-columns: 1fr;
    }

    .challenge-sidebar {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .problem-learning-rail {
        display: grid;
    }

    .site-footer {
        padding:
            0
            16px
            24px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .topbar {
        height: 61px;
    }

    .breadcrumb {
        font-size: 10px;
    }

    .page-container {
        padding:
            19px
            13px
            45px;
    }

    .hero-main {
        padding:
            26px
            20px
            23px;
    }

    .hero-main h1 {
        font-size: 42px;

        letter-spacing: -2.35px;
    }

    .hero-description {
        font-size: 11px;

        line-height: 1.75;
    }

    .hero-actions {
        align-items: stretch;

        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-metrics {
        gap: 19px;
    }

    .metric strong {
        font-size: 18px;
    }

    .metric span {
        font-size: 8px;
    }

    .dashboard-progress-card {
        padding:
            24px
            20px;
    }

    .progress-circle {
        width: 145px;
        height: 145px;
    }

    .progress-circle::before {
        width: 117px;
        height: 117px;
    }

    .progress-circle-inner strong {
        font-size: 28px;
    }

    .section-heading-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;

        margin-top: 31px;
    }

    .section-heading-row h2 {
        font-size: 24px;
    }

    .today-focus-card {
        grid-template-columns:
            48px
            minmax(0,1fr);
    }

    .today-focus-card
    .round-arrow {
        display: none;
    }

    .today-number {
        width: 47px;
    }

    .today-number span {
        font-size: 7px;
    }

    .today-number strong {
        font-size: 19px;
    }

    .today-content h3 {
        font-size: 15px;
    }

    .today-content p {
        font-size: 9px;
    }

    .roadmap-grid {
        grid-template-columns:
            repeat(5, minmax(0,1fr));

        gap: 5px;
    }

    .roadmap-day {
        padding:
            9px
            3px;
    }

    .challenge-filters {
        width: 100%;

        overflow-x: auto;

        padding-bottom: 2px;
    }

    .filter-button {
        flex: 0 0 auto;
    }

    .day-row {
        grid-template-columns:
            43px
            minmax(0,1fr);

        gap: 11px;

        padding:
            12px;
    }

    .day-row-status {
        grid-column: 2;

        text-align: left;

        margin-top: -4px;
    }

    .challenge-sidebar {
        grid-template-columns: 1fr;
    }

    .day-detail-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .day-detail-header h1 {
        font-size: 33px;
    }

    .day-score {
        width: 100%;

        text-align: left;
    }

    .problem-card {
        padding:
            17px
            15px;
    }

    .problem-card h3 {
        font-size: 16px;
    }

    .problem-card > p {
        font-size: 9px;
    }

    .problem-actions {
        flex-direction: column;
    }

    .tiny-button {
        width: 100%;
    }

    .resource-action {
        width: 100%;
    }

    .test-case {
        grid-template-columns:
            1fr;
    }

    .resource-grid,
    .resource-management-grid {
        grid-template-columns: 1fr;
    }

    .problem-learning-rail {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 7px;
    }

    .stat-card {
        min-height: 105px;

        padding: 15px;
    }

    .stat-card > strong {
        font-size: 24px;
    }

    .progress-row {
        grid-template-columns:
            46px
            minmax(0,1fr)
            70px;
    }

    .progress-row > span:last-child {
        display: none;
    }

    .progress-row {
        gap: 9px;
    }

    .coming-soon-page h1 {
        font-size: 32px;
    }

    .coming-soon-page p {
        font-size: 10px;
    }

    .toast {
        right: 12px;
        left: 12px;
        bottom: 12px;

        justify-content: center;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 390px) {

    .hero-main h1 {
        font-size: 37px;
    }

    .hero-metrics {
        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 10px;
    }

    .metric strong {
        font-size: 16px;
    }

    .metric span {
        font-size: 7px;
    }

    .roadmap-grid {
        grid-template-columns:
            repeat(4, minmax(0,1fr));
    }

}