/* ============================================
   Mindtastic — Light Professional Theme
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Design tokens --- */
:root {
    --yellow: #fad709;
    --yellow-dark: #c9ab00;
    --yellow-light: #fff9d6;
    --yellow-bg: #fffef5;

    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-warm: #fafaf8;
    --bg-dark: #1a1a1a;
    --bg-dark-warm: #1e1e1a;

    --text: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-light: #ffffff;

    --border: #e5e5e5;
    --border-light: #f0f0f0;

    --red: #dc3545;
    --green: #28a745;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --container: 1100px;
    --radius: 8px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; height: auto; }

a {
    color: var(--text);
    text-decoration: none;
}

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links .lang-switch {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
    transition: color 0.15s, border-color 0.15s;
}

.nav-links .lang-switch:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
}

.btn-primary {
    background: var(--yellow);
    color: var(--text);
    border-color: var(--yellow);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--text);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0 64px;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%),
                url('/static/images/hero-landing.jpg') right center / cover no-repeat;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Section basics --- */
section {
    padding: 64px 0;
}

section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

/* --- Features --- */
.features {
    background: var(--bg-alt);
    position: relative;
    padding-bottom: 80px;
}

.features::after {
    content: "";
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--yellow-light);
    border-radius: 12px;
    color: var(--yellow-dark);
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

/* Section-level article links (used in features, timeline, etc.) */
.section-article-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: var(--yellow-light);
    border: 1px solid var(--yellow);
    padding: 6px 14px;
    border-radius: 100px;
    margin-top: 14px;
    text-decoration: none;
    transition: all 0.15s;
}

.section-article-link::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9ab00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.section-article-link:hover {
    background: var(--yellow);
    color: var(--text);
}

.section-article-link:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}

/* --- Tracks --- */
.tracks {
    background: var(--bg-alt);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.track-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--yellow);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.track-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--yellow);
    color: var(--text);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.track-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.track-audience {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.track-duration {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.track-card > p:last-child {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Workshop CTA Banner */
.workshop-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--yellow-light);
    border: 1px solid var(--yellow);
    border-radius: var(--radius);
    padding: 24px 32px;
    margin-top: 32px;
}

.workshop-cta-banner h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.workshop-cta-banner p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- Featured Reads --- */
.featured-reads {
    background: var(--bg);
    position: relative;
}

.featured-reads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.featured-read-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.featured-read-card:hover {
    border-color: var(--yellow);
    box-shadow: 0 4px 24px rgba(250, 215, 9, 0.1);
}

.featured-read-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.featured-read-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--yellow-light);
    border: 2px solid var(--yellow);
    border-radius: 12px;
    color: var(--text);
    flex-shrink: 0;
}

.featured-read-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--yellow-dark);
    background: var(--yellow-light);
    border: 1px solid var(--yellow);
    padding: 3px 10px;
    border-radius: 100px;
}

.featured-read-card h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.featured-read-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.featured-read-highlights {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.featured-read-highlights li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 6px;
}

.featured-read-highlights li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
}

.featured-read-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.featured-read-actions .btn {
    flex-shrink: 0;
}

.featured-read-repo {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.featured-read-repo:hover {
    color: var(--text);
}

/* --- Reality Check --- */
.reality-check {
    background: var(--bg);
    position: relative;
    padding-bottom: 80px;
}

.reality-check::after {
    content: "";
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.reality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.reality-card {
    padding: 24px;
    border-left: 3px solid var(--yellow);
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--yellow-bg) 100%);
    border-radius: 0 var(--radius) var(--radius) 0;
    display: flex;
    flex-direction: column;
}

.reality-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--yellow);
    color: var(--text);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.reality-icon svg {
    width: 18px;
    height: 18px;
}

.reality-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.reality-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.reality-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: var(--yellow-light);
    border: 1px solid var(--yellow);
    padding: 6px 14px;
    border-radius: 100px;
    margin-top: 4px;
    text-decoration: none;
    transition: all 0.15s;
}

