/* ── Page hero ── */
.sub-hero {
    padding: 56px 0 24px;
    text-align: center;
}
.sub-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sub-hero-note {
    font-size: 0.9rem;
    color: #f3e8ff;
    background: rgba(168, 85, 247, 0.3);
    display: block;
    width: fit-content;
    padding: 3px 12px;
    border-radius: 6px;
    margin: 0 auto 8px;
}
.sub-hero-sub {
    font-size: 0.88rem;
    color: #e9d5ff;
    background: rgba(168, 85, 247, 0.3);
    display: block;
    width: fit-content;
    padding: 5px 14px;
    border-radius: 6px;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.6;
}
.sub-hero-sub strong {
    color: #f3e8ff;
    font-weight: 700;
}
.sub-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 9px;
    transition: color 0.2s, background 0.2s;
}
.sub-back-link:hover { color: #e0f2fe; background: rgba(255,255,255,0.06); }

/* ── Pricing section ── */
.sub-pricing {
    padding: 8px 0 56px;
}

/* ── Tier grid — 5 equal columns ── */
.sub-tier-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 0 auto 20px;
    max-width: 1100px;
    align-items: stretch;
}

/* ── Tier card ── */
.sub-tier-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1.5px solid rgba(14, 165, 233, 0.2);
    border-radius: 18px;
    padding: 22px 16px 20px;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.sub-tier-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.18);
}
.sub-tier-popular {
    border-color: rgba(14, 165, 233, 0.55) !important;
    box-shadow: 0 0 24px rgba(14, 165, 233, 0.18);
}
.sub-tier-extreme {
    border-color: rgba(168, 85, 247, 0.45) !important;
}
.sub-tier-extreme:hover {
    border-color: rgba(168, 85, 247, 0.7) !important;
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.2);
}

/* ── Badge ── */
.sub-tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(14, 165, 233, 0.45);
}
.sub-tier-badge-purple {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 3px 10px rgba(168, 85, 247, 0.4);
}

/* ── Card header area ── */
.sub-tier-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
}

/* ── Card internals ── */
.sub-tier-name {
    font-size: 15px;
    font-weight: 700;
    color: #e0f2fe;
    margin-top: 8px;
}
.sub-tier-price {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #7dd3fc, #bae6fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    margin: 4px 0 2px;
}
.sub-tier-period {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
}
.sub-tier-tokens {
    font-size: 11.5px;
    font-weight: 600;
    color: #7dd3fc;
    margin-bottom: 4px;
}

/* ── Chapter estimate block ── */
.sub-tier-chapter-est {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    padding: 7px 14px;
    margin: 6px 0 10px;
    width: 100%;
    box-sizing: border-box;
}
.sub-tier-extreme .sub-tier-chapter-est {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.2);
}
.chapter-count {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.sub-tier-extreme .chapter-count {
    background: linear-gradient(135deg, #c084fc, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.chapter-label {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Buttons ── */
.sub-tier-btn {
    width: 100%;
    padding: 9px 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.18s ease;
    margin-top: 4px;
}
.sub-tier-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}
.sub-tier-btn-primary:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.5);
    transform: translateY(-1px);
}
.sub-tier-btn-ghost {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    border: 1px solid rgba(148,163,184,0.2);
}
.sub-tier-btn-ghost:hover {
    background: rgba(14, 165, 233, 0.12);
    color: #7dd3fc;
    border-color: rgba(14, 165, 233, 0.35);
}

/* ── Divider ── */
.sub-tier-divider {
    width: 100%;
    height: 1px;
    background: rgba(148, 163, 184, 0.12);
    margin: 14px 0;
}

/* ── Feature list ── */
.sub-tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}
.sub-tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}
.sub-tier-features li::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    min-width: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 1px;
}
.sub-tier-extreme .sub-tier-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ── Note ── */
.sub-pricing-note {
    text-align: center;
    font-size: 11.5px;
    color: #e9d5ff;
    background: rgba(168, 85, 247, 0.3);
    display: block;
    width: fit-content;
    padding: 4px 14px;
    border-radius: 6px;
    margin: 4px auto 0;
    max-width: 520px;
    line-height: 1.6;
}

