/* ===========================================
   RUNNER'S CHECK - マラソン大会準備チェックリスト
   =========================================== */

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

:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8F66;
    --secondary: #1B4965;
    --secondary-light: #2D6A8F;
    --accent: #FFD166;
    --success: #06D6A0;
    --success-dark: #05B888;
    --danger: #EF476F;
    --bg: #F8F9FA;
    --bg-card: #FFFFFF;
    --text: #2D3436;
    --text-secondary: #636E72;
    --text-light: #B2BEC3;
    --border: #E1E8ED;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(255,107,53,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary) 0%, #0D2D42 50%, #1B4965 100%);
    padding: 60px 20px 50px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255,107,53,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255,209,102,0.1) 0%, transparent 50%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,53,0.2);
    border: 1px solid rgba(255,107,53,0.3);
    color: var(--primary-light);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 32px;
}

/* ---------- Progress Bar (Hero) ---------- */
.progress-bar-container {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    backdrop-filter: blur(20px);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
}

.progress-count {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-bar {
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percentage {
    text-align: right;
    color: var(--primary-light);
    font-size: 1.4rem;
    font-weight: 700;
}

/* ---------- Action Bar ---------- */
.action-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    transition: box-shadow var(--transition);
}

.action-bar.scrolled {
    box-shadow: var(--shadow-md);
}

.action-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
}

.action-bar-right {
    display: flex;
    gap: 8px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-reset {
    background: rgba(239,71,111,0.08);
    color: var(--danger);
}

.btn-reset:hover {
    background: rgba(239,71,111,0.15);
    transform: translateY(-1px);
}

.btn-expand, .btn-collapse {
    background: rgba(27,73,101,0.06);
    color: var(--secondary);
}

.btn-expand:hover, .btn-collapse:hover {
    background: rgba(27,73,101,0.12);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,107,53,0.4);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* ---------- Checklist Section ---------- */
.checklist-section {
    margin: 24px auto;
    max-width: 720px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.checklist-section:hover {
    box-shadow: var(--shadow-md);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    transition: background var(--transition);
}

.section-header:hover {
    background: rgba(0,0,0,0.015);
}

.section-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.section-icon.essential {
    background: linear-gradient(135deg, rgba(239,71,111,0.1), rgba(239,71,111,0.2));
    color: var(--danger);
}

.section-icon.useful {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,107,53,0.2));
    color: var(--primary);
}

.section-icon.nice {
    background: linear-gradient(135deg, rgba(6,214,160,0.1), rgba(6,214,160,0.2));
    color: var(--success);
}

.section-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.section-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.section-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg);
    padding: 4px 12px;
    border-radius: 50px;
}

.section-toggle {
    color: var(--text-light);
    font-size: 0.85rem;
    transition: transform var(--transition);
}

.section-header.collapsed .section-toggle {
    transform: rotate(-90deg);
}

/* ---------- Hero Mascot ---------- */
.hero-mascot {
    margin-bottom: 16px;
}

.mascot-hero {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
    animation: mascotBounce 3s ease-in-out infinite;
}

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

/* ---------- Section Mascot ---------- */
.section-mascot {
    padding: 16px 24px;
}

.mascot-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    position: relative;
}

.mascot-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
    transition: transform var(--transition);
}

.mascot-card:hover img {
    transform: scale(1.08) rotate(-3deg);
}

.mascot-speech {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    flex: 1;
    border: 1px solid var(--border);
}

.mascot-speech::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--border);
}

.mascot-speech::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid var(--bg);
}

.mascot-speech p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.mascot-speech strong {
    color: var(--text);
    font-weight: 600;
}

/* Mascot card color themes */
.mascot-essential {
    background: linear-gradient(135deg, rgba(239,71,111,0.04), rgba(239,71,111,0.08));
}

.mascot-essential .mascot-speech {
    border-color: rgba(239,71,111,0.15);
}

.mascot-essential .mascot-speech::before {
    border-right-color: rgba(239,71,111,0.15);
}

.mascot-useful {
    background: linear-gradient(135deg, rgba(255,107,53,0.04), rgba(255,107,53,0.08));
}

.mascot-useful .mascot-speech {
    border-color: rgba(255,107,53,0.15);
}

.mascot-useful .mascot-speech::before {
    border-right-color: rgba(255,107,53,0.15);
}

.mascot-nice {
    background: linear-gradient(135deg, rgba(6,214,160,0.04), rgba(6,214,160,0.08));
}

.mascot-nice .mascot-speech {
    border-color: rgba(6,214,160,0.15);
}

.mascot-nice .mascot-speech::before {
    border-right-color: rgba(6,214,160,0.15);
}

/* ---------- Checklist Body ---------- */
.checklist-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.checklist-body.open {
    max-height: 3000px;
}

.checklist {
    list-style: none;
    padding: 0 24px 24px;
}

.checklist-sub {
    list-style: none;
    margin-left: 32px;
    margin-top: 4px;
    padding-left: 16px;
    border-left: 2px solid var(--border);
}

/* ---------- Checklist Item ---------- */
.checklist-item {
    padding: 2px 0;
}