.reality-link::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9ab00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.reality-link:hover {
    background: var(--yellow);
    color: var(--text);
}

.reality-link:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}

.reality-tagline {
    text-align: center;
    margin-top: 32px;
    font-size: 16px;
    color: var(--text-muted);
}

/* --- Why It Works — Timeline --- */
.why-works {
    background: var(--bg-alt);
}

.timeline {
    display: flex;
    gap: 0;
    margin-top: 48px;
    position: relative;
    justify-content: space-between;
}

.timeline-line {
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-step .section-article-link {
    margin-top: auto;
}

.timeline-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--yellow);
    color: var(--text);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.timeline-step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--yellow-dark);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Articles Preview (on homepage) --- */
.articles-preview {
    background: var(--bg);
}

/* Compact article row list */
.articles-compact {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.article-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.15s;
}

.article-row:last-child {
    border-bottom: none;
}

.article-row:hover {
    background: var(--bg-alt);
}

.article-row-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--yellow-dark);
    background: var(--yellow-light);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
}

.article-row-title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.article-row-arrow {
    font-size: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.article-row-draft {
    cursor: default;
    color: var(--text-muted);
}

.article-row-draft:hover {
    background: var(--bg);
}

.article-row-draft .article-row-title {
    color: var(--text-muted);
}

/* Legacy card styles (kept for other pages) */
.article-card {
    display: block;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.15s;
}

.article-card:hover {
    border-color: var(--yellow);
}

.article-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.article-tag-draft {
    color: var(--yellow-dark);
}

.article-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.article-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.articles-cta {
    text-align: center;
    margin-top: 32px;
}

/* --- What Actually Happens --- */
.results {
    background: var(--bg-dark);
    color: var(--text-light);
}

.results h2 {
    color: var(--text-light);
}

.results .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.results-grid {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 32px auto 0;
    counter-reset: results-counter;
}

.result-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: none;
    border-radius: 0;
    counter-increment: results-counter;
}

.result-card:last-child {
    border-bottom: none;
}

.result-card::before {
    content: counter(results-counter, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 500;
    color: var(--yellow);
    opacity: 0.85;
    line-height: 1;
    grid-row: 1 / 3;
    padding-top: 2px;
}

.result-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 8px;
}

.result-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* --- Testimonials --- */
.testimonials {
    background: var(--bg-dark-warm);
    color: var(--text-light);
}

.testimonials h2 {
    color: var(--text-light);
    text-align: center;
}

.testimonials .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 32px auto 0;
    position: relative;
}

.testimonials-grid::before {
    content: "\201C";
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    line-height: 1;
    color: var(--yellow);
    opacity: 0.3;
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-card {
    padding: 32px 0;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.testimonial-card:last-child {
    border-bottom: none;
}

.testimonial-card blockquote {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

/* --- Outcomes --- */
.outcomes {
    background: var(--bg);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.outcomes-grid::before {
    content: "";
    position: absolute;
    top: 8px;
    left: calc(16.667% + 12px);
    right: calc(16.667% + 12px);
    height: 2px;
    background: var(--yellow);
    opacity: 0.5;
    z-index: 0;
}

.outcome-card {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 16px;
    text-align: center;
    position: relative;
    padding-top: 32px;
}

.outcome-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--yellow);
    z-index: 1;
}

.outcome-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
    color: var(--yellow-dark);
}

.outcome-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.outcome-card li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.outcome-card li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 600;
}

/* --- About Page --- */
.about-hero {
    padding: 64px 0 48px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.about-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.about-bio {
    padding: 64px 0;
    background: var(--bg);
}

.about-bio-card {
    border: 1px solid var(--border);
    border-left: 4px solid var(--yellow);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 700px;
}

.about-bio-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.about-bio-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-pillars-section {
    padding: 64px 0;
    background: var(--bg-alt);
}

.about-pillars-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.pillar-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
}