/* ── Loading overlay ── */
#subLoadingOverlay {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
    flex-direction: column; gap: 16px;
    font-family: 'Inter', sans-serif;
    color: #e0f2fe;
}
#subLoadingOverlay.active { display: flex; }
.sub-spinner {
    width: 44px; height: 44px;
    border: 3px solid rgba(14,165,233,0.2);
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: sub-spin 0.75s linear infinite;
}
@keyframes sub-spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1000px) {
    .sub-tier-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 680px) {
    .sub-tier-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 12px;
    }
    /* Center the lone last card (5th in 2-col grid) */
    .sub-tier-grid .sub-tier-card:last-child:nth-child(odd) {
        grid-column: span 2;
        max-width: calc(50% - 6px);
        justify-self: center;
    }
    .sub-tier-card {
        padding: 18px 13px 16px;
    }
    .sub-tier-price { font-size: 22px; }
    .sub-tier-name  { font-size: 14px; }
    .sub-tier-tokens { font-size: 10.5px; }
    .chapter-count { font-size: 17px; }
    .sub-tier-btn { font-size: 12px; padding: 8px 0; }
    .sub-tier-features li { font-size: 11px; }
}

@media (max-width: 420px) {
    .sub-tier-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
}

/* ══════════════════════════════════════
   DAY THEME OVERRIDES
   ══════════════════════════════════════ */
