:root {
    --bg-color: #f6f1e8;
    --bg-secondary: #fff9f0;
    --sidebar-bg: rgba(255, 255, 255, 0.86);
    --text-primary: #1f2a37;
    --text-secondary: #5f6777;
    --accent-blue: #0f766e;
    --accent-purple: #f07f2f;
    --accent-gold: #d6a13a;
    --accent-glow: rgba(15, 118, 110, 0.24);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(31, 42, 55, 0.1);
    --sidebar-width: 300px;
    --shadow-lg: 0 30px 70px rgba(17, 24, 39, 0.12);
    --shadow-md: 0 12px 30px rgba(17, 24, 39, 0.1);
    --radius-xl: 24px;
    --radius-md: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 10% 15%, rgba(240, 127, 47, 0.16), transparent 35%),
        radial-gradient(circle at 88% 88%, rgba(15, 118, 110, 0.2), transparent 34%),
        linear-gradient(145deg, var(--bg-color), var(--bg-secondary));
    color: var(--text-primary);
    min-height: 100vh;
    display: block;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 42, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 42, 55, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: -2;
}

.skip-link {
    position: fixed;
    top: -44px;
    left: 16px;
    z-index: 10000;
    background: #0b5f58;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--glass-border);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    transform: translateX(0);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.3rem;
    overflow-y: auto;
    backdrop-filter: blur(12px);
    box-shadow: 8px 0 26px rgba(15, 23, 42, 0.06);
}

.logo {
    display: block;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #14233a;
    text-decoration: none;
    margin-bottom: 2rem;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(240, 127, 47, 0.17));
    border: 1px solid rgba(15, 118, 110, 0.2);
    letter-spacing: 0.2px;
}

.nav-links {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-item {
    display: block;
    padding: 0.95rem 1.05rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
    color: var(--text-secondary);
    border: 1px solid transparent;
    background: transparent;
    font-weight: 600;
    line-height: 1.35;
}

.nav-item:hover {
    transform: translateY(-1px);
    color: #102032;
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.2);
}

.nav-item.active {
    color: #0a534e;
    border-color: rgba(15, 118, 110, 0.35);
    background: linear-gradient(110deg, rgba(15, 118, 110, 0.17), rgba(240, 127, 47, 0.14));
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.12);
}

.toggle-btn {
    position: fixed;
    left: 18px;
    top: 16px;
    background: linear-gradient(145deg, var(--accent-blue), #0c5b56);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 120;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.35);
}

.toggle-btn .line {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 3px;
    display: block;
    margin: 2.5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(12, 17, 28, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    padding: 2rem;
    position: relative;
}

.breadcrumb {
    max-width: 1180px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 42, 55, 0.1);
    border-radius: 12px;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    color: #536072;
}

.breadcrumb a {
    color: #0f5f58;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.lesson-container {
    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 6rem;
}

.lesson-part {
    min-height: 82vh;
    display: flex;
    align-items: center;
    margin-bottom: 2.2rem;
    padding: 2.2rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.lesson-part.is-locked {
    isolation: isolate;
}

.lesson-part.is-locked .slide-content {
    filter: blur(8px) saturate(0.82);
    opacity: 0.38;
    pointer-events: none;
    user-select: none;
}

.slide-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.22), rgba(15, 118, 110, 0.14));
}

.slide-lock-card {
    max-width: 520px;
    text-align: center;
    background: rgba(255, 252, 247, 0.94);
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 24px;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 22px 45px rgba(17, 24, 39, 0.18);
    backdrop-filter: blur(10px);
}

.slide-lock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(240, 127, 47, 0.14);
    color: #8e4b11;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.slide-lock-title {
    margin-bottom: 0.55rem;
    color: #16293e;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.slide-lock-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.release-popup {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 300;
    width: min(360px, calc(100vw - 32px));
    padding: 1rem 1rem 0.95rem;
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.94);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.34);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.release-popup.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.release-popup__title {
    margin-bottom: 0.35rem;
    color: #fff7ed;
    font-size: 1rem;
    font-weight: 700;
}

.release-popup__text {
    color: rgba(248, 250, 252, 0.86);
    font-size: 0.94rem;
    line-height: 1.55;
}

.lesson-part::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 127, 47, 0.2) 0%, transparent 68%);
    pointer-events: none;
}

.slide-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2.5rem;
    align-items: center;
}

.text-content {
    z-index: 2;
}

.image-content {
    position: relative;
}

.image-content::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 24px;
    background: linear-gradient(130deg, rgba(15, 118, 110, 0.18), rgba(240, 127, 47, 0.16));
    z-index: -1;
}

.image-content img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 42px rgba(17, 24, 39, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-content img:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 28px 50px rgba(17, 24, 39, 0.24);
}

h1,
h2,
h3 {
    font-family: "Merriweather", Georgia, serif;
    letter-spacing: -0.2px;
}

h1 {
    font-size: clamp(1.95rem, 3vw, 3.08rem);
    line-height: 1.1;
    text-wrap: balance;
    margin-bottom: 1.3rem;
    color: #122237;
}

h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.5rem);
    margin-bottom: 0.85rem;
    color: #16293e;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