.checklist-item label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.checklist-item label:hover {
    background: rgba(255,107,53,0.04);
}

.checklist-item input[type="checkbox"] {
    display: none;
}

/* ---------- Custom Checkmark ---------- */
.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
    position: relative;
}

.checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -2px;
}

input[type="checkbox"]:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    border-color: var(--success);
    box-shadow: 0 2px 8px rgba(6,214,160,0.3);
}

input[type="checkbox"]:checked ~ .checkmark::after {
    transform: rotate(45deg) scale(1);
}

/* ---------- Item Text ---------- */
.item-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}

input[type="checkbox"]:checked ~ .item-text {
    color: var(--text-light);
    text-decoration: line-through;
    text-decoration-color: var(--success);
    text-decoration-thickness: 2px;
}

.sub-item .item-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.sub-item input[type="checkbox"]:checked ~ .item-text {
    color: var(--text-light);
}

/* ---------- Item Badges ---------- */
.item-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-left: auto;
}

.badge-critical {
    background: rgba(239,71,111,0.1);
    color: var(--danger);
}

/* ---------- Checked animation ---------- */
@keyframes checkPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

input[type="checkbox"]:checked ~ .checkmark {
    animation: checkPop 0.3s ease;
}

/* ---------- CTA Section ---------- */
.cta-section {
    margin: 32px auto;
    max-width: 720px;
}

.cta-card {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--secondary), #0D2D42);
    border-radius: var(--radius-lg);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,107,53,0.15), transparent);
    border-radius: 50%;
}

.cta-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.cta-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.cta-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    position: relative;
}

/* ---------- Blog Section ---------- */
.blog-section {
    margin: 24px auto 40px;
    max-width: 720px;
}

.blog-card {
    display: flex;
    align-items: stretch;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.blog-card-content {
    flex: 1;
    padding: 28px;
}

.blog-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,107,53,0.2));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.blog-card-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.blog-card-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 18px;
    background: rgba(255,107,53,0.06);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.blog-link:hover {
    background: rgba(255,107,53,0.12);
    transform: translateX(4px);
}

.blog-card-decoration {
    width: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 2.5rem;
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
    padding: 40px 20px 24px;
}

.footer-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

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

.footer-bottom {
    max-width: 720px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ---------- Complete Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    padding: 20px;
}

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

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 16px;
    animation: trophyBounce 0.8s ease;
}

@keyframes trophyBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.modal h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.modal p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255,107,53,0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .hero {
        padding: 48px 16px 40px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .progress-bar-container {
        padding: 16px 18px;
    }

    .progress-percentage {
        font-size: 1.2rem;
    }

    .action-bar-inner {
        padding: 0 16px;
    }

    .btn {
        padding: 7px 12px;
        font-size: 0.75rem;
    }

    .section-header {
        padding: 16px 18px;
    }

    .section-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 0.98rem;
    }

    .section-desc {
        font-size: 0.72rem;
    }

    .section-mascot {
        padding: 12px 18px;
    }

    .mascot-card {
        gap: 12px;
        padding: 14px 16px;
    }

    .mascot-card img {
        width: 70px;
        height: 70px;
    }

    .mascot-speech {
        padding: 12px 14px;
    }

    .mascot-speech p {
        font-size: 0.78rem;
    }

    .mascot-hero {
        width: 100px;
        height: 100px;
    }

    .checklist {
        padding: 0 18px 20px;
    }

    .checklist-item label {
        padding: 8px 10px;
        gap: 10px;
    }

    .checkmark {
        width: 20px;
        height: 20px;
    }

    .item-text {
        font-size: 0.85rem;
    }

    .sub-item .item-text {
        font-size: 0.8rem;
    }

    .checklist-sub {
        margin-left: 24px;
        padding-left: 12px;
    }

    .item-badge {
        font-size: 0.6rem;
        padding: 2px 8px;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .cta-card h3 {
        font-size: 1.05rem;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-card-decoration {
        width: 100%;
        height: 60px;
        font-size: 2rem;
    }

    .blog-card-content {
        padding: 22px;
    }

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

    .modal {
        padding: 36px 24px;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(255,107,53,0.2);
    color: var(--text);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ---------- Focus Styles ---------- */
.btn:focus-visible,
.blog-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.checklist-item label:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    border-radius: var(--radius-sm);
}

/* ---------- Print Styles ---------- */
@media print {
    .hero {
        background: #fff !important;
        color: #000 !important;
        padding: 20px;
    }

    .hero h1 {
        color: #000 !important;
    }

    .hero-badge, .hero-subtitle, .progress-bar-container,
    .action-bar, .cta-section, .blog-section, .footer,
    .back-to-top, .section-mascot, .hero-mascot {
        display: none !important;
    }

    .checklist-section {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }

    .checklist-body {
        max-height: none !important;
    }

    .checkmark {
        border-color: #333 !important;
        width: 16px !important;
        height: 16px !important;
        print-color-adjust: exact;
    }

    input[type="checkbox"]:checked ~ .checkmark {
        background: #333 !important;
    }
}
