@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Kalam:wght@400;700&display=swap');

/* ===== Checklists resource page — "checklist stack" identity =====
   Primary accent: red-600 (site standard). Secondary accent: emerald.
   Motif: clipboard / ruled paper / stacked sheets / checkbox completion. */

.chk-main {
    background:
        radial-gradient(circle at 12% 8%, rgba(16, 185, 129, 0.10), transparent 24%),
        radial-gradient(circle at 88% 6%, rgba(220, 38, 38, 0.14), transparent 26%),
        linear-gradient(180deg, #070807 0%, #030302 55%, #050403 100%);
}

.chk-heading {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.chk-hand {
    font-family: 'Kalam', cursive;
}

/* ---------- Eyebrow / hero badges ---------- */

.chk-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.08);
    color: #6ee7b7;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chk-check-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #10b981;
    color: #04140d;
    font-size: 10px;
}

.chk-stat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chk-stat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(63, 63, 70, 0.7);
    background: rgba(9, 9, 9, 0.7);
    font-size: 0.8rem;
    color: #d4d4d8;
}

.chk-stat-pill i {
    color: #34d399;
}

/* ---------- Clipboard hero mockup ---------- */

.chk-clipboard {
    position: relative;
    background: #0d0f0d;
    border: 1px solid rgba(63, 63, 70, 0.8);
    border-radius: 1.25rem;
    padding: 2.25rem 1.5rem 1.5rem;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.chk-clip-top {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(180deg, #a1a1aa 0%, #52525b 55%, #3f3f46 100%);
    border: 1px solid #71717a;
    box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.6);
}

.chk-clip-top::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 12px;
    border-radius: 6px;
    background: #18181b;
    border: 1px solid #3f3f46;
}

.chk-ruled-sheet {
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(161, 161, 170, 0.08),
        rgba(161, 161, 170, 0.08) 1px,
        transparent 1px,
        transparent 34px
    );
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.chk-hero-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    font-size: 0.95rem;
    color: #d4d4d8;
    border-bottom: 1px dashed rgba(63, 63, 70, 0.6);
}

.chk-hero-item:last-child {
    border-bottom: none;
}

.chk-hero-item.is-done {
    color: #a7f3d0;
}

.chk-hero-item.is-done span.chk-box {
    background: #10b981;
    border-color: #10b981;
    color: #04140d;
}

/* checkbox square used in hero + cards */

.chk-box {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid #52525b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    background: transparent;
}

/* ---------- Product grid ---------- */

.chk-stack {
    position: relative;
    isolation: isolate;
    height: 100%;
}

.chk-stack::before,
.chk-stack::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    border: 1px solid rgba(63, 63, 70, 0.45);
    background: #0a0a0a;
    z-index: -1;
}

.chk-stack::before {
    transform: translate(6px, 7px) rotate(0.4deg);
}

.chk-stack::after {
    transform: translate(12px, 14px) rotate(-0.5deg);
    opacity: 0.6;
}

.chk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #0b0c0b;
    border: 1px solid rgba(63, 63, 70, 0.8);
    border-radius: 1.25rem;
    overflow: hidden;
}

.chk-price-tag {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 22px -10px rgba(220, 38, 38, 0.7);
}

.chk-cover-mock {
    position: relative;
    padding: 1.5rem 1.25rem 1.1rem;
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(161, 161, 170, 0.07),
        rgba(161, 161, 170, 0.07) 1px,
        transparent 1px,
        transparent 28px
    );
}

.chk-cover-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71717a;
    margin-bottom: 0.75rem;
}

.chk-progress-track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
    margin-bottom: 0.9rem;
}

.chk-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #10b981, #34d399);
}

.chk-mock-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chk-mock-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #a1a1aa;
}

.chk-mock-item.is-checked {
    color: #d4d4d8;
}

.chk-mock-item.is-checked .chk-box {
    background: #10b981;
    border-color: #10b981;
    color: #04140d;
}

.chk-mock-item .chk-box {
    width: 17px;
    height: 17px;
    border-radius: 4px;
}

/* perforated tear line between the cover mockup and the product details */

.chk-tear {
    position: relative;
    height: 0;
    margin: 0 1.1rem;
    border-top: 2px dashed rgba(113, 113, 122, 0.5);
}

.chk-tear::before,
.chk-tear::after {
    content: '';
    position: absolute;
    top: -6px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #050505;
    border: 1px solid rgba(63, 63, 70, 0.8);
}

.chk-tear::before {
    left: -1.6rem;
}

.chk-tear::after {
    right: -1.6rem;
}

.chk-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
    gap: 0.65rem;
}

.chk-count-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.08);
    color: #6ee7b7;
    font-size: 0.72rem;
    font-weight: 700;
}

.chk-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fafafa;
}

.chk-card-pitch {
    font-size: 0.88rem;
    color: #a1a1aa;
    flex: 1;
}

.chk-get-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 0.85rem;
    background: #dc2626;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.chk-get-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

/* ---------- Trust / what-you-get panel ---------- */

.chk-trust-card {
    border: 1px solid rgba(63, 63, 70, 0.7);
    background: rgba(9, 9, 9, 0.6);
    border-radius: 1.1rem;
    padding: 1.5rem;
}

.chk-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

/* ---------- FAQ ---------- */

.chk-faq {
    border: 1px solid rgba(63, 63, 70, 0.7);
    background: rgba(9, 9, 9, 0.55);
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
}

.chk-faq summary::-webkit-details-marker {
    display: none;
}

.chk-faq[open] i.chk-faq-caret {
    transform: rotate(180deg);
}

/* ---------- Waitlist ---------- */

.chk-waitlist-card {
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.10), transparent 45%),
        rgba(9, 9, 9, 0.75);
    border-radius: 1.5rem;
    padding: 2.25rem 1.75rem;
}

.chk-input {
    flex: 1;
    padding: 0.85rem 1.1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(63, 63, 70, 0.9);
    background: #0a0a0a;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.chk-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.chk-input::placeholder {
    color: #71717a;
}

/* ---------- Category cross-links ---------- */

.chk-cross-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(63, 63, 70, 0.7);
    background: rgba(9, 9, 9, 0.55);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.chk-cross-card:hover {
    border-color: rgba(220, 38, 38, 0.5);
    transform: translateY(-3px);
}

.chk-cross-icon {
    width: 38px;
    height: 38px;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.12);
    color: #f87171;
}

.chk-cross-card.is-current {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.06);
}

.chk-cross-card.is-current .chk-cross-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

/* ---------- Toast (mirrors site-wide pattern) ---------- */

.chk-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    max-width: min(90vw, 360px);
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: #10b981;
    color: #04140d;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.5);
    animation: chk-toast-in 0.25s ease both;
}

@keyframes chk-toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .chk-toast {
        left: 1rem;
        right: 1rem;
        max-width: none;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chk-get-btn:hover {
        transform: none;
    }
    .chk-cross-card:hover {
        transform: none;
    }
    .chk-toast {
        animation: none;
    }
}