.subtitle {
    font-size: 0.82rem;
    color: #124c47;
    text-transform: uppercase;
    letter-spacing: 1.9px;
    margin-bottom: 0.95rem;
    display: inline-block;
    font-weight: 700;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    border: 1px solid rgba(15, 118, 110, 0.2);
}

p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.15rem;
}

.text-content ul {
    list-style: none;
    margin-top: 1.1rem;
}

.text-content li {
    margin-bottom: 0.72rem;
    display: block;
    position: relative;
    color: var(--text-primary);
    background: #fff;
    padding: 0.95rem 1rem 0.95rem 2.85rem;
    border-radius: 12px;
    border: 1px solid rgba(31, 42, 55, 0.11);
    box-shadow: var(--shadow-md);
}

.text-content li::before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    position: absolute;
    left: 1.2rem;
    top: 1.26rem;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 1.75rem;
    background: linear-gradient(120deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 1.4rem;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.36);
}

.funnel-steps {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.funnel-step {
    padding: 0.9rem 1rem;
    text-align: center;
    font-weight: 700;
    color: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.seo-links {
    margin: 0 0 1.2rem;
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(31, 42, 55, 0.1);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-md);
}

.seo-links-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.seo-links-list {
    list-style: none;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.seo-links-list li {
    margin: 0;
}

.seo-links-list a {
    display: inline-block;
    color: #0e5d57;
    font-weight: 600;
    text-decoration: none;
}

.seo-links-list a:hover {
    text-decoration: underline;
}

.share-actions {
    margin: 0 0 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(31, 42, 55, 0.1);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.share-actions__label {
    font-weight: 700;
    color: #1f2a37;
}

.share-actions__buttons {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.share-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 42, 55, 0.12);
    background: #fff;
    color: #1f2a37;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.share-actions__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.12);
}

.share-actions__btn--facebook {
    background: linear-gradient(135deg, #1877f2, #0d5bd7);
    color: #fff;
    border-color: rgba(24, 119, 242, 0.2);
}

.share-actions__btn--copy {
    border: 1px solid rgba(15, 118, 110, 0.22);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(240, 127, 47, 0.12));
    color: #0d5f58;
}

.share-actions__btn--copy.is-copied {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.2), rgba(15, 118, 110, 0.16));
    color: #083f3a;
}

.prompt-layout {
    grid-template-columns: 1fr;
}

.tool-highlight {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    border-radius: 22px;
    border: 1px solid rgba(15, 118, 110, 0.22);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(240, 127, 47, 0.92));
    box-shadow: 0 20px 44px rgba(17, 24, 39, 0.18);
    color: #fff;
}

.tool-highlight h2 {
    color: #fff;
    margin-bottom: 0.7rem;
}

.tool-highlight p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 760px;
    margin-bottom: 1rem;
}

.tool-highlight__badge {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tool-highlight__actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.tool-highlight .btn-primary {
    background: #fff;
    color: #0d5f58;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.2);
}

.tool-highlight .btn-primary:hover {
    color: #094843;
}

.tool-highlight__link {
    color: #fff8e7;
    font-weight: 700;
    text-decoration: none;
}

.tool-highlight__link:hover {
    text-decoration: underline;
}

.tool-showcase {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
}

.tool-showcase__image {
    max-width: 100%;
}

.tool-showcase__image img {
    background: rgba(255, 255, 255, 0.7);
}

.prompt-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.prompt-card {
    border-radius: 14px;
    border: 1px solid rgba(31, 42, 55, 0.1);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-md);
    padding: 0.9rem;
    position: relative;
}

.prompt-card-featured {
    border: 1px solid rgba(15, 118, 110, 0.28);
    background:
        linear-gradient(120deg, rgba(15, 118, 110, 0.08), rgba(240, 127, 47, 0.09)),
        rgba(255, 255, 255, 0.92);
}

.prompt-badge {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.26rem 0.62rem;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 700;
    color: #0b4f49;
    background: rgba(15, 118, 110, 0.14);
    border: 1px solid rgba(15, 118, 110, 0.24);
}

.prompt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.prompt-head h3 {
    margin: 0;
    font-size: 1.06rem;
}

.copy-btn {
    border: 1px solid rgba(15, 118, 110, 0.3);
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.15), rgba(240, 127, 47, 0.17));
    color: #0b4f49;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.16);
}

.copy-btn.is-copied {
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.24), rgba(15, 118, 110, 0.2));
    color: #083f3a;
}

.prompt-code {
    margin: 0;
    padding: 0.95rem;
    border-radius: 10px;
    border: 1px dashed rgba(31, 42, 55, 0.2);
    background: #fff;
    color: #253144;
    font-size: 0.9rem;
    line-height: 1.55;
    white-space: pre-wrap;
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.site-footer-watermark {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding: 1rem 1.4rem 1.5rem;
}

.watermark-box {
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid rgba(31, 42, 55, 0.1);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-md);
    text-align: center;
    font-size: 0.92rem;
    color: #4a5565;
    padding: 0.7rem 1rem;
}

.watermark-box a {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
}