.pillar-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--yellow);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.pillar-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pillar-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--yellow-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.pillar-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-tagline {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    font-style: italic;
    text-align: center;
}

/* --- Philosophy --- */
.philosophy-attribution {
    background: var(--bg-dark);
    padding: 80px 0;
}

.philosophy-expanded {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.philosophy-quote-side {
    flex: 1;
    min-width: 0;
}

.philosophy-quote-side blockquote {
    font-size: 36px;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: -0.01em;
    font-style: normal;
    margin-bottom: 4px;
    line-height: 1.2;
}

.philosophy-translation {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 24px;
}

.philosophy-author {
    margin-bottom: 24px;
}

.philosophy-author-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2px;
}

.philosophy-author-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.philosophy-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-outline-light {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.15s;
}

.btn-outline-light:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.philosophy-personal-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.philosophy-personal-link:hover {
    color: var(--yellow);
    border-color: var(--yellow);
}

.philosophy-pillars-side {
    flex: 1;
    min-width: 0;
}

.philosophy-pillars-intro {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 20px;
}

.philosophy-pillar-list {
    list-style: none;
    counter-reset: pillar;
}

.philosophy-pillar-list li {
    counter-increment: pillar;
    position: relative;
    padding-left: 36px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin-bottom: 10px;
}

.philosophy-pillar-list li::before {
    content: counter(pillar);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    background: var(--yellow);
    border-radius: 50%;
}

.philosophy-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    text-underline-offset: 2px;
}

.philosophy-link:hover {
    color: var(--yellow);
    border-color: var(--yellow);
}

/* --- Docs CTA --- */
.docs-cta {
    background: var(--bg-alt);
}

.docs-card {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.docs-content {
    flex: 1;
}

.docs-content h2 {
    margin-bottom: 8px;
}

.docs-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.docs-highlights {
    list-style: none;
    padding: 0;
}

.docs-highlights li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0 4px 20px;
    position: relative;
}

.docs-highlights li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 600;
}

.docs-action {
    flex-shrink: 0;
}

/* --- Contact CTA (bottom of pages) --- */
.contact-cta {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 64px 0;
}

.contact-cta h2 {
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

.contact-cta .btn-primary {
    background: var(--yellow);
    color: var(--text);
}

/* --- Contact Page --- */
.contact-hero {
    padding: 64px 0 32px;
    background: var(--bg);
}

.contact-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 550px;
}

.contact-page {
    padding: 32px 0 64px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* --- Forms --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: var(--red);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.form-note {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* --- Contact info sidebar --- */
.contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.info-item {
    margin-bottom: 24px;
}

.info-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.info-item .link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Articles Page --- */
.articles-header {
    padding: 64px 0 32px;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%),
                url('/static/images/hero-articles.jpg') right center / cover no-repeat;
}

.articles-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.articles-header-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 8px;
}

.articles-header-count {
    font-size: 14px;
    color: var(--text-muted);
}

/* Articles directory layout */
.articles-directory {
    padding: 0 0 64px;
}

.category-block {
    margin-bottom: 48px;
}

.category-block-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--yellow);
}

.category-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--yellow-light);
    color: var(--yellow-dark);
    border-radius: 10px;
    flex-shrink: 0;
}

.category-icon svg {
    width: 20px;
    height: 20px;
}

.category-block-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}

.category-block-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 650px;
}

.category-block-articles {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.draft-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* Coming soon */
.articles-coming-soon {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 32px;
}

.coming-soon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.coming-soon-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.draft-badge {
    font-size: 12px;
    font-weight: 600;
    background: var(--yellow-light);
    color: var(--yellow-dark);
    padding: 2px 10px;
    border-radius: 100px;
}

.coming-soon-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
}

.coming-soon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.coming-soon-title {
    font-size: 14px;
    font-weight: 500;
}

.more-drafts {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* --- Workshop Page --- */
.workshop-hero {
    padding: 64px 0;
    background: var(--bg);
}

.workshop-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.workshop-hero h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 650px;
    margin-bottom: 16px;
}