body[data-theme="light"] .sub-hero-note { color: #0f172a; background: rgba(14, 165, 233, 0.3); }
body[data-theme="light"] .sub-hero-sub { color: #0f172a; background: rgba(14, 165, 233, 0.3); }
body[data-theme="light"] .sub-hero-sub strong { color: #0f172a; }
body[data-theme="light"] .sub-pricing-note { color: #0f172a; background: rgba(14, 165, 233, 0.3); }
body[data-theme="light"] .sub-hero h1 {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body[data-theme="light"] .sub-back-link { color: #475569; }
body[data-theme="light"] .sub-back-link:hover { color: #0f172a; background: rgba(15,23,42,0.06); }
body[data-theme="light"] .sub-tier-card {
    background: rgba(255,255,255,0.6);
    border-color: rgba(100,116,139,0.2);
}
body[data-theme="light"] .sub-tier-card:hover {
    border-color: rgba(100,116,139,0.5);
    box-shadow: 0 12px 32px rgba(15,23,42,0.12);
}
body[data-theme="light"] .sub-tier-name { color: #0f172a; }
body[data-theme="light"] .sub-tier-price {
    background: linear-gradient(135deg, #0369a1, #0284c7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body[data-theme="light"] .sub-tier-tokens { color: #0369a1; }
body[data-theme="light"] .sub-tier-chapter-est {
    background: rgba(14, 165, 233, 0.06);
    border-color: rgba(14, 165, 233, 0.2);
}
body[data-theme="light"] .chapter-count {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body[data-theme="light"] .chapter-label { color: #94a3b8; }
body[data-theme="light"] .sub-tier-divider { background: rgba(15,23,42,0.1); }
body[data-theme="light"] .sub-tier-features li { color: #475569; }
body[data-theme="light"] .sub-tier-btn-ghost {
    background: rgba(15,23,42,0.05);
    color: #475569;
    border-color: rgba(15,23,42,0.15);
}
body[data-theme="light"] .sub-tier-btn-ghost:hover {
    background: rgba(14,165,233,0.1);
    color: #0369a1;
    border-color: rgba(14,165,233,0.4);
}
body[data-theme="light"] #subLoadingOverlay { color: #0f172a; }

/* Sage */
body[data-theme="light"][data-day-variant="sage"] .sub-hero h1 { background: linear-gradient(135deg,#1e3018,#4d7c3f); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="sage"] .sub-back-link { color: #5a7254; }
body[data-theme="light"][data-day-variant="sage"] .sub-back-link:hover { color: #1e3018; background: rgba(74,110,60,0.08); }
body[data-theme="light"][data-day-variant="sage"] .sub-hero-note { background: rgba(74,110,60,0.28); }
body[data-theme="light"][data-day-variant="sage"] .sub-hero-sub { background: rgba(74,110,60,0.28); }
body[data-theme="light"][data-day-variant="sage"] .sub-pricing-note { background: rgba(74,110,60,0.28); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-card { background: rgba(228,238,222,0.6); border-color: rgba(74,110,60,0.2); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-card:hover { border-color: rgba(74,110,60,0.5); box-shadow: 0 12px 32px rgba(30,48,24,0.15); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-popular { border-color: rgba(74,110,60,0.7) !important; box-shadow: 0 0 22px rgba(74,110,60,0.25); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-extreme { border-color: rgba(168,85,247,0.55) !important; box-shadow: 0 0 22px rgba(168,85,247,0.2); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-extreme:hover { border-color: rgba(168,85,247,0.8) !important; box-shadow: 0 12px 32px rgba(168,85,247,0.3); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-extreme .sub-tier-chapter-est { background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.25); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-extreme .chapter-count { background: linear-gradient(135deg,#c084fc,#a855f7); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-extreme .sub-tier-features li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-name { color: #1e3018; }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-price { background: linear-gradient(135deg,#3d6330,#4d7c3f); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-tokens { color: #3d6330; }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-chapter-est { background: rgba(74,110,60,0.07); border-color: rgba(74,110,60,0.2); }
body[data-theme="light"][data-day-variant="sage"] .chapter-count { background: linear-gradient(135deg,#3d6330,#4d7c3f); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="sage"] .chapter-label { color: #7a9470; }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-divider { background: rgba(74,110,60,0.15); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-features li { color: #5a7254; }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-features li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d7c3f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-badge { background: linear-gradient(135deg,#4d7c3f,#365d2d); box-shadow: 0 3px 10px rgba(61,99,48,0.4); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-badge-purple { background: linear-gradient(135deg,#a855f7,#7c3aed); box-shadow: 0 3px 10px rgba(168,85,247,0.45); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-btn-primary { background: linear-gradient(135deg,#4d7c3f,#365d2d); box-shadow: 0 4px 14px rgba(61,99,48,0.3); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-btn-primary:hover { background: linear-gradient(135deg,#365d2d,#243d1c); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-btn-ghost { background: rgba(74,110,60,0.07); color: #5a7254; border-color: rgba(74,110,60,0.2); }
body[data-theme="light"][data-day-variant="sage"] .sub-tier-btn-ghost:hover { background: rgba(74,110,60,0.15); color: #1e3018; border-color: rgba(74,110,60,0.45); }

/* Cream */
body[data-theme="light"][data-day-variant="cream"] .sub-hero h1 { background: linear-gradient(135deg,#2c2418,#b45309); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="cream"] .sub-back-link { color: #a08060; }
body[data-theme="light"][data-day-variant="cream"] .sub-back-link:hover { color: #2c2418; background: rgba(180,130,60,0.08); }
body[data-theme="light"][data-day-variant="cream"] .sub-hero-note { background: rgba(180,130,60,0.3); }
body[data-theme="light"][data-day-variant="cream"] .sub-hero-sub { background: rgba(180,130,60,0.3); }
body[data-theme="light"][data-day-variant="cream"] .sub-pricing-note { background: rgba(180,130,60,0.3); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-card { background: rgba(255,249,240,0.6); border-color: rgba(180,130,60,0.2); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-card:hover { border-color: rgba(180,130,60,0.5); box-shadow: 0 12px 32px rgba(80,45,10,0.13); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-popular { border-color: rgba(180,130,60,0.55) !important; }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-name { color: #2c2418; }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-price { background: linear-gradient(135deg,#92400e,#b45309); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-tokens { color: #92400e; }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-chapter-est { background: rgba(180,130,60,0.07); border-color: rgba(180,130,60,0.2); }
body[data-theme="light"][data-day-variant="cream"] .chapter-count { background: linear-gradient(135deg,#92400e,#b45309); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="cream"] .chapter-label { color: #a08060; }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-divider { background: rgba(180,130,60,0.15); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-features li { color: #a08060; }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-features li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-badge { background: linear-gradient(135deg,#d97706,#b45309); box-shadow: 0 3px 10px rgba(180,83,9,0.35); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-badge-purple { background: linear-gradient(135deg,#a855f7,#7c3aed); box-shadow: 0 3px 10px rgba(168,85,247,0.45); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-btn-primary { background: linear-gradient(135deg,#d97706,#b45309); box-shadow: 0 4px 14px rgba(180,83,9,0.3); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-btn-primary:hover { background: linear-gradient(135deg,#b45309,#92400e); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-btn-ghost { background: rgba(180,130,60,0.07); color: #a08060; border-color: rgba(180,130,60,0.2); }
body[data-theme="light"][data-day-variant="cream"] .sub-tier-btn-ghost:hover { background: rgba(180,130,60,0.15); color: #2c2418; border-color: rgba(180,130,60,0.45); }

/* Sepia */
body[data-theme="light"][data-day-variant="sepia"] .sub-hero h1 { background: linear-gradient(135deg,#2c1a06,#92400e); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="sepia"] .sub-back-link { color: #9c7e58; }
body[data-theme="light"][data-day-variant="sepia"] .sub-back-link:hover { color: #2c1a06; background: rgba(139,90,30,0.08); }
body[data-theme="light"][data-day-variant="sepia"] .sub-hero-note { background: rgba(139,90,30,0.3); }
body[data-theme="light"][data-day-variant="sepia"] .sub-hero-sub { background: rgba(139,90,30,0.3); }
body[data-theme="light"][data-day-variant="sepia"] .sub-pricing-note { background: rgba(139,90,30,0.3); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-card { background: rgba(248,237,208,0.6); border-color: rgba(139,90,30,0.2); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-card:hover { border-color: rgba(139,90,30,0.5); box-shadow: 0 12px 32px rgba(60,35,5,0.15); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-popular { border-color: rgba(139,90,30,0.55) !important; }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-name { color: #2c1a06; }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-price { background: linear-gradient(135deg,#78350f,#92400e); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-tokens { color: #78350f; }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-chapter-est { background: rgba(139,90,30,0.07); border-color: rgba(139,90,30,0.2); }
body[data-theme="light"][data-day-variant="sepia"] .chapter-count { background: linear-gradient(135deg,#78350f,#92400e); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body[data-theme="light"][data-day-variant="sepia"] .chapter-label { color: #9c7e58; }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-divider { background: rgba(139,90,30,0.15); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-features li { color: #9c7e58; }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-features li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392400e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-badge { background: linear-gradient(135deg,#92400e,#78350f); box-shadow: 0 3px 10px rgba(120,53,15,0.35); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-badge-purple { background: linear-gradient(135deg,#a855f7,#7c3aed); box-shadow: 0 3px 10px rgba(168,85,247,0.45); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-btn-primary { background: linear-gradient(135deg,#92400e,#78350f); box-shadow: 0 4px 14px rgba(120,53,15,0.3); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-btn-primary:hover { background: linear-gradient(135deg,#78350f,#5c2808); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-btn-ghost { background: rgba(139,90,30,0.07); color: #9c7e58; border-color: rgba(139,90,30,0.2); }
body[data-theme="light"][data-day-variant="sepia"] .sub-tier-btn-ghost:hover { background: rgba(139,90,30,0.15); color: #2c1a06; border-color: rgba(139,90,30,0.45); }