.watermark-box a:hover {
    text-decoration: underline;
}

.promo-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: min(250px, calc(100vw - 32px));
    padding: 0.7rem 0.78rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(135deg, rgba(7, 59, 76, 0.96), rgba(255, 125, 0, 0.95));
    color: #fffef8;
    box-shadow: 0 12px 20px rgba(17, 24, 39, 0.22);
    z-index: 200;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.promo-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.28);
    border-color: rgba(255, 255, 255, 0.38);
}

.promo-banner__toggle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.promo-banner__toggle:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.28);
}

.promo-banner.is-collapsed {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    animation: none;
}

.promo-banner.is-collapsed::before,
.promo-banner.is-collapsed::after,
.promo-banner.is-collapsed .promo-banner__eyebrow,
.promo-banner.is-collapsed .promo-banner__title,
.promo-banner.is-collapsed .promo-banner__text,
.promo-banner.is-collapsed .promo-banner__link {
    display: none;
}

.promo-banner.is-collapsed .promo-banner__toggle {
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.24);
}

.promo-banner__eyebrow {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 0.28rem;
    padding: 0.2rem 0.52rem;
    border-radius: 999px;
    background: rgba(255, 248, 214, 0.18);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff7da;
}

.promo-banner__title {
    position: relative;
    z-index: 1;
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    line-height: 1.22;
    color: #fff;
    max-width: 265px;
}

.promo-banner__text {
    position: relative;
    z-index: 1;
    margin: 0 0 0.58rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 249, 236, 0.94);
}

.promo-banner__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7db, #ffffff);
    color: #9a3412;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.86rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.promo-banner__link:hover {
    color: #7c2d12;
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.24);
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(240, 127, 47, 0.2), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(15, 118, 110, 0.22), transparent 42%),
        linear-gradient(150deg, #f7f2e8, #fffaf0);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-card {
    min-width: 280px;
    max-width: 340px;
    border-radius: 18px;
    padding: 1.3rem 1.4rem;
    border: 1px solid rgba(31, 42, 55, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.loader-brand {
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.1rem;
    color: #14233a;
    margin-bottom: 0.65rem;
}

.loader-text {
    color: #5d6676;
    font-size: 0.88rem;
}

.loader-line {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    margin-top: 0.9rem;
    background: rgba(31, 42, 55, 0.09);
    overflow: hidden;
    position: relative;
}

.loader-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: -42%;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(120deg, var(--accent-blue), var(--accent-purple));
    animation: loaderMove 1.1s ease-in-out infinite;
}

@keyframes loaderMove {
    from {
        left: -42%;
    }

    to {
        left: 100%;
    }
}

.step-1 {
    background: linear-gradient(110deg, #117767, #26a194);
    width: 100%;
}

.step-2 {
    background: linear-gradient(110deg, #228f84, #48b5a9);
    width: 82%;
    align-self: center;
}

.step-3 {
    background: linear-gradient(110deg, #da8f39, #f07f2f);
    width: 64%;
    align-self: center;
}

.step-4 {
    background: linear-gradient(110deg, #d46f27, #bf5415);
    width: 46%;
    align-self: center;
}

body.js-enabled .lesson-part {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

body.js-enabled .lesson-part.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1140px) {
    .main-content {
        padding: 1.35rem;
    }

    .slide-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }

    .image-content {
        order: -1;
        max-width: 740px;
        margin: 0 auto;
    }

    .lesson-part {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
    }

    body.nav-open {
        overflow: hidden;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 290px;
        box-shadow: 22px 0 42px rgba(17, 24, 39, 0.24);
        border-right: 1px solid rgba(255, 255, 255, 0.48);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 4.4rem 1rem 1rem 4.5rem;
    }

    .site-footer-watermark {
        margin-left: 0;
        width: 100%;
        padding: 0.3rem 1rem 1rem;
    }

    .breadcrumb {
        margin-bottom: 0.75rem;
    }

    .toggle-btn {
        display: inline-flex;
    }

    .lesson-part {
        padding: 1.4rem 1rem;
        border-radius: 18px;
        margin-bottom: 1.3rem;
    }

    .lesson-container>.lesson-part:first-child {
        padding-top: 5rem;
    }

    h1 {
        font-size: 2.05rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    p {
        font-size: 0.98rem;
    }

    .prompt-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .share-actions {
        align-items: flex-start;
    }

    .share-actions__buttons {
        width: 100%;
    }

    .share-actions__btn {
        width: 100%;
    }

    .tool-highlight {
        padding: 1rem;
    }

    .tool-highlight__actions {
        align-items: stretch;
    }

    .tool-showcase {
        grid-template-columns: 1fr;
    }

    .promo-banner {
        right: 12px;
        bottom: 12px;
        width: min(240px, calc(100vw - 24px));
        padding: 0.62rem;
        border-radius: 12px;
    }

    .promo-banner__text {
        display: none;
    }

    .promo-banner.is-collapsed {
        width: 40px;
        height: 40px;
    }

    .promo-banner__title {
        font-size: 1rem;
    }

    .promo-banner__text {
        font-size: 0.88rem;
        margin-bottom: 0.7rem;
    }
}