.text-yellow {
    color: var(--yellow-dark);
}

.workshop-quick-info {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.quick-info-item {
    font-size: 14px;
}

.quick-info-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

/* Highlight box */
.highlight-box {
    background: var(--yellow-light);
    border-left: 3px solid var(--yellow);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 24px 32px;
    margin-top: 32px;
}

.highlight-box h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.highlight-box p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Workshop value props */
.workshop-value-props {
    background: var(--bg);
}

.workshop-value-card .track-number {
    font-size: 13px;
    width: 28px;
    height: 28px;
}

/* Workshop approach */
.workshop-approach {
    background: var(--bg-alt);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.approach-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.approach-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.approach-badge-before { background: var(--bg-alt); color: var(--text-muted); }
.approach-badge-during { background: var(--yellow); color: var(--text); }
.approach-badge-after { background: var(--bg-dark); color: var(--text-light); }

.approach-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.approach-step strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.approach-step p {
    font-size: 14px;
    color: var(--text-secondary);
}

.approach-quote {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist-item {
    position: relative;
    padding-left: 24px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.checklist-item::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 600;
}

.x-item {
    position: relative;
    padding-left: 24px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.x-item::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 600;
}

/* Workshop audience */
.workshop-audience {
    background: var(--bg);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.audience-card {
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.audience-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.audience-card ul {
    list-style: none;
    padding: 0;
}

.audience-yes {
    border-color: var(--green);
}

.audience-no {
    border-color: var(--red);
}

.workshop-philosophy {
    text-align: center;
}

.workshop-philosophy blockquote {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    font-style: normal;
    margin-bottom: 8px;
}

.workshop-philosophy p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Workshop details */
.workshop-details {
    background: var(--bg-alt);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.details-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.details-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.detail-row span {
    color: var(--text-muted);
}

.detail-row strong {
    color: var(--text);
}

/* Price card */
.price-card {
    background: var(--bg);
    border: 2px solid var(--yellow);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
}

.price-intro-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--yellow);
    color: var(--text);
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.price-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.price-amount {
    margin-bottom: 4px;
}

.price-number {
    font-size: 40px;
    font-weight: 700;
}

.price-currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.price-vat {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.price-savings {
    margin-bottom: 12px;
}

.price-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-save {
    font-size: 13px;
    color: var(--green);
    font-weight: 500;
}

.price-tagline {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Technical requirements */
.tech-requirements {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.tech-requirements h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 16px;
}

.tech-grid h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tech-grid ul {
    list-style: none;
    padding: 0;
}

.tech-note {
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}

/* Workshop registration */
.workshop-registration {
    background: var(--bg);
    padding: 64px 0;
}

.workshop-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* Workshop contact */
.workshop-contact {
    background: var(--bg-alt);
    padding: 48px 0;
}

.workshop-contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.workshop-contact-inner h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.workshop-contact-inner p {
    font-size: 14px;
    color: var(--text-secondary);
}

.workshop-contact-info {
    display: flex;
    gap: 32px;
}

.workshop-contact-person {
    font-size: 14px;
}

.workshop-contact-person strong {
    display: block;
    margin-bottom: 2px;
}

.workshop-contact-person a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Alerts --- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Docs Login --- */
.docs-login {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 0;
}

.docs-login-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 400px;
    width: 100%;
}

.docs-login-card h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.docs-login-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.docs-login-card .form-group {
    margin-bottom: 16px;
}

/* --- Footer --- */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
}

.footer-brand img {
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Tablet --- */
@media (max-width: 960px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-reads-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* --- Mobile responsive --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .features-grid,
    .reality-grid,
    .featured-reads-grid,
    .coming-soon-list {
        grid-template-columns: 1fr;
    }

    .tracks-grid,
    .audience-grid,
    .details-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    /* Results — already single-column, just tighten */
    .results-grid {
        max-width: 100%;
    }

    .result-card {
        gap: 16px;
    }

    .result-card::before {
        font-size: 24px;
        min-width: 36px;
    }

    /* Outcomes — vertical timeline on mobile */
    .outcomes-grid {
        grid-template-columns: 1fr;
        padding-left: 32px;
        gap: 0;
    }

    .outcomes-grid::before {
        top: 8px;
        bottom: 8px;
        left: 8px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .outcome-card {
        text-align: left;
        padding: 0 0 32px 16px;
        padding-top: 0;
    }

    .outcome-card::before {
        left: -28px;
        top: 4px;
        transform: none;
        width: 12px;
        height: 12px;
        box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--yellow);
    }

    /* Testimonials — already single-column, just adjust */
    .testimonials-grid {
        max-width: 100%;
    }

    .testimonials-grid::before {
        font-size: 80px;
        top: -16px;
    }

    .testimonial-card blockquote {
        font-size: 16px;
    }

    /* Timeline vertical collapse */
    .timeline {
        flex-direction: column;
        gap: 0;
        padding-left: 28px;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 19px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline-step {
        text-align: left;
        padding: 0 0 32px 24px;
    }

    .timeline-number {
        position: absolute;
        left: -44px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-bio-card {
        padding: 28px 20px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 28px;
    }

    .docs-card {
        flex-direction: column;
        gap: 24px;
    }

    .philosophy-expanded {
        flex-direction: column;
        gap: 40px;
    }

    .philosophy-quote-side blockquote {
        font-size: 28px;
    }

    .philosophy-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .workshop-cta-banner {
        flex-direction: column;
        text-align: center;
    }

    .workshop-quick-info {
        flex-wrap: wrap;
        gap: 16px;
    }

    .workshop-contact-inner {
        flex-direction: column;
        text-align: center;
    }

    .workshop-contact-info {
        flex-direction: column;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    section {
        padding: 48px 0;
    }

    section h2 {
        font-size: 24px;
    }

    .workshop-hero h1 {
        font-size: 30px;
    }
}

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

    .article-sidebar {
        position: static;
    }

    .article-content {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }
}

/* --- Article Reader --- */
.article-reader-header {
    padding: 48px 0 32px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.article-back {
    display: inline-block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.article-back:hover {
    color: var(--text);
}

.article-reader-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--yellow-dark);
    background: var(--yellow-light);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.article-reader-header h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 750px;
}

.article-reader-body {
    padding: 48px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

.article-content {
    min-width: 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
}

/* --- Article Sidebar --- */
.article-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.sidebar-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 16px 16px 12px;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-top: 1px solid var(--border-light);
    transition: background 0.15s;
}

.sidebar-link:hover {
    background: var(--bg-alt);
}

.sidebar-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
}

.sidebar-cta {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
}

.sidebar-cta .sidebar-heading {
    padding: 0 0 8px;
}

.sidebar-cta p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.sidebar-btn {
    display: block;
    text-align: center;
    margin-bottom: 8px;
    padding: 8px 16px;
    font-size: 14px;
}

.sidebar-btn:last-child {
    margin-bottom: 0;
}

.article-content h1 {
    display: none;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
}

.article-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 24px 0 8px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content em {
    color: var(--text-secondary);
}

.article-content strong {
    font-weight: 600;
}

.article-content a {
    color: var(--yellow-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: var(--text);
}

.article-content blockquote {
    border-left: 3px solid var(--yellow);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--yellow-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-secondary);
    font-style: italic;
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 6px;
}

.article-content pre {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 20px 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.5;
}

.article-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
}

.article-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.article-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.article-content th,
.article-content td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.article-content th {
    background: var(--bg-alt);
    font-weight: 600;
}

.article-content img {
    border-radius: var(--radius);
    margin: 16px 0;
}

.article-reader-footer {
    padding: 32px 0 48px;
    border-top: 1px solid var(--border);
}

.article-footer-nav {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}
