:root {
    --paper-white: #F5F5F0;
    --graphite: #1C2320;
    --mineral-green: #B9E3A4;
    --brick-red: #AD4537;
    --text-main: #1C2320;
    --text-muted: #5A635E;
    --border-color: #D1D5D0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--paper-white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(245, 245, 240, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

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

.header-nav {
    display: none;
}

.header-nav a {
    margin: 0 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.header-nav a:hover {
    color: var(--graphite);
}

.btn-primary {
    background-color: var(--graphite);
    color: var(--mineral-green);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
    display: inline-block;
    border: 1px solid var(--graphite);
}

.btn-primary:hover {
    background-color: var(--mineral-green);
    color: var(--graphite);
}

/* Hero Fold */
.hero-fold {
    background-color: var(--graphite);
    color: var(--paper-white);
    padding: 40px 20px 0;
    overflow: hidden;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 16px;
    color: #A0A8A3;
    margin-bottom: 24px;
}

.btn-hero {
    background-color: var(--mineral-green);
    color: var(--graphite);
    padding: 12px 32px;
    font-size: 16px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 12px;
}

.text-link {
    display: block;
    color: #A0A8A3;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-covers {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    padding-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-covers::-webkit-scrollbar {
    display: none;
}

.fold-cover {
    flex: 0 0 140px;
    background: #2A332E;
    border: 1px solid #3A433D;
    padding: 10px;
    border-radius: 4px;
    position: relative;
}

.fold-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mineral-green), transparent);
}

.fold-cover img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 2px;
}

.cover-info {
    margin-top: 10px;
}

.cover-title {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cover-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8B948F;
    margin-top: 4px;
}

.status-tag {
    color: var(--brick-red);
}

.fold-tip {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: var(--mineral-green);
    border-top: 1px dashed #3A433D;
    margin-top: 10px;
}

/* Sections */
.section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 26px;
    color: var(--graphite);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Hot List */
.hot-list {
    max-width: 800px;
    margin: 0 auto;
}

.hot-item {
    background: #fff;
    border: 1px solid var(--border-color);
    margin-bottom: -1px;
}

.hot-item-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.hot-item-header .meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    font-weight: normal;
    color: var(--text-muted);
}

.hot-item-content {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid transparent;
}

.hot-item.active .hot-item-content {
    display: flex;
    gap: 20px;
    border-top-color: var(--border-color);
    padding-top: 20px;
}

.hot-item.active .hot-item-header {
    background: var(--paper-white);
}

.hot-cover {
    width: 120px;
    flex-shrink: 0;
}

.hot-cover img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 4px;
}

.hot-details h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.hot-details ul {
    list-style: none;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hot-details ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 14px;
}

.hot-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brick-red);
}

/* Quote Select */
.quote-section {
    background: var(--graphite);
    color: var(--paper-white);
}

.quote-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.quote-card {
    border: 1px solid #3A433D;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.quote-card:hover, .quote-card.active {
    border-color: var(--mineral-green);
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.4;
}

.quote-text::before {
    content: '“';
    font-size: 32px;
    color: var(--mineral-green);
    line-height: 0;
    vertical-align: bottom;
    margin-right: 4px;
}

.quote-reveal {
    display: none;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #3A433D;
}

.quote-card.active .quote-reveal {
    display: flex;
}

.reveal-cover {
    width: 80px;
    flex-shrink: 0;
}

.reveal-cover img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 2px;
}

.reveal-info h3 {
    font-size: 16px;
    color: var(--mineral-green);
    margin-bottom: 8px;
}

.reveal-info p {
    font-size: 14px;
    color: #A0A8A3;
}

/* Compare Section */
.compare-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.compare-card {
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.compare-img {
    width: 100%;
    aspect-ratio: 3/4;
}

.compare-body {
    padding: 20px;
}

.compare-body h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.compare-list {
    list-style: none;
    font-size: 14px;
}

.compare-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--paper-white);
}

.compare-list li:last-child {
    border-bottom: none;
}

.compare-list span:first-child {
    color: var(--text-muted);
}

/* Reviews */
.reviews-section {
    max-width: 800px;
    margin: 0 auto;
}

.review-row {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.review-context {
    font-size: 13px;
    color: var(--brick-red);
    margin-bottom: 8px;
    font-weight: 600;
}

.review-text {
    font-size: 15px;
    margin-bottom: 12px;
}

.review-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

/* History Tabs */
.history-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 15px;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--graphite);
    border-bottom-color: var(--graphite);
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 24px 0;
}

.tab-content.active {
    display: block;
}

.tab-date {
    font-size: 14px;
    color: var(--brick-red);
    margin-bottom: 8px;
    font-weight: 600;
}

.tab-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.tab-content p {
    font-size: 15px;
    color: var(--text-muted);
}

/* Certs */
.cert-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
}

.cert-table th, .cert-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.cert-table th {
    width: 30%;
    color: var(--text-muted);
    font-weight: normal;
    background: var(--paper-white);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.faq-q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-muted);
}

.faq-item.active .faq-q::after {
    content: '-';
}

.faq-a {
    display: none;
    padding-bottom: 20px;
    font-size: 15px;
    color: var(--text-muted);
}

.faq-item.active .faq-a {
    display: block;
}

/* Download Section */
.download-section {
    background: var(--mineral-green);
    padding: 60px 20px;
    text-align: center;
}

.download-section h2 {
    font-size: 28px;
    color: var(--graphite);
    margin-bottom: 16px;
}

.download-section p {
    font-size: 16px;
    color: #2B3A2E;
    margin-bottom: 30px;
}

.dl-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.btn-dl {
    background: var(--graphite);
    color: var(--paper-white);
    padding: 16px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    display: block;
}

.btn-dl:hover {
    background: #000;
}

/* Footer */
.site-footer {
    background: var(--graphite);
    color: #8B948F;
    padding: 40px 20px;
    font-size: 14px;
    border-top: 1px solid #2A332E;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2A332E;
    font-size: 12px;
    color: #6B756F;
}

.footer-bottom a {
    color: #6B756F;
}

.footer-bottom a:hover {
    color: var(--paper-white);
}

/* Responsive */
@media (min-width: 768px) {
    .header-nav {
        display: block;
    }
    .hero-content h1 {
        font-size: 48px;
    }
    .hero-covers {
        justify-content: center;
    }
    .fold-cover {
        flex: 0 0 200px;
    }
    .compare-grid {
        flex-direction: row;
    }
    .compare-card {
        flex: 1;
    }
    .compare-img {
        aspect-ratio: 3/4;
        height: 300px;
    }
    .dl-buttons {
        flex-direction: row;
        max-width: 600px;
        justify-content: center;
    }
    .btn-dl {
        flex: 1;
        max-width: 240px;
    }
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hero-covers {
        gap: 30px;
    }
    .fold-cover {
        flex: 0 0 240px;
    }
    .hot-item-content {
        align-items: flex-start;
    }
    .hot-cover {
        width: 160px;
    }
    .quote-grid {
        flex-direction: row;
    }
    .quote-card {
        flex: 1;
    }
}